/* ===================== Neo Footer — dark neon + white text ===================== */
.neo-footer {
    /* Palette (matches Benefits panel) */
    --benefit-bg: #211c42;
    --edge-1: #423dfc;
    --edge-2: #7271fb;
    --ink: #eaf1ff;
    /* main text */
    --muted: #9fb0cf;
    /* secondary text */

    position: relative;
    background:
        radial-gradient(60% 90% at 85% 20%, rgba(66, 77, 254, .25), transparent 60%),
        radial-gradient(50% 70% at 0% 100%, rgba(15, 120, 255, .18), transparent 60%),
        var(--benefit-bg);
    color: var(--ink);
    margin-top: 80px;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Neon backdrop: thin beam + soft purple bloom (no grey wash) */
.neo-footer .footer-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: none;
}

.neo-footer .footer-backdrop::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 2.5%;
    right: 2.5%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, #caaaff 18%, #b18bff 36%, #8f6bff 50%, #b18bff 64%, #caaaff 82%, transparent 100%);
    filter: drop-shadow(0 0 6px rgba(155, 118, 255, .95)) drop-shadow(0 0 18px rgba(141, 98, 255, .75)) drop-shadow(0 0 44px rgba(120, 80, 255, .55));
}

.neo-footer .footer-backdrop::after {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    top: 0;
    height: 240px;
    background: radial-gradient(120% 160px at 50% 26px, rgba(155, 118, 255, .45) 0%, rgba(155, 118, 255, .18) 40%, rgba(155, 118, 255, 0) 75%);
}

/* ---------------- Head ---------------- */
.neo-footer .footer-head {
    padding: 36px 0 8px;
}

.neo-footer .brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.neo-footer .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-weight: 600;
}

.neo-footer .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

/* make logo light; remove if your SVG is already white */
.neo-footer .brand-name {
    font-weight: 600;
    font-size: 18px;
    color: var(--ink);
}

.neo-footer .brand-dot {
    opacity: .35;
    color: var(--muted);
}

.neo-footer .brand-tag {
    color: var(--muted);
}

.neo-footer .quote {
    color: var(--muted);
}

/* ---------------- CTA card ---------------- */
.neo-footer .footer-cta {
    padding: 8px 0 28px;
}

.neo-footer .cta-card {
    margin: 0 auto;
    text-align: center;
    max-width: 820px;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .06)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)) border-box;
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 24px clamp(16px, 6vw, 36px);
    box-shadow: 0 20px 60px -24px rgba(66, 61, 252, .35);
}

.neo-footer .cta-card h4 {
    margin: 0 0 6px;
    font-weight: 800;
}

.neo-footer .cta-card p {
    margin: 0 0 14px;
    color: var(--muted);
}

/* Newsletter form */
.neo-footer .newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 24px -12px rgba(66, 61, 252, .30);
    max-width: 560px;
    margin: 0 auto;
}

.neo-footer .newsletter-form input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    padding: 10px 14px;
    font-size: 16px;
    color: var(--ink);
}

.neo-footer .newsletter-form input::placeholder {
    color: color-mix(in srgb, var(--ink), transparent 35%);
}

.neo-footer .newsletter-form .cta-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--edge-1), var(--edge-2));
    box-shadow: 0 12px 30px -10px rgba(66, 61, 252, .55);
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}

.neo-footer .newsletter-form .cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px -12px rgba(66, 61, 252, .65);
}

.neo-footer .sent-message {
    margin-top: 10px;
    color: #10b981;
    font-weight: 600;
}

/* ---------------- Link columns ---------------- */
.neo-footer .footer-links {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 28px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.neo-footer .footer-links h5 {
    margin: 6px 0 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    opacity: .95;
}

.neo-footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.neo-footer .footer-links li+li {
    margin-top: 10px;
}

.neo-footer .footer-links a {
    color: #ffffff;
    opacity: .92;
    text-decoration: none;
}

.neo-footer .footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ---------------- Bottom bar ---------------- */
.neo-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 10px;
    gap: 16px;
    flex-wrap: wrap;
}

.neo-footer .pill-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
}

.neo-footer .pill-mail svg {
    width: 18px;
    height: 18px;
    display: block;
    color: currentColor;
}

/* uses currentColor (white) */
.neo-footer .social a {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(143, 107, 255, .12), rgba(98, 72, 225, .12));
    border: 1px solid rgba(143, 107, 255, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.neo-footer .social a+a {
    margin-left: 8px;
}

.neo-footer .social a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -12px rgba(66, 61, 252, .45);
}

.neo-footer .social img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* make image icons white */
.neo-footer .copyright {
    text-align: center;
    color: var(--muted);
    padding: 10px 0 28px;
    font-size: 13px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    .neo-footer .brand-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .neo-footer .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .neo-footer .footer-links {
        grid-template-columns: 1fr;
    }
}

/* --- More space between the neon beam and the brand/quote text --- */
.neo-footer {
    /* tweakables */
    --beam-top: 14px;
    /* was 22px */
    --footer-head-pad-top: clamp(64px, 8vw, 96px);
    /* was 36px */
}

.neo-footer .footer-backdrop::before {
    top: var(--beam-top);
}

.neo-footer .footer-head {
    padding-top: var(--footer-head-pad-top);
}

/* (optional) if the purple bloom still feels close, shorten it slightly */
@media (min-width: 641px) {
    .neo-footer .footer-backdrop::after {
        height: 200px;
    }

    /* was 240px */
}

/* More space around the CTA block */
.neo-footer .footer-cta {
    padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
    /* top / bottom */
}

/* More padding inside the card */
.neo-footer .cta-card {
    padding: clamp(32px, 4vw, 52px) clamp(22px, 6vw, 48px);
    /* y / x */
}

/* Slightly larger gaps inside */
.neo-footer .cta-card h4 {
    margin-bottom: 10px;
}

.neo-footer .cta-card p {
    margin-bottom: 10px;
}

.neo-footer .newsletter-form {
    padding: 10px;
}

/* pill thickness */

/* Make the form NOT a pill */
.neo-footer .newsletter-form {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    gap: 12px;
    /* space between input and button */
}

/* Style the input as a regular rounded field */
.neo-footer .newsletter-form input {
    height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    /* rounded corners, not pill */
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
    color: var(--ink);
}

.neo-footer .newsletter-form input::placeholder {
    color: color-mix(in srgb, var(--ink), transparent 35%);
}

/* Nice focus ring */
.neo-footer .newsletter-form input:focus {
    outline: none;
    border-color: rgba(114, 113, 251, .55);
    box-shadow:
        0 0 0 3px rgba(114, 113, 251, .25),
        inset 0 1px 0 rgba(255, 255, 255, .14);
}

/* Keep your existing glass button; match height & rounding */
.neo-footer .newsletter-form .cta-btn {
    height: 46px;
    padding: 0 18px;
    border-radius: 12px;
}

/* Stack on small screens if needed */
@media (max-width:640px) {
    .neo-footer .newsletter-form {
        flex-wrap: wrap;
    }

    .neo-footer .newsletter-form .cta-btn {
        width: 100%;
    }
}

/* "Get early access" — white to light-silver like the screenshot */
.neo-footer .cta-card h4 {
    --m0: #ffffff;
    /* white */
    --m1: #f4f7fc;
    /* very light silver */
    --m2: #e6ecf5;
    /* light silver */
    --m3: #cbd3df;
    /* soft bottom tone */
    --gloss: .28;
    /* top highlight strength */

    font-weight: 800;
    letter-spacing: .2px;

    /* top gloss + vertical metal gradient */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, var(--gloss)) 0%, rgba(255, 255, 255, 0) 24%),
        linear-gradient(180deg, var(--m0) 0%, var(--m1) 38%, var(--m2) 64%, var(--m3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* soft depth like the example */
    text-shadow:
        0 .6px 0 rgba(0, 0, 0, .18),
        0 8px 28px rgba(0, 0, 0, .22);
}

/* If you want it even closer to white, lighten the bottom: */
/* .neo-footer .cta-card h4{ --m3:#d8dee8; --gloss:.32; } */
/* Fallback for browsers that can't clip backgrounds to text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .neo-footer .cta-card h4 {
        color: var(--ink);
    }
}

/* Center "Solutions" and "Company" block */
.neo-footer .footer-links {
    /* two auto-sized columns, centered as a group */
    grid-template-columns: repeat(2, minmax(240px, max-content)) !important;
    justify-content: center;
    /* center the grid tracks */
    column-gap: clamp(48px, 8vw, 140px);
    /* nice breathing space */
}

/* center the text inside each column */
.neo-footer .footer-links .col {
    text-align: center;
}

/* keep it clean on mobile (single centered column) */
@media (max-width:640px) {
    .neo-footer .footer-links {
        grid-template-columns: 1fr !important;
        justify-content: center;
    }

    .neo-footer .footer-links .col {
        text-align: center;
    }
}