/* ========================================
       CSS VARIABLES
    ======================================== */
    :root {
        --primary: #0f172a;
        --secondary: #334155;
        --accent: #10b981;
        --accent-dark: #059669;
        --accent-light: #d1fae5;
        --text-dark: #1e293b;
        --text-light: #64748b;
        --bg-light: #f8fafc;
        --bg-card: #ffffff;
        --border: #e2e8f0;
        
        --tier-free: #22c55e;
        --tier-starter: #3b82f6;
        --tier-pro: #a855f7;
        --tier-business: #ef4444;
    }
    
    /* ========================================
       BASE STYLES
    ======================================== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        color: var(--text-dark);
        background: var(--bg-light);
        line-height: 1.6;
        overflow-x: hidden;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }
    
    /* ========================================
       PRICING HERO
    ======================================== */
    .pricing-hero {
        position: relative;
        padding: 140px 0 80px;
        text-align: center;
        overflow: hidden;
        background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    }
    
    .pricing-hero-content {
        position: relative;
        z-index: 2;
    }
    
    .section-label {
        display: inline-block;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--accent);
        margin-bottom: 20px;
        background: var(--accent-light);
        padding: 8px 16px;
        border-radius: 30px;
    }
    
    .pricing-title {
        font-size: 3.2rem;
        font-weight: 800;
        color: var(--primary);
        margin-bottom: 16px;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .pricing-subtitle {
        font-size: 1.25rem;
        color: var(--text-light);
        margin-bottom: 40px;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .pricing-bg-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        z-index: 0;
    }
    
    .pricing-bg-orb.orb-1 {
        width: 500px;
        height: 500px;
        background: rgba(16, 185, 129, 0.08);
        top: -200px;
        left: -150px;
    }
    
    .pricing-bg-orb.orb-2 {
        width: 400px;
        height: 400px;
        background: rgba(168, 85, 247, 0.06);
        bottom: -100px;
        right: -100px;
    }
    
    /* ========================================
       BILLING TOGGLE
    ======================================== */
    .billing-toggle {
        display: inline-flex;
        align-items: center;
        gap: 20px;
        background: white;
        padding: 8px 16px;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--border);
        opacity: 0;
        transform: translateY(20px);
    }
    
    .toggle-label {
        font-weight: 500;
        color: var(--text-light);
        cursor: pointer;
        transition: color 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .toggle-label.active {
        color: var(--primary);
    }
    
    .toggle-switch {
        width: 56px;
        height: 30px;
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
        border-radius: 15px;
        position: relative;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .toggle-switch::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 24px;
        background: white;
        border-radius: 50%;
        top: 3px;
        left: 3px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .toggle-switch.annual::after {
        transform: translateX(26px);
    }
    
    .discount-badge {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        color: white;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* ========================================
       PRICING GRID
    ======================================== */
    .pricing-section {
        padding: 60px 0 100px;
        position: relative;
        z-index: 2;
    }
    
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        align-items: start;
    }
    
    /* ========================================
       PRICING CARD
    ======================================== */
    .pricing-card {
        background: white;
        border-radius: 24px;
        padding: 32px 28px;
        border: 1px solid var(--border);
        position: relative;
        opacity: 0;
        transform: translateY(40px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    }
    
    .pricing-card.featured {
        border: 2px solid var(--tier-starter);
        transform: translateY(40px) scale(1.02);
        box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 30px 60px rgba(59, 130, 246, 0.25);
    }
    
    /* Card Top Border */
    .pricing-card.tier-free { border-top: 4px solid var(--tier-free); }
    .pricing-card.tier-starter { border-top: 4px solid var(--tier-starter); }
    .pricing-card.tier-pro { border-top: 4px solid var(--tier-pro); }
    .pricing-card.tier-business { border-top: 4px solid var(--tier-business); }
    
    /* Featured Indicator */
    .featured-indicator {
        position: absolute;
        top: -14px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, var(--tier-starter) 0%, #2563eb 100%);
        color: white;
        padding: 6px 20px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
    }
    
    /* Tier Badge */
    .tier-badge {
        display: none;
    }
    
    /* Tier Header */
    .tier-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    
    .tier-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
    }
    
    .tier-free .tier-icon {
        background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
        color: var(--tier-free);
    }
    
    .tier-starter .tier-icon {
        background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
        color: var(--tier-starter);
    }
    
    .tier-pro .tier-icon {
        background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
        color: var(--tier-pro);
    }
    
    .tier-business .tier-icon {
        background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
        color: var(--tier-business);
    }
    
    /* Tier Info */
    .tier-info {
        margin-bottom: 16px;
    }
    
    .tier-name {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 4px;
    }
    
    .tier-tagline {
        font-size: 0.9rem;
        color: var(--text-light);
    }
    
    /* Tier Price */
    .tier-price {
        margin-bottom: 8px;
    }
    
    .price-amount {
        font-size: 2.8rem;
        font-weight: 800;
        color: var(--primary);
        transition: all 0.3s ease;
    }
    
    .price-period {
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-light);
    }
    
    /* Tier Divider */
    .tier-divider {
        height: 1px;
        background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
        margin: 24px 0;
    }
    
    /* Tier Features */
    .tier-features {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    
    .tier-features li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 0.95rem;
        color: var(--text-dark);
    }
    
    .tier-features li i {
        font-size: 1.2rem;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .tier-free .tier-features li i { color: var(--tier-free); }
    .tier-starter .tier-features li i { color: var(--tier-starter); }
    .tier-pro .tier-features li i { color: var(--tier-pro); }
    .tier-business .tier-features li i { color: var(--tier-business); }
    
    /* Tier Button */
    .tier-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 14px 24px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        margin-top: 24px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .tier-free .tier-btn {
        background: #f1f5f9;
        color: var(--primary);
    }
    
    .tier-free .tier-btn:hover {
        background: #e2e8f0;
    }
    
    .tier-starter .tier-btn {
        background: linear-gradient(135deg, var(--tier-starter) 0%, #2563eb 100%);
        color: white;
        box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
    }
    
    .tier-starter .tier-btn:hover {
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
        transform: translateY(-2px);
    }
    
    .tier-pro .tier-btn {
        background: linear-gradient(135deg, var(--tier-pro) 0%, #9333ea 100%);
        color: white;
        box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
    }
    
    .tier-pro .tier-btn:hover {
        box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
        transform: translateY(-2px);
    }
    
    .tier-business .tier-btn {
        background: linear-gradient(135deg, var(--tier-business) 0%, #dc2626 100%);
        color: white;
        box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    }
    
    .tier-business .tier-btn:hover {
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
        transform: translateY(-2px);
    }
    
    /* ========================================
       GUARANTEE BADGE
    ======================================== */
    .guarantee-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 60px;
        padding: 20px;
        background: white;
        border-radius: 16px;
        border: 1px solid var(--border);
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .guarantee-badge i {
        font-size: 1.8rem;
        color: var(--accent);
    }
    
    .guarantee-badge span {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-dark);
    }
    
    /* ========================================
       FAQ SECTION
    ======================================== */
    .pricing-faq {
        padding: 100px 0;
        background: white;
    }
    
    .faq-header {
        text-align: center;
        margin-bottom: 60px;
    }
    
    .faq-header h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 12px;
    }
    
    .faq-header p {
        font-size: 1.1rem;
        color: var(--text-light);
    }
    
    .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .faq-item {
        padding: 28px;
        background: var(--bg-light);
        border-radius: 16px;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .faq-item h4 {
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .faq-item h4 i {
        color: var(--accent);
    }
    
    .faq-item p {
        font-size: 0.95rem;
        color: var(--text-light);
        line-height: 1.7;
    }
    
    /* ========================================
       CTA SECTION
    ======================================== */
    .pricing-cta {
        padding: 100px 0;
        background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    .pricing-cta::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
    }
    
    .pricing-cta .cta-content {
        position: relative;
        z-index: 2;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .pricing-cta h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: white;
        margin-bottom: 16px;
    }
    
    .pricing-cta p {
        font-size: 1.15rem;
        color: #94a3b8;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 16px 32px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1.05rem;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .cta-btn.primary {
        background: var(--accent);
        color: white;
        box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    }
    
    .cta-btn.primary:hover {
        background: var(--accent-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
    }
    
    .cta-btn.secondary {
        background: transparent;
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .cta-btn.secondary:hover {
        background: white;
        color: var(--primary);
        border-color: white;
    }
    
    /* ========================================
       RESPONSIVE
    ======================================== */
    @media (max-width: 1100px) {
        .pricing-grid {
            grid-template-columns: repeat(2, 1fr);
            max-width: 700px;
            margin: 0 auto;
        }
        
        .pricing-card.featured {
            transform: none;
        }
        
        .pricing-card.featured:hover {
            transform: translateY(-8px);
        }
    }
    
    @media (max-width: 768px) {
        .pricing-title {
            font-size: 2.2rem;
        }
        
        .pricing-subtitle {
            font-size: 1.1rem;
        }
        
        .pricing-grid {
            grid-template-columns: 1fr;
            max-width: 420px;
        }
        
        .faq-grid {
            grid-template-columns: 1fr;
        }
        
        .cta-buttons {
            flex-direction: column;
            align-items: center;
        }
        
        .cta-btn {
            width: 100%;
            max-width: 280px;
            justify-content: center;
        }
    }