/* ============================================================
   ThinkGenius.com — Global Styles
   Dark & Techy Aesthetic | v1.0
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --black: #000000;
    --bg: #0a0a0b;
    --bg-elevated: #111113;
    --bg-card: #141417;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.72);
    --text-mute: rgba(255, 255, 255, 0.5);

    /* Brand */
    --yellow: #FFD100;
    --yellow-soft: #FFE55C;
    --yellow-glow: rgba(255, 209, 0, 0.4);
    --orange: #FF7A00;
    --orange-soft: #FF9A3D;

    --gradient-brand: linear-gradient(135deg, #FFE55C 0%, #FFD100 40%, #FF9A3D 75%, #FF7A00 100%);
    --gradient-brand-soft: linear-gradient(135deg, rgba(255, 229, 92, 0.18), rgba(255, 122, 0, 0.1));

    /* Typography */
    --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* Layout */
    --container-max: 1280px;
    --radius: 14px;
    --radius-lg: 22px;

    /* Timing */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--scene-gradient, radial-gradient(circle at 52% 14%, rgba(255, 209, 0, 0.14), rgba(255, 122, 0, 0.05) 30%, rgba(8, 10, 17, 0.94) 72%));
    transition: background 1s var(--ease), opacity 1s var(--ease);
    opacity: 0.95;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}
.accent { color: var(--yellow); }
.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--yellow);
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    opacity: 0.85;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.section-sub {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 720px;
    margin-top: 0.5rem;
}
.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}
.section-header .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Background Layers ---------- */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: 0;
    pointer-events: none;
    position: fixed;
    opacity: var(--grid-opacity, 1);
    transition: opacity 0.9s var(--ease), filter 0.9s var(--ease);
    filter: hue-rotate(var(--grid-hue, 0deg));
}
.bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grid-overlay, transparent);
    mix-blend-mode: screen;
    opacity: 0.85;
    transition: background 0.9s var(--ease), opacity 0.9s var(--ease);
}
.bg-glow {
    position: fixed;
    top: var(--glow-top, -20%);
    left: var(--glow-left, 50%);
    transform: translateX(-50%);
    width: var(--glow-width, 900px);
    height: var(--glow-height, 900px);
    background: var(--glow-gradient, radial-gradient(circle, rgba(255, 209, 0, 0.12) 0%, rgba(255, 122, 0, 0.06) 35%, transparent 70%));
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    opacity: var(--glow-opacity, 1);
    animation: breathe 8s ease-in-out infinite alternate;
    transition: top 1s var(--ease), left 1s var(--ease), width 1s var(--ease), height 1s var(--ease), background 1s var(--ease), opacity 1s var(--ease);
}
@keyframes breathe {
    0%   { opacity: 0.7; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    filter: hue-rotate(var(--particle-hue, 0deg)) saturate(var(--particle-sat, 1));
    transition: filter 0.9s var(--ease), opacity 0.9s var(--ease);
}

body.has-scroll-scenes[data-scene='hero'] {
    --scene-gradient: radial-gradient(circle at 52% 18%, rgba(255, 209, 0, 0.2), rgba(255, 140, 58, 0.11) 38%, rgba(8, 10, 17, 0.95) 76%);
    --grid-overlay: linear-gradient(180deg, rgba(255, 209, 0, 0.08), rgba(255, 153, 56, 0.03) 48%, transparent 74%);
    --grid-hue: 0deg;
    --particle-hue: 0deg;
    --particle-sat: 1.1;
}
body.has-scroll-scenes[data-scene='intro'] {
    --scene-gradient: radial-gradient(circle at 14% 22%, rgba(88, 215, 255, 0.2), rgba(62, 148, 255, 0.1) 33%, rgba(8, 13, 22, 0.96) 76%);
    --grid-overlay: linear-gradient(180deg, rgba(92, 213, 255, 0.08), rgba(11, 22, 42, 0.36));
    --grid-hue: 34deg;
    --glow-left: 26%;
    --glow-top: -14%;
    --glow-gradient: radial-gradient(circle, rgba(88, 215, 255, 0.22) 0%, rgba(66, 127, 255, 0.12) 38%, transparent 72%);
    --particle-hue: 22deg;
    --particle-sat: 1.25;
}
body.has-scroll-scenes[data-scene='services'] {
    --scene-gradient: radial-gradient(circle at 84% 24%, rgba(102, 255, 198, 0.22), rgba(33, 190, 142, 0.11) 35%, rgba(8, 13, 19, 0.96) 77%);
    --grid-overlay: linear-gradient(118deg, rgba(79, 255, 189, 0.1), rgba(23, 158, 123, 0.04) 45%, transparent 68%);
    --grid-hue: 84deg;
    --glow-left: 80%;
    --glow-top: -20%;
    --glow-gradient: radial-gradient(circle, rgba(71, 255, 181, 0.2) 0%, rgba(31, 184, 140, 0.1) 38%, transparent 74%);
    --particle-hue: 70deg;
    --particle-sat: 1.3;
}
body.has-scroll-scenes[data-scene='automation'] {
    --scene-gradient: radial-gradient(circle at 18% 84%, rgba(255, 184, 110, 0.24), rgba(244, 102, 70, 0.12) 35%, rgba(11, 9, 16, 0.96) 78%);
    --grid-overlay: linear-gradient(180deg, rgba(255, 179, 96, 0.1), rgba(255, 123, 73, 0.05) 52%, transparent 73%);
    --grid-hue: -15deg;
    --glow-left: 18%;
    --glow-top: 10%;
    --glow-gradient: radial-gradient(circle, rgba(255, 180, 105, 0.22) 0%, rgba(244, 102, 70, 0.11) 42%, transparent 74%);
    --particle-hue: -22deg;
    --particle-sat: 1.25;
}
body.has-scroll-scenes[data-scene='solutions'] {
    --scene-gradient: radial-gradient(circle at 80% 72%, rgba(116, 178, 255, 0.2), rgba(60, 122, 228, 0.1) 38%, rgba(7, 11, 22, 0.96) 77%);
    --grid-overlay: linear-gradient(120deg, rgba(110, 182, 255, 0.09), rgba(45, 120, 223, 0.04) 46%, transparent 70%);
    --grid-hue: 58deg;
    --glow-left: 74%;
    --glow-top: 0%;
    --glow-gradient: radial-gradient(circle, rgba(105, 176, 255, 0.2) 0%, rgba(55, 118, 221, 0.11) 40%, transparent 72%);
    --particle-hue: 52deg;
    --particle-sat: 1.2;
}
body.has-scroll-scenes[data-scene='trust'] {
    --scene-gradient: radial-gradient(circle at 50% 14%, rgba(136, 232, 255, 0.2), rgba(72, 168, 255, 0.1) 34%, rgba(9, 10, 17, 0.96) 76%);
    --grid-overlay: linear-gradient(180deg, rgba(130, 229, 255, 0.08), rgba(51, 121, 208, 0.03) 54%, transparent 74%);
    --grid-hue: 46deg;
    --glow-left: 50%;
    --glow-top: -22%;
    --glow-gradient: radial-gradient(circle, rgba(122, 233, 255, 0.19) 0%, rgba(74, 165, 244, 0.1) 38%, transparent 72%);
    --particle-hue: 42deg;
    --particle-sat: 1.18;
}
body.has-scroll-scenes[data-scene='industries'] {
    --scene-gradient: radial-gradient(circle at 14% 60%, rgba(117, 247, 188, 0.2), rgba(40, 157, 140, 0.1) 36%, rgba(8, 15, 18, 0.96) 76%);
    --grid-overlay: linear-gradient(90deg, rgba(115, 255, 184, 0.1), rgba(37, 170, 138, 0.04) 48%, transparent 70%);
    --grid-hue: 86deg;
    --glow-left: 20%;
    --glow-top: -8%;
    --glow-gradient: radial-gradient(circle, rgba(113, 252, 181, 0.18) 0%, rgba(38, 159, 128, 0.1) 42%, transparent 74%);
    --particle-hue: 78deg;
    --particle-sat: 1.2;
}
body.has-scroll-scenes[data-scene='process'] {
    --scene-gradient: radial-gradient(circle at 82% 16%, rgba(255, 212, 118, 0.22), rgba(247, 143, 78, 0.11) 36%, rgba(13, 11, 18, 0.96) 76%);
    --grid-overlay: linear-gradient(140deg, rgba(255, 200, 98, 0.1), rgba(246, 138, 74, 0.04) 47%, transparent 70%);
    --grid-hue: -6deg;
    --glow-left: 82%;
    --glow-top: -18%;
    --glow-gradient: radial-gradient(circle, rgba(255, 201, 109, 0.2) 0%, rgba(247, 141, 77, 0.11) 38%, transparent 72%);
    --particle-hue: -8deg;
    --particle-sat: 1.22;
}
body.has-scroll-scenes[data-scene='cta'] {
    --scene-gradient: radial-gradient(circle at 50% 48%, rgba(255, 231, 124, 0.25), rgba(255, 153, 68, 0.12) 42%, rgba(8, 10, 15, 0.97) 84%);
    --grid-overlay: linear-gradient(180deg, rgba(255, 221, 106, 0.1), rgba(255, 132, 47, 0.05) 57%, transparent);
    --grid-hue: 0deg;
    --glow-left: 50%;
    --glow-top: -8%;
    --glow-width: 980px;
    --glow-height: 980px;
    --glow-gradient: radial-gradient(circle, rgba(255, 230, 120, 0.24) 0%, rgba(255, 153, 67, 0.12) 40%, transparent 74%);
    --particle-hue: 0deg;
    --particle-sat: 1.3;
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn--primary {
    background: var(--gradient-brand);
    color: #000;
    box-shadow: 0 0 0 rgba(255, 209, 0, 0);
    font-weight: 600;
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -8px rgba(255, 209, 0, 0.5);
}
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--yellow);
    color: var(--yellow);
}
.btn--lg {
    padding: 1.1rem 2rem;
    font-size: 1rem;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    transition: all 0.35s var(--ease);
}
.nav.scrolled {
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 0;
}
.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}
.nav__logo-mark {
    display: grid;
    place-items: center;
    filter: drop-shadow(0 0 14px rgba(255, 209, 0, 0.35));
}
.nav__logo-mark img {
    display: block;
    height: 40px;
    width: auto;
}
.nav__logo-mark svg { width: 28px; height: 28px; }
.nav__logo-text .accent { color: var(--yellow); }
.nav__links {
    display: flex;
    gap: 2.25rem;
    font-size: 0.95rem;
    font-weight: 500;
}
.nav__links a {
    color: var(--text-dim);
    position: relative;
    padding: 0.25rem 0;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-brand);
    transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0;
}
.nav__toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    transition: all 0.3s var(--ease);
}
.nav__toggle span:first-child { width: 22px; margin-left: auto; margin-right: 9px; }
.nav__toggle span:nth-child(2) { width: 22px; margin-left: auto; margin-right: 9px; }
.nav__toggle span:last-child { width: 14px; margin-left: auto; margin-right: 9px; }
.nav__mobile {
    display: none;
    padding: 1.5rem 2rem 2rem;
    flex-direction: column;
    gap: 1.25rem;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
    font-size: 1.1rem;
    color: var(--text-dim);
    padding: 0.25rem 0;
}
.nav__mobile a:hover { color: var(--yellow); }
.nav__mobile .btn { margin-top: 0.5rem; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 9rem 2rem 5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
    align-items: start;
}
.hero__copy {
    padding-top: 1.25rem;
}
.hero__stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(255, 209, 0, 0.05);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    margin-bottom: 1.75rem;
    animation: fadeInUp 1s var(--ease) 0.2s both;
}
.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(255, 209, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 209, 0, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255, 209, 0, 0); }
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -0.035em;
    margin-bottom: 1.75rem;
}
.hero__title .line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.1s var(--ease-out) both;
}
.hero__title .line:nth-child(1) { animation-delay: 0.35s; }
.hero__title .line:nth-child(2) { animation-delay: 0.5s; }
.hero__title .line:nth-child(3) { animation-delay: 0.65s; }

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

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 1.25rem;
    animation: fadeInUp 1s var(--ease) 0.85s both;
}
.hero__cta,
.hero__stats { display: none; }

/* Benefits strip — sits below hero, reuses .stat styles */
.benefits-strip {
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}
.benefits-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 2.5rem;
}
@media (max-width: 900px) {
    .benefits-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
}
@media (max-width: 520px) {
    .benefits-strip__grid { grid-template-columns: 1fr; }
}
.stat {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 1.25rem;
}
.stat::before {
    content: '';
    position: absolute;
    left: 0; top: 0.3rem;
    width: 2px; height: calc(100% - 0.6rem);
    background: var(--gradient-brand);
    border-radius: 2px;
}
.stat__num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}
.stat__suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--yellow);
    font-weight: 600;
    margin-left: 2px;
    vertical-align: super;
}
.stat__label {
    font-size: 0.85rem;
    color: var(--text-mute);
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Hero Visual — Glowing Orb */
.hero__visual {
    position: relative;
    height: 460px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    animation: fadeIn 1.5s var(--ease) 0.5s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero__logo-showcase {
    position: relative;
    width: min(560px, 100%);
    padding: 1.2rem;
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(255, 209, 0, 0.12), rgba(255, 122, 0, 0.05) 45%, rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 209, 0, 0.26);
    box-shadow:
        0 40px 70px -45px rgba(255, 209, 0, 0.65),
        0 24px 44px -30px rgba(0, 0, 0, 0.75);
}
.hero__logo-showcase::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 38px;
    border: 1px dashed rgba(255, 209, 0, 0.18);
    pointer-events: none;
}
.hero__logo-showcase img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
}

.orb {
    position: relative;
    width: 320px;
    height: 320px;
}
.orb__core {
    position: absolute;
    inset: 35%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #FFFFF0, #FFE55C 30%, #FFD100 55%, #FF9A3D 80%, #FF7A00 100%);
    box-shadow:
        0 0 60px rgba(255, 209, 0, 0.8),
        0 0 120px rgba(255, 122, 0, 0.5),
        inset -20px -20px 40px rgba(255, 122, 0, 0.4);
    animation: orbPulse 3s ease-in-out infinite;
}
@keyframes orbPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.15); }
}
.orb__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 209, 0, 0.3);
}
.orb__ring--1 {
    inset: 15%;
    border-color: rgba(255, 209, 0, 0.25);
    animation: rotate 20s linear infinite;
    border-style: dashed;
}
.orb__ring--2 {
    inset: 5%;
    border-color: rgba(255, 122, 0, 0.2);
    animation: rotate 30s linear infinite reverse;
}
.orb__ring--3 {
    inset: -5%;
    border-color: rgba(255, 209, 0, 0.1);
    animation: rotate 45s linear infinite;
    border-style: dotted;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.orb__bolts span {
    position: absolute;
    top: 50%; left: 50%;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--yellow), transparent);
    transform-origin: center 100px;
    border-radius: 2px;
    opacity: 0.6;
}
.orb__bolts span:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(-140px); animation: bolt 2s infinite 0s; }
.orb__bolts span:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg) translateY(-140px); animation: bolt 2s infinite 0.25s; }
.orb__bolts span:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg) translateY(-140px); animation: bolt 2s infinite 0.5s; }
.orb__bolts span:nth-child(4) { transform: translate(-50%, -50%) rotate(135deg) translateY(-140px); animation: bolt 2s infinite 0.75s; }
.orb__bolts span:nth-child(5) { transform: translate(-50%, -50%) rotate(180deg) translateY(-140px); animation: bolt 2s infinite 1s; }
.orb__bolts span:nth-child(6) { transform: translate(-50%, -50%) rotate(225deg) translateY(-140px); animation: bolt 2s infinite 1.25s; }
.orb__bolts span:nth-child(7) { transform: translate(-50%, -50%) rotate(270deg) translateY(-140px); animation: bolt 2s infinite 1.5s; }
.orb__bolts span:nth-child(8) { transform: translate(-50%, -50%) rotate(315deg) translateY(-140px); animation: bolt 2s infinite 1.75s; }
@keyframes bolt {
    0%, 100% { opacity: 0.2; height: 14px; }
    50% { opacity: 1; height: 28px; }
}

/* Code cards floating around orb */
.code-float {
    position: absolute;
    background: rgba(20, 20, 23, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 180px;
    animation: float 6s ease-in-out infinite;
}
.code-float pre {
    font-family: inherit;
    line-height: 1.5;
    color: var(--yellow-soft);
    white-space: pre-wrap;
}
.code-float .code-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    background: rgba(255,255,255,0.18);
}
.code-float .code-dot:first-child { background: #ff5f57; }
.code-float .code-dot:nth-child(2) { background: #febc2e; }
.code-float .code-dot:nth-child(3) { background: #28c840; }
.code-float--1 { top: 10%; left: -10%; animation-delay: 0s; }
.code-float--2 { top: 45%; right: -15%; animation-delay: -2s; }
.code-float--3 { bottom: 5%; left: 5%; animation-delay: -4s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    display: grid;
    place-items: center;
}
.hero__scroll span {
    width: 4px;
    height: 8px;
    background: var(--yellow);
    border-radius: 2px;
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(-6px); opacity: 0; }
    40% { opacity: 1; }
    80%, 100% { transform: translateY(6px); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    overflow: hidden;
    position: relative;
}
.marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text-mute);
    letter-spacing: 0.01em;
}
.marquee__track .dot { color: var(--yellow); font-size: 0.6rem; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Intro Section ---------- */
.intro {
    padding: 8rem 0;
    text-align: center;
}
.intro__body {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 820px;
    margin: 0 auto 1.25rem;
    line-height: 1.7;
}

/* ---------- Services ---------- */
.services { padding: 6rem 0 8rem; }
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.service {
    padding: 2rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    cursor: pointer;
}
.service::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-brand-soft);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.service::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.service:hover {
    border-color: rgba(255, 209, 0, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -20px rgba(255, 209, 0, 0.25);
}
.service:hover::before { opacity: 1; }
.service:hover::after { opacity: 1; }
.service > * { position: relative; z-index: 2; }
.service__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 209, 0, 0.08);
    color: var(--yellow);
    margin-bottom: 1.25rem;
    transition: all 0.4s var(--ease);
}
.service__icon svg { width: 22px; height: 22px; }
.service:hover .service__icon {
    background: var(--gradient-brand);
    color: #000;
    transform: scale(1.05) rotate(-3deg);
}
.service h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.service p {
    font-size: 0.92rem;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.service__link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--yellow);
    letter-spacing: 0.02em;
    transition: transform 0.3s var(--ease);
    display: inline-block;
}
.service:hover .service__link { transform: translateX(4px); }

/* ---------- Automation "What automation can do" ---------- */
.automation {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}
.automation__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.automation__copy p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}
.automation__copy .btn { margin-top: 1rem; }
.automation__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.automation__list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}
.automation__list li:hover {
    border-color: rgba(255, 209, 0, 0.3);
    transform: translateX(4px);
}
.check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-brand);
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 209, 0, 0.25);
}
.check::after {
    content: '';
    position: absolute;
    left: 50%; top: 45%;
    width: 5px; height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Solutions ---------- */
.solutions {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}
.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.solution {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    min-height: 260px;
    display: flex;
    flex-direction: column;
}
.solution--wide { grid-column: span 2; }
.solution::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255, 209, 0, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}
.solution:hover::before { opacity: 1; }
.solution:hover {
    border-color: rgba(255, 209, 0, 0.3);
    transform: translateY(-4px);
}
.solution > * { position: relative; z-index: 2; }
.solution__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--yellow);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(255, 209, 0, 0.3);
    border-radius: 999px;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}
.solution h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.solution p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
}
.solution__graphic {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 200px;
    height: 200px;
    opacity: 0.2;
    pointer-events: none;
}
.solution__graphic--pulse {
    background: radial-gradient(circle, var(--yellow) 0%, transparent 60%);
    animation: orbPulse 4s ease-in-out infinite;
}
.solution__graphic--chat {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 209, 0, 0.4), transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(255, 122, 0, 0.4), transparent 30%);
}

/* ---------- Why ---------- */
.why {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}
.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.why__item {
    padding: 2.25rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: all 0.3s var(--ease);
}
.why__item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 209, 0, 0.25);
}
.why__num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--yellow);
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.why__item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.why__item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Industries ---------- */
.industries {
    padding: 7rem 0;
    border-top: 1px solid var(--border);
}
.industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.industry {
    padding: 1.75rem 1.25rem;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 500;
    transition: all 0.3s var(--ease);
    cursor: pointer;
}
.industry:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(255, 209, 0, 0.3);
}

/* ---------- Process (timeline) ---------- */
.process {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}
.process__timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding-top: 3rem;
}
.process__line {
    position: absolute;
    top: 3.8rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--yellow), transparent);
    opacity: 0.4;
}
.process__step {
    text-align: center;
    position: relative;
}
.process__dot {
    width: 54px;
    height: 54px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--yellow);
    background: var(--bg-elevated);
    border: 2px solid rgba(255, 209, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--ease);
}
.process__step:hover .process__dot {
    background: var(--gradient-brand);
    color: #000;
    border-color: var(--yellow);
    box-shadow: 0 0 30px rgba(255, 209, 0, 0.4);
    transform: scale(1.08);
}
.process__step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.process__step p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.55;
    padding: 0 0.5rem;
}

/* ---------- CTA ---------- */
.cta {
    padding: 6rem 0 8rem;
}
.cta__card {
    position: relative;
    padding: 5rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--border-strong);
    border-radius: 28px;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}
.cta__glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(860px, 92%);
    height: 230px;
    background:
        linear-gradient(180deg, rgba(255, 209, 0, 0.22), rgba(255, 209, 0, 0.05) 45%, transparent 100%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 209, 0, 0.14) 0,
            rgba(255, 209, 0, 0.14) 1px,
            transparent 1px,
            transparent 32px
        );
    border-radius: 0 0 999px 999px;
    filter: blur(0.4px);
    background-size: 100% 100%, 160px 100%;
    animation: ctaSignalShimmer 12s linear infinite, ctaSignalPulse 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctaSignalShimmer {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 0, 160px 0; }
}
@keyframes ctaSignalPulse {
    0%, 100% { opacity: 0.72; }
    50% { opacity: 1; }
}
.cta__card > * { position: relative; z-index: 2; }
.cta__card h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0.5rem 0 1.25rem;
}
.cta__card p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 2.5rem;
}
.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.cta__note {
    font-size: 0.9rem;
    color: var(--text-mute);
    margin-top: 1rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.4);
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer__brand p {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-top: 1rem;
    max-width: 320px;
    line-height: 1.6;
}
.footer h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin-bottom: 1.25rem;
}
.footer ul li {
    margin-bottom: 0.65rem;
}
.footer ul a {
    color: var(--text-dim);
    font-size: 0.92rem;
}
.footer ul a:hover { color: var(--yellow); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-mute);
}
.footer__legal {
    display: flex;
    gap: 1.5rem;
}
.footer__legal a:hover { color: var(--yellow); }

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children by delay */
.services__grid .service.reveal:nth-child(1) { transition-delay: 0.05s; }
.services__grid .service.reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .service.reveal:nth-child(3) { transition-delay: 0.15s; }
.services__grid .service.reveal:nth-child(4) { transition-delay: 0.2s; }
.services__grid .service.reveal:nth-child(5) { transition-delay: 0.25s; }
.services__grid .service.reveal:nth-child(6) { transition-delay: 0.3s; }
.services__grid .service.reveal:nth-child(7) { transition-delay: 0.35s; }
.services__grid .service.reveal:nth-child(8) { transition-delay: 0.4s; }

.automation__list li.reveal:nth-child(1) { transition-delay: 0.05s; }
.automation__list li.reveal:nth-child(2) { transition-delay: 0.1s; }
.automation__list li.reveal:nth-child(3) { transition-delay: 0.15s; }
.automation__list li.reveal:nth-child(4) { transition-delay: 0.2s; }
.automation__list li.reveal:nth-child(5) { transition-delay: 0.25s; }
.automation__list li.reveal:nth-child(6) { transition-delay: 0.3s; }
.automation__list li.reveal:nth-child(7) { transition-delay: 0.35s; }
.automation__list li.reveal:nth-child(8) { transition-delay: 0.4s; }

.industries__grid .industry.reveal:nth-child(1) { transition-delay: 0.03s; }
.industries__grid .industry.reveal:nth-child(2) { transition-delay: 0.08s; }
.industries__grid .industry.reveal:nth-child(3) { transition-delay: 0.13s; }
.industries__grid .industry.reveal:nth-child(4) { transition-delay: 0.18s; }
.industries__grid .industry.reveal:nth-child(5) { transition-delay: 0.23s; }
.industries__grid .industry.reveal:nth-child(6) { transition-delay: 0.28s; }
.industries__grid .industry.reveal:nth-child(7) { transition-delay: 0.33s; }
.industries__grid .industry.reveal:nth-child(8) { transition-delay: 0.38s; }

.process__step.reveal:nth-child(2) { transition-delay: 0.1s; }
.process__step.reveal:nth-child(3) { transition-delay: 0.2s; }
.process__step.reveal:nth-child(4) { transition-delay: 0.3s; }
.process__step.reveal:nth-child(5) { transition-delay: 0.4s; }
.process__step.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .services__grid { grid-template-columns: repeat(3, 1fr); }
    .industries__grid { grid-template-columns: repeat(3, 1fr); }
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .solutions__grid { grid-template-columns: repeat(2, 1fr); }
    .solution--wide { grid-column: span 2; }
    .process__timeline { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
    .process__line { display: none; }
}

@media (max-width: 900px) {
    .nav__links, .nav__cta { display: none; }
    .nav__toggle { display: flex; align-items: flex-end; }
    .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero__copy { padding-top: 0; }
    .hero__stack { align-items: flex-start; }
    .hero__visual { height: 400px; }
    .orb { width: 240px; height: 240px; }
    .code-float--1, .code-float--2, .code-float--3 { font-size: 0.7rem; min-width: 140px; }
    .code-float--1 { left: 0; }
    .code-float--2 { right: 0; }
    .automation__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid { grid-template-columns: 1fr; }
    .solutions__grid { grid-template-columns: 1fr; }
    .solution--wide { grid-column: span 1; }
    .industries__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .container, .nav__container { padding: 0 1.25rem; }

    /* ── Hero: mobile-first stacked layout ── */
    .hero {
        padding: 6rem 1.25rem 3.5rem;
        min-height: auto;
        text-align: center;
    }
    .hero__inner { gap: 0; }
    .hero__copy,
    .hero__stack {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero__badge { margin: 0 auto 1.5rem; }
    .hero__subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }

    /* Compact visual — auto height so logo isn't oversized */
    .hero__visual {
        height: auto;
        min-height: 0;
        padding: 0 0 2rem;
        justify-content: center;
    }
    .hero__logo-showcase {
        width: min(300px, 84%);
        padding: 0.9rem;
    }

    /* Hide floating code cards — too cramped at phone width */
    .code-float { display: none; }

    /* Stats: 3-column row instead of stacked column */
    .hero__stats {
        flex-direction: row;
        gap: 0;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
    .stat {
        flex: 1;
        padding-left: 0;
        align-items: center;
        text-align: center;
        padding: 0 0.5rem;
        border-left: 1px solid rgba(255, 209, 0, 0.2);
    }
    .stat:first-child { border-left: none; }
    .stat::before { display: none; }
    .stat__num { font-size: 1.7rem; }
    .stat__suffix { font-size: 1.2rem; }
    .stat__label { font-size: 0.72rem; max-width: 90px; }

    /* Rest of page */
    .services__grid { grid-template-columns: 1fr; }
    .automation__list { grid-template-columns: 1fr; }
    .cta__card { padding: 3.5rem 1.5rem; }
    .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer__grid { grid-template-columns: 1fr; }
    .intro, .services, .automation, .solutions, .why, .industries, .process, .cta {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .section-header { margin-bottom: 3rem; }
}

@media (max-width: 430px) {
    .hero {
        padding-top: 5.5rem;
        padding-bottom: 3rem;
    }
    .hero__inner { gap: 1.25rem; }
    .hero__badge {
        font-size: 0.7rem;
        padding: 0.45rem 0.75rem;
        margin-bottom: 1.2rem;
    }
    .hero__title {
        font-size: clamp(1.95rem, 9vw, 2.65rem);
        line-height: 1.04;
        margin-bottom: 1.1rem;
    }
    .hero__subtitle {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }
    .hero__cta {
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .hero__cta .btn {
        width: 100%;
        justify-content: center;
    }
    .hero__logo-showcase {
        width: min(270px, 82%);
        padding: 0.75rem;
        border-radius: 20px;
    }
    .hero__logo-showcase::before {
        inset: -10px;
        border-radius: 28px;
    }
    .hero__stats {
        flex-direction: column;
        gap: 0.85rem;
        align-items: stretch;
    }
    .stat {
        border-left: none;
        border-top: 1px solid rgba(255, 209, 0, 0.2);
        padding-top: 0.85rem;
    }
    .stat:first-child {
        border-top: none;
        padding-top: 0;
    }
    .stat__label {
        max-width: none;
        font-size: 0.76rem;
    }
}

/* ---------- 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;
    }
    .reveal { opacity: 1; transform: none; }
    body::before,
    .bg-grid,
    .bg-grid::after,
    .bg-glow,
    #particle-canvas {
        transition: none !important;
    }
}

/* ============================================================
   INNER PAGE STYLES (added for multi-page site)
   ============================================================ */

/* Active nav link */
.nav__links a.is-active { color: var(--yellow); }
.nav__links a.is-active::after { width: 100%; }

/* Breadcrumbs */
.breadcrumbs {
    padding: 7rem 0 0;
    position: relative;
    z-index: 2;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-mute);
    letter-spacing: 0.04em;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.breadcrumbs a {
    color: var(--text-dim);
    transition: color 0.25s var(--ease);
}
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs__sep { color: var(--text-mute); opacity: 0.5; }
.breadcrumbs [aria-current="page"] { color: var(--yellow); }

/* Page header (inner pages) */
.page-header {
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 2;
}
.page-header .section-label { margin-bottom: 1.25rem; }
.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.page-header__intro {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 720px;
    line-height: 1.65;
    margin-bottom: 2rem;
}
.page-header__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

/* Prose / inner-page sections */
.prose {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}
.prose:first-of-type { border-top: none; padding-top: 1rem; }
.prose .container { max-width: 880px; }
.prose h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--text);
}
.prose h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.75rem 0 0.6rem;
    color: var(--text);
    letter-spacing: -0.01em;
}
.prose p,
.prose li {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.prose ul, .prose ol {
    margin: 0 0 1.25rem 1.25rem;
    list-style: disc;
}
.prose ol { list-style: decimal; }
.prose ul li, .prose ol li { margin-bottom: 0.5rem; }
.prose ul li::marker { color: var(--yellow); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--yellow); border-bottom: 1px solid rgba(255,209,0,0.3); }
.prose a:hover { border-bottom-color: var(--yellow); }

/* Two-column feature grid for inner pages */
.feature-grid {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}
.feature-grid__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.feature-grid__inner--3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}
.feature-card:hover {
    border-color: rgba(255, 209, 0, 0.25);
    transform: translateY(-3px);
}
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    letter-spacing: -0.01em;
}
.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}
.feature-card .tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--yellow);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border: 1px solid rgba(255, 209, 0, 0.3);
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

/* Stack chips */
.stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}
.stack-chips li {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
    padding: 0.45rem 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin: 0;
}

/* FAQ (using <details>) */
.faq-list {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}
.faq-list .container { max-width: 880px; }
.faq-list details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    transition: border-color 0.25s var(--ease);
}
.faq-list details[open] { border-color: rgba(255, 209, 0, 0.3); }
.faq-list summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    font-family: var(--font-mono);
    color: var(--yellow);
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list .faq-answer {
    padding: 0 1.5rem 1.4rem;
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 0.98rem;
}
.faq-list .faq-answer p { margin-bottom: 0.75rem; }
.faq-list .faq-answer p:last-child { margin-bottom: 0; }

/* Lead-in summary section above prose */
.lead {
    padding: 3rem 0 1rem;
}
.lead .container { max-width: 880px; }
.lead p {
    font-size: 1.2rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Insights coming-soon styling */
.coming-soon {
    padding: 4rem 0;
    text-align: center;
}
.coming-soon .container { max-width: 720px; }
.coming-soon ul {
    display: grid;
    gap: 0.75rem;
    margin: 2rem 0 0;
    text-align: left;
}
.coming-soon ul li {
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-dim);
}

/* 404 */
.notfound {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
}
.notfound__code {
    font-family: var(--font-mono);
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 500;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.notfound h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin: 1rem 0 1rem;
}
.notfound p { color: var(--text-dim); margin-bottom: 2rem; max-width: 480px; }
.notfound .btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Contact page */
.contact-grid {
    padding: 3rem 0 5rem;
}
.contact-grid .container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.contact-card h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}
.contact-card .mail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    background: var(--gradient-brand);
    color: #000;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.contact-card .mail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -8px rgba(255, 209, 0, 0.5);
}

@media (max-width: 900px) {
    .feature-grid__inner,
    .feature-grid__inner--3 { grid-template-columns: 1fr; }
    .contact-grid .container { grid-template-columns: 1fr; }
}

