/**
 * Luxury Payment Pricing Builder - Premium Styles
 * Version: 2.3.0
 * Complete compact design with automatic smart pricing display
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --lpb-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Colors */
    --lpb-bg: #030014;
    --lpb-card-bg: rgba(15, 23, 42, 0.7);
    --lpb-card-bg-featured: rgba(99, 102, 241, 0.15);
    --lpb-text: #e5e7eb;
    --lpb-text-muted: #9ca3af;
    --lpb-text-light: rgba(255, 255, 255, 0.85);
    --lpb-accent: #8b5cf6;
    --lpb-accent-secondary: #06b6d4;
    --lpb-gold: #fbbf24;
    --lpb-orange: #f97316;
    --lpb-green: #22c55e;
    --lpb-blue: #3b82f6;
    --lpb-border: rgba(148, 163, 184, 0.2);
    --lpb-border-featured: rgba(251, 191, 36, 0.4);
    
    /* Sizing */
    --lpb-radius: 14px;
    --lpb-radius-sm: 10px;
    --lpb-radius-xs: 6px;
    --lpb-card-padding: 20px;
    --lpb-card-gap: 16px;
    --lpb-card-max-width: 300px;
    
    /* Typography */
    --lpb-heading-size: 28px;
    --lpb-subheading-size: 14px;
    --lpb-plan-name-size: 18px;
    --lpb-plan-tagline-size: 12px;
    --lpb-price-size: 36px;
    --lpb-features-size: 13px;
    --lpb-button-size: 13px;
    
    /* Ribbon */
    --lpb-ribbon-bg: #f97316;
    --lpb-ribbon-color: #ffffff;
    
    /* Animation */
    --lpb-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --lpb-transition-fast: 0.15s ease;
}

/* ============================================
   BASE RESET & SECTION
   ============================================ */
.lpb-section {
    width: 100%;
    padding: 50px 16px;
    background: radial-gradient(ellipse at top left, #1e293b 0%, #020617 50%, #000 100%);
    color: var(--lpb-text);
    font-family: var(--lpb-font);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    line-height: 1.5;
}

.lpb-section *,
.lpb-section *::before,
.lpb-section *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.lpb-section-inner {
    max-width: calc(var(--lpb-card-max-width) * 3 + var(--lpb-card-gap) * 2 + 40px);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Background Orbs Animation */
.lpb-section::before,
.lpb-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
    animation: lpb-orb-float 25s ease-in-out infinite;
}

.lpb-section::before {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--lpb-accent) 0%, #6366f1 100%);
    top: -200px;
    left: -150px;
}

.lpb-section::after {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--lpb-accent-secondary) 0%, #0891b2 100%);
    bottom: -150px;
    right: -100px;
    animation-delay: -12s;
}

@keyframes lpb-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.05); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

/* ============================================
   SIZE VARIANTS
   ============================================ */

/* Small Size */
.lpb-size-small {
    --lpb-card-padding: 16px;
    --lpb-card-gap: 12px;
    --lpb-card-max-width: 260px;
    --lpb-heading-size: 24px;
    --lpb-subheading-size: 13px;
    --lpb-plan-name-size: 16px;
    --lpb-plan-tagline-size: 11px;
    --lpb-price-size: 30px;
    --lpb-features-size: 12px;
    --lpb-button-size: 12px;
}

.lpb-size-small .lpb-section-inner {
    max-width: 860px;
}

.lpb-size-small .lpb-plan-icon {
    font-size: 26px;
    margin-bottom: 8px;
}

.lpb-size-small .lpb-ribbon {
    font-size: 9px;
    padding: 4px 10px;
}

/* Medium Size (Default) */
.lpb-size-medium {
    --lpb-card-padding: 20px;
    --lpb-card-gap: 16px;
    --lpb-card-max-width: 300px;
}

/* Large Size */
.lpb-size-large {
    --lpb-card-padding: 28px;
    --lpb-card-gap: 20px;
    --lpb-card-max-width: 340px;
    --lpb-heading-size: 34px;
    --lpb-subheading-size: 16px;
    --lpb-plan-name-size: 22px;
    --lpb-plan-tagline-size: 14px;
    --lpb-price-size: 44px;
    --lpb-features-size: 14px;
    --lpb-button-size: 14px;
}

.lpb-size-large .lpb-section-inner {
    max-width: 1100px;
}

.lpb-size-large .lpb-plan-icon {
    font-size: 40px;
}

/* ============================================
   HEADING
   ============================================ */
.lpb-heading {
    text-align: center;
    margin-bottom: 28px;
    animation: lpb-fade-in-up 0.6s ease-out;
}

.lpb-heading h2 {
    font-size: var(--lpb-heading-size);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.lpb-heading p {
    font-size: var(--lpb-subheading-size);
    color: var(--lpb-text-muted);
    margin: 0 auto;
    max-width: 480px;
    line-height: 1.5;
}

@keyframes lpb-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BILLING TOGGLE
   ============================================ */
.lpb-toggle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    font-size: 13px;
    animation: lpb-fade-in-up 0.6s ease-out 0.1s both;
}

.lpb-toggle-label {
    color: var(--lpb-text-muted);
    cursor: pointer;
    transition: color var(--lpb-transition-fast);
    font-weight: 500;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lpb-toggle-label:hover {
    color: var(--lpb-text);
}

.lpb-toggle-label-active {
    color: #fff;
    font-weight: 600;
}

.lpb-save {
    display: inline-block;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.25));
    color: #6ee7b7;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid rgba(34, 197, 94, 0.3);
    animation: lpb-pulse-glow 2s ease-in-out infinite;
}

@keyframes lpb-pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.2); }
    50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.4); }
}

/* Toggle Switch */
.lpb-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.lpb-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.lpb-toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(75, 85, 99, 0.5);
    border-radius: 26px;
    cursor: pointer;
    transition: var(--lpb-transition);
    border: 2px solid rgba(148, 163, 184, 0.2);
}

.lpb-toggle-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #fff 0%, #e5e7eb 100%);
    border-radius: 50%;
    transition: var(--lpb-transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.lpb-toggle input:checked + .lpb-toggle-slider {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: rgba(16, 185, 129, 0.4);
}

.lpb-toggle input:checked + .lpb-toggle-slider::before {
    transform: translateY(-50%) translateX(24px);
}

.lpb-toggle input:focus + .lpb-toggle-slider {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ============================================
   GRID LAYOUT
   ============================================ */
.lpb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lpb-card-gap);
    align-items: stretch;
}

@media (max-width: 900px) {
    .lpb-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: calc(var(--lpb-card-max-width) * 2 + var(--lpb-card-gap));
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .lpb-grid {
        grid-template-columns: 1fr;
        max-width: var(--lpb-card-max-width);
    }
}

/* ============================================
   PRICING CARD
   ============================================ */
.lpb-card {
    position: relative;
    background: var(--lpb-card-bg);
    border: 1px solid var(--lpb-border);
    border-radius: var(--lpb-radius);
    overflow: visible;
    transition: transform var(--lpb-transition), box-shadow var(--lpb-transition);
    animation: lpb-card-in 0.5s ease-out both;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lpb-card:nth-child(1) { animation-delay: 0.15s; }
.lpb-card:nth-child(2) { animation-delay: 0.25s; }
.lpb-card:nth-child(3) { animation-delay: 0.35s; }

@keyframes lpb-card-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lpb-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.lpb-card-inner {
    padding: var(--lpb-card-padding);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Card Glow Effect on Hover */
.lpb-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--lpb-radius);
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--lpb-transition);
    pointer-events: none;
    z-index: 0;
}

.lpb-card:hover::before {
    opacity: 1;
}

/* ============================================
   FEATURED CARD
   ============================================ */
.lpb-card-featured {
    background: linear-gradient(180deg, var(--lpb-card-bg-featured) 0%, rgba(15, 23, 42, 0.85) 100%);
    border-color: var(--lpb-border-featured);
    z-index: 5;
}

.lpb-card-featured::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--lpb-radius);
    background: linear-gradient(135deg, var(--lpb-gold) 0%, var(--lpb-orange) 100%);
    opacity: 0;
    filter: blur(20px);
    z-index: -1;
    transition: opacity var(--lpb-transition);
}

.lpb-card-featured:hover::after {
    opacity: 0.2;
}

@media (min-width: 901px) {
    .lpb-card-featured {
        transform: scale(1.04);
    }
    
    .lpb-card-featured:hover {
        transform: scale(1.04) translateY(-8px);
    }
}

/* ============================================
   RIBBON / BADGE STYLES
   ============================================ */
.lpb-ribbon {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    background: var(--lpb-ribbon-bg);
    color: var(--lpb-ribbon-color);
    line-height: 1;
}

.lpb-ribbon-icon {
    font-size: 11px;
    line-height: 1;
}

.lpb-ribbon-text {
    line-height: 1;
}

/* ----- EDGE STYLE (Attached to corner) ----- */
.lpb-ribbon-edge {
    padding: 6px 14px;
}

.lpb-ribbon-edge.lpb-ribbon-top-right {
    top: 0;
    right: 0;
    border-radius: 0 var(--lpb-radius) 0 var(--lpb-radius);
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.2);
}

.lpb-ribbon-edge.lpb-ribbon-top-left {
    top: 0;
    left: 0;
    border-radius: var(--lpb-radius) 0 var(--lpb-radius) 0;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.lpb-ribbon-edge.lpb-ribbon-top-center {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 var(--lpb-radius-sm) var(--lpb-radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ----- BADGE STYLE (Floating pill) ----- */
.lpb-ribbon-badge {
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.lpb-ribbon-badge.lpb-ribbon-top-right {
    top: -12px;
    right: 14px;
}

.lpb-ribbon-badge.lpb-ribbon-top-left {
    top: -12px;
    left: 14px;
}

.lpb-ribbon-badge.lpb-ribbon-top-center {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

/* ----- BANNER STYLE (Full width top) ----- */
.lpb-ribbon-banner {
    top: 0;
    left: 0;
    right: 0;
    padding: 8px 14px;
    text-align: center;
    border-radius: var(--lpb-radius) var(--lpb-radius) 0 0;
}

.lpb-ribbon-banner + .lpb-card-inner,
.lpb-card-featured .lpb-ribbon-banner ~ .lpb-card-inner {
    padding-top: calc(var(--lpb-card-padding) + 14px);
}

/* ----- DIAGONAL STYLE (Corner ribbon) ----- */
.lpb-ribbon-diagonal {
    width: 120px;
    padding: 6px 0;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.lpb-ribbon-diagonal.lpb-ribbon-top-right {
    top: 16px;
    right: -32px;
    transform: rotate(45deg);
}

.lpb-ribbon-diagonal.lpb-ribbon-top-left {
    top: 16px;
    left: -32px;
    transform: rotate(-45deg);
}

.lpb-ribbon-diagonal.lpb-ribbon-top-center {
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    width: auto;
    padding: 6px 16px;
    border-radius: 0 0 var(--lpb-radius-sm) var(--lpb-radius-sm);
}

/* ============================================
   LIFETIME TAG
   ============================================ */
.lpb-lifetime-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 700;
    border-radius: 20px;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lpb-card-featured.lpb-card-lifetime .lpb-ribbon-banner ~ .lpb-card-inner .lpb-lifetime-tag,
.lpb-ribbon-banner + .lpb-lifetime-tag {
    top: 40px;
    bottom: auto;
}

/* ============================================
   PLAN HEADER
   ============================================ */
.lpb-plan-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
    line-height: 1;
}

.lpb-plan-name {
    font-size: var(--lpb-plan-name-size);
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.lpb-plan-tagline {
    font-size: var(--lpb-plan-tagline-size);
    color: var(--lpb-text-muted);
    margin: 0 0 16px;
    line-height: 1.4;
}

/* ============================================
   PRICE DISPLAY - SMART AUTO-DETECTION
   ============================================ */
.lpb-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
}

.lpb-price-currency {
    font-size: calc(var(--lpb-price-size) * 0.42);
    color: var(--lpb-gold);
    font-weight: 600;
    align-self: flex-start;
    margin-top: 4px;
}

.lpb-price-value {
    font-size: var(--lpb-price-size);
    font-weight: 900;
    color: var(--lpb-gold);
    line-height: 1;
    letter-spacing: -0.02em;
    transition: transform var(--lpb-transition-fast), opacity var(--lpb-transition-fast);
}

.lpb-price-period {
    font-size: calc(var(--lpb-features-size) - 1px);
    color: var(--lpb-text-muted);
    margin-left: 3px;
    font-weight: 500;
}

/* Price Notes */
.lpb-price-note {
    font-size: 11px;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Yearly note - only shows when toggle is active */
.lpb-price-yearly-note {
    color: var(--lpb-green);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lpb-yearly-active .lpb-card:not(.lpb-card-lifetime):not(.lpb-card-only-monthly):not(.lpb-card-only-yearly) .lpb-price-yearly-note {
    opacity: 1;
    max-height: 24px;
}

/* Lifetime Price Styling */
.lpb-price-lifetime .lpb-price-currency,
.lpb-price-lifetime .lpb-price-value {
    color: var(--lpb-accent);
}

.lpb-price-lifetime .lpb-price-period {
    color: var(--lpb-accent);
    opacity: 0.8;
}

.lpb-price-lifetime-note {
    color: var(--lpb-accent);
    opacity: 1;
    max-height: 24px;
}

/* Monthly-only Price Display */
.lpb-price-monthly-only .lpb-price-currency,
.lpb-price-monthly-only .lpb-price-value {
    color: var(--lpb-blue);
}

.lpb-price-monthly-only .lpb-price-period {
    color: var(--lpb-blue);
    opacity: 0.8;
}

.lpb-card-only-monthly .lpb-price-note {
    color: var(--lpb-blue);
    opacity: 1;
    max-height: 24px;
}

/* Yearly-only Price Display */
.lpb-price-yearly-only .lpb-price-currency,
.lpb-price-yearly-only .lpb-price-value {
    color: var(--lpb-green);
}

.lpb-price-yearly-only .lpb-price-period {
    color: var(--lpb-green);
    opacity: 0.8;
}

.lpb-card-only-yearly .lpb-price-note {
    color: var(--lpb-green);
    opacity: 1;
    max-height: 24px;
}

/* ============================================
   FEATURES LIST
   ============================================ */
.lpb-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    flex-grow: 1;
}

.lpb-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--lpb-features-size);
    color: var(--lpb-text-light);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform var(--lpb-transition-fast), color var(--lpb-transition-fast);
}

.lpb-features li:last-child {
    border-bottom: none;
}

.lpb-features li:hover {
    color: #fff;
}

.lpb-features li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--lpb-green);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.lpb-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    font-size: var(--lpb-button-size);
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--lpb-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--lpb-transition);
    position: relative;
    overflow: hidden;
}

.lpb-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--lpb-transition-fast);
}

.lpb-cta-btn:hover::before {
    opacity: 1;
}

.lpb-cta-btn:hover {
    background: var(--lpb-blue);
    border-color: var(--lpb-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.lpb-cta-text {
    position: relative;
    z-index: 1;
}

.lpb-cta-arrow {
    font-size: 16px;
    transition: transform var(--lpb-transition-fast);
    position: relative;
    z-index: 1;
}

.lpb-cta-btn:hover .lpb-cta-arrow {
    transform: translateX(4px);
}

/* Primary CTA Button */
.lpb-cta-btn-primary {
    background: linear-gradient(135deg, var(--lpb-orange) 0%, var(--lpb-gold) 100%);
    color: #000;
    border: none;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.lpb-cta-btn-primary:hover {
    background: linear-gradient(135deg, var(--lpb-orange) 0%, var(--lpb-gold) 100%);
    filter: brightness(1.1);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45);
    color: #000;
}

/* Alternative/Secondary CTA Button */
.lpb-cta-btn-alt {
    margin-top: 10px;
    background: transparent;
    color: var(--lpb-text);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px;
    font-size: calc(var(--lpb-button-size) - 1px);
}

.lpb-cta-btn-alt:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
    transform: translateY(-1px);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.lpb-trust-section {
    margin-top: 32px;
    animation: lpb-fade-in-up 0.6s ease-out 0.5s both;
}

.lpb-trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.lpb-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--lpb-text-muted);
    transition: color var(--lpb-transition-fast);
}

.lpb-trust-badge:hover {
    color: var(--lpb-text);
}

.lpb-trust-icon {
    font-size: 16px;
    line-height: 1;
}

/* ============================================
   LAYOUT STYLE: LIGHT
   ============================================ */
.lpb-style-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    color: #1e293b;
}

.lpb-style-light::before,
.lpb-style-light::after {
    opacity: 0.15;
}

.lpb-style-light .lpb-heading h2 {
    color: #1e293b;
}

.lpb-style-light .lpb-heading p {
    color: #64748b;
}

.lpb-style-light .lpb-toggle-label {
    color: #64748b;
}

.lpb-style-light .lpb-toggle-label-active {
    color: #1e293b;
}

.lpb-style-light .lpb-toggle-slider {
    background: rgba(148, 163, 184, 0.4);
    border-color: rgba(148, 163, 184, 0.3);
}

.lpb-style-light .lpb-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
}

.lpb-style-light .lpb-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.lpb-style-light .lpb-card-featured {
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(99, 102, 241, 0.25);
}

.lpb-style-light .lpb-plan-name {
    color: #1e293b;
}

.lpb-style-light .lpb-plan-tagline {
    color: #64748b;
}

.lpb-style-light .lpb-price-currency,
.lpb-style-light .lpb-price-value {
    color: var(--lpb-orange);
}

.lpb-style-light .lpb-price-period {
    color: #64748b;
}

.lpb-style-light .lpb-features li {
    color: #475569;
    border-color: rgba(0, 0, 0, 0.05);
}

.lpb-style-light .lpb-features li:hover {
    color: #1e293b;
}

.lpb-style-light .lpb-cta-btn {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #e2e8f0;
}

.lpb-style-light .lpb-cta-btn:hover {
    background: var(--lpb-blue);
    color: #fff;
    border-color: var(--lpb-blue);
}

.lpb-style-light .lpb-cta-btn-alt {
    background: transparent;
    color: #475569;
    border-color: #e2e8f0;
}

.lpb-style-light .lpb-cta-btn-alt:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}

.lpb-style-light .lpb-trust-badge {
    color: #64748b;
}

.lpb-style-light .lpb-trust-badge:hover {
    color: #1e293b;
}

/* ============================================
   LAYOUT STYLE: MINIMAL
   ============================================ */
.lpb-style-minimal {
    background: #ffffff;
    padding: 40px 16px;
}

.lpb-style-minimal::before,
.lpb-style-minimal::after {
    display: none;
}

.lpb-style-minimal .lpb-heading h2 {
    color: #1e293b;
}

.lpb-style-minimal .lpb-heading p {
    color: #64748b;
}

.lpb-style-minimal .lpb-toggle-label {
    color: #64748b;
}

.lpb-style-minimal .lpb-toggle-label-active {
    color: #1e293b;
}

.lpb-style-minimal .lpb-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
    backdrop-filter: none;
}

.lpb-style-minimal .lpb-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.lpb-style-minimal .lpb-card-featured {
    border-color: #6366f1;
}

.lpb-style-minimal .lpb-card-featured:hover {
    border-color: #6366f1;
}

.lpb-style-minimal .lpb-plan-name {
    color: #1e293b;
}

.lpb-style-minimal .lpb-plan-tagline {
    color: #64748b;
}

.lpb-style-minimal .lpb-price-value {
    color: #1e293b;
}

.lpb-style-minimal .lpb-price-currency {
    color: #1e293b;
}

.lpb-style-minimal .lpb-features li {
    color: #475569;
    border-color: #f1f5f9;
}

.lpb-style-minimal .lpb-cta-btn {
    border-radius: 8px;
}

.lpb-style-minimal .lpb-ribbon {
    border-radius: 0 10px 0 10px;
}

.lpb-style-minimal .lpb-ribbon-badge {
    border-radius: 50px;
}

/* ============================================
   LAYOUT STYLE: GRADIENT
   ============================================ */
.lpb-style-gradient {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
}

.lpb-style-gradient::before {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
    opacity: 0.2;
}

.lpb-style-gradient::after {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    opacity: 0.15;
}

/* ============================================
   LAYOUT STYLE: GLASS
   ============================================ */
.lpb-style-glass {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.lpb-style-glass .lpb-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-color: rgba(255, 255, 255, 0.08);
}

.lpb-style-glass .lpb-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.lpb-style-glass .lpb-card-featured {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
}

/* ============================================
   PRODUCT ACCESS PAGE
   ============================================ */
.lpb-access-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 16px;
    background: radial-gradient(ellipse at top, #1e293b 0%, #020617 100%);
    font-family: var(--lpb-font);
    position: relative;
    overflow: hidden;
}

.lpb-access-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.lpb-access-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.lpb-access-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    top: -150px;
    right: -100px;
    animation: lpb-access-float 20s ease-in-out infinite;
}

.lpb-access-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    bottom: -100px;
    left: -80px;
    animation: lpb-access-float 20s ease-in-out infinite reverse;
}

@keyframes lpb-access-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.lpb-access-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
}

.lpb-access-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--lpb-radius);
    padding: 36px 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: lpb-access-card-in 0.6s ease-out;
}

@keyframes lpb-access-card-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Success Icon */
.lpb-access-icon-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.lpb-access-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--lpb-green) 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
    animation: lpb-icon-bounce 0.6s ease-out 0.3s both;
}

.lpb-access-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

@keyframes lpb-icon-bounce {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Access Content */
.lpb-access-content {
    text-align: center;
}

.lpb-access-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: var(--lpb-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.lpb-access-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.lpb-access-subtitle {
    font-size: 15px;
    color: var(--lpb-text-muted);
    margin: 0 0 24px;
}

/* Plan Info Card */
.lpb-access-plan-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.lpb-access-plan-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.lpb-access-plan-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--lpb-accent) 0%, #6366f1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.lpb-access-plan-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.lpb-access-plan-meta {
    font-size: 13px;
    color: var(--lpb-text-muted);
    margin: 3px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lpb-access-plan-desc {
    font-size: 13px;
    color: var(--lpb-text-muted);
    margin: 0 0 14px;
}

.lpb-access-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.lpb-access-price-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--lpb-gold);
}

.lpb-access-price-period {
    font-size: 14px;
    color: var(--lpb-text-muted);
}

/* Lifetime Badge in Access */
.lpb-access-lifetime-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.lpb-access-lifetime-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lpb-accent);
}

/* Access Button */
.lpb-access-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--lpb-orange) 0%, var(--lpb-gold) 100%);
    color: #000;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--lpb-transition);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
}

.lpb-access-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.45);
    filter: brightness(1.05);
}

.lpb-access-btn-icon {
    font-size: 18px;
}

.lpb-access-btn-arrow {
    font-size: 18px;
    transition: transform var(--lpb-transition-fast);
}

.lpb-access-btn:hover .lpb-access-btn-arrow {
    transform: translateX(4px);
}

/* Help Section */
.lpb-access-help {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lpb-access-help p {
    font-size: 12px;
    color: var(--lpb-text-muted);
    margin: 0 0 6px;
    line-height: 1.5;
}

.lpb-access-help p:last-child {
    margin-bottom: 0;
}

.lpb-access-help a {
    color: var(--lpb-blue);
    text-decoration: none;
    font-weight: 600;
}

.lpb-access-help a:hover {
    text-decoration: underline;
}

/* Error State */
.lpb-access-error {
    text-align: center;
    padding: 40px 24px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.lpb-access-error p {
    color: #ef4444;
    margin: 0;
    font-size: 15px;
}

/* Lifetime Access Page Variant */
.lpb-access-lifetime .lpb-access-icon {
    background: linear-gradient(135deg, var(--lpb-accent) 0%, #6366f1 100%);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.lpb-access-lifetime .lpb-access-badge {
    background: rgba(139, 92, 246, 0.15);
    color: var(--lpb-accent);
    border-color: rgba(139, 92, 246, 0.25);
}

/* ============================================
   RIPPLE EFFECT (Added by JS)
   ============================================ */
.lpb-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    transform: scale(0);
    animation: lpb-ripple-animation 0.5s ease-out forwards;
    pointer-events: none;
    z-index: 100;
}

@keyframes lpb-ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 900px) {
    .lpb-section {
        padding: 40px 14px;
    }
    
    .lpb-card-featured {
        transform: none;
    }
    
    .lpb-card-featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 600px) {
    .lpb-section {
        padding: 36px 12px;
    }
    
    .lpb-heading {
        margin-bottom: 24px;
    }
    
    .lpb-heading h2 {
        font-size: 22px;
    }
    
    .lpb-heading p {
        font-size: 13px;
    }
    
    .lpb-toggle-wrap {
        gap: 10px;
        font-size: 12px;
        margin-bottom: 24px;
    }
    
    .lpb-toggle {
        width: 44px;
        height: 24px;
    }
    
    .lpb-toggle-slider::before {
        width: 16px;
        height: 16px;
    }
    
    .lpb-toggle input:checked + .lpb-toggle-slider::before {
        transform: translateY(-50%) translateX(20px);
    }
    
    .lpb-save {
        padding: 2px 8px;
        font-size: 9px;
    }
    
    .lpb-card-inner {
        padding: 16px;
    }
    
    .lpb-plan-icon {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .lpb-plan-name {
        font-size: 16px;
    }
    
    .lpb-plan-tagline {
        font-size: 11px;
        margin-bottom: 14px;
    }
    
    .lpb-price-value {
        font-size: 32px;
    }
    
    .lpb-price-currency {
        font-size: 14px;
    }
    
    .lpb-features li {
        font-size: 12px;
        padding: 6px 0;
        gap: 8px;
    }
    
    .lpb-features li::before {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
    }
    
    .lpb-cta-btn {
        padding: 11px 14px;
        font-size: 12px;
    }
    
    .lpb-cta-btn-alt {
        padding: 9px 12px;
        font-size: 11px;
    }
    
    .lpb-trust-section {
        margin-top: 24px;
    }
    
    .lpb-trust-badges {
        gap: 14px;
    }
    
    .lpb-trust-badge {
        font-size: 11px;
    }
    
    .lpb-trust-icon {
        font-size: 14px;
    }
    
    .lpb-ribbon {
        font-size: 9px;
        padding: 5px 10px;
    }
    
    .lpb-ribbon-diagonal {
        width: 100px;
        font-size: 8px;
    }
    
    .lpb-ribbon-diagonal.lpb-ribbon-top-right {
        top: 12px;
        right: -28px;
    }
    
    .lpb-lifetime-tag {
        font-size: 8px;
        padding: 3px 8px;
    }
    
    /* Access Page Mobile */
    .lpb-access-section {
        padding: 40px 14px;
    }
    
    .lpb-access-card {
        padding: 28px 20px;
    }
    
    .lpb-access-icon {
        width: 60px;
        height: 60px;
    }
    
    .lpb-access-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .lpb-access-title {
        font-size: 26px;
    }
    
    .lpb-access-subtitle {
        font-size: 14px;
    }
    
    .lpb-access-plan-info {
        padding: 16px;
    }
    
    .lpb-access-plan-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .lpb-access-plan-name {
        font-size: 16px;
    }
    
    .lpb-access-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .lpb-section::before,
    .lpb-section::after {
        display: none;
    }
    
    .lpb-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .lpb-cta-btn {
        background: #f0f0f0 !important;
        color: #000 !important;
        box-shadow: none !important;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .lpb-section::before,
    .lpb-section::after,
    .lpb-access-orb {
        animation: none;
    }
    
    .lpb-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .lpb-card:hover {
        transform: none;
    }
    
    .lpb-toggle-slider::before,
    .lpb-cta-btn,
    .lpb-cta-arrow,
    .lpb-features li {
        transition: none;
    }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */
@media (prefers-contrast: high) {
    .lpb-card {
        border-width: 2px;
    }
    
    .lpb-cta-btn {
        border-width: 2px;
    }
    
    .lpb-features li::before {
        border: 1px solid currentColor;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */
@media (prefers-color-scheme: dark) {
    /* Already dark by default, but can add overrides if needed */
}

/* ============================================
   UTILITIES
   ============================================ */
.lpb-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lpb-no-scroll {
    overflow: hidden;
}

/* ============================================
   LOADING STATE
   ============================================ */
.lpb-loading {
    opacity: 0.6;
    pointer-events: none;
}

.lpb-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: inherit;
}