/* ==========================================
   Design System & CSS Variables
   ========================================== */
:root {
    /* Colors - Modern, vibrant palette */
    --color-primary: hsl(250, 84%, 54%);
    --color-primary-light: hsl(250, 84%, 64%);
    --color-primary-dark: hsl(250, 84%, 44%);
    --color-secondary: hsl(280, 80%, 60%);
    --color-accent: #7c0e73;
    --color-gold: hsl(220, 10%, 85%);
    /* Silver */
    --color-gold-dim: hsl(220, 10%, 60%);
    --gradient-gold: linear-gradient(135deg, #F5F7FA 0%, #B8C6DB 100%);

    /* Neutrals */
    --color-bg: hsl(240, 15%, 8%);
    --color-bg-elevated: hsl(240, 12%, 12%);
    --color-bg-card: hsl(240, 10%, 15%);
    --color-text: hsl(0, 0%, 98%);
    --color-text-muted: hsl(240, 5%, 65%);
    --color-border: hsl(240, 8%, 20%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(250, 100%, 65%) 0%, hsl(280, 100%, 70%) 50%, #d946ef 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    --gradient-bg: radial-gradient(circle at 50% 0%, hsl(250, 84%, 20%), transparent 60%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================
   Layout Components
   ========================================== */
/* ==========================================
   App Wrapper (Stabilizes Layout)
   ========================================== */
.app-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--spacing-xl) + 60px) 0 var(--spacing-md);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    justify-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
        justify-items: stretch;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
}

@media (max-width: 1023px) {
    .hero-content {
        text-align: center;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.badge:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.badge-icon {
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.gradient-text {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-description-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
    text-align: left;
    flex: 1;
    /* Take remaining space */
}

.ai-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    vertical-align: middle;
    margin-top: -3px;
    margin-right: 4px;
    line-height: 1.4;
}

/* Stat Cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

@media (max-width: 1023px) {
    .stat-cards {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.stat-card-number {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
}

.stat-card-icon {
    color: var(--color-accent);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card-icon svg {
    width: 24px;
    height: 24px;
}

.stat-card-refresh-icon {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card-refresh-icon svg {
    width: 20px;
    height: 20px;
    stroke: url(#gradient-stroke);
}

/* Add gradient definition for SVG */
.stat-card-refresh::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Use CSS to color the SVG with gradient effect */
.stat-card-refresh svg {
    filter: drop-shadow(0 0 2px var(--color-primary));
}

.stat-card-refresh-icon svg path {
    stroke: var(--color-accent);
    stroke-width: 2.5;
}

.stat-card-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Rotating Value Props */
.rotating-faq {
    margin-top: var(--spacing-2xl);
    position: relative;
    padding-left: 16px;
    border-left: 1px solid #d946ef;
    /* border-left: 1px solid white; */
}

.rotating-faq-slides {
    position: relative;
    height: 48px;
    overflow: hidden;
}

.faq-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.faq-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq-text strong {
    font-size: 15px;
    /* color: #d946ef; */
    font-weight: 600;
    display: block;
}

.faq-text .faq-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* Progress dots */
.faq-dots {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.faq-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-dot.active {
    background: #d946ef;
    box-shadow: 0 0 8px rgba(217, 70, 239, 0.5);
}

@media (max-width: 768px) {
    .rotating-faq {
        border-left: none;
        padding-left: 0;
    }
    
    .rotating-faq-slides {
        height: 44px;
    }
    
    .faq-text strong {
        font-size: 14px;
    }
    
    .faq-text .faq-desc {
        font-size: 12px;
    }
    
    .faq-dots {
        justify-content: center;
    }
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Animated background gradients */
.bg-gradient-1,
.bg-gradient-2,
.bg-gradient-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Landing page: more visible gradients */
.landing-page .bg-gradient-1,
.landing-page .bg-gradient-2,
.landing-page .bg-gradient-3 {
    opacity: 0.2;
}

.bg-gradient-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.bg-gradient-2 {
    width: 600px;
    height: 600px;
    background: var(--color-secondary);
    bottom: 0;
    left: -200px;
    animation-delay: 7s;
}

.bg-gradient-3 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    padding: var(--spacing-3xl) 0;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.feature-card {
    padding: var(--spacing-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ==========================================
   Form Column
   ========================================== */
.form-column {
    position: relative;
    z-index: 10;
    max-width: 520px;
    min-width: 420px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .form-column {
        margin: 0;
        margin-left: auto;
    }
}

.form-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    text-align: center;
}

@media (min-width: 1024px) {
    .form-title {
        text-align: left;
    }
}

.form-container {
    background: rgba(20, 20, 28, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.form-container iframe {
    position: relative;
    z-index: 101;
    pointer-events: auto;
}

.form-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.8;
    z-index: -1;
    pointer-events: none;
}




/* ==========================================
   Header
   ========================================== */
/* Header styles have been moved to header.css */


/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    z-index: 10;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.faq-answer {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: var(--spacing-sm) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    margin-top: auto;
    position: relative;
    z-index: 10;
}

/* Minimal one-line footer */
.footer-minimal {
    padding: 12px 0;
    margin-top: auto;
    position: relative;
    z-index: 10;
    background: transparent;
}

.footer-minimal .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.35);
}

.footer-links-inline {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links-inline a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links-inline a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-brand h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: 0 0 4px 0;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* ==========================================
   Responsive Design
   ========================================== */
/* Hide desktop-only line breaks on mobile */
.desktop-only {
    display: none;
}

@media (min-width: 769px) {
    .desktop-only {
        display: inline;
    }
}

@media (max-width: 768px) {

    /* Mobile header - fixed to top with gradient fade */
    /* Mobile header - fixed to top with gradient fade */
    /* Styles moved to header.css */

    /* Consistent mobile margins */
    .container {
        padding: 0 24px;
    }

    /* Form column takes full width on mobile */
    .form-column {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .lead-form-card {
        padding: var(--spacing-md);
    }

    .hero-content,
    .hero-layout {
        padding: 0;
    }

    .hero {
        padding-top: 100px;
        /* Extra padding to account for fixed header */
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .section-title,
    .cta-title {
        font-size: var(--font-size-3xl);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .footer-minimal .container {
        flex-direction: column;
        gap: 8px;
    }

    /* Mobile hamburger menu - for logged-OUT pages (.header) */
    /* Mobile hamburger menu styles moved to header.css */

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
}

/* ==========================================
   Landing Page Lead Form - Glassy Style
   ========================================== */

.lead-form-wrapper {
    position: relative;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
}

.lead-form-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
}

.lead-form-card {
    background: linear-gradient(180deg, rgba(15, 15, 25, 0.85) 0%, rgba(10, 10, 18, 0.90) 100%);
    border-radius: 10px;
    padding: var(--spacing-lg);
    backdrop-filter: blur(20px);
}

.lead-form-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    text-align: center;
}

.lead-form-subtitle {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* Form Layout */
.lead-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

@media (max-width: 480px) {
    .lead-form-card .form-row {
        grid-template-columns: 1fr;
    }
}

/* Account Details Two-Column Layout */
.account-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.account-details-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-details-column .form-group {
    margin-bottom: 0;
}

/* Full-width Google SSO button */
.lead-form-card .btn-sso-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-text);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
    min-height: 48px;
    box-sizing: border-box;
}

.lead-form-card .btn-sso-full:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.lead-form-card .btn-sso-full.btn-google:hover {
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.account-details-column .btn-sso:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.account-details-column .btn-google:hover {
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.account-details-column .btn-outlook:hover {
    border-color: rgba(0, 120, 212, 0.5);
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.1);
}

@media (max-width: 600px) {
    .account-details-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.lead-form-card .form-group {
    margin-bottom: 10px;
}

.lead-form-card .form-group input,
.lead-form-card .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(40, 40, 60, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-text);
    font-size: var(--font-size-sm);
    font-family: var(--font-family);
    transition: all var(--transition-base);
}

.lead-form-card .form-group textarea {
    border-radius: 8px;
    resize: vertical;
    min-height: 80px;
}

.lead-form-card .form-group input:focus,
.lead-form-card .form-group textarea:focus {
    outline: none;
    background: rgba(50, 50, 75, 0.95);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.lead-form-card .form-group input::placeholder,
.lead-form-card .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Section Label */
.lead-form-card .section-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 10px;
    margin-top: 0;
}

.lead-form-card .form-section {
    margin: var(--spacing-md) 0;
}

/* Radio Group */
.lead-form-card .radio-group {
    display: flex;
    gap: var(--spacing-sm);
}

.lead-form-card .radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: rgba(40, 40, 60, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.lead-form-card .radio-option:hover {
    background: rgba(50, 50, 75, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
}

.lead-form-card .radio-option input[type="radio"] {
    display: none;
}

.lead-form-card .radio-option input[type="radio"]:checked+.radio-label {
    color: white;
    font-weight: 600;
}

.lead-form-card .radio-option:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(217, 70, 239, 0.2) 100%);
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3), 0 0 20px rgba(139, 92, 246, 0.3);
}

.lead-form-card .radio-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Checkbox Group */
.lead-form-card .checkbox-group {
    margin: 10px 0;
}

/* Form footnote */
.form-footnote {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top: var(--spacing-sm);
    line-height: 1.5;
}

.form-footnote a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}

.form-footnote a:hover {
    color: white;
}

/* Magic link note */
.magic-link-note {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: var(--spacing-sm) 0;
    line-height: 1.5;
}

/* Spin animation for loading states */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.lead-form-card .checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.lead-form-card .checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #8b5cf6;
    cursor: pointer;
}

.lead-form-card .checkbox-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.5;
}

.lead-form-card .checkbox-label a {
    color: #a78bfa;
    text-decoration: none;
    transition: color var(--transition-base);
}

.lead-form-card .checkbox-label a:hover {
    color: #c4b5fd;
}

/* Submit Button */
.lead-form-card .btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
    margin-bottom: var(--spacing-sm);
    margin-top: 10px;
}

.lead-form-card .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.lead-form-card .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.lead-form-card .btn-submit .arrow {
    font-size: 1.1em;
    transition: transform var(--transition-base);
}

.lead-form-card .btn-submit:hover .arrow {
    transform: translateX(4px);
}

/* Success Message */
.lead-form-card .success-message {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.lead-form-card .success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.lead-form-card .success-message h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.lead-form-card .success-message p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* SSO Divider */
.lead-form-card .sso-divider {
    display: flex;
    align-items: center;
    margin: var(--spacing-md) 0;
}

.lead-form-card .sso-divider::before,
.lead-form-card .sso-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.lead-form-card .sso-divider span {
    padding: 0 var(--spacing-md);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SSO Buttons */
.lead-form-card .sso-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.lead-form-card .btn-sso {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-text);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

.lead-form-card .btn-sso:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lead-form-card .btn-sso svg {
    flex-shrink: 0;
}

.lead-form-card .btn-google:hover {
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.lead-form-card .btn-outlook:hover {
    border-color: rgba(0, 120, 212, 0.5);
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.1);
}

/* Login Link */
.lead-form-card .form-login-link {
    text-align: center;
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.lead-form-card .form-login-link a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
}

.lead-form-card .form-login-link a:hover {
    color: #c4b5fd;
}