/* =============================================================
   ABUSIF s.r.o — stylesheet
   Pure-white, minimal corporate design inspired by aisle.com.
   Accent: pink → magenta gradient from the logo
           (#8A1F6B → #D97EA4) used only on CTAs.
   Single stylesheet, no external dependencies.
   ============================================================= */

/* -- Design tokens (dark) ----------------------------------- */
:root {
    --bg:          #07070b;
    --bg-elev:     #0d0e14;
    --bg-card:     rgba(255,255,255,.025);
    --bg-card-hi:  rgba(255,255,255,.05);
    --bg-hover:    rgba(255,255,255,.06);

    --border:      rgba(255,255,255,.08);
    --border-hi:   rgba(255,255,255,.16);

    --text:        #f3f4f8;
    --text-soft:   #d2d4dd;
    --text-muted:  #8d909c;
    --text-dim:    #5f6270;

    --brand-1:     #8A1F6B;
    --brand-2:     #D97EA4;
    --brand-glow:  rgba(217, 126, 164, 0.42);
    --brand-soft:  rgba(217, 126, 164, 0.10);

    --grad:        linear-gradient(90deg, #8A1F6B 0%, #D97EA4 100%);
    --grad-45:     linear-gradient(135deg, #8A1F6B 0%, #D97EA4 100%);

    --radius-s:    8px;
    --radius:      14px;
    --radius-l:    20px;
    --radius-pill: 999px;

    --shadow-sm:   0 1px 2px rgba(0,0,0,.4);
    --shadow:      0 4px 14px -4px rgba(0,0,0,.35), 0 2px 6px -2px rgba(0,0,0,.25);
    --shadow-lg:   0 40px 80px -30px rgba(0,0,0,.55), 0 14px 30px -14px rgba(138,31,107,.30);

    --header-h:    120px;
    --maxw:        1200px;

    --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -- Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg   { display: block; max-width: 100%; height: auto; }

html {
    background: var(--bg);
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    position: relative;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -- Animated aurora background ----------------------------- */
body::before {
    content: "";
    position: fixed;
    inset: -30vh -30vw;
    background:
        radial-gradient(620px 440px at 12% 18%,  rgba(138, 31,107,.42), transparent 60%),
        radial-gradient(720px 520px at 88% 72%,  rgba(217,126,164,.28), transparent 60%),
        radial-gradient(520px 420px at 52% 48%,  rgba(138, 31,107,.18), transparent 62%),
        radial-gradient(420px 360px at 82% 10%,  rgba(217,126,164,.14), transparent 65%);
    filter: blur(22px);
    z-index: -2;
    pointer-events: none;
    animation: aurora 32s ease-in-out infinite alternate;
    will-change: transform;
}
/* subtle fine grid overlay (adds texture / depth) */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 52px 52px;
    background-position: -1px -1px;
    mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, black 40%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}
@keyframes aurora {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
    33%  { transform: translate3d(3vw, 2vh, 0) rotate(.6deg); }
    66%  { transform: translate3d(-2vw, 3vh, 0) rotate(-.4deg); }
    100% { transform: translate3d(2vw, -3vh, 0) rotate(.8deg); }
}

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
label:focus-visible {
    outline: 2px solid var(--brand-1);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.8vw, 5rem); font-weight: 800; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; }
h4 { font-size: 0.92rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--text-muted); }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--brand-1); color: #fff;
    padding: 10px 14px; border-radius: 6px;
    z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
}

section { padding: clamp(56px, 9vw, 110px) 0; }

.eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-1);
    margin-bottom: 16px;
}

.text-gradient {
    background: var(--grad);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

/* -- Site header -------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,14,20,.72);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-wrap {
    position: relative;
    max-width: var(--maxw);
    margin: 0 auto;
    height: var(--header-h);
    padding: 0 clamp(16px, 3vw, 32px);
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo { flex: 0 0 auto; display: flex; align-items: center; }
.logo img { height: 77px; width: auto; }
@media (max-width: 900px) {
    .site-header .nav-wrap { height: 84px; }
    .logo img { height: 52px; }
}

/* Desktop: nav right-aligned at the level of the logo */
.primary-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0; padding: 0;
    list-style: none;
}
.nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-soft);
    border-radius: 8px;
    transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-item > a:hover,
.nav-item.is-active > a,
.nav-item:focus-within > a {
    color: var(--text);
    background: var(--bg-hover);
}

.nav-item .caret {
    width: 10px; height: 6px;
    opacity: .7;
    transition: transform .25s var(--ease);
}

.nav-cta {
    background: var(--grad) !important;
    color: #fff !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: 0 6px 16px -8px var(--brand-glow);
    transition: transform .15s var(--ease), filter .15s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -8px var(--brand-glow);
}

.nav-lang {
    margin-left: 10px;
    padding-left: 12px;
    border-left: 1px solid var(--border);
    display: inline-flex;
    gap: 2px;
}
.lang-link {
    padding: 6px 9px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--text-dim) !important;
    letter-spacing: 0.06em;
    border-radius: 6px !important;
}
.lang-link:hover { color: var(--text) !important; background: var(--bg-hover) !important; }
.lang-link.is-current { color: var(--text) !important; background: var(--bg-hover) !important; }

/* -- Sliding dropdown (aisle-style) ------------------------- */
.nav-item.has-dropdown { position: relative; }

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 680px;
    padding: 18px;
    /* matches the site aurora — deep panel, brand glow, soft blur */
    background:
        radial-gradient(600px 240px at 0% 0%,     rgba(138, 31,107,.28), transparent 70%),
        radial-gradient(500px 240px at 100% 100%, rgba(217,126,164,.14), transparent 70%),
        linear-gradient(180deg, rgba(13,14,20,.92) 0%, rgba(20,21,30,.92) 100%);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow:
        0 30px 80px -30px rgba(0,0,0,.70),
        0 12px 28px -18px rgba(138,31,107,.35);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .26s var(--ease),
                transform .26s var(--ease),
                visibility 0s linear .26s;
}
/* invisible hover bridge — bridges the gap between trigger and panel */
.dropdown::after {
    content: "";
    position: absolute;
    top: -14px; left: 0; right: 0;
    height: 14px;
    background: transparent;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity .24s var(--ease),
                transform .24s var(--ease),
                visibility 0s linear 0s;
}
.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret,
.has-dropdown.is-open .caret { transform: rotate(180deg); }

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}
.dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text);
    transition: background .18s var(--ease), transform .18s var(--ease);
    overflow: hidden;
}
.dropdown-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
                rgba(138, 31,107,.30) 0%,
                rgba(217,126,164,.10) 100%);
    opacity: 0;
    transition: opacity .18s var(--ease);
}
.dropdown-item > * { position: relative; z-index: 1; }
.dropdown-item:hover { transform: translateX(2px); }
.dropdown-item:hover::before { opacity: 1; }

.dropdown-ico {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: border-color .18s var(--ease), background .18s var(--ease);
}
.dropdown-ico img {
    width: 22px; height: 22px;
    /* tmavé aj svetlé SVG zjednotiť na jednu svetlo-sivú farbu v tóne textu */
    filter: brightness(0) invert(1);
    opacity: .78;
    transition: opacity .18s var(--ease);
}
.dropdown-item:hover .dropdown-ico { background: rgba(255,255,255,.14); }
.dropdown-item:hover .dropdown-ico img { opacity: 1; }
.dropdown-item:hover .dropdown-ico {
    background: rgba(255,255,255,.08);
    border-color: rgba(217,126,164,.45);
}

.dropdown-text strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 2px;
}
.dropdown-text em {
    display: block;
    font-size: 12.5px;
    color: #a2a4ae;
    font-style: normal;
    line-height: 1.45;
}
.dropdown-item:hover .dropdown-text em { color: #c7c9d0; }

/* -- Mobile menu -------------------------------------------- */
.nav-toggle, .nav-toggle-btn { display: none; }
.sub-toggle { display: none; }
.sub-label  { display: none; }

@media (max-width: 900px) {
    /* guard against horizontal scroll when the panel slides in */
    html, body { overflow-x: clip; }
    /* lock background scroll when menu is open */
    html.nav-open, body.nav-open { overflow: hidden; }

    /* CRITICAL: backdrop-filter on .site-header creates a new containing
       block for position:fixed descendants — which clamps the mobile
       drawer to the 84px header box, making it invisible. Drop it on
       mobile so the <nav>'s position:fixed is anchored to the viewport. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(13,14,20,.92);
    }

    /* --- hamburger button -------------------------------- */
    .nav-toggle-btn {
        display: inline-flex;
        position: relative;
        z-index: 110;
        margin-left: auto;
        width: 44px; height: 44px;
        align-items: center; justify-content: center;
        border-radius: 12px;
        cursor: pointer;
        background: rgba(255,255,255,.04);
        border: 1px solid var(--border);
        transition: background .2s var(--ease), border-color .2s var(--ease);
        -webkit-tap-highlight-color: transparent;
    }
    .nav-toggle-btn:active { background: rgba(255,255,255,.10); }
    .nav-toggle-btn span {
        position: absolute;
        left: 12px; right: 12px;
        height: 2px; border-radius: 2px;
        background: var(--text);
        transition: transform .32s var(--ease), top .32s var(--ease), opacity .2s var(--ease);
    }
    .nav-toggle-btn span:nth-child(1) { top: 15px; }
    .nav-toggle-btn span:nth-child(2) { top: 21px; }
    .nav-toggle-btn span:nth-child(3) { top: 27px; }
    .nav-toggle:checked ~ .nav-toggle-btn { background: rgba(255,255,255,.08); border-color: var(--border-hi); }
    .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
    .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

    /* --- backdrop scrim (tap to close) -------------------
       IMPORTANT: this element gets moved to <body> by JS so it
       lives OUTSIDE the sticky-header stacking context. Without
       that, the scrim's position:fixed inherits the header's
       containing block and cannot cover the hero section. */
    .nav-scrim {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.66);
        opacity: 0;
        visibility: hidden;
        transition: opacity .28s var(--ease), visibility 0s linear .28s;
        z-index: 998;
    }
    body.nav-open .nav-scrim {
        opacity: 1;
        visibility: visible;
        transition: opacity .28s var(--ease), visibility 0s linear 0s;
    }

    /* --- full-screen drawer ------------------------------
       Also moved to <body> by JS so it escapes the header's
       stacking context / overflow behaviour. Full viewport
       width guarantees the menu fully covers the hero below. */
    .primary-nav {
        position: fixed;
        top: 84px;               /* matches mobile header height */
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        background:
            radial-gradient(520px 340px at 90% 6%, rgba(138,31,107,.22), transparent 60%),
            radial-gradient(460px 280px at 10% 94%, rgba(217,126,164,.14), transparent 60%),
            #07070b;
        padding: 22px clamp(18px, 5vw, 28px) 40px;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        transition: transform .32s var(--ease);
        border-top: 1px solid var(--border);
        z-index: 999;
        display: block;
        visibility: hidden;
    }
    body.nav-open .primary-nav {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0; padding: 0;
    }
    .nav-item { width: 100%; display: block; }

    /* --- top-level links --------------------------------- */
    .nav-item > a {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 4px;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: var(--text);
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        background: transparent;
        -webkit-tap-highlight-color: rgba(217,126,164,.18);
    }
    /* kill sticky :hover / :focus-within backgrounds on mobile —
       mobile browsers simulate :hover on tap and it lingers until
       the user taps somewhere else, leaving the row permanently lit */
    .nav-item > a:hover,
    .nav-item:focus-within > a,
    .nav-item.is-active > a {
        background: transparent;
        color: var(--text);
    }
    .nav-item > a:active { color: #fff; background: rgba(255,255,255,.06); }

    /* same for dropdown items */
    .dropdown-item:hover,
    .dropdown-item:focus-within {
        background: rgba(255,255,255,.03);
        border-color: var(--border);
        transform: none;
    }
    .dropdown-item:active {
        background: rgba(255,255,255,.08);
        border-color: rgba(217,126,164,.35);
    }
    .nav-cta { justify-content: space-between !important; }

    /* --- Solutions collapsible (JS-driven) --------------- */
    .has-dropdown { display: block; position: static; }
    .has-dropdown > a {
        cursor: pointer;
        user-select: none;
    }
    .has-dropdown .caret {
        display: inline-block;
        width: 14px; height: 14px;
        margin-left: 12px;
        transition: transform .28s var(--ease);
        color: var(--text-muted);
    }
    /* kill sticky-hover caret rotation on mobile — only .is-open
       should flip the chevron, otherwise after one tap the caret
       stays rotated even after closing (mobile :hover lingers) */
    .has-dropdown:hover .caret,
    .has-dropdown:focus-within .caret {
        transform: rotate(0deg);
    }
    .has-dropdown.is-open .caret,
    .has-dropdown.is-open > a .caret {
        transform: rotate(180deg);
    }

    /* dropdown acts as an accordion panel
       NOTE: we must re-assert transform:none and related positioning
       under the SAME selectors used by the desktop rules (hover /
       focus-within / is-open), otherwise the desktop rule
       `transform: translateX(-50%)` wins by specificity and the
       accordion content visibly slides 50% off to the left. */
    .dropdown,
    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown,
    .has-dropdown.is-open .dropdown {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        min-width: 0;
        left: auto;
        right: auto;
        top: auto;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow: hidden;
        transition: max-height .35s var(--ease), padding .25s var(--ease);
    }
    .dropdown {
        max-height: 0;
        padding: 0;
    }
    .has-dropdown.is-open .dropdown {
        max-height: 900px;
        padding: 8px 0 14px;
    }
    .dropdown::before,
    .dropdown::after { display: none; }

    .dropdown-grid { grid-template-columns: 1fr; gap: 6px; }
    .dropdown-item {
        padding: 12px 14px;
        color: var(--text);
        border-radius: 12px;
        background: rgba(255,255,255,.03);
        border: 1px solid var(--border);
        transition: background .18s var(--ease), border-color .18s var(--ease);
    }
    .dropdown-item::before { display: none; }
    .dropdown-item:hover { transform: none; }
    .dropdown-item:active {
        background: rgba(255,255,255,.07);
        border-color: rgba(217,126,164,.35);
        transform: none;
    }
    .dropdown-ico {
        width: 36px; height: 36px;
        background: rgba(255,255,255,.06);
        border-color: rgba(255,255,255,.10);
    }
    .dropdown-ico img { width: 20px; height: 20px; filter: brightness(0) invert(1); opacity: .85; }
    .dropdown-text strong { color: var(--text); font-size: 15px; }
    .dropdown-text em { color: var(--text-muted); font-size: 12.5px; }

    /* --- language switcher pinned at bottom --------------
       styled to match the primary CTA button (Nezáväzná
       konzultácia / Odoslať správu) — chunky pill button with
       inner highlight + layered shadow. Active = full magenta
       treatment, inactive = dark button with same silhouette */
    .nav-lang {
        margin: 28px 0 0;
        order: 99;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        justify-content: stretch;
        padding: 22px 0 0;
        border-left: none;
        border-top: 1px solid var(--border);
        gap: 10px;
        width: 100%;
    }
    .lang-link {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 14px 12px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase;
        border-radius: var(--radius-pill) !important;
        color: var(--text) !important;
        background-color: #15161d !important;
        background-image:
            linear-gradient(180deg,
                rgba(255,255,255,.06) 0%,
                rgba(255,255,255,0)   40%,
                rgba(0,0,0,.10)       100%) !important;
        border: 1px solid rgba(255,255,255,.08) !important;
        box-shadow:
            0 1px 0 rgba(255,255,255,.10) inset,
            0 1px 2px rgba(0,0,0,.25),
            0 6px 14px -8px rgba(0,0,0,.45) !important;
        transition:
            background-color .22s var(--ease),
            border-color    .22s var(--ease),
            transform       .18s var(--ease),
            box-shadow      .25s var(--ease);
    }
    .lang-link:hover,
    .lang-link:focus-visible {
        background-color: #1c1d26 !important;
        border-color: rgba(255,255,255,.14) !important;
    }
    .lang-link:active {
        transform: translateY(1px);
        background-color: #101118 !important;
    }

    /* active / current language — matches .btn-primary */
    .lang-link.is-current {
        color: #fff !important;
        background-color: #8a1f6b !important;
        background-image:
            linear-gradient(180deg,
                rgba(255,255,255,.10) 0%,
                rgba(255,255,255,0)   40%,
                rgba(0,0,0,.08)       100%) !important;
        border-color: rgba(255,255,255,.08) !important;
        box-shadow:
            0 1px 0 rgba(255,255,255,.18) inset,
            0 1px 2px rgba(0,0,0,.25),
            0 10px 22px -10px rgba(138, 31, 107, .65) !important;
    }
    .lang-link.is-current:hover,
    .lang-link.is-current:focus-visible {
        background-color: #9e2a7c !important;
        border-color: rgba(255,255,255,.14) !important;
    }
    .lang-link.is-current:active {
        transform: translateY(1px);
        background-color: #7a1a5f !important;
    }
}

/* desktop: no scrim ever */
@media (min-width: 901px) {
    .nav-scrim { display: none !important; }
}

/* -- Hero --------------------------------------------------- */
.hero {
    position: relative;
    padding: clamp(70px, 12vw, 140px) 0 clamp(60px, 9vw, 100px);
    background: transparent;
}
.hero-inner { max-width: 900px; }
.hero h1 {
    margin-top: 0;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.hero .lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 36px;
    line-height: 1.55;
}

/* -- Buttons ----------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .15s var(--ease), filter .15s var(--ease),
                background-color .2s var(--ease), border-color .2s var(--ease),
                box-shadow .2s var(--ease);
}
/* Primary button — restrained, enterprise feel.
   Solid brand base + 1px top highlight, subtle shadow, refined hover. */
.btn-primary {
    position: relative;
    color: #fff;
    background-color: #8a1f6b;
    background-image:
        linear-gradient(180deg,
            rgba(255,255,255,.10) 0%,
            rgba(255,255,255,0)   40%,
            rgba(0,0,0,.08)       100%);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow:
        0 1px 0 rgba(255,255,255,.18) inset,
        0 1px 2px rgba(0,0,0,.25),
        0 8px 20px -10px rgba(138, 31, 107, .55);
    letter-spacing: -0.005em;
    transition:
        background-color .22s var(--ease),
        border-color    .22s var(--ease),
        transform       .18s var(--ease),
        box-shadow      .25s var(--ease);
}

.btn-primary:hover {
    background-color: #9e2a7c;
    border-color: rgba(255,255,255,.14);
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.22) inset,
        0 1px 2px rgba(0,0,0,.28),
        0 14px 28px -12px rgba(138, 31, 107, .65);
}

.btn-primary:active {
    transform: translateY(0);
    background-color: #7a1a5f;
    box-shadow:
        0 1px 0 rgba(255,255,255,.14) inset,
        0 1px 2px rgba(0,0,0,.30),
        0 6px 14px -8px rgba(138, 31, 107, .55);
}

.btn-primary:focus-visible {
    outline: 2px solid rgba(217, 126, 164, .55);
    outline-offset: 3px;
}

/* arrow that nudges on hover — only appears if author adds one */
.btn-primary .btn-arrow {
    display: inline-block;
    margin-left: 2px;
    transition: transform .2s var(--ease);
}
.btn-primary:hover .btn-arrow { transform: translateX(3px); }
.btn-secondary {
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text);
    border-color: var(--border-hi);
}
.btn-secondary:hover {
    background: rgba(255,255,255,.09);
    border-color: var(--brand-2);
    color: var(--text);
}
.btn-row { display: inline-flex; flex-wrap: wrap; gap: 12px; }

/* -- Section head ------------------------------------------ */
.section-head { max-width: 720px; margin: 0 auto clamp(28px, 5vw, 52px); text-align: center; }
.section-head.left { text-align: left; margin: 0 0 clamp(28px, 5vw, 52px); }
.section-head p { color: var(--text-muted); font-size: clamp(1rem, 1.25vw, 1.1rem); margin-top: .35em; }

/* -- Logo marquee (credibility strip) ---------------------- */
.logo-marquee {
    position: relative;
    overflow: hidden;
    padding: 26px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(13,14,20,.55);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 1;
    pointer-events: none;
}
.logo-marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.logo-marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.logo-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    align-items: center;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}
.logo-marquee-track img {
    height: 34px;
    width: auto;
    opacity: .72;
    /* Tint logos to body text color (--text: #f3f4f8) */
    filter: brightness(0) invert(.955);
    flex: 0 0 auto;
    /* uniform spacing via margin — keeps half-width = full-width / 2 exactly */
    margin-right: 56px;
    pointer-events: none;
}

@keyframes marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

/* -- Values / feature grid --------------------------------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.value-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: var(--radius-l);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.value-card:hover { background: var(--bg-card-hi); }
.value-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--grad);
}
.value-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.value-card h3 { margin-bottom: 10px; }
.value-card p  { margin-bottom: 0; }

/* -- Tech grid --------------------------------------------- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}
.tech-tile {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.tech-tile:hover {
    border-color: var(--border-hi);
    background: var(--bg-card-hi);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.tech-tile img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.tech-tile span { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* -- Solutions preview cards ------------------------------- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.solution-link {
    display: block;
    padding: 28px;
    border-radius: var(--radius-l);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.solution-link:hover {
    border-color: var(--border-hi);
    background: var(--bg-card-hi);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.solution-link .icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.solution-link .icon img { width: 28px; height: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.solution-link h3 { margin-bottom: 6px; color: var(--text); }
.solution-link p  { color: var(--text-muted); margin-bottom: 0; font-size: 14px; }

/* -- Page head (secondary pages) --------------------------- */
.page-head {
    padding: clamp(80px, 10vw, 120px) 0 clamp(28px, 5vw, 52px);
    background: transparent;
    border-bottom: 1px solid var(--border);
}
.page-head h1 { margin-bottom: 16px; }
.page-head .lead {
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    color: var(--text-muted);
    max-width: 760px;
}

.prose {
    max-width: 760px;
    margin: 0 auto;
}
.prose p { font-size: clamp(1rem, 1.2vw, 1.08rem); color: var(--text-soft); margin-bottom: 1.4em; }
.prose strong { color: var(--text); }
.prose h3 {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    color: var(--text);
    margin: 2.4em 0 .6em;
    letter-spacing: -.01em;
}
.prose ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6em;
    display: grid;
    gap: 10px;
}
.prose ul li {
    position: relative;
    padding: 14px 16px 14px 44px;
    font-size: clamp(.95rem, 1.1vw, 1.02rem);
    color: var(--text-soft);
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 10px;
}
.prose ul li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%),
        linear-gradient(135deg, #7c5cff, #3a8dff);
    box-shadow: 0 0 0 3px rgba(122, 92, 255, .15);
}
.prose ul li::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 50%;
    width: 6px;
    height: 3px;
    margin-top: -2px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    border-radius: 1px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 4vw, 48px);
    align-items: start;
}
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
    padding: 28px;
    border-radius: var(--radius-l);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.feature-card:hover {
    border-color: var(--border-hi);
    background: var(--bg-card-hi);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p  { margin-bottom: 0; }
.feature-card .icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.feature-card .icon img { width: 22px; height: 22px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }

/* Tinted feature-grid: recolour dark SVG icons to match body text (--text: #f3f4f8) */
.feature-grid-tinted .feature-card .icon img {
    filter: brightness(0) invert(.955) drop-shadow(0 2px 4px rgba(0,0,0,.35));
}

/* Equal-height feature cards: stretch to match the tallest sibling */
.feature-grid-equal { align-items: stretch; }
.feature-grid-equal .feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* -- CTA strip --------------------------------------------- */
.cta-strip {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(600px 240px at 0% 0%, rgba(138,31,107,.18), transparent 70%),
        radial-gradient(500px 200px at 100% 100%, rgba(217,126,164,.10), transparent 70%),
        var(--bg-card-hi);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: clamp(36px, 6vw, 64px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cta-strip h2 { margin: 0 0 6px; max-width: 560px; }
.cta-strip p  { margin: 0; max-width: 560px; color: var(--text-muted); }

/* -- Forms ------------------------------------------------- */
.form-card {
    max-width: 640px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius-l);
    background: var(--bg-card-hi);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.form-row { margin-bottom: 20px; }
.form-row .form-optional {
    font-weight: 400;
    font-size: 12px;
    color: var(--text-dim);
    margin-left: 6px;
}
.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
    width: 100%;
    padding: 13px 15px;
    background: rgba(7,7,11,.55);
    color: var(--text);
    border: 1px solid var(--border-hi);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.45;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-dim); }
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    background: rgba(7,7,11,.75);
    border-color: var(--brand-2);
    box-shadow: 0 0 0 4px rgba(217, 126, 164, 0.18);
}
.form-row textarea { min-height: 160px; resize: vertical; }

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-soft);
}
/* Consent checkbox: the generic `.form-row input` rule above applies text-input
   padding / background / border to every <input>, which on iOS Safari leaves the
   checkbox in an unclickable limbo between native and custom rendering. Reset all
   of those explicitly, force the native appearance, keep the pink accent-color. */
.form-checkbox input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: 20px;
    height: 20px;
    min-width: 20px;
    padding: 0;
    margin: 2px 0 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    accent-color: var(--brand-1);
    cursor: pointer;
    flex: 0 0 auto;
}
.form-checkbox input[type="checkbox"]:focus,
.form-checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 2px;
    background: transparent;
    box-shadow: none;
}
.form-checkbox label {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: rgba(217, 126, 164, .18);
}

.form-hp {  /* honeypot — off-screen, invisible to users */
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px; height: 1px;
}

.form-message {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid transparent;
}
.form-message.is-success { background: rgba(34,160,90,.12); border-color: rgba(34,160,90,.35); color: #8ce9ad; }
.form-message.is-error   { background: rgba(200,60,60,.12); border-color: rgba(200,60,60,.35); color: #ff9a9a; }

.form-note { font-size: 13px; color: var(--text-dim); margin-top: 10px; }

/* -- Footer ------------------------------------------------ */
.site-footer {
    position: relative;
    margin-top: clamp(48px, 8vw, 96px);
    border-top: 1px solid var(--border);
    background: rgba(13,14,20,.55);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.footer-wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 72px) clamp(16px, 3vw, 32px) 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
@media (max-width: 800px) { .footer-wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-wrap { grid-template-columns: 1fr; } }

.footer-brand img { height: 86px; width: auto; margin-bottom: 14px; }
.footer-motto {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
    max-width: 320px;
    font-style: normal;
}

.footer-col h4 {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
    color: var(--text-soft);
    font-size: 14px;
    transition: color .18s var(--ease);
}
.footer-col a:hover { color: var(--brand-1); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px clamp(16px, 3vw, 32px);
    max-width: var(--maxw);
    margin: 0 auto;
    color: var(--text-dim);
    font-size: 13px;
    text-align: center;
}

/* ==============================================================
   Enterprise-style sections (inspired by aisle.com/enterprise)
   ============================================================== */

/* -- Trust row (small compliance / feature badges) ------------ */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 36px;
    align-items: center;
    padding-top: 6px;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.trust-row .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.trust-row .badge svg {
    width: 16px; height: 16px;
    flex: 0 0 auto;
    color: var(--brand-1);
}

/* -- Numbered "Why" steps (01 / 02 / 03) ---------------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
    position: relative;
    padding: 40px 32px 34px;
    border-radius: var(--radius-l);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.step-card:hover {
    border-color: var(--border-hi);
    background: var(--bg-card-hi);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.step-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--brand-1);
    margin-bottom: 28px;
}
.step-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step-card p  { margin: 0; }

/* -- Capability grid (solutions at a glance) ------------------ */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 1000px) { .capability-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .capability-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .capability-grid { grid-template-columns: 1fr; } }

.capability-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.capability-card:hover {
    border-color: var(--border-hi);
    background: var(--bg-card-hi);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.capability-card .cap-ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: background .2s var(--ease), border-color .2s var(--ease);
}
.capability-card .cap-ico img {
    width: 20px; height: 20px;
    filter: brightness(0) invert(1);
    opacity: .8;
    transition: opacity .2s var(--ease);
}
.capability-card:hover .cap-ico { background: rgba(255,255,255,.12); }
.capability-card:hover .cap-ico img { opacity: 1; }
.capability-card h3 {
    font-size: 0.98rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text);
}
.capability-card p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* -- Personas ("Built for") ----------------------------------- */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 1000px) { .personas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .personas-grid { grid-template-columns: 1fr; } }

.persona-card {
    padding: 28px 26px;
    border-radius: var(--radius-l);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
}
.persona-card h3 {
    font-size: 1.05rem;
    margin: 0 0 18px;
    display: flex; align-items: center; gap: 10px;
}
.persona-card h3::before {
    content: "";
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--grad);
    flex: 0 0 auto;
}
.persona-card ul {
    list-style: none;
    padding: 0; margin: 0;
}
.persona-card li {
    position: relative;
    padding: 8px 0 8px 22px;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.5;
    border-top: 1px solid var(--border);
}
.persona-card li:first-child { border-top: none; }
.persona-card li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 12px; height: 7px;
    border-left: 2px solid var(--brand-1);
    border-bottom: 2px solid var(--brand-1);
    transform: rotate(-45deg);
}

/* -- Platform tabs + code block ------------------------------- */
.platform {
    background: rgba(7,7,11,.35);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

/* tab buttons styled like the primary CTA — professional, restrained.
   Inactive tabs = muted dark card; active tab = full magenta treatment. */
.tab-btn {
    position: relative;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text-soft);
    background-color: rgba(255,255,255,.03);
    background-image:
        linear-gradient(180deg,
            rgba(255,255,255,.06) 0%,
            rgba(255,255,255,0)   40%,
            rgba(0,0,0,.05)       100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    box-shadow:
        0 1px 0 rgba(255,255,255,.06) inset,
        0 1px 2px rgba(0,0,0,.18);
    transition:
        background-color .22s var(--ease),
        color           .18s var(--ease),
        border-color    .22s var(--ease),
        transform       .18s var(--ease),
        box-shadow      .25s var(--ease);
}
.tab-btn:hover {
    color: var(--text);
    background-color: rgba(255,255,255,.06);
    border-color: var(--border-hi);
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.10) inset,
        0 2px 6px rgba(0,0,0,.22);
}
.tab-btn:active { transform: translateY(0); }

.tab-btn.is-active {
    color: #fff;
    background-color: #8a1f6b;
    background-image:
        linear-gradient(180deg,
            rgba(255,255,255,.10) 0%,
            rgba(255,255,255,0)   40%,
            rgba(0,0,0,.08)       100%);
    border-color: rgba(255,255,255,.08);
    box-shadow:
        0 1px 0 rgba(255,255,255,.18) inset,
        0 1px 2px rgba(0,0,0,.25),
        0 8px 20px -10px rgba(138, 31, 107, .55);
    transform: translateY(0);
}
.tab-btn.is-active:hover {
    background-color: #9e2a7c;
    border-color: rgba(255,255,255,.14);
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255,255,255,.22) inset,
        0 1px 2px rgba(0,0,0,.28),
        0 14px 28px -12px rgba(138, 31, 107, .65);
}
.tab-btn:focus-visible {
    outline: 2px solid rgba(217, 126, 164, .55);
    outline-offset: 3px;
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.tab-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch;
}
@media (max-width: 900px) { .tab-inner { grid-template-columns: 1fr; } }

.tab-desc {
    padding: 24px 0;
}
.tab-desc h3 { font-size: 1.4rem; margin-bottom: 12px; }
.tab-desc p  { color: var(--text-muted); margin-bottom: 16px; }
.tab-stats {
    display: flex; flex-wrap: wrap; gap: 18px;
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.tab-stat { min-width: 120px; }
.tab-stat strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 2px;
}
.tab-stat span {
    font-size: 12.5px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.code-block {
    background: #0d0f14;
    color: #e4e6ed;
    border-radius: var(--radius);
    padding: 20px 22px;
    overflow: auto;
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.7;
    max-height: 380px;
    box-shadow: 0 20px 50px -28px rgba(15,15,18,.35);
}
.code-block .cmt { color: #8b93a6; font-style: italic; }
.code-block .kw  { color: #d97ea4; font-weight: 600; }
.code-block .str { color: #a7e0bd; }
.code-block .num { color: #f6c177; }
.code-block .fn  { color: #8fc3ff; }
.code-block::-webkit-scrollbar { height: 8px; width: 8px; }
.code-block::-webkit-scrollbar-thumb { background: #2a2e38; border-radius: 8px; }

/* -- Compliance grid ------------------------------------------ */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .compliance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .compliance-grid { grid-template-columns: 1fr; } }

.compliance-card {
    padding: 26px 24px;
    border-radius: var(--radius-l);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    text-align: left;
    transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.compliance-card:hover {
    border-color: var(--border-hi);
    background: var(--bg-card-hi);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.compliance-shield {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 10px 22px -10px var(--brand-glow);
}
.compliance-shield svg { width: 22px; height: 22px; }
.compliance-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.compliance-card p  { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* -- Final CTA (big full-width, subtle gradient band) --------- */
.final-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 12vw, 140px) 0;
    background:
        radial-gradient(1200px 480px at 50% 0%,   rgba(217,126,164,.22), transparent 65%),
        radial-gradient(1000px 480px at 50% 100%, rgba(138,31,107,.28), transparent 65%),
        linear-gradient(180deg, rgba(7,7,11,.55), rgba(13,14,20,.55));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    letter-spacing: -0.03em;
    max-width: 900px;
    margin: 0 auto 18px;
}
.final-cta p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: clamp(1rem, 1.3vw, 1.1rem);
}
.final-cta .btn-row { justify-content: center; }
.final-cta .fine-print {
    font-size: 12.5px;
    color: var(--text-dim);
    margin-top: 22px;
    letter-spacing: 0.03em;
}

/* -- Bigger footer (5 columns) -------------------------------- */
.footer-wrap-xl {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
}
@media (max-width: 1000px) { .footer-wrap-xl { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px)  { .footer-wrap-xl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px)  { .footer-wrap-xl { grid-template-columns: 1fr; } }

/* -- Hero tweaks (eyebrow + stacked CTA + trust row) ---------- */
.hero.enterprise .hero-inner { max-width: 900px; }
.hero.enterprise h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.hero.enterprise .lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 700px; }

/* ==============================================================
   HERO V2 — 2-col layout with live-looking dashboard card
   ============================================================== */
.hero-v2 { padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}
@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: 2; max-width: 540px; margin: 0 auto; }
}
.hero-copy { min-width: 0; }
.hero-h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 22px;
    font-weight: 800;
}
.hero-v2 .lead { max-width: 580px; margin-bottom: 30px; }

/* eyebrow with pulsing dot */
.eyebrow.pulse-dot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow.pulse-dot::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,.6);
    animation: pulseDot 2.4s cubic-bezier(.4,0,.4,1) infinite;
    flex: 0 0 auto;
}
@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0   rgba(34,197,94,.55); }
    70%  { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0   rgba(34,197,94,0); }
}

/* -- Word rotator — vertical flip through 4 words ------------ */
.word-rotator {
    display: inline-block;
    position: relative;
    height: 1.15em;
    min-width: 16ch;
    vertical-align: bottom;
    overflow: hidden;
}
@media (max-width: 700px) {
    .word-rotator { min-width: 100%; display: block; }
}
.word-rotator > span {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--grad);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    font-weight: 800;
    opacity: 0;
    transform: translateY(110%);
    animation: rotateWord 10s cubic-bezier(.7,0,.3,1) infinite;
    white-space: nowrap;
}
.word-rotator > span:nth-child(1) { animation-delay: 0s; }
.word-rotator > span:nth-child(2) { animation-delay: 2.5s; }
.word-rotator > span:nth-child(3) { animation-delay: 5s; }
.word-rotator > span:nth-child(4) { animation-delay: 7.5s; }
@keyframes rotateWord {
    0%         { opacity: 0; transform: translateY(110%); }
    5%, 22%    { opacity: 1; transform: translateY(0); }
    27%, 100%  { opacity: 0; transform: translateY(-110%); }
}

/* -- Hero visual stage (dashboard + orbits) ------------------ */
.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 560px;
    justify-self: end;
    width: 100%;
}
@media (max-width: 1000px) { .hero-visual { justify-self: center; } }

/* dashboard card */
.dashboard-card {
    position: absolute;
    inset: 6% 6% 6% 6%;
    background:
        radial-gradient(500px 300px at 0% 0%, rgba(138,31,107,.22), transparent 60%),
        linear-gradient(180deg, rgba(15,16,22,.92), rgba(10,11,18,.96));
    border: 1px solid var(--border-hi);
    border-radius: 18px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 30px 80px -20px rgba(0,0,0,.75),
        0 10px 30px -10px rgba(138,31,107,.35),
        inset 0 1px 0 rgba(255,255,255,.05);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
    animation: floatCard 8s ease-in-out infinite alternate;
}
@keyframes floatCard {
    0%   { transform: translateY(0) rotate(-0.4deg); }
    100% { transform: translateY(-10px) rotate(0.4deg); }
}
.dashboard-card::after {
    /* subtle grid inside */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: .8;
}
.dashboard-card > * { position: relative; z-index: 1; }

.dash-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.dash-traffic { display: inline-flex; gap: 5px; }
.dash-traffic i {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255,255,255,.15);
}
.dash-traffic i:nth-child(1) { background: #ff6057; }
.dash-traffic i:nth-child(2) { background: #ffbd2e; }
.dash-traffic i:nth-child(3) { background: #27c93f; }
.dash-title {
    flex: 1;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.dash-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #6ee7a4;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.28);
}
.dash-pulse {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: pulseDot 2.4s ease-in-out infinite;
}

.dash-metrics {
    display: grid;
    grid-template-columns: 1.25fr 1.3fr 1fr;
    gap: 10px;
}
.metric {
    padding: 12px 12px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.metric-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    line-height: 1;
}
.metric-value small { font-size: 0.6em; color: var(--text-muted); font-weight: 600; margin-left: 2px; }
.metric-zero { color: #6ee7a4; }

.metric-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    overflow: hidden;
    margin-top: auto;
}
.metric-fill {
    display: block;
    height: 100%;
    width: 0;
    background: var(--grad);
    border-radius: inherit;
    box-shadow: 0 0 10px var(--brand-glow);
    animation: barFill 2.4s cubic-bezier(.22,.61,.36,1) .3s forwards;
}
@keyframes barFill {
    from { width: 0; }
    to   { width: 99%; }
}

.metric-sub {
    font-size: 11px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.bullet {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
    flex: 0 0 auto;
}
.bullet-ok { background: #22c55e; box-shadow: 0 0 6px #22c55e; }

.spark {
    width: 100%;
    height: 32px;
    display: block;
    margin: 2px 0 2px;
}
.spark-line {
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    animation: drawLine 2.6s ease forwards .2s;
}
.spark-fill { opacity: 0; animation: fadeIn .6s ease forwards 2s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn   { to { opacity: 1; } }

.dash-log {
    margin-top: auto;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 11.5px;
    line-height: 1.75;
    padding: 10px 12px;
    background: rgba(0,0,0,.35);
    border-radius: 10px;
    border: 1px solid var(--border);
    color: #c8cad3;
    max-height: 130px;
    overflow: hidden;
}
.log-line { opacity: 0; transform: translateY(4px); animation: logIn .5s ease forwards; }
.log-line:nth-child(1) { animation-delay: 1.0s; }
.log-line:nth-child(2) { animation-delay: 1.4s; }
.log-line:nth-child(3) { animation-delay: 1.8s; }
.log-line:nth-child(4) { animation-delay: 2.2s; }
.log-line:nth-child(5) { animation-delay: 2.6s; }
@keyframes logIn { to { opacity: 1; transform: none; } }
.log-ok  { color: #6ee7a4; }
.log-str { color: #f6c177; }
.log-num { color: #8fc3ff; }
.log-cmt { color: #7b7f8a; font-style: italic; }

/* Orbiting tech logos around dashboard */
.orbit {
    position: absolute;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(13,14,20,.8);
    border: 1px solid var(--border-hi);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 12px 30px -12px rgba(0,0,0,.8),
        0 4px 14px -6px rgba(138,31,107,.30);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3;
}
.orbit img {
    width: 30px; height: 30px;
    /* Tint logos to match body text color (--text: #f3f4f8) */
    filter: brightness(0) invert(.955) drop-shadow(0 2px 4px rgba(0,0,0,.5));
}
.orbit-a { top: -12px; left: 10%;  animation: bob 6s ease-in-out infinite; }
.orbit-b { top: 38%;   right: -14px; animation: bob 7s ease-in-out infinite .8s; }
.orbit-c { bottom: 6%;  left: -12px; animation: bob 6.5s ease-in-out infinite 1.4s; }
.orbit-d { bottom: -10px; right: 14%; animation: bob 7.5s ease-in-out infinite 2s; }
@keyframes bob {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50%     { transform: translateY(-12px) rotate(4deg); }
}

/* ==============================================================
   STATS STRIP — below hero
   ============================================================== */
.stats-strip {
    padding: clamp(30px, 4vw, 52px) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(600px 160px at 50% 50%, rgba(217,126,164,.08), transparent 70%),
        rgba(13,14,20,.35);
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 780px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 22px; } }

.stat-item {
    text-align: center;
    position: relative;
    padding: 6px 12px;
}
.stat-item + .stat-item::before {
    content: "";
    position: absolute;
    left: 0; top: 14%; bottom: 14%;
    width: 1px;
    background: var(--border);
}
@media (max-width: 780px) {
    .stat-item + .stat-item::before { display: none; }
}
.stat-num {
    display: block;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    margin-bottom: 6px;
    line-height: 1;
}
.stat-lbl {
    font-size: 12.5px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ==============================================================
   CAPABILITY CARD — mouse-follow glow
   ============================================================== */
.capability-card { isolation: isolate; overflow: hidden; }
.capability-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
                                 rgba(217,126,164,.22), transparent 55%);
    opacity: 0;
    transition: opacity .25s var(--ease);
    z-index: 0;
}
.capability-card:hover::after { opacity: 1; }
.capability-card > * { position: relative; z-index: 1; }

/* ==============================================================
   SCROLL-REVEAL — cards cascade in as they enter the viewport
   ============================================================== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1),
                transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in-view {
    opacity: 1;
    transform: none;
}
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal:nth-child(5) { transition-delay: .24s; }
.reveal:nth-child(6) { transition-delay: .30s; }
.reveal:nth-child(7) { transition-delay: .36s; }
.reveal:nth-child(8) { transition-delay: .42s; }
.reveal:nth-child(9) { transition-delay: .48s; }
.reveal:nth-child(10) { transition-delay: .54s; }

/* =========================================================
   CONTACT PAGE — livelier page-head with animated backdrop
   (mirrors .final-cta style: twin radial glows + grid overlay
    + slow aurora drift)
   ========================================================= */
.page-head.contact-head {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 480px at 50% 0%,   rgba(217,126,164,.22), transparent 65%),
        radial-gradient(1000px 480px at 50% 100%, rgba(138, 31,107,.28), transparent 65%),
        linear-gradient(180deg, rgba(7,7,11,.55), rgba(13,14,20,.55));
    border-bottom: 1px solid var(--border);
}
/* subtle fading grid — identical visual language as final-cta */
.page-head.contact-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    animation: gridDrift 22s ease-in-out infinite alternate;
}
/* slow drifting light blob for extra life */
.page-head.contact-head::after {
    content: "";
    position: absolute;
    inset: -20% -10%;
    background:
        radial-gradient(420px 300px at 20% 30%, rgba(217,126,164,.18), transparent 60%),
        radial-gradient(360px 260px at 80% 70%, rgba(138, 31,107,.22), transparent 60%);
    filter: blur(18px);
    pointer-events: none;
    animation: contactAurora 18s ease-in-out infinite alternate;
    z-index: 0;
}
.page-head.contact-head > * { position: relative; z-index: 1; }

@keyframes gridDrift {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-14px, -10px, 0); }
}
@keyframes contactAurora {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(2%, -1%, 0) scale(1.06); }
    100% { transform: translate3d(-1%, 2%, 0) scale(1.02); }
}

.contact-form-section {
    padding: clamp(28px, 5vw, 56px) 0 clamp(60px, 9vw, 100px);
}

@media (prefers-reduced-motion: reduce) {
    .page-head.contact-head::before,
    .page-head.contact-head::after { animation: none !important; }
}

/* =========================================================
   MONITORING PAGE — animated backdrop + live-signal row +
   4 stack cards (Grafana / Prometheus / Kibana / Zabbix)
   ========================================================= */
.page-head.mon-head {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 480px at 50% 0%,   rgba(217,126,164,.22), transparent 65%),
        radial-gradient(1000px 480px at 50% 100%, rgba(138, 31,107,.28), transparent 65%),
        linear-gradient(180deg, rgba(7,7,11,.55), rgba(13,14,20,.55));
    border-bottom: 1px solid var(--border);
}
.page-head.mon-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    animation: gridDrift 22s ease-in-out infinite alternate;
}
/* animated EKG-like line running across the bottom of the head */
.page-head.mon-head::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(217,126,164,.0)  5%,
        rgba(217,126,164,.55) 45%,
        rgba(255,255,255,.9)  50%,
        rgba(217,126,164,.55) 55%,
        rgba(217,126,164,.0) 95%,
        transparent 100%);
    background-size: 220% 100%;
    animation: monScan 3.6s linear infinite;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 6px rgba(217,126,164,.55));
}
.page-head.mon-head > * { position: relative; z-index: 1; }

@keyframes monScan {
    0%   { background-position: -120% 0; }
    100% { background-position:  120% 0; }
}

/* live-signal chips row (Metrics / Logs / Traces / Alerts) */
.mon-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.mon-signal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    text-transform: uppercase;
}
.mon-signal em { font-style: normal; }
.mon-signal .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #6ee58a;
    box-shadow: 0 0 0 0 rgba(110, 229, 138, .5);
    animation: monDot 2.2s ease-out infinite;
}
.mon-signal:nth-child(2) .dot { background: #7fb8ff; box-shadow: 0 0 0 0 rgba(127,184,255,.5); animation-delay: .3s; }
.mon-signal:nth-child(3) .dot { background: #d97ea4; box-shadow: 0 0 0 0 rgba(217,126,164,.5); animation-delay: .6s; }
.mon-signal:nth-child(4) .dot { background: #ffb86b; box-shadow: 0 0 0 0 rgba(255,184,107,.5); animation-delay: .9s; }

@keyframes monDot {
    0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
    70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); opacity: .85; }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); opacity: 1; }
}

/* --- 4-up stack grid ---------------------------------------- */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.4vw, 24px);
}
@media (max-width: 1000px) { .stack-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .stack-grid { grid-template-columns: 1fr; } }

.stack-card {
    position: relative;
    overflow: hidden;
    padding: 26px 22px 22px;
    border-radius: var(--radius-l);
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color .25s var(--ease),
                transform .25s var(--ease),
                box-shadow .25s var(--ease),
                background .25s var(--ease);
    opacity: 0;
    transform: translateY(14px);
    animation: stackIn .7s var(--ease) forwards;
    animation-delay: var(--stack-delay, 0s);
}
@keyframes stackIn {
    to { opacity: 1; transform: translateY(0); }
}

/* subtle gradient glow that creeps in on hover */
.stack-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(217,126,164,.0) 0%,
        rgba(217,126,164,.18) 50%,
        rgba(138,31,107,.22) 100%);
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.stack-card > * { position: relative; z-index: 1; }

.stack-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-3px);
    box-shadow:
        0 18px 38px -20px rgba(138,31,107,.55),
        0 1px 0 rgba(255,255,255,.04) inset;
}
.stack-card:hover::before { opacity: 1; }

.stack-ico {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    transition: background .25s var(--ease), transform .4s var(--ease);
}
.stack-ico img {
    width: 26px; height: 26px;
    filter: brightness(0) invert(1);
    opacity: .82;
    transition: opacity .25s var(--ease), transform .4s var(--ease);
}
.stack-card:hover .stack-ico { background: rgba(255,255,255,.10); }
.stack-card:hover .stack-ico img { opacity: 1; transform: scale(1.06); }

.stack-card h3 {
    font-size: 1.08rem;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.stack-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

/* tiny live pulse in the top-right corner of every card */
.stack-pulse {
    position: absolute;
    top: 14px; right: 14px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #6ee58a;
    box-shadow: 0 0 0 0 rgba(110,229,138,.55);
    animation: monDot 2.4s ease-out infinite;
    z-index: 2;
}
.stack-card:nth-child(2) .stack-pulse { background: #ffb86b; box-shadow: 0 0 0 0 rgba(255,184,107,.55); animation-delay: .4s; }
.stack-card:nth-child(3) .stack-pulse { background: #7fb8ff; box-shadow: 0 0 0 0 rgba(127,184,255,.55); animation-delay: .8s; }
.stack-card:nth-child(4) .stack-pulse { background: #d97ea4; box-shadow: 0 0 0 0 rgba(217,126,164,.55); animation-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
    .page-head.mon-head::before,
    .page-head.mon-head::after { animation: none !important; }
    .mon-signal .dot, .stack-pulse { animation: none !important; }
    .stack-card { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* =========================================================
   SECURITY AUDIT PAGE — animated backdrop + threat chips +
   tcpdump-style live terminal animation
   ========================================================= */
.page-head.sec-head {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 480px at 50% 0%,   rgba(110,229,138,.18), transparent 65%),
        radial-gradient(1000px 480px at 50% 100%, rgba(138,31,107,.28), transparent 65%),
        linear-gradient(180deg, rgba(7,7,11,.55), rgba(13,14,20,.55));
    border-bottom: 1px solid var(--border);
}
.page-head.sec-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    animation: gridDrift 22s ease-in-out infinite alternate;
}
/* green scanning line — audit/security vibe */
.page-head.sec-head::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(110,229,138,.0)  5%,
        rgba(110,229,138,.55) 45%,
        rgba(255,255,255,.9)  50%,
        rgba(110,229,138,.55) 55%,
        rgba(110,229,138,.0) 95%,
        transparent 100%);
    background-size: 220% 100%;
    animation: monScan 3.6s linear infinite;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 6px rgba(110,229,138,.55));
}
.page-head.sec-head > * { position: relative; z-index: 1; }

/* security signal chips (Recon / Firewall / IDS / Hardening) */
.sec-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.sec-signal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    text-transform: uppercase;
}
.sec-signal em { font-style: normal; }
.sec-signal .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #7fb8ff;
    box-shadow: 0 0 0 0 rgba(127,184,255,.5);
    animation: monDot 2.2s ease-out infinite;
}
.sec-signal:nth-child(2) .dot { background: #6ee58a; box-shadow: 0 0 0 0 rgba(110,229,138,.5); animation-delay: .3s; }
.sec-signal:nth-child(3) .dot { background: #ffb86b; box-shadow: 0 0 0 0 rgba(255,184,107,.5); animation-delay: .6s; }
.sec-signal:nth-child(4) .dot { background: #d97ea4; box-shadow: 0 0 0 0 rgba(217,126,164,.5); animation-delay: .9s; }

/* --- terminal window --------------------------------------- */
.sec-terminal-wrap {
    margin: 0;
}
.sec-terminal {
    position: relative;
    border-radius: var(--radius-l);
    background: linear-gradient(180deg, rgba(6,8,12,.94), rgba(10,12,18,.95));
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow:
        0 30px 60px -28px rgba(0,0,0,.7),
        0 0 0 1px rgba(110,229,138,.04),
        inset 0 1px 0 rgba(255,255,255,.04);
    font-family: 'SF Mono', Menlo, Consolas, 'Roboto Mono', monospace;
}
.sec-terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid var(--border);
}
.sec-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.sec-dot-r { background: #ff5f56; }
.sec-dot-y { background: #ffbd2e; }
.sec-dot-g { background: #27c93f; }
.sec-terminal-title {
    margin-left: 12px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sec-terminal-body {
    position: relative;
    padding: 18px 22px 22px;
    min-height: 360px;
    font-size: 13px;
    line-height: 1.7;
    color: #b8f0c8;
    overflow: hidden;
}

/* faint CRT scan-lines overlay */
.sec-terminal-body::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,.025) 0px,
        rgba(255,255,255,.025) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: screen;
    opacity: .6;
    z-index: 1;
}
/* subtle moving sweep */
.sec-terminal-body::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -40%;
    height: 36%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(110,229,138,.08) 48%,
        rgba(110,229,138,.18) 50%,
        rgba(110,229,138,.08) 52%,
        transparent 100%);
    pointer-events: none;
    animation: secSweep 5.2s linear infinite;
    mix-blend-mode: screen;
    z-index: 1;
}
@keyframes secSweep {
    0%   { transform: translateY(0); }
    100% { transform: translateY(400%); }
}

.sec-line, .sec-prompt {
    position: relative;
    z-index: 2;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    opacity: 0;
    transform: translateY(4px);
    animation: secTypeIn .5s var(--ease) forwards;
}
@keyframes secTypeIn {
    to { opacity: 1; transform: translateY(0); }
}
.sec-prompt { color: #8ad7ff; }
.sec-line   { color: #c9e6d4; }
.sec-warn   { color: #ffd07a; }
.sec-block  { color: #ff8a8a; font-weight: 500; }
.sec-ok     { color: #7dffb3; }

/* staggered reveal — each line appears a bit after the previous */
.sec-terminal-body > :nth-child(1)  { animation-delay: .2s; }
.sec-terminal-body > :nth-child(2)  { animation-delay: .9s; }
.sec-terminal-body > :nth-child(3)  { animation-delay: 1.4s; }
.sec-terminal-body > :nth-child(4)  { animation-delay: 1.9s; }
.sec-terminal-body > :nth-child(5)  { animation-delay: 2.4s; }
.sec-terminal-body > :nth-child(6)  { animation-delay: 2.9s; }
.sec-terminal-body > :nth-child(7)  { animation-delay: 3.5s; }
.sec-terminal-body > :nth-child(8)  { animation-delay: 4.1s; }
.sec-terminal-body > :nth-child(9)  { animation-delay: 4.6s; }
.sec-terminal-body > :nth-child(10) { animation-delay: 5.1s; }
.sec-terminal-body > :nth-child(11) { animation-delay: 5.7s; }
.sec-terminal-body > :nth-child(12) { animation-delay: 6.2s; }

/* blinking cursor at the final prompt */
.sec-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: #b8f0c8;
    vertical-align: -2px;
    margin-left: 4px;
    animation: secBlink 1s steps(1) infinite;
}
@keyframes secBlink {
    50% { opacity: 0; }
}

.sec-term-caption {
    margin-top: 14px;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 700px) {
    .sec-terminal-body { font-size: 11.5px; min-height: 320px; padding: 14px 14px 18px; }
    .sec-terminal-title { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .page-head.sec-head::before,
    .page-head.sec-head::after { animation: none !important; }
    .sec-signal .dot { animation: none !important; }
    .sec-terminal-body::after { animation: none !important; display: none; }
    .sec-line, .sec-prompt { animation: none !important; opacity: 1; transform: none; }
    .sec-cursor { animation: none !important; }
}

/* =========================================================
   NETWORK PAGE — animated backdrop + network chips +
   VLAN segmentation topology diagram with flowing cables
   ========================================================= */
.page-head.net-head {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 480px at 50% 0%,   rgba(127,184,255,.18), transparent 65%),
        radial-gradient(1000px 480px at 50% 100%, rgba(138, 31,107,.28), transparent 65%),
        linear-gradient(180deg, rgba(7,7,11,.55), rgba(13,14,20,.55));
    border-bottom: 1px solid var(--border);
}
.page-head.net-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    animation: gridDrift 22s ease-in-out infinite alternate;
}
.page-head.net-head::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(127,184,255,.0)  5%,
        rgba(127,184,255,.55) 45%,
        rgba(255,255,255,.9)  50%,
        rgba(127,184,255,.55) 55%,
        rgba(127,184,255,.0) 95%,
        transparent 100%);
    background-size: 220% 100%;
    animation: monScan 3.6s linear infinite;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 6px rgba(127,184,255,.55));
}
.page-head.net-head > * { position: relative; z-index: 1; }

/* network chips (VLAN / BGP / VPN / QoS) */
.net-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.net-signal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    text-transform: uppercase;
}
.net-signal em { font-style: normal; }
.net-signal .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #6ee58a;
    box-shadow: 0 0 0 0 rgba(110,229,138,.5);
    animation: monDot 2.2s ease-out infinite;
}
.net-signal:nth-child(2) .dot { background: #7fb8ff; box-shadow: 0 0 0 0 rgba(127,184,255,.5); animation-delay: .3s; }
.net-signal:nth-child(3) .dot { background: #ffb86b; box-shadow: 0 0 0 0 rgba(255,184,107,.5); animation-delay: .6s; }
.net-signal:nth-child(4) .dot { background: #d97ea4; box-shadow: 0 0 0 0 rgba(217,126,164,.5); animation-delay: .9s; }

/* --- topology diagram container --------------------------- */
.net-topology-wrap { margin: 0; }
.net-topology {
    position: relative;
    border-radius: var(--radius-l);
    background:
        radial-gradient(600px 300px at 50% 20%, rgba(127,184,255,.07), transparent 70%),
        radial-gradient(600px 300px at 50% 80%, rgba(217,126,164,.07), transparent 70%),
        linear-gradient(180deg, rgba(8,10,14,.8), rgba(10,12,18,.85));
    border: 1px solid var(--border);
    padding: clamp(12px, 2vw, 24px);
    overflow: hidden;
    box-shadow:
        0 30px 60px -30px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.04);
}
/* soft grid dots inside the diagram */
.net-topology::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    opacity: .65;
}
.net-topo-svg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }

/* flowing dashes along cables */
.net-line {
    fill: none;
    stroke-width: 1.8;
    stroke-dasharray: 6 10;
    stroke-linecap: round;
    animation: netFlow 1.6s linear infinite;
    opacity: .9;
}
@keyframes netFlow {
    to { stroke-dashoffset: -32; }
}
.net-line-pink   { stroke: #d97ea4; filter: drop-shadow(0 0 3px rgba(217,126,164,.6)); }
.net-line-pink2  { stroke: #d97ea4; filter: drop-shadow(0 0 3px rgba(217,126,164,.6)); animation-duration: 2.1s; }
.net-line-green  { stroke: #6ee58a; filter: drop-shadow(0 0 3px rgba(110,229,138,.6)); animation-duration: 1.9s; }
.net-line-blue   { stroke: #7fb8ff; filter: drop-shadow(0 0 3px rgba(127,184,255,.6)); animation-duration: 2.3s; }
.net-line-amber  { stroke: #ffb86b; filter: drop-shadow(0 0 3px rgba(255,184,107,.6)); animation-duration: 1.7s; }

/* text labels inside the SVG */
.net-txt {
    fill: #e6e9ef;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-anchor: middle;
    font-family: var(--font-body, inherit);
}
.net-txt-xl  { font-size: 16px; font-weight: 600; fill: #fff; }
.net-txt-lg  { font-size: 14px; font-weight: 600; fill: #fff; }
.net-txt-sub {
    fill: rgba(230,233,239,.55);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* firewall status dot */
.net-fw-dot {
    fill: #6ee58a;
    animation: netBlink 2.2s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(110,229,138,.7));
}
@keyframes netBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

/* zone "scanning" dots — each zone pulses at a slightly different cadence */
.net-zone-dot { animation: netBlink 2.4s ease-in-out infinite; }
.net-zone-dot-green { fill: #6ee58a; filter: drop-shadow(0 0 3px rgba(110,229,138,.7)); animation-delay: .0s; }
.net-zone-dot-blue  { fill: #7fb8ff; filter: drop-shadow(0 0 3px rgba(127,184,255,.7)); animation-delay: .4s; }
.net-zone-dot-amber { fill: #ffb86b; filter: drop-shadow(0 0 3px rgba(255,184,107,.7)); animation-delay: .8s; }
.net-zone-dot-pink  { fill: #d97ea4; filter: drop-shadow(0 0 3px rgba(217,126,164,.7)); animation-delay: 1.2s; }

/* subtle glow on firewall box */
.net-g-fw rect { filter: drop-shadow(0 0 16px rgba(217,126,164,.18)); }

.net-topo-caption {
    margin-top: 14px;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 700px) {
    .net-txt     { font-size: 14px; }
    .net-txt-xl  { font-size: 18px; }
    .net-txt-lg  { font-size: 15px; }
    .net-txt-sub { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .page-head.net-head::before,
    .page-head.net-head::after { animation: none !important; }
    .net-signal .dot { animation: none !important; }
    .net-line { animation: none !important; stroke-dashoffset: 0 !important; }
    .net-fw-dot, .net-zone-dot { animation: none !important; }
}

/* -- Reduced motion --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .logo-marquee-track { animation: none; }
    body::before { animation: none; }
    .dashboard-card, .orbit, .word-rotator > span, .eyebrow.pulse-dot::before,
    .dash-pulse, .spark-line, .spark-fill, .log-line, .metric-fill, .reveal {
        animation: none !important;
    }
    .reveal { opacity: 1; transform: none; }
    .log-line { opacity: 1; transform: none; }
    .metric-fill { width: 99%; }
    .spark-line { stroke-dashoffset: 0; }
    .spark-fill { opacity: 1; }
}

/* -- Print ------------------------------------------------- */
@media print {
    .site-header, .site-footer, .btn-row, .logo-marquee, .cta-strip { display: none; }
    body { background: #fff; color: #000; }
    body::before, body::after { display: none; }
    a    { color: #000; text-decoration: underline; }
    h1, h2, h3, h4, p { color: #000 !important; }
}

/* ============================================================
   Automation page — signal chips, CI/CD pipeline, ansible terminal
   ============================================================ */
.auto-head .auto-signals {
    display: flex; flex-wrap: wrap; gap: 10px 14px;
    margin-top: 20px;
}
.auto-signal {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
    font-size: 12.5px; color: var(--text-dim);
    letter-spacing: .02em;
}
.auto-signal .dot {
    width: 7px; height: 7px; border-radius: 50%;
    animation: autoSigBlink 2.4s ease-in-out infinite;
}
.auto-signal:nth-child(1) .dot { background:#ff8ab2; box-shadow:0 0 10px rgba(255,138,178,.55); animation-delay: 0s;   }
.auto-signal:nth-child(2) .dot { background:#7fb8ff; box-shadow:0 0 10px rgba(127,184,255,.55); animation-delay: .4s;  }
.auto-signal:nth-child(3) .dot { background:#6ee58a; box-shadow:0 0 10px rgba(110,229,138,.55); animation-delay: .8s;  }
.auto-signal:nth-child(4) .dot { background:#ffb86b; box-shadow:0 0 10px rgba(255,184,107,.55); animation-delay: 1.2s; }
@keyframes autoSigBlink {
    0%,100% { opacity: 1; transform: scale(1); }
    50%     { opacity: .35; transform: scale(.88); }
}

/* -- Pipeline container -- */
.auto-pipeline-wrap {
    margin: 0;
    padding: 36px clamp(16px,4vw,44px) 28px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 16px 60px rgba(0,0,0,.45);
    overflow: hidden;
    position: relative;
}
.auto-pipeline-wrap::before {
    content:'';
    position:absolute; inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
            mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
    pointer-events:none;
}
.auto-pipeline {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0; flex-wrap: nowrap;
    position: relative; z-index: 1;
}
.auto-stage {
    flex: 0 0 auto;
    text-align: center;
    padding: 6px 4px;
    min-width: 92px;
}
.auto-stage-ico {
    width: 64px; height: 64px;
    margin: 0 auto 10px;
    border-radius: 18px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.85);
    transition: all .3s ease;
    animation: autoStageGlow 6s ease-in-out infinite;
}
.auto-stage-ico svg { width: 30px; height: 30px; }
.auto-stage strong {
    display:block; font-weight:600; font-size:14px; letter-spacing:.01em;
    color: var(--text);
}
.auto-stage em {
    display:block; font-style:normal;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 11.5px; color: var(--text-dim); margin-top:3px;
}
.auto-stage-commit  .auto-stage-ico { color:#ff8ab2; border-color: rgba(255,138,178,.45); animation-delay: 0s;   }
.auto-stage-build   .auto-stage-ico { color:#7fb8ff; border-color: rgba(127,184,255,.45); animation-delay: 1.2s; }
.auto-stage-test    .auto-stage-ico { color:#6ee58a; border-color: rgba(110,229,138,.45); animation-delay: 2.4s; }
.auto-stage-deploy  .auto-stage-ico { color:#ffb86b; border-color: rgba(255,184,107,.45); animation-delay: 3.6s; }
.auto-stage-servers .auto-stage-ico { color:#d97ea4; border-color: rgba(217,126,164,.45); animation-delay: 4.8s; }
@keyframes autoStageGlow {
    0%, 40%, 100% { box-shadow: 0 0 0 0 transparent; transform: translateY(0) scale(1); }
    50%           { box-shadow: 0 0 24px 0 currentColor; transform: translateY(-2px) scale(1.04); }
    60%           { box-shadow: 0 0 24px 0 currentColor; transform: translateY(-2px) scale(1.04); }
}

/* -- Arrows between stages -- */
.auto-arrow {
    flex: 1 1 60px;
    height: 2px; min-width: 28px;
    background: repeating-linear-gradient(90deg,
        rgba(255,255,255,.20) 0 10px,
        transparent 10px 18px);
    position: relative;
    align-self: center;
    margin-top: -24px; /* align with icon middle */
}
.auto-arrow::after {
    content: '';
    position: absolute;
    top: 50%; left: 0%;
    width: 28px; height: 6px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    animation: autoArrowPulse 6s linear infinite;
}
.auto-arrow-1::after { background: linear-gradient(90deg, transparent, #ff8ab2, transparent); filter: drop-shadow(0 0 8px #ff8ab2); animation-delay: .6s;  }
.auto-arrow-2::after { background: linear-gradient(90deg, transparent, #7fb8ff, transparent); filter: drop-shadow(0 0 8px #7fb8ff); animation-delay: 1.8s; }
.auto-arrow-3::after { background: linear-gradient(90deg, transparent, #6ee58a, transparent); filter: drop-shadow(0 0 8px #6ee58a); animation-delay: 3.0s; }
.auto-arrow-4::after { background: linear-gradient(90deg, transparent, #ffb86b, transparent); filter: drop-shadow(0 0 8px #ffb86b); animation-delay: 4.2s; }
@keyframes autoArrowPulse {
    0%   { left: 0%;   opacity: 0; }
    10%  { opacity: 1; }
    85%  { opacity: 1; }
    95%  { opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

.auto-pipeline-caption {
    display: block;
    margin-top: 22px;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-dim);
    letter-spacing: .06em;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    opacity: .85;
}

/* -- Ansible terminal -- */
.auto-terminal {
    margin-top: 28px;
    border-radius: 14px;
    overflow: hidden;
    background: #0a0a10;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 60px rgba(0,0,0,.5);
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    position: relative;
}
.auto-term-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #1a1a22, #14141b);
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative;
}
.auto-term-dot {
    width: 11px; height: 11px; border-radius: 50%;
    display: inline-block;
}
.auto-term-title {
    position: absolute; left: 50%; transform: translateX(-50%);
    font-size: 12px; color: var(--text-dim);
    letter-spacing: .02em;
}
.auto-term-body {
    padding: 18px 20px 22px;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(230, 230, 240, .92);
    position: relative;
    overflow-x: auto;
}
.auto-term-body::after {
    content:'';
    position:absolute; inset:0;
    background: repeating-linear-gradient(180deg,
        rgba(255,255,255,.02) 0 1px,
        transparent 1px 3px);
    mix-blend-mode: screen;
    pointer-events: none;
}
.auto-term-line {
    display: block;
    opacity: 0;
    white-space: pre;
    animation: autoLineIn .35s ease forwards;
}
.auto-term-line:nth-child(1)  { animation-delay: .1s;  }
.auto-term-line:nth-child(2)  { animation-delay: .5s;  }
.auto-term-line:nth-child(3)  { animation-delay: .9s;  }
.auto-term-line:nth-child(4)  { animation-delay: 1.1s; }
.auto-term-line:nth-child(5)  { animation-delay: 1.5s; }
.auto-term-line:nth-child(6)  { animation-delay: 1.9s; }
.auto-term-line:nth-child(7)  { animation-delay: 2.1s; }
.auto-term-line:nth-child(8)  { animation-delay: 2.5s; }
.auto-term-line:nth-child(9)  { animation-delay: 2.9s; }
.auto-term-line:nth-child(10) { animation-delay: 3.3s; }
.auto-term-line:nth-child(11) { animation-delay: 3.7s; }
.auto-term-line:nth-child(12) { animation-delay: 4.1s; }
@keyframes autoLineIn {
    from { opacity: 0; transform: translateY(3px); }
    to   { opacity: 1; transform: translateY(0); }
}
.auto-term-play { color: #d97ea4; }
.auto-term-task { color: #7fb8ff; }
.auto-term-line b.ok       { color: #6ee58a; font-weight: 600; }
.auto-term-line b.changed  { color: #ffb86b; font-weight: 600; }
.auto-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: #d97ea4;
    margin-left: 6px;
    vertical-align: middle;
    animation: autoCursorBlink 1s steps(2, end) infinite;
}
@keyframes autoCursorBlink { 50% { opacity: 0; } }

/* -- Mobile: stack pipeline vertically -- */
@media (max-width: 780px) {
    .auto-pipeline { flex-direction: column; gap: 0; }
    .auto-stage { width: 100%; padding: 10px 4px; }
    .auto-arrow {
        width: 2px; height: 28px; min-width: unset; margin: 0 auto;
        background: repeating-linear-gradient(180deg,
            rgba(255,255,255,.20) 0 10px,
            transparent 10px 18px);
    }
    .auto-arrow::after {
        top: 0; left: 50%;
        width: 6px; height: 24px;
        animation-name: autoArrowPulseV;
    }
    .auto-arrow-1::after { background: linear-gradient(180deg, transparent, #ff8ab2, transparent); filter: drop-shadow(0 0 8px #ff8ab2); }
    .auto-arrow-2::after { background: linear-gradient(180deg, transparent, #7fb8ff, transparent); filter: drop-shadow(0 0 8px #7fb8ff); }
    .auto-arrow-3::after { background: linear-gradient(180deg, transparent, #6ee58a, transparent); filter: drop-shadow(0 0 8px #6ee58a); }
    .auto-arrow-4::after { background: linear-gradient(180deg, transparent, #ffb86b, transparent); filter: drop-shadow(0 0 8px #ffb86b); }
    @keyframes autoArrowPulseV {
        0%   { top: 0%;   opacity: 0; }
        10%  { opacity: 1; }
        85%  { opacity: 1; }
        95%  { opacity: 0; }
        100% { top: 100%; opacity: 0; }
    }
    .auto-term-title { position: static; transform: none; margin-left: 8px; }
    .auto-term-body { font-size: 12px; }
}

/* -- Reduced motion -- */
@media (prefers-reduced-motion: reduce) {
    .auto-signal .dot,
    .auto-stage-ico,
    .auto-arrow::after,
    .auto-term-line,
    .auto-cursor { animation: none !important; }
    .auto-term-line { opacity: 1; transform: none; }
    .auto-cursor { opacity: 1; }
}

/* ============================================================
   Backup page — 3-2-1 flow animation + bareos terminal
   ============================================================ */
.backup-anim-section { padding-top: 0; padding-bottom: 56px; }

.bk-flow-wrap {
    padding: 28px clamp(16px, 3.5vw, 36px);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
    position: relative;
    overflow: hidden;
}
.bk-flow-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
            mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
    pointer-events: none;
}

/* -- 3-2-1 chips -- */
.bk-signals {
    display: flex; flex-wrap: wrap; gap: 10px 14px;
    justify-content: center;
    margin: 0 auto 22px;
    position: relative; z-index: 1;
}
.bk-signal {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 18px; border-radius: 999px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.10);
}
.bk-signal strong {
    font-size: 22px; font-weight: 700;
    color: var(--text);
    min-width: 1.5ch; text-align: center;
    text-shadow: 0 0 14px rgba(127,184,255,.45);
}
.bk-signal:nth-child(1) strong { color: #ff8ab2; text-shadow: 0 0 14px rgba(255,138,178,.45); }
.bk-signal:nth-child(2) strong { color: #7fb8ff; text-shadow: 0 0 14px rgba(127,184,255,.45); }
.bk-signal:nth-child(3) strong { color: #6ee58a; text-shadow: 0 0 14px rgba(110,229,138,.45); }
.bk-signal em {
    font-style: normal;
    font-size: 12.5px;
    letter-spacing: .02em;
    color: var(--text-dim);
}

/* -- Flow SVG -- */
.bk-flow { margin: 0; position: relative; z-index: 1; }
.bk-svg { width: 100%; height: auto; display: block; max-height: 360px; }

.bk-grid path {
    stroke: rgba(255,255,255,.05);
    stroke-width: 1;
    fill: none;
}

/* Stream paths with flowing dashes */
.bk-stream {
    fill: none;
    stroke-width: 1.8;
    stroke-dasharray: 6 7;
    stroke-linecap: round;
    animation: bkStreamFlow 1.6s linear infinite;
}
#bkPath1.bk-stream { stroke: rgba(255,138,178,.45); }
#bkPath2.bk-stream { stroke: rgba(127,184,255,.45); }
#bkPath3.bk-stream { stroke: rgba(110,229,138,.45); }
@keyframes bkStreamFlow {
    to { stroke-dashoffset: -26; }
}

/* Packets (animated along paths) */
.bk-packet { filter: drop-shadow(0 0 8px currentColor); }
.bk-packet-1 { fill: #ff8ab2; color: #ff8ab2; }
.bk-packet-2 { fill: #7fb8ff; color: #7fb8ff; }
.bk-packet-3 { fill: #6ee58a; color: #6ee58a; }

/* Source node */
.bk-node-box {
    fill: rgba(255,255,255,.03);
    stroke: rgba(255,255,255,.12);
    stroke-width: 1;
}
.bk-src-box {
    fill: rgba(127,184,255,.06);
    stroke: rgba(127,184,255,.35);
}
.bk-stripe { fill: rgba(255,255,255,.08); }
.bk-led {
    fill: #6ee58a;
    animation: bkLedBlink 1.4s ease-in-out infinite;
}
.bk-led:nth-of-type(2) { animation-delay: .3s; fill: #ffb86b; }
.bk-led:nth-of-type(3) { animation-delay: .6s; fill: #7fb8ff; }
@keyframes bkLedBlink {
    0%, 100% { opacity: .25; }
    50%      { opacity: 1; }
}
.bk-src-pulse {
    fill: none;
    stroke: rgba(127,184,255,.45);
    stroke-width: 1;
    transform-origin: 130px 165px;
    animation: bkSrcPulse 2.6s ease-out infinite;
}
@keyframes bkSrcPulse {
    0%   { r: 50; opacity: .6; }
    100% { r: 90; opacity: 0; }
}

/* Destination nodes */
.bk-dest-ico { color: var(--text-dim); }
.bk-dest-1 .bk-dest-ico { color: #ff8ab2; }
.bk-dest-2 .bk-dest-ico { color: #7fb8ff; }
.bk-dest-3 .bk-dest-ico { color: #6ee58a; }

.bk-node-title {
    fill: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
}
.bk-node-sub {
    fill: var(--text-dim);
    font-family: inherit;
    font-size: 11px;
}

/* Destination "OK" indicator — pulses green when packet arrives */
.bk-dest-ok, .bk-dest-check {
    opacity: 0;
}
.bk-dest-ok {
    fill: #6ee58a;
    filter: drop-shadow(0 0 6px rgba(110,229,138,.75));
    animation: bkDestOk 3s ease-in-out infinite;
}
.bk-dest-check {
    animation: bkDestOk 3s ease-in-out infinite;
}
.bk-dest-1 .bk-dest-ok, .bk-dest-1 .bk-dest-check { animation-delay: 0.9s; }
.bk-dest-2 .bk-dest-ok, .bk-dest-2 .bk-dest-check { animation-delay: 1.9s; }
.bk-dest-3 .bk-dest-ok, .bk-dest-3 .bk-dest-check { animation-delay: 2.9s; }
@keyframes bkDestOk {
    0%, 95%, 100% { opacity: 0; transform: scale(.6); }
    5%, 40%       { opacity: 1; transform: scale(1); }
    70%           { opacity: .6; transform: scale(1); }
}

/* Node box outline flashes when packet arrives */
.bk-dest .bk-node-box {
    animation: bkDestGlow 3s ease-in-out infinite;
}
.bk-dest-1 .bk-node-box { animation-delay: 0.9s; }
.bk-dest-2 .bk-node-box { animation-delay: 1.9s; }
.bk-dest-3 .bk-node-box { animation-delay: 2.9s; }
@keyframes bkDestGlow {
    0%, 90%, 100% { stroke: rgba(255,255,255,.12); fill: rgba(255,255,255,.03); }
    5%, 30%       { stroke: rgba(110,229,138,.55); fill: rgba(110,229,138,.06); }
}

.bk-caption {
    text-align: center;
    margin-top: 14px;
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: .02em;
}

/* -- Terminal -- */
.bk-terminal {
    margin-top: 26px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    overflow: hidden;
    background: rgba(8, 10, 16, .72);
    box-shadow: 0 14px 46px rgba(0,0,0,.5);
    position: relative; z-index: 1;
}
.bk-term-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.bk-dot { width: 12px; height: 12px; border-radius: 50%; }
.bk-dot-red    { background: #ff5f56; }
.bk-dot-yellow { background: #ffbd2e; }
.bk-dot-green  { background: #27c93f; }
.bk-term-title {
    margin-left: 10px;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 12px; color: var(--text-dim);
}
.bk-term-body {
    margin: 0;
    padding: 16px 18px;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 13px; line-height: 1.7;
    color: var(--text-dim);
    white-space: pre;
    overflow-x: auto;
}
.bk-term-line {
    display: block;
    opacity: 0;
    animation: bkLineIn .35s ease-out forwards;
}
.bk-tl-1 { animation-delay: .1s; }
.bk-tl-2 { animation-delay: .5s; }
.bk-tl-3 { animation-delay: .9s; }
.bk-tl-4 { animation-delay: 1.3s; }
.bk-tl-5 { animation-delay: 1.7s; }
.bk-tl-6 { animation-delay: 2.1s; }
.bk-tl-7 { animation-delay: 2.6s; }
.bk-tl-8 { animation-delay: 3.1s; }
@keyframes bkLineIn {
    from { opacity: 0; transform: translateY(3px); }
    to   { opacity: 1; transform: translateY(0); }
}
.bk-term-prompt { color: #7fb8ff; }
.bk-term-num    { color: var(--text); font-weight: 600; }
.bk-term-str    { color: #ffb86b; }
.bk-term-ok     { color: #6ee58a; font-weight: 600; }
.bk-term-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    vertical-align: -2px;
    background: var(--text);
    margin-left: 4px;
    animation: bkCursor 1s steps(2) infinite;
    animation-delay: 3.4s;
}
@keyframes bkCursor { 50% { opacity: 0; } }

/* -- Responsive -- */
@media (max-width: 720px) {
    .bk-flow-wrap { padding: 18px 14px; }
    .bk-signals { gap: 8px 10px; margin-bottom: 18px; }
    .bk-signal { padding: 8px 14px; }
    .bk-signal strong { font-size: 18px; }
    .bk-signal em     { font-size: 11.5px; }
    .bk-svg { max-height: none; }
    .bk-term-body { font-size: 12px; padding: 14px; }
    .bk-term-title { font-size: 11px; }
}

/* -- Reduced motion -- */
@media (prefers-reduced-motion: reduce) {
    .bk-stream,
    .bk-src-pulse,
    .bk-led,
    .bk-dest-ok,
    .bk-dest-check,
    .bk-dest .bk-node-box,
    .bk-term-line,
    .bk-term-cursor { animation: none !important; }
    .bk-term-line { opacity: 1; transform: none; }
    .bk-packet animateMotion { display: none; }
    .bk-dest-ok, .bk-dest-check { opacity: 1; }
}

/* =========================================================
   CONTACT PAGE — enhanced 2-column layout
   (sidebar info cards + enlivened form)
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* -- Sidebar with contact info cards -- */
.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 100px;
}
@media (max-width: 900px) { .contact-aside { position: static; } }

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius-m, 14px);
    transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.contact-info-card:hover {
    border-color: var(--border-hi);
    background: var(--bg-card-hi);
    transform: translateY(-1px);
}
.contact-info-ico {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(217,126,164,.18), rgba(138,31,107,.18));
    border: 1px solid rgba(217,126,164,.28);
    color: #f3c2d6;
}
.contact-info-body { min-width: 0; }
.contact-info-body h3 {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0 0 4px;
}
.contact-info-body a {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,.18);
    transition: color .18s var(--ease), border-color .18s var(--ease);
    word-break: break-all;
}
.contact-info-body a:hover {
    color: var(--brand-1);
    border-bottom-color: var(--brand-1);
}
.contact-info-body p {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.45;
}

/* Animated availability pulse dot */
.pulse-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #58d68d;
    box-shadow: 0 0 0 0 rgba(88, 214, 141, .7);
    animation: pulseDot 2.2s ease-out infinite;
}
.pulse-dot::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(88, 214, 141, .35);
    animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0   rgba(88, 214, 141, .55); }
    70%  { box-shadow: 0 0 0 10px rgba(88, 214, 141, 0); }
    100% { box-shadow: 0 0 0 0   rgba(88, 214, 141, 0); }
}
@keyframes pulseRing {
    0%   { transform: scale(.8); opacity: .9; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Trust row pills */
.contact-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    padding: 4px 2px;
}
.contact-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-soft);
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.contact-trust-item svg { color: var(--brand-1); }

/* =========================================================
   Enlivened form card
   ========================================================= */
.contact-form-section .form-card {
    max-width: none;       /* unlock the 640px cap inside two-column grid */
    margin: 0;
    position: relative;
    overflow: hidden;
}
/* Animated gradient halo around the card */
.contact-form-section .form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;        /* decorative only — never intercept taps (iOS) */
    border-radius: inherit;
    padding: 1px;
    background:
        linear-gradient(135deg,
            rgba(217,126,164,.55) 0%,
            rgba(138,31,107,.25) 35%,
            rgba(255,255,255,.06) 55%,
            rgba(217,126,164,.45) 100%);
    background-size: 280% 280%;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    animation: formBorderMove 14s ease-in-out infinite;
    z-index: 1;
}
/* Soft corner glow */
.contact-form-section .form-card::after {
    content: "";
    position: absolute;
    top: -40%; right: -20%;
    width: 60%; height: 60%;
    pointer-events: none;        /* decorative only — never intercept taps (iOS) */
    background: radial-gradient(closest-side, rgba(217,126,164,.18), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
    animation: formGlowDrift 18s ease-in-out infinite alternate;
}
.contact-form-section .form-card > * { position: relative; z-index: 2; }

@keyframes formBorderMove {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 100% 100%; }
}
@keyframes formGlowDrift {
    0%   { transform: translate(0, 0) scale(1); opacity: .9; }
    100% { transform: translate(-8%, 6%) scale(1.1); opacity: .5; }
}

/* -- Input with leading icon -- */
.form-field {
    position: relative;
}
.form-field .form-ico {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: var(--text-dim);
    pointer-events: none;
    transition: color .2s var(--ease), transform .2s var(--ease);
}
/* Textarea: icon sits near the top-left */
.form-field-area .form-ico { top: 14px; }

.form-field:focus-within .form-ico {
    color: var(--brand-1);
    transform: scale(1.06);
}
.form-field input,
.form-field textarea {
    padding-left: 44px;
}

/* Input focus accent bar that slides in */
.form-field::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2, #d97ea4));
    border-radius: 2px;
    transition: width .3s var(--ease), left .3s var(--ease);
    pointer-events: none;
}
.form-field:focus-within::after {
    width: 92%;
    left: 4%;
}

/* Smoother floating-up label feel: label turns brand on focus */
.form-row label {
    transition: color .18s var(--ease);
}
.form-row:focus-within > label { color: var(--brand-1); }

/* Submit: full width, gradient with shine on hover */
.form-card .form-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: transform .18s var(--ease), box-shadow .2s var(--ease);
}
.form-card .form-submit svg {
    transition: transform .2s var(--ease);
}
.form-card .form-submit:hover svg { transform: translateX(3px); }
.form-card .form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(217,126,164,.25);
}
.form-card .form-submit::after {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 70%; height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left .9s var(--ease);
    pointer-events: none;
}
.form-card .form-submit:hover::after { left: 130%; }

/* Make the checkbox visually a little more polished */
.form-checkbox {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
}

/* Reduced motion — disable the extras */
@media (prefers-reduced-motion: reduce) {
    .contact-form-section .form-card::before,
    .contact-form-section .form-card::after,
    .pulse-dot,
    .pulse-dot::before { animation: none !important; }
    .pulse-dot { box-shadow: none; }
}

/* =============================================================
   Utility classes — replaces inline style="" attributes so the
   CSP style-src directive can drop 'unsafe-inline' entirely.
   ============================================================= */

/* Homepage "Capabilities" band — tinted, bordered top+bottom */
.section-tinted {
    background: var(--bg-hover);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Solution-page breadcrumb: "← All solutions" above the H1 */
.crumb-back {
    color: var(--text-dim);
    font-size: 14px;
}

/* H1 sitting directly under the crumb-back — tighter top gap */
.page-h1-tight {
    margin-top: 12px;
}

/* Sections that follow a hero with bottom-padding — no double gap */
.section-flush-top {
    padding-top: 0;
}

/* Dark-bg monochrome tint for single-color SVG icons */
.icon-invert {
    filter: brightness(0) invert(.955);
}

/* Stack-card reveal delays (monitoring page, 4 cards staggered) */
.stack-delay-1 { --stack-delay: 0s;    }
.stack-delay-2 { --stack-delay: .15s;  }
.stack-delay-3 { --stack-delay: .30s;  }
.stack-delay-4 { --stack-delay: .45s;  }

/* Fake terminal window dots (macOS traffic-lights) */
.auto-term-dot.is-red    { background: #ff5f56; }
.auto-term-dot.is-yellow { background: #ffbd2e; }
.auto-term-dot.is-green  { background: #27c93f; }
