        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Colors */
            --primary-color: #5500ff;
            --primary-dark: #4400cc;
            --primary-light: #7b33ff;
            --secondary-color: #00aaff;
            --accent-color: #ff3366;
            --success-color: #00d084;
            --white: #ffffff;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;

            /* Typography */
            --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --font-family-heading: 'Comfortaa', 'Inter', sans-serif;

            /* Spacing */
            --spacing-xs: 0.5rem;
            --spacing-sm: 1rem;
            --spacing-md: 1.5rem;
            --spacing-lg: 2rem;
            --spacing-xl: 3rem;
            --spacing-2xl: 4rem;
            --spacing-3xl: 6rem;

            /* Border Radius */
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
            --radius-2xl: 1.5rem;
            --radius-full: 9999px;

            /* Shadows */
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

            /* Transitions */
            --transition-fast: 0.15s ease-in-out;
            --transition-base: 0.3s ease-in-out;
            --transition-slow: 0.5s ease-in-out;
        }

        body {
            font-family: var(--font-family-base);
            line-height: 1.6;
            /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
            background: #5500ff;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 1rem;
        }

        .container {
            max-width: 900px;
            width: 100%;
        }

        /* Hero Section */
        .hero-section {
            background: var(--white);
            border-radius: var(--radius-2xl);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            overflow: hidden;
            position: relative;
        }

        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(85, 0, 255, 0.02) 0%, rgba(0, 170, 255, 0.02) 100%);
        }

        .hero-content {
            position: relative;
            z-index: 1;
            padding: 3rem 2rem 2rem;
        }

        .hero-title {
            font-family: var(--font-family-heading);
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
            color: var(--gray-900);
            text-align: center;
        }

        .hero-description {
            font-size: 1.1rem;
            color: var(--gray-600);
            margin-bottom: 2rem;
            text-align: center;
            line-height: 1.6;
        }

        .hero-description strong {
            color: var(--primary-color);
            font-weight: 600;
        }

        .highlight-purple {
            color: var(--primary-color);
            /* Or #5500ff if you want to hardcode */
        }

        .email-verify-row,
        .otp-verify-row {
            margin-top: 0.5rem;
            gap: 1rem;
        }

        .otp-verify-row input {
            flex: 1;
        }

        .otp-verify-row .verify-btn {
            flex-shrink: 0;
            white-space: nowrap;
        }


        /* Form Styling */
        .form-container {
            background: var(--white);
            padding: 0;
        }

        .form-intro {
            font-size: 1rem;
            color: var(--gray-600);
            margin-bottom: 2rem;
            text-align: center;
            padding: 0 1rem;
        }

        .input-group {
            margin-bottom: 1.5rem;
        }

        .input-group label {
            display: block;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .input-row {
            display: flex;
            gap: 0.75rem;
            align-items: stretch;
        }

        .input-group input,
        .input-group textarea {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 2px solid var(--gray-200);
            border-radius: var(--radius-lg);
            background: var(--white);
            color: var(--gray-900);
            font-size: 0.95rem;
            transition: all var(--transition-base);
            font-family: var(--font-family-base);
        }

        .input-group input:focus,
        .input-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(85, 0, 255, 0.1);
            transform: translateY(-1px);
        }

        .input-group input::placeholder,
        .input-group textarea::placeholder {
            color: var(--gray-400);
        }

        .input-group textarea {
            height: 120px;
            resize: vertical;
            font-family: var(--font-family-base);
        }

        /* Checkbox and Radio Groups */
        .checkbox-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 0.75rem;
            margin-top: 0.75rem;
        }

        .radio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 0.75rem;
            margin-top: 0.75rem;
        }

        .checkbox-item,
        .radio-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem;
            background: var(--gray-50);
            border: 2px solid var(--gray-200);
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: all var(--transition-base);
            position: relative;
        }

        .checkbox-item:hover,
        .radio-item:hover {
            background: var(--gray-100);
            border-color: var(--primary-light);
            transform: translateY(-1px);
        }

        .checkbox-item input,
        .radio-item input {
            width: 18px;
            height: 18px;
            margin: 0;
            cursor: pointer;
            accent-color: var(--primary-color);
        }

        .checkbox-item label,
        .radio-item label {
            margin: 0;
            cursor: pointer;
            font-weight: 500;
            color: var(--gray-700);
            font-size: 0.9rem;
            flex: 1;
        }

        .checkbox-item input:checked+label,
        .radio-item input:checked+label {
            color: var(--primary-color);
            font-weight: 600;
        }

        .checkbox-item:has(input:checked),
        .radio-item:has(input:checked) {
            background: rgba(85, 0, 255, 0.05);
            border-color: var(--primary-color);
        }

        .other-input {
            grid-column: 1 / -1;
            margin-top: 0.5rem;
        }

        .other-input input {
            border: 2px solid var(--gray-300);
            padding: 0.75rem;
            border-radius: var(--radius-md);
        }

        /* Verify Button */
        .verify-btn {
            width: 100px;
            height: 48px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            color: var(--white);
            border: none;
            border-radius: var(--radius-lg);
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition-base);
            font-size: 0.85rem;
            flex-shrink: 0;
        }

        .verify-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .verify-btn.verified {
            background: var(--success-color);
        }

        /* Beta Feedback Checkbox */
        .beta-checkbox {
            display: flex;
            align-items: center;
            justify-content: center;
            /* ✅ Center the whole row */
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            /* ✅ Reduced vertical spacing */
            background: linear-gradient(135deg, rgba(85, 0, 255, 0.05), rgba(0, 170, 255, 0.05));
            border: 2px solid var(--primary-color);
            border-radius: var(--radius-lg);
            transition: all var(--transition-base);
            margin: 1rem auto 0 auto;
            /* ✅ Centered + reduced bottom space */
            width: fit-content;
            /* ✅ Shrink to fit content */
            max-width: 100%;
        }


        .beta-checkbox:hover {
            background: linear-gradient(135deg, rgba(85, 0, 255, 0.08), rgba(0, 170, 255, 0.08));
            transform: translateY(-1px);
        }

        .beta-checkbox input {
            width: 16px;
            height: 16px;
            margin-top: 2px;
        }

        .beta-checkbox label {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--gray-700);
            line-height: 1.4;
            margin: 0;
        }

        .form-group {
            display: flex;
            align-items: center;
            justify-content: center;
            /* ✅ Center the whole row */
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            /* ✅ Reduced vertical spacing */
            background: linear-gradient(135deg, rgba(85, 0, 255, 0.05), rgba(0, 170, 255, 0.05));
            border: 2px solid var(--primary-color);
            border-radius: var(--radius-lg);
            transition: all var(--transition-base);
            margin: 1rem auto 0 auto;
            /* ✅ Centered + reduced bottom space */
            width: fit-content;
            /* ✅ Shrink to fit content */
            max-width: 100%;
        }


        .form-group:hover {
            background: linear-gradient(135deg, rgba(85, 0, 255, 0.08), rgba(0, 170, 255, 0.08));
            transform: translateY(-1px);
        }

        .form-group input {
            width: 16px;
            height: 16px;
            margin-top: 2px;
        }

        .form-group label {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--gray-700);
            line-height: 1.4;
            margin: 0;
        }

        #recaptcha {
            display: flex;
            justify-content: center;
            margin-top: 1rem;
            margin-bottom: 1.5rem;
        }

        /* Submit Button */
        .btn {
            width: 50%;
            margin: 1rem auto 0 auto;
            /* TOP auto BOTTOM auto = center horizontally */
            padding: 1rem 2rem;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            color: var(--white);
            border: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all var(--transition-base);
            box-shadow: var(--shadow-lg);
            font-family: var(--font-family-base);
            display: block;
            /* Ensures margin auto works as expected */
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px -10px rgba(85, 0, 255, 0.4);
        }

        .btn:active {
            transform: translateY(-1px);
        }

        .form-subtext {
            font-size: 0.9rem;
            color: var(--gray-500);
            text-align: center;
            margin-top: 1rem;
            line-height: 1.5;
        }

        /* Thank You Message */
        .panel {
            text-align: center;
            padding: 2rem;
        }

        .panel h2 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-family: var(--font-family-heading);
        }

        .panel p {
            color: var(--gray-600);
            margin-bottom: 1.5rem;
        }

        /* Modal */
        /* .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
        } */

        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1000;

            display: none;
            /* default hidden */
            justify-content: center;
            align-items: center;

            /*  Add this to make sure modal doesn’t collapse */
            flex-direction: column;
        }

        .modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
        }

        .modal-content {
            position: relative;
            background: var(--white);
            padding: 2rem;
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-xl);
            max-width: 90%;
            width: 400px;
            text-align: center;
        }

        .modal-content p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            color: var(--gray-700);
        }

        .modal-close-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            color: var(--white);
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: var(--radius-lg);
            cursor: pointer;
            font-weight: 600;
            transition: all var(--transition-base);
        }

        .modal-close-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            body {
                padding: 1rem 0.5rem;
            }

            .hero-content {
                padding: 2rem 1.5rem 1.5rem;
            }

            .hero-title {
                font-size: 2rem;
            }

            .checkbox-grid,
            .radio-grid {
                grid-template-columns: 1fr;
            }

            .input-row {
                flex-direction: column;
                gap: 0.5rem;
            }

            .verify-btn {
                width: 100%;
                height: 48px;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 1.8rem;
            }

            .hero-content {
                padding: 1.5rem 1rem;
            }
        }