:root {
    --deep-blue: #1a3a8f;
    --mid-blue: #3b82d6;
    --cyan: #3dd8c5;
    --purple: #6b2fa0;
    --dark-bg: #0a0e1a;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(61, 216, 197, 0.12);
    --white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #8899b0;
    --glow-cyan: rgba(61, 216, 197, 0.35);
    --glow-purple: rgba(107, 47, 160, 0.3);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    color: var(--text-light);
    background: var(--dark-bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════
   ANIMATED BACKGROUND
   ═══════════════════════════════════════════ */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb--cyan {
    width: 500px;
    height: 500px;
    background: var(--glow-cyan);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.bg-orb--purple {
    width: 400px;
    height: 400px;
    background: var(--glow-purple);
    bottom: 10%;
    left: -8%;
    animation-delay: -7s;
}

.bg-orb--blue {
    width: 350px;
    height: 350px;
    background: rgba(26, 58, 143, 0.25);
    top: 40%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 35px) scale(1.02); }
}

/* Noise texture */
.bg-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
    opacity: 0.6;
}

/* Grid overlay */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(61, 216, 197, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 216, 197, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
header {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 52px 24px 0;
}

.logo-img {
    width: 330px;
    height: auto;
    margin-bottom: 28px;
    border-radius: 18px;
    background: white;
    padding: 10px 14px 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 40px rgba(61, 216, 197, 0.08);
    animation: logoReveal 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes logoReveal {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.headline {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 2.6rem;
    font-weight: 300;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.25;
    padding-bottom: 40px;
    letter-spacing: -0.5px;
    animation: headlineReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

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

.headline strong {
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--mid-blue), var(--purple));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

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

/* Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 36px;
    padding: 16px 48px;
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    background: linear-gradient(135deg, var(--cyan), var(--mid-blue));
    border-radius: 14px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: headlineReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--mid-blue), var(--purple));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(61, 216, 197, 0.25), 0 0 60px rgba(61, 216, 197, 0.1);
}

.hero-cta:hover::before {
    opacity: 1;
}

.hero-cta span,
.hero-cta svg {
    position: relative;
    z-index: 1;
}

/* Divider line */
.hero-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--mid-blue), var(--purple), transparent);
    opacity: 0.5;
    animation: dividerReveal 1.2s ease 0.4s both;
}

@keyframes dividerReveal {
    from { opacity: 0; transform: scaleX(0); }
    to { opacity: 0.5; transform: scaleX(1); }
}

/* ═══════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════ */
.benefits {
    position: relative;
    z-index: 1;
    padding: 40px 0 32px;
}

.benefits-grid {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
    padding: 14px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    animation: benefitReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.benefit:nth-child(1) { animation-delay: 0.5s; }
.benefit:nth-child(2) { animation-delay: 0.65s; }
.benefit:nth-child(3) { animation-delay: 0.8s; }

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

.benefit:hover {
    border-color: rgba(61, 216, 197, 0.3);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(61, 216, 197, 0.08);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.benefit strong {
    color: var(--cyan);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.how-it-works {
    position: relative;
    z-index: 1;
    padding: 36px 0 28px;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: benefitReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(61, 216, 197, 0.1), rgba(107, 47, 160, 0.1));
    border: 1px solid rgba(61, 216, 197, 0.2);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--cyan);
}

.step-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.step-arrow {
    color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 700px) {
    .steps {
        gap: 10px;
    }
    .step-text {
        font-size: 1rem;
    }
    .step-num {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    .step-arrow svg {
        width: 16px;
    }
}

@media (max-width: 420px) {
    .step-arrow {
        display: none;
    }
    .steps {
        flex-direction: column;
        gap: 8px;
    }
}

/* ═══════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════ */
.stats-bar {
    position: relative;
    z-index: 1;
    padding: 20px 0 40px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    animation: benefitReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--cyan), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(61, 216, 197, 0.4), transparent);
}

@media (max-width: 700px) {
    .stats-grid {
        gap: 12px;
    }
    .stat-number {
        font-size: 1.3rem;
    }
    .stat-label {
        font-size: 0.82rem;
        letter-spacing: 0.3px;
        max-width: 80px;
        line-height: 1.3;
    }
    .stat-divider {
        height: 32px;
    }
}

/* ═══════════════════════════════════════════
   MAIN / FORM
   ═══════════════════════════════════════════ */
main {
    padding: 20px 0 72px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.form-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 48px 40px;
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: formReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
    box-shadow: 0 0 80px rgba(61, 216, 197, 0.05), 0 24px 64px rgba(0, 0, 0, 0.3);
}

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

/* Glowing top border with animation */
.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--mid-blue), var(--purple), transparent);
    background-size: 200% 100%;
    animation: borderGlow 4s ease-in-out infinite;
}

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

/* Corner glow accents */
.form-section::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(107, 47, 160, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Bottom left glow */
.form-glow {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(61, 216, 197, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.form-section h2 {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 1.12rem;
}

.form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.input-wrapper:focus-within .input-icon {
    color: var(--cyan);
}

.input-wrapper:hover input[type="tel"] {
    border-color: rgba(255, 255, 255, 0.18);
}

input[type="tel"] {
    width: 100%;
    max-width: 400px;
    padding: 20px 52px;
    font-size: 1.4rem;
    font-family: 'DM Sans', sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    letter-spacing: 1px;
}

input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 2px;
}

input[type="tel"]:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(61, 216, 197, 0.12), 0 0 30px rgba(61, 216, 197, 0.06);
    background: rgba(255, 255, 255, 0.06);
}

/* GDPR */
.gdpr-group {
    text-align: left;
    max-width: 480px;
    margin: 28px auto;
}

.gdpr-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.gdpr-group input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--cyan);
}

.gdpr-text {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.6;
    max-height: 3.4em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.gdpr-toggle {
    color: var(--cyan);
    font-size: 0.82rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 0;
    font-family: inherit;
    display: inline;
}

.gdpr-toggle:hover {
    text-decoration: underline;
}

.gdpr-text.expanded {
    max-height: 600px;
}

.gdpr-text.expanded + .gdpr-toggle {
    display: none;
}

/* ═══════════════════════════════════════════
   SUBMIT BUTTON
   ═══════════════════════════════════════════ */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--cyan), var(--mid-blue));
    color: var(--white);
    border: none;
    padding: 18px 80px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Outfit', 'DM Sans', sans-serif;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--mid-blue), var(--purple));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(61, 216, 197, 0.25), 0 0 60px rgba(61, 216, 197, 0.1);
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit span,
.btn-submit svg {
    position: relative;
    z-index: 1;
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(61, 216, 197, 0.2);
}

/* Subtle pulse attention ring */
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(61, 216, 197, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(61, 216, 197, 0); }
}

.btn-submit {
    animation: btnPulse 3s ease-in-out 3s infinite;
}

.btn-submit:hover {
    animation: none;
}

/* Trust Badge */
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
}

.trust-badge svg {
    color: var(--cyan);
    opacity: 0.6;
    flex-shrink: 0;
}

/* Privacy Link */
.privacy-link {
    display: inline-block;
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
}

.privacy-link:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

/* ═══════════════════════════════════════════
   SUCCESS BOX
   ═══════════════════════════════════════════ */
.success-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(61, 216, 197, 0.2);
    border-radius: 24px;
    padding: 64px 48px;
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), #2ecc71, transparent);
}

.success-box h2 {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 1.8rem;
    color: var(--cyan);
    margin-bottom: 12px;
}

.success-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Error Box */
.error-box {
    background: rgba(191, 48, 41, 0.1);
    color: #f87171;
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 1rem;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    padding: 36px 24px;
    font-size: 1rem;
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(61, 216, 197, 0.2), transparent);
}

footer strong {
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

/* Footer email link — picks up the brand cyan with a subtle glow on hover */
footer a[href^="mailto:"] {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(61, 216, 197, 0.25);
    padding-bottom: 1px;
    transition: color 0.25s ease,
                border-color 0.25s ease,
                text-shadow 0.25s ease;
}

footer a[href^="mailto:"]:hover {
    color: #5fe5d3;
    border-bottom-color: rgba(95, 229, 211, 0.8);
    text-shadow: 0 0 12px rgba(61, 216, 197, 0.45);
}

footer a[href^="mailto:"]:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ═══════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #141926;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
    padding-right: 30px;
}

.modal-body p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.7;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--white);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 700px) {
    header {
        padding: 40px 16px 0;
    }

    .logo-img {
        width: 120px;
    }

    .headline {
        font-size: 1.8rem;
        padding-bottom: 28px;
    }

    .benefits-grid {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .benefit {
        padding: 12px 20px;
        font-size: 1rem;
    }

    main {
        padding: 16px 0 48px;
    }

    .form-section {
        padding: 36px 24px;
        border-radius: 18px;
    }

    .form-section h2 {
        font-size: 1.5rem;
    }

    input[type="tel"] {
        font-size: 1rem;
        padding: 16px 20px;
    }

    .btn-submit {
        width: 100%;
        padding: 18px;
    }

    .bg-orb--cyan { width: 300px; height: 300px; }
    .bg-orb--purple { width: 250px; height: 250px; }
    .bg-orb--blue { width: 200px; height: 200px; }

    .modal-content {
        padding: 28px 20px;
        border-radius: 14px;
    }
}

@media (max-width: 400px) {
    .headline {
        font-size: 1.5rem;
    }

    .form-section h2 {
        font-size: 1.3rem;
    }
}
