/* ============================================================
   Scaleup Support - dark theme
   ============================================================ */
:root {
    --bg: #0a0a14;
    --bg-2: #0e0e1c;
    --surface: #13131f;
    --surface-2: #181826;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #f4f5fa;
    --muted: #a2a6b8;
    --muted-2: #6b6f82;
    --accent: #4f7cff;
    --accent-2: #7a5cff;
    --accent-glow: rgba(79, 124, 255, 0.5);
    --radius: 16px;
    --maxw: 1200px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 2rem;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 8px 0;
    z-index: 3000;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Custom cursor ---------- */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
}
.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--accent-glow);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, opacity 0.3s ease, background 0.25s ease;
}
.cursor-ring.hovering {
    width: 54px;
    height: 54px;
    border-color: var(--accent);
    background: rgba(79, 124, 255, 0.08);
}
.cursor-ring.clicking {
    width: 24px;
    height: 24px;
}
body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring {
    opacity: 1;
}

#particleCanvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
}
.nav.scrolled {
    background: rgba(10, 10, 20, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}
.logo-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 800;
    position: relative;
}
.logo-mark sup { font-size: 0.6em; }
.logo-text em { color: var(--accent); font-style: normal; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff !important;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
}
.nav-cta:hover {
    box-shadow: 0 10px 24px var(--accent-glow);
    transform: translateY(-2px);
}
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px var(--accent-glow);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-strong);
    color: var(--text);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-3px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { transition: transform 0.3s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}
.hero-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--maxw);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    text-align: left;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }

/* ---------- Aurora background ---------- */
.aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    will-change: transform;
}
.aurora-blob-1 {
    top: -18%;
    right: -8%;
    width: 46vw;
    height: 46vw;
    max-width: 680px;
    max-height: 680px;
    background: radial-gradient(circle, rgba(79, 124, 255, 0.45), transparent 68%);
    animation: auroraDrift1 22s ease-in-out infinite alternate;
}
.aurora-blob-2 {
    bottom: -22%;
    left: -10%;
    width: 42vw;
    height: 42vw;
    max-width: 620px;
    max-height: 620px;
    background: radial-gradient(circle, rgba(122, 92, 255, 0.4), transparent 68%);
    animation: auroraDrift2 28s ease-in-out infinite alternate;
}
.aurora-blob-3 {
    top: 30%;
    left: 42%;
    width: 32vw;
    height: 32vw;
    max-width: 460px;
    max-height: 460px;
    opacity: 0.35;
    background: radial-gradient(circle, rgba(157, 180, 255, 0.35), transparent 70%);
    animation: auroraDrift3 19s ease-in-out infinite alternate;
}
/* Keyframes compose with the JS parallax offset (--px/--py) so both run together. */
@keyframes auroraDrift1 {
    from { transform: translate(var(--px, 0px), var(--py, 0px)) translate(0, 0) scale(1); }
    to { transform: translate(var(--px, 0px), var(--py, 0px)) translate(-7%, 8%) scale(1.12); }
}
@keyframes auroraDrift2 {
    from { transform: translate(var(--px, 0px), var(--py, 0px)) translate(0, 0) scale(1.05); }
    to { transform: translate(var(--px, 0px), var(--py, 0px)) translate(9%, -6%) scale(0.95); }
}
@keyframes auroraDrift3 {
    from { transform: translate(var(--px, 0px), var(--py, 0px)) translate(-50%, -50%) scale(0.9); }
    to { transform: translate(var(--px, 0px), var(--py, 0px)) translate(-42%, -58%) scale(1.15); }
}
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
    opacity: 0.5;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 2rem;
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    50% { box-shadow: 0 0 0 7px rgba(79, 124, 255, 0); }
}
.hero-title {
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}
.text-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 0 2.5rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.hero-proof {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
}
.proof-item { display: flex; flex-direction: column; }
.proof-item strong {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.proof-item span {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.3rem;
}
.proof-divider { width: 1px; height: 36px; background: var(--line); }

/* ---------- Hero headline line reveal ---------- */
.hero-title .title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}
.hero-title .title-line-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-title .title-line:nth-child(2) .title-line-inner {
    transition-delay: 0.12s;
}
.hero-title.revealed .title-line-inner {
    transform: translateY(0);
}

/* ---------- Hero floating visual ---------- */
.hero-visual {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-card {
    position: relative;
    z-index: 2;
    width: 100%;
    background: rgba(19, 19, 31, 0.72);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: 1.6rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    will-change: transform;
    animation: hvFloat 7s ease-in-out infinite alternate;
}
@keyframes hvFloat {
    from { transform: translate(var(--px, 0px), var(--py, 0px)) translateY(0); }
    to { transform: translate(var(--px, 0px), var(--py, 0px)) translateY(-12px); }
}
.hv-card-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}
.hv-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2ec27e;
    box-shadow: 0 0 0 4px rgba(46, 194, 126, 0.18);
}
.hv-head-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}
.hv-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2ec27e;
    background: rgba(46, 194, 126, 0.12);
    border: 1px solid rgba(46, 194, 126, 0.3);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
}
.hv-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.hv-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}
.hv-label { font-size: 0.85rem; color: var(--muted); }
.hv-value { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.hv-value.hv-ok { color: #2ec27e; }
.hv-bar {
    height: 6px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    margin: 0.1rem 0 0.6rem;
}
.hv-bar span {
    display: block;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.hv-chip {
    position: absolute;
    z-index: 3;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(19, 19, 31, 0.85);
    border: 1px solid var(--line-strong);
    border-radius: 50px;
    padding: 0.5rem 0.9rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    will-change: transform;
}
.hv-chip-1 {
    top: 4%;
    left: -6%;
    animation: hvFloat 6s ease-in-out 0.4s infinite alternate;
}
.hv-chip-2 {
    bottom: 8%;
    right: -4%;
    animation: hvFloat 8s ease-in-out 0.2s infinite alternate;
}
.hv-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    will-change: transform;
    transform: translate(var(--px, 0px), var(--py, 0px));
}
.hv-orb-1 {
    top: -8%;
    right: 14%;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 35% 35%, #9db4ff, var(--accent));
    box-shadow: 0 0 24px var(--accent-glow);
}
.hv-orb-2 {
    bottom: -4%;
    left: 10%;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 35% 35%, #b9a8ff, var(--accent-2));
    box-shadow: 0 0 20px rgba(122, 92, 255, 0.5);
}
.hero-scroll-cue {
    position: absolute;
    bottom: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(var(--accent), transparent);
    animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
    0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
    50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ---------- Ticker ---------- */
.ticker-wrap {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
    padding: 1.1rem 0;
}
.ticker {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    width: max-content;
    animation: tickerScroll 38s linear infinite;
}
.ticker span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: -0.3px;
}
.ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    align-self: center;
}
@keyframes tickerScroll {
    to { transform: translateX(-50%); }
}

/* ---------- Section header ---------- */
section { padding: 7rem 0; position: relative; }
.section-header { max-width: 680px; margin: 0 auto 4rem; text-align: center; }
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}
.section-title em { color: var(--accent); font-style: normal; }
.section-desc { margin-top: 1.25rem; color: var(--muted); font-size: 1.1rem; }

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.services-grid.two-up {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
    margin: 0 auto;
}
.service-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2.5rem;
    overflow: hidden;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
}
.service-card-inner { position: relative; z-index: 2; }
.service-card-glow {
    position: absolute;
    top: -40%;
    right: -30%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.service-card:hover .service-card-glow { opacity: 0.5; }
.service-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted-2);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
.service-icon {
    width: 56px;
    height: 56px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.service-icon svg { width: 100%; height: 100%; }
.service-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-desc { color: var(--muted); margin-bottom: 1.5rem; }
.service-features { list-style: none; margin-bottom: 1.75rem; }
.service-features li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}
.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}
.service-cta {
    text-decoration: none;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}
.service-cta:hover { gap: 0.8rem; }

/* ---------- Showcase ---------- */
.showcase-section { background: var(--bg-2); }
.showcase-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2.5rem;
}
.sm-item {
    background: var(--surface);
    padding: 1.75rem;
    text-align: center;
}
.sm-item strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -1px;
}
.sm-item span {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.showcase-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}
.showcase-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
}
.showcase-card .service-icon { width: 48px; height: 48px; margin-bottom: 1.25rem; }
.showcase-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.showcase-card p { color: var(--muted); }
.showcase-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.chip {
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--line-strong);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.about-visual { position: relative; }
.about-stat-block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
.stat-ring { position: relative; width: 180px; height: 180px; }
.stat-ring svg { width: 100%; height: 100%; }
.ring-fill { transition: stroke-dashoffset 1.5s ease; }
.ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ring-label strong { font-size: 2.5rem; font-weight: 800; }
.ring-label span { font-size: 0.8rem; color: var(--muted); }
.about-mini-stats { display: flex; gap: 2rem; }
.mini-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mini-num { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.mini-stat span:last-child { font-size: 0.75rem; color: var(--muted); }
.about-float-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    line-height: 1.2;
    box-shadow: 0 14px 30px var(--accent-glow);
}
.about-copy .section-label { color: var(--accent); }
.about-copy .section-title { text-align: left; }
.about-copy p { color: var(--muted); margin-top: 1.25rem; }
.about-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.pillar { display: flex; gap: 0.9rem; align-items: flex-start; }
.pillar-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(79, 124, 255, 0.1);
    border: 1px solid rgba(79, 124, 255, 0.2);
    color: var(--accent);
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar strong { display: block; font-size: 0.98rem; }
.pillar span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Process ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.process-step { position: relative; padding-top: 1rem; }
.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--line-strong);
    margin-bottom: 1rem;
}
.step-connector {
    position: absolute;
    top: 2.2rem;
    left: 3.5rem;
    right: -0.75rem;
    height: 1px;
    background: var(--line);
}
.process-step:last-child .step-connector { display: none; }
.process-step h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1.4rem 1.6rem;
    cursor: pointer;
}
.faq-icon {
    flex: 0 0 auto;
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-a p { padding: 0 1.6rem 1.4rem; color: var(--muted); }

/* ---------- CTA / Contact ---------- */
.cta-section { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(79, 124, 255, 0.18), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(122, 92, 255, 0.18), transparent 50%);
}
.cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.cta-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
}
.cta-copy h2 em { color: var(--accent); font-style: normal; }
.cta-copy p { color: var(--muted); font-size: 1.1rem; }
.connect-card {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: 2.5rem;
}
.connect-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.connect-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}
.connect-email:hover { color: var(--accent); }
.connect-people {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}
.connect-person {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}
.connect-person .connect-eyebrow { margin-bottom: 0.75rem; }
.connect-person .connect-email { font-size: 1.05rem; }
.connect-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--muted);
}
.connect-pin {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--accent);
}
.connect-pin svg { width: 100%; height: 100%; }
.connect-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(79, 124, 255, 0.1);
    border: 1px solid rgba(79, 124, 255, 0.2);
    color: var(--accent);
}
.connect-icon svg { width: 22px; height: 22px; }
.connect-note { color: var(--muted); margin: 1rem 0 1.75rem; }

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding: 4rem 0 2rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 320px; }
.footer-links-group h5 {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 1.25rem;
}
.footer-links-group ul { list-style: none; }
.footer-links-group li { margin-bottom: 0.75rem; color: var(--muted); }
.footer-links-group a {
    text-decoration: none;
    color: var(--muted);
    transition: var(--transition);
}
.footer-links-group a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 0.9rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { text-decoration: none; color: var(--muted-2); transition: var(--transition); }
.footer-legal a:hover { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: none;
}

/* No-JS fallback: never keep content hidden */
.no-js .reveal-up,
.no-js .reveal-left,
.no-js .reveal-right {
    opacity: 1;
    transform: none;
}
.no-js .hero-title .title-line-inner {
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .cta-inner { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .step-connector { display: none; }

    /* Hero collapses to the original centered single-column layout */
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    .hero-content { max-width: 720px; margin: 0 auto; }
    .hero-subtitle { max-width: 640px; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
}

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(10, 10, 20, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
        padding: 1rem 2rem 1.5rem;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links li { padding: 0.6rem 0; }
    .nav-cta { text-align: center; margin-top: 0.5rem; }
    .services-grid.two-up { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-metrics { grid-template-columns: repeat(2, 1fr); }
    .hero-proof { flex-wrap: wrap; gap: 1rem; }
    .proof-divider { display: none; }
    /* On touch devices, hide the custom cursor */
    .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 560px) {
    .footer-top { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .showcase-metrics { grid-template-columns: 1fr; }
    .about-pillars { grid-template-columns: 1fr; }
    .connect-people { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto; }
    .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
    .badge-dot, .scroll-line, .ticker,
    .aurora-blob, .hv-card, .hv-chip { animation: none; }
    .hero-title .title-line-inner { transform: none; transition: none; }
    .cursor-dot, .cursor-ring { display: none; }
}
