:root {
    --bg: #f3f8ff;
    --bg-deep: #e7f0ff;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --text: #15335f;
    --text-strong: #0b2246;
    --muted: #6481a6;
    --line: rgba(116, 150, 193, 0.22);
    --accent: #f26422;
    --accent-strong: #e55513;
    --accent-soft: rgba(242, 100, 34, 0.12);
    --blue: #2f70d2;
    --blue-soft: rgba(47, 112, 210, 0.12);
    --success: #0f8c5b;
    --error: #cb4d4d;
    --shadow-soft: 0 24px 60px rgba(18, 59, 112, 0.1);
    --shadow-strong: 0 40px 100px rgba(14, 46, 93, 0.14);
    --radius: 28px;
    --radius-sm: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(242, 100, 34, 0.09), transparent 18%),
        radial-gradient(circle at 88% 12%, rgba(47, 112, 210, 0.12), transparent 24%),
        linear-gradient(180deg, #fcfeff 0%, var(--bg) 48%, var(--bg-deep) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(47, 112, 210, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 112, 210, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.48;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 94%);
}

img {
    display: block;
    max-width: 100%;
}

.screen-surface {
    width: 100%;
}

.screen-block {
    position: relative;
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.content-shell {
    width: 100%;
    max-width: 100%;
    padding: 0 48px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.hero {
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    pointer-events: none;
}

.hero::before {
    width: 260px;
    height: 260px;
    top: 70px;
    left: -50px;
    background: rgba(242, 100, 34, 0.12);
}

.hero::after {
    width: 320px;
    height: 320px;
    right: -60px;
    top: 120px;
    background: rgba(47, 112, 210, 0.15);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(420px, 620px) 1fr;
    gap: 54px;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 18px;
}

.hero-logo {
    width: min(270px, 100%);
}

.eyebrow {
    margin: 0;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1,
.form-heading h2 {
    margin: 0;
    color: var(--text-strong);
    line-height: 1.04;
}

.hero h1 {
    font-size: clamp(2.9rem, 6vw, 5.2rem);
    max-width: 18ch;
}

.hero-h1-sub {
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    color: var(--muted);
    font-weight: 500;
    line-height: 1.5;
    display: block;
    margin-top: 0.3em;
}

.hero-text,
.form-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 15px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8745 0%, var(--accent) 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 20px 36px rgba(242, 100, 34, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
}

.hero-stage {
    position: relative;
    min-height: 460px;
    border-radius: 44px;
    overflow: hidden;
    background: linear-gradient(160deg, #0b1c3a 0%, #0e2450 40%, #0a1830 100%);
    border: 1px solid rgba(206, 222, 240, 0.15);
    box-shadow:
        var(--shadow-strong),
        inset 0 0 80px rgba(47, 112, 210, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-lottie {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    border: 0;
    display: block;
}

/* ── KEYFRAMES ───────────────────────────────────────── */

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.8); opacity: 0.6; }
    50%       { transform: scaleY(1.1); opacity: 1;   }
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    opacity: 0.88;
}

.scroll-cue span {
    width: 2px;
    height: 42px;
    background: linear-gradient(180deg, rgba(47, 112, 210, 0.12), rgba(242, 100, 34, 0.68));
    border-radius: 999px;
    animation: scrollPulse 2.2s ease-in-out infinite;
}

.application {
    padding: 32px 0;
    align-items: stretch;
}

.form-shell {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.form-subtext {
    margin: 0;
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--blue);
}

.company-phones {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 4px 0 0;
}

.company-phone-link {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.company-phone-link:hover {
    color: var(--accent-strong);
}

.phone-sep {
    color: var(--muted);
    font-weight: 500;
}

.blacklist-notice {
    color: #c0392b;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #c0392b;
    border-radius: 8px;
    padding: 10px 14px;
    display: inline-block;
    background: rgba(192, 57, 43, 0.08);
}

.warning-notice {
    margin-top: 24px;
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    background: #fff8e1;
    border: 1.5px solid #f9c84a;
    color: #7a5c00;
    line-height: 1.7;
}

.warning-notice strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #5c4000;
}

.form-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.message-stack {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 500;
    background: var(--surface);
    backdrop-filter: blur(10px);
}

.alert-success {
    color: var(--success);
    border-color: rgba(15, 140, 91, 0.18);
}

.alert-error,
.field-error {
    color: var(--error);
}

.alert-error {
    border-color: rgba(203, 77, 77, 0.18);
}

.lead-form {
    display: grid;
    gap: 24px;
    padding: 34px;
    border-radius: 30px;
    background: var(--surface-strong);
    border: 1px solid rgba(209, 224, 241, 0.82);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    align-content: start;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}

.field-group {
    display: grid;
    gap: 10px;
}

.field-group-wide {
    grid-column: 1 / -1;
}

.field-group label,
.choice-label {
    color: var(--text-strong);
    font-weight: 700;
}

.form-input {
    width: 100%;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(116, 150, 193, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-strong);
    outline: none;
    font-size: 1rem; /* prevents iOS Safari auto-zoom (must be ≥16px) */
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input::placeholder {
    color: #90a7c2;
}

.form-input:focus {
    border-color: rgba(242, 100, 34, 0.82);
    box-shadow: 0 0 0 4px rgba(242, 100, 34, 0.12);
}

select.form-input {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--blue) 50%),
        linear-gradient(135deg, var(--blue) 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 2px),
        calc(100% - 16px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 46px;
}

.phone-input-wrap {
    display: block;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(116, 150, 193, 0.28);
    background: rgba(255, 255, 255, 0.92);
}

.phone-input-wrap:focus-within {
    border-color: rgba(242, 100, 34, 0.82);
    box-shadow: 0 0 0 4px rgba(242, 100, 34, 0.12);
}

.phone-input-wrap .form-input {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.field-error {
    margin: 0;
    font-size: 0.92rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #ff8848 0%, var(--accent) 100%);
    box-shadow: 0 18px 32px rgba(242, 100, 34, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
}

.submit-btn {
    width: 100%;
    margin-top: auto;
}

@keyframes cardFlip {
    0%   { transform: rotateY(0deg)   rotateX(4deg);  }
    35%  { transform: rotateY(0deg)   rotateX(4deg);  }
    50%  { transform: rotateY(180deg) rotateX(-2deg); }
    85%  { transform: rotateY(180deg) rotateX(-2deg); }
    100% { transform: rotateY(360deg) rotateX(4deg);  }
}


@keyframes floatBounce {
    0%, 100% { transform: translateY(0px);   }
    50%       { transform: translateY(-16px); }
}

@keyframes coinSpin3d {
    0%, 100% { transform: rotateY(0deg)   scale(1);    }
    25%       { transform: rotateY(90deg)  scale(0.92); }
    50%       { transform: rotateY(180deg) scale(1);    }
    75%       { transform: rotateY(270deg) scale(0.92); }
}

@keyframes growBar {
    from { transform: scaleY(0.7); opacity: 0.7; }
    to   { transform: scaleY(1);   opacity: 1;   }
}

@keyframes twinkle {
    0%, 100% { transform: scale(0.7); opacity: 0.35; }
    50% { transform: scale(1.35); opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.8); opacity: 0.6; }
    50% { transform: scaleY(1.1); opacity: 1; }
}

/* ── STEPS SECTION ───────────────────────────────────── */

.steps-section {
    padding: 80px 0 90px;
    background:
        radial-gradient(circle at 10% 50%, rgba(242, 100, 34, 0.06), transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(47, 112, 210, 0.08), transparent 40%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
    border-top: 1px solid var(--line);
}

.steps-title {
    margin: 0 0 52px;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-strong);
    text-align: center;
    line-height: 1.2;
}

.steps-grid {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 32px;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    padding: 36px 24px;
    border-radius: var(--radius);
    background: var(--surface-strong);
    border: 1px solid rgba(209, 224, 241, 0.82);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.step-number {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #ff8748 0%, var(--accent) 100%);
    box-shadow: 0 12px 28px rgba(242, 100, 34, 0.28);
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.step-heading {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: 0.08em;
}

.step-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}

.step-connector {
    flex-shrink: 0;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--blue));
    border-radius: 999px;
    opacity: 0.35;
    margin: 0 4px;
    align-self: center;
    margin-bottom: 0;
}

/* ── FOOTER ──────────────────────────────────────────── */

.site-footer {
    padding: 26px 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copy {
    font-size: 0.88rem;
    color: var(--muted);
    font-weight: 500;
    text-align: center;
}

/* ── RESPONSIVE: steps ───────────────────────────────── */

@media (max-width: 720px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 32px;
        background: linear-gradient(180deg, var(--accent), var(--blue));
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 980px) {
    .content-shell,
    .form-shell {
        padding: 0 24px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-stage {
        min-height: 520px;
    }
}

@media (max-width: 720px) {
    .screen-block {
        min-height: 100svh;
    }

    .hero-stage {
        min-height: 380px;
        border-radius: 30px;
    }


    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lead-form {
        padding: 24px;
        min-height: auto;
    }

    .scroll-cue {
        bottom: 18px;
    }
}

