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

        :root {
            --primary: #3b82f6;
            --primary-hover: #2563eb;
            --primary-light: rgba(59, 130, 246, 0.1);
            --foreground: #0f172a;
            --muted-foreground: #64748b;
            --background: #ffffff;
            --border: #e2e8f0;
            --card: #ffffff;
            --card-foreground: #0f172a;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--foreground);
            background-color: var(--background);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .main {
            flex-grow: 1;
        }

        .hero-section {
            padding: 5rem 0 8rem;
            text-align: center;
        }

        .icon-wrapper {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 5rem;
            height: 5rem;
            background-color: var(--primary-light);
            border-radius: 50%;
            margin-bottom: 1.5rem;
        }

        .icon {
            width: 2.5rem;
            height: 2.5rem;
            color: var(--primary);
        }

        .headline {
            font-size: 2.5rem;
            font-weight: 900;
            letter-spacing: -0.025em;
            margin-bottom: 1rem;
            line-height: 1.1;
        }

        .subtitle {
            font-size: 1.125rem;
            color: var(--muted-foreground);
            max-width: 40rem;
            margin: 0 auto 2rem;
        }

        .features-section {
            padding: 4rem 0;
            background-color: #f8fafc;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .feature-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 0.5rem;
            padding: 2rem;
            text-align: center;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .feature-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .feature-icon {
            width: 2rem;
            height: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .feature-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .feature-description {
            color: var(--muted-foreground);
            line-height: 1.5;
        }

        .email-form {
            max-width: 32rem;
            margin: 0 auto;
            width: 100%;
        }

        .form-container {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            align-items: center;
            padding: 0.5rem;
            border-radius: 0.5rem;
            background: var(--card);
            border: 1px solid var(--border);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .email-input {
            height: 3rem;
            flex-grow: 1;
            width: 100%;
            font-size: 1rem;
            border: none;
            background: #f3f4f6; /* Light gray background */
            outline: none;
            padding: 0 1rem;
            border-radius: 0.375rem; /* Optional: rounded corners for better appearance */
        }

        .email-input::placeholder {
            color: var(--muted-foreground);
        }

        .submit-btn {
            background-color: #FE842F;
            color: white;
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 0.375rem;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
            width: 100%;
            justify-content: center;
        }

        .submit-btn:hover:not(:disabled) {
            background-color: #e06f1e;
            transform: translateY(-1px);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        /* .success-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2rem;
            background: var(--card);
            border-radius: 0.5rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            max-width: 32rem;
            width: 100%;
            margin: 0 auto;
        } */

        .success-icon {
            width: 4rem;
            height: 4rem;
            color: #10b981;
            margin-bottom: 1rem;
            animation: bounce 1s ease-in-out;
        }

        .success-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--foreground);
            margin-bottom: 0.5rem;
        }

        .success-message {
            color: var(--muted-foreground);
            max-width: 24rem;
            line-height: 1.5;
        }

        .spinner {
            width: 1rem;
            height: 1rem;
            border: 2px solid transparent;
            border-top: 2px solid currentColor;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        .arrow-right {
            width: 1rem;
            height: 1rem;
            transition: transform 0.2s ease;
        }

        .submit-btn:hover .arrow-right {
            transform: translateX(2px);
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        @keyframes bounce {
            0%, 20%, 53%, 80%, 100% {
                transform: translateY(0);
            }
            40%, 43% {
                transform: translateY(-10px);
            }
            70% {
                transform: translateY(-5px);
            }
        }

        .toast {
            position: fixed;
            top: 2rem;
            right: 2rem;
            background: #fee2e2;
            color: #991b1b;
            padding: 1rem 1.5rem;
            border-radius: 0.375rem;
            border: 1px solid #fecaca;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            animation: slideIn 0.3s ease-out;
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .footer {
            padding: 1.5rem 0;
            border-top: 1px solid var(--border);
            text-align: center;
            color: #FFFFFF; /* Changed to white */
            background: #009688; /* Added background color */
        }

        .alert {
            padding: 1rem;
            border-radius: 0.375rem;
            margin-bottom: 1rem;
        }

        .alert-success {
            background-color: #dcfce7;
            color: #166534;
            border: 1px solid #bbf7d0;
        }

        .alert-error {
            background-color: #fee2e2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        @media (min-width: 768px) {
            .hero-section {
                padding: 8rem 0;
            }

            .headline {
                font-size: 3.75rem;
            }

            .subtitle {
                font-size: 1.25rem;
            }

            .form-container {
                flex-direction: row;
                gap: 0.5rem;
            }

            .submit-btn {
                width: auto;
                flex-shrink: 0;
            }
        }

        /* Add to your <style> block */
        .form-popup-error {
            position: absolute;
            top: -2.5rem;
            left: 50%;
            transform: translateX(-50%);
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fecaca;
            border-radius: 0.375rem;
            padding: 0.75rem 1.25rem;
            font-size: 1rem;
            z-index: 10;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            animation: popupFadeIn 0.3s;
            min-width: 220px;
            text-align: center;
        }
        @keyframes popupFadeIn {
            from { opacity: 0; transform: translate(-50%, -10px);}
            to { opacity: 1; transform: translate(-50%, 0);}
        }
        .form-container {
            position: relative; /* Ensure popup is positioned relative to form */
        }

        /* Show .hero-moc (desktop) by default, hide .hero-moc-mobile */
.hero-moc-mobile {
  display: none;
}

@media (max-width: 767px) {
  /* On small screens, show .hero-moc-mobile, hide .hero-moc (desktop) */
  .hero-moc {
    display: none !important;
  }
  .hero-moc-mobile {
    display: block !important;
  }
}