        /* =============================================
           STYLES
           ============================================= */
        :root {
            --primary: #1e3a8a;
            --primary-light: #e6edff;
            --text-dark: #0f172a;
            --text-muted: #475569;
            --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg-gradient);
            min-height: 100vh;
            scroll-behavior: smooth;
        }

        /* Header */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: white;
            box-shadow: 0 4px 16px rgba(0, 20, 40, 0.08);
            z-index: 1000;
        }

        .logo-row {
            background: white;
            padding: 0.6rem 2rem;
            border-bottom: 1px solid rgba(13, 71, 161, 0.1);
        }

        .company-logo {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.75rem 2rem;
        }

        .logo-group {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .company-logo img {
            height: 56px;
            width: auto;
            display: block;
            border-radius: 12px;
        }

        .slogan-text {
            font-size: 1.25rem;
            font-weight: 600;
            color: #0d47a1;
            background: #e3f2fd;
            padding: 0.4rem 1.4rem;
            border-radius: 40px;
            white-space: nowrap;
            border: 1px solid rgba(13,71,161,0.2);
        }

        .header-cta {
            display: flex;
            gap: 12px;
        }

        .header-cta a {
            background: #0d47a1;
            color: white;
            text-decoration: none;
            padding: 0.4rem 1.4rem;
            border-radius: 30px;
            font-weight: 500;
            font-size: 0.95rem;
            transition: 0.2s;
            white-space: nowrap;
        }

        .header-cta a:hover { background: #1565c0; }
        .header-cta a.login-btn { background: #0d47a1; }
        .header-cta a.signup-active { background: #4CAF50; cursor: default; }

        .nav-row {
            background: #0d47a1;
        }

        .main-nav {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            padding: 0.1rem 2rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 0.2rem;
        }

        .nav-links li a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 0.4rem 1.2rem;
            font-weight: 500;
            border-radius: 30px;
            transition: background 0.2s;
            font-size: 0.95rem;
        }

        .nav-links li a:hover { background: #4CAF50; }
        .nav-links li a.active { background: #4CAF50; }

        /* Main Content */
        .main-wrapper {
            padding-top: 140px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-bottom: 20px;
            width: 100%;
        }

        .signup-container {
            max-width: 1000px;
            width: 100%;
            background: #ffffff;
            border-radius: 32px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            display: grid;
            grid-template-columns: 1.1fr 1fr;
            margin: 0 20px;
        }

        /* Left Side */
        .pro-badge {
            display: inline-block;
            background: linear-gradient(135deg, #ffd700, #ffb347);
            color: #1a237e;
            padding: 0.15rem 0.7rem;
            border-radius: 50px;
            font-size: 1.0rem;
            font-weight: 700;
            margin-left: 8px;
            vertical-align: middle;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .value-side {
            background: linear-gradient(145deg, #f8faff 0%, #e6edff 100%);
            padding: 50px;
            border-right: 1px solid rgba(30, 58, 138, 0.05);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .brand-logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: #0d47a1;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .value-side h1 {
            font-size: 2.2rem;
            color: #0d47a1;
            line-height: 1.2;
            margin-bottom: 15px;
        }

        .value-side .subtitle {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 40px;
        }

        .feature-group {
            margin-bottom: 30px;
        }

        .feature-title {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #0d47a1;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .tag-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag {
            background: #ffffff;
            border: 1.5px solid rgba(13, 71, 161, 0.15);
            padding: 8px 16px;
            border-radius: 12px;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-dark);
        }

        .tag.highlight {
            border-color: #0d47a1;
            background: rgba(13, 71, 161, 0.03);
        }

        .tag i {
            color: #0d47a1;
            margin-right: 6px;
        }

        /* Right Side */
        .checkout-side {
            padding: 50px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .pricing-card {
            width: 100%;
            max-width: 380px;
            text-align: center;
        }

        .plan-toggle-container {
            display: inline-flex;
            background: #f1f5f9;
            padding: 6px;
            border-radius: 16px;
            margin-bottom: 30px;
            width: 100%;
            border: 1px solid #e2e8f0;
        }

        .toggle-option {
            flex: 1;
            padding: 12px 10px;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-muted);
            background: transparent;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
        }

        .toggle-option.active {
            color: #0d47a1;
            background: #ffffff;
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
        }

        .save-pill {
            font-size: 0.75rem;
            font-weight: 700;
            color: #ffffff;
            background: #10b981;
            padding: 2px 8px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .price-display-wrapper {
            min-height: 85px;
            margin-bottom: 25px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .price-block {
            display: none;
            animation: fadeIn 0.3s ease-in-out forwards;
        }

        .price-block.active {
            display: block;
        }

        .price-badge {
            font-size: 3.2rem;
            font-weight: 800;
            color: #0d47a1;
            line-height: 1;
            margin-bottom: 6px;
        }

        .price-period {
            font-size: 1rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .perks-list {
            text-align: left;
            margin-bottom: 35px;
            list-style: none;
        }

        .perks-list li {
            font-size: 1.05rem;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text-dark);
        }

        .perks-list li i {
            color: #10b981;
            font-weight: 900;
        }

        #stripe-button-container {
            width: 100%;
            margin-bottom: 15px;
            min-height: 60px;
        }

        .stripe-btn {
            width: 100%;
            background: #ffc439;
            border: none;
            padding: 15px;
            border-radius: 14px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 1.1rem;
            transition: transform 0.2s, box-shadow 0.2s;
            color: black;
            font-family: 'Inter', sans-serif;
            min-height: 54px;
        }

        .stripe-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(103, 114, 229, 0.4);
        }

        .stripe-btn i {
            font-size: 1.2rem;
        }

        .loading-spinner {
            display: none;
            text-align: center;
            padding: 15px;
        }

        .loading-spinner.active {
            display: block;
        }

        .error-message {
            color: #dc2626;
            font-size: 0.9rem;
            margin-top: 10px;
            display: none;
            background: #fee2e2;
            padding: 10px 15px;
            border-radius: 8px;
            align-items: center;
            gap: 8px;
        }

        .error-message.show {
            display: flex;
        }

        .secure-notice {
            font-size: 0.85rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(4px); }
            to { opacity: 1; transform: translateY(0); }
        }

        footer {
            background: white;
            padding: 16px 24px;
            text-align: center;
            border-top: 1px solid #eef2f6;
        }

        footer p {
            color: #0d47a1;
            font-weight: 600;
            font-size: 0.95rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            body {
                background: #f8fafc;
            }
            .main-wrapper {
                padding-top: 0;
                padding-left: 0;
                padding-right: 0;
                padding-bottom: 10px;
            }
            .site-header {
                position: relative;
            }
            .logo-row {
                padding: 0.5rem 1rem;
            }
            .main-nav {
                padding: 0.2rem 1rem;
            }
            .company-logo {
                flex-wrap: wrap;
                justify-content: space-between;
            }
            .logo-group {
                flex: 0 0 auto;
            }
            .company-logo img {
                height: 42px;
            }
            .slogan-text {
                display: none;
            }
            .header-cta {
                flex-direction: column;
                gap: 6px;
                margin-left: auto;
            }
            .header-cta a {
                padding: 0.25rem 1rem;
                font-size: 0.8rem;
                text-align: center;
                min-width: 70px;
            }
            .nav-links {
                overflow-x: auto;
                white-space: nowrap;
                flex-wrap: nowrap;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 2px;
            }
            .signup-container {
                grid-template-columns: 1fr;
                margin: 20px;
                width: calc(100% - 40px);
                max-width: none;
                border-radius: 24px;
            }
            .value-side {
                padding: 35px 25px;
            }
            .checkout-side {
                padding: 35px 25px;
            }
            .value-side h1 {
                font-size: 1.6rem;
            }
            .price-badge {
                font-size: 2.8rem;
            }
            @supports (-webkit-hyphens:none) {
                html, body {
                    font-size: 22px !important;
                }
                .company-logo img {
                    height: 52px !important;
                }
                .header-cta a {
                    font-size: 0.95rem !important;
                    padding: 0.4rem 1.1rem !important;
                }
            }
        }

        @media (max-width: 480px) {
            .signup-container {
                margin: 15px;
                width: calc(100% - 30px);
                border-radius: 20px;
            }
            .value-side, .checkout-side {
                padding: 25px 20px;
            }
            .value-side h1 {
                font-size: 1.4rem;
            }
            .price-badge {
                font-size: 2.4rem;
            }
        }

