/* ============================================
   BYTENAUTA — Styles v3.0
   Premium animations & dynamic elements
   ============================================ */

/* ---------- Reset & Global ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Colores corporativos del manual de marca */
    --orange: #fc4a02;
    --orange-dark: #d93f00;
    --orange-light: #ff6b35;
    --amber: #ff9800;
    --teal: #2f7f88;
    --dark: #524d49;
    --dark-deep: #3a3633;
    --light: #e3e3e3;
    --white: #f4f3ea;
    --bg: #0e0d0c;
    --bg-card: #1a1816;
    --bg-card-hover: #221f1d;
    --text: #c5c0bb;
    --text-muted: #706b66;
    --mono: 'Atkinson Hyperlegible Mono', monospace;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --apple-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
    --elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --radius: 12px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 90px; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

::selection { background: var(--orange); color: var(--white); }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

.highlight { color: var(--orange); }

/* ---------- Custom Cursor ---------- */
.cursor {
    width: 8px; height: 8px; background: var(--orange);
    border-radius: 50%; position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99999;
    transition: transform 0.15s var(--ease-out), opacity 0.3s;
    mix-blend-mode: difference;
}
.cursor-follower {
    width: 36px; height: 36px; border: 1.5px solid var(--orange);
    border-radius: 50%; position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99998;
    transition: transform 0.4s var(--ease-out), width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
    opacity: 0.5;
}
.cursor-follower.hovering {
    width: 56px; height: 56px; opacity: 0.3;
    background: rgba(252,74,2,0.1); border-color: var(--orange);
}
.cursor-pixel {
    position: fixed; z-index: 99999; pointer-events: none;
    border-radius: 1px; opacity: 1;
    animation: pixelBurst 0.6s var(--ease-out) forwards;
}
@keyframes pixelBurst {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
    50% { opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0) rotate(180deg); opacity: 0; }
}

@media (pointer: coarse) { .cursor, .cursor-follower { display: none !important; } body { cursor: auto; } }

/* ---------- Page Loader ---------- */
.loader {
    position: fixed; inset: 0; z-index: 100000;
    background:
        radial-gradient(ellipse at 50% 42%, rgba(252,74,2,0.08), transparent 34%),
        radial-gradient(ellipse at 50% 58%, rgba(244,243,234,0.035), transparent 28%),
        var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244,243,234,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(252,74,2,0.024) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 0 34%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 0 34%, transparent 72%);
    opacity: 0.45;
}
.loader-inner {
    position: relative;
    z-index: 1;
    width: min(360px, calc(100vw - 3rem));
    text-align: center;
}
.loader-orbit {
    position: relative;
    width: 164px;
    height: 164px;
    margin: 0 auto 1.45rem;
    display: grid;
    place-items: center;
}
.loader-horizon {
    position: absolute;
    width: 152px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(90deg, transparent 3%, rgba(47,127,136,0.12) 18%, rgba(252,74,2,0.78) 42%, rgba(244,243,234,0.72) 50%, rgba(252,74,2,0.78) 58%, rgba(47,127,136,0.12) 82%, transparent 97%);
    box-shadow: 0 0 34px rgba(252,74,2,0.28);
    filter: blur(0.35px);
    transform: rotate(-11deg);
    animation: loaderHorizon 2.4s var(--apple-ease) infinite;
}
.loader-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(244,243,234,0.12);
}
.loader-ring-a {
    width: 132px;
    height: 132px;
    border-color: rgba(252,74,2,0.22);
    animation: loaderOrbit 5.8s linear infinite;
}
.loader-ring-b {
    width: 164px;
    height: 164px;
    transform: scaleY(0.42) rotate(-11deg);
    border-color: rgba(244,243,234,0.11);
    animation: loaderPlane 4.6s var(--apple-ease) infinite;
}
.loader-satellite {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 18px rgba(252,74,2,0.74);
}
.loader-satellite-a { transform: translate(58px, -30px); animation: loaderSatelliteA 2.8s var(--apple-ease) infinite; }
.loader-satellite-b {
    width: 6px;
    height: 6px;
    background: rgba(244,243,234,0.78);
    box-shadow: 0 0 16px rgba(244,243,234,0.32);
    transform: translate(-52px, 42px);
    animation: loaderSatelliteB 3.2s var(--apple-ease) infinite;
}
.loader-logo {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(14,13,12,0.84);
    border: 1px solid rgba(244,243,234,0.09);
    box-shadow: 0 18px 46px rgba(0,0,0,0.38), 0 0 34px rgba(252,74,2,0.16);
    animation: pulse 1.8s var(--apple-ease) infinite;
}
.loader-logo img { width: 52px; border-radius: 11px; }
.loader-route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}
.loader-route span {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244,243,234,0.72);
}
.loader-route i {
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, rgba(252,74,2,0.62), rgba(244,243,234,0.16));
    box-shadow: 0 0 12px rgba(252,74,2,0.24);
}
.loader-bar {
    position: relative;
    width: min(320px, 100%);
    height: 5px;
    background: rgba(244,243,234,0.08);
    border: 1px solid rgba(244,243,234,0.06);
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto;
}
.loader-bar::after {
    content: '';
    position: absolute;
    inset: -12px auto -12px 0;
    width: 48px;
    background: radial-gradient(circle, rgba(252,74,2,0.32), transparent 66%);
    filter: blur(6px);
    animation: loaderBeacon 1.35s var(--ease-in-out) forwards;
}
.loader-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--orange), rgba(244,243,234,0.78), var(--orange));
    border-radius: inherit;
    box-shadow: 0 0 22px rgba(252,74,2,0.46);
    animation: loaderFill 1.35s var(--ease-in-out) forwards;
}
.loader-text {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

@keyframes loaderFill { to { width: 100%; } }
@keyframes loaderBeacon { to { transform: translateX(318px); } }
@keyframes loaderOrbit { to { transform: rotate(360deg); } }
@keyframes loaderPlane {
    0%, 100% { opacity: 0.28; transform: scaleY(0.42) rotate(-11deg); }
    50% { opacity: 0.68; transform: scaleY(0.48) rotate(-11deg); }
}
@keyframes loaderHorizon {
    0%, 100% { opacity: 0.72; filter: blur(0.35px) saturate(1); }
    50% { opacity: 1; filter: blur(0.1px) saturate(1.25); }
}
@keyframes loaderSatelliteA {
    0%, 100% { transform: translate(58px, -30px) scale(1); }
    50% { transform: translate(62px, -26px) scale(1.16); }
}
@keyframes loaderSatelliteB {
    0%, 100% { transform: translate(-52px, 42px) scale(1); }
    50% { transform: translate(-58px, 36px) scale(0.86); }
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.035); opacity: 0.82; } }

/* ---------- Particles Canvas ---------- */
#particlesCanvas {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.4;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 1rem 0;
    background: rgba(14,13,12,0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
}
.navbar.scrolled { padding: 0.6rem 0; border-bottom-color: rgba(252,74,2,0.1); background: rgba(14,13,12,0.9); }

.nav-container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
    position: relative; display: inline-flex; align-items: center;
    padding: 0.35rem 0.15rem; overflow: hidden;
    animation: logoReveal 1s var(--apple-ease) both;
}
.nav-logo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(244,243,234,0.22) 45%, transparent 62%);
    transform: translateX(-130%);
    pointer-events: none;
    animation: logoSheen 1.25s var(--apple-ease) 0.65s both;
}
.nav-logo:hover::after { animation: logoSheen 1.05s var(--apple-ease) both; }
.nav-logo-img {
    width: 188px; height: auto; max-height: 32px; object-fit: contain;
    border-radius: 0; transition: transform 0.3s var(--elastic), filter 0.3s var(--apple-ease);
    filter: drop-shadow(0 8px 18px rgba(252,74,2,0.2));
}
.nav-logo:hover .nav-logo-img {
    transform: scale(1.035);
    filter: drop-shadow(0 8px 24px rgba(252,74,2,0.34));
}
@keyframes logoReveal {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); filter: blur(8px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes logoSheen {
    from { transform: translateX(-130%); }
    to { transform: translateX(130%); }
}

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 2rem); }
.nav-links a {
    font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.03em;
    color: var(--text); transition: color 0.3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -4px;
    width: 0; height: 1.5px; background: var(--orange);
    transition: width 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-highlight {
    color: var(--orange) !important;
    text-shadow: 0 0 18px rgba(252,74,2,0.18);
}
.nav-highlight::before {
    content: '';
    position: absolute;
    left: -0.55rem;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 14px rgba(252,74,2,0.7);
    transform: translateY(-50%);
}

.nav-cta {
    background: var(--orange) !important; color: var(--white) !important;
    padding: 0.55rem 1.4rem !important; border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.3s, transform 0.3s var(--elastic) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-dark) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--light); transition: all 0.35s var(--ease-out); border-radius: 2px; }

.nav-progress { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--orange); width: 0; transition: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center;
    padding: 8rem 0 4rem; overflow: hidden; isolation: isolate;
    background:
        radial-gradient(circle at 72% 24%, rgba(252,74,2,0.16), transparent 24%),
        radial-gradient(circle at 82% 76%, rgba(47,127,136,0.12), transparent 22%),
        linear-gradient(180deg, #11100f 0%, #0e0d0c 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, transparent 52%, rgba(252,74,2,0.08) 52.2%, transparent 69%),
        radial-gradient(circle at 63% 43%, rgba(244,243,234,0.08), transparent 1px);
    background-size: auto, 28px 28px;
    opacity: 0.62;
}
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(14,13,12,0.98) 0%, rgba(14,13,12,0.86) 44%, rgba(14,13,12,0.6) 100%),
        linear-gradient(180deg, rgba(14,13,12,0.08) 0%, rgba(14,13,12,0.92) 100%);
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(252,74,2,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,243,234,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at 58% 48%, black 18%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 58% 48%, black 18%, transparent 72%);
    opacity: 0.78;
    animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift { to { background-position: 60px 60px; } }

.hero-content {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 4rem; align-items: center; position: relative; z-index: 1;
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--mono); font-size: 0.85rem; color: var(--orange);
    margin-bottom: 1.5rem;
}
.tag-dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; animation: blink 1.5s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.typing-text { border-right: 2px solid var(--orange); padding-right: 2px; }

.hero-title {
    font-family: var(--mono); font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700; line-height: 1.15; color: var(--white);
    margin-bottom: 1.5rem;
}
.title-line { display: block; overflow: hidden; }

.hero-subtitle { font-size: 1.1rem; color: var(--text); max-width: 580px; margin-bottom: 2rem; line-height: 1.8; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--mono); font-size: 0.85rem; font-weight: 600;
    padding: 0.85rem 2rem; border-radius: 10px; border: none;
    cursor: pointer; position: relative; overflow: hidden;
    transition: transform 0.3s var(--elastic), box-shadow 0.3s;
}
.btn-primary {
    background: var(--orange); color: var(--white);
    box-shadow: 0 4px 20px rgba(252,74,2,0.3);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(252,74,2,0.5); }
.btn-outline {
    background: transparent; color: var(--light);
    border: 1.5px solid rgba(252,74,2,0.4);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 1rem 2.5rem; font-size: 0.95rem; }

.btn-shine {
    position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
    transform: translateX(-100%); transition: none;
}
.btn:hover .btn-shine { animation: shine 0.6s forwards; }
@keyframes shine { to { transform: translateX(100%); } }

/* Hero Stats */
.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat { text-align: center; }
.stat-number { font-family: var(--mono); font-size: 2rem; font-weight: 800; color: var(--orange); }
.stat-suffix { font-family: var(--mono); font-size: 1.2rem; color: var(--orange); }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(252,74,2,0.2); }

/* Hero Visual */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; min-height: 480px; }
.hero-product-shell {
    width: min(620px, 100%);
    position: relative; overflow: hidden;
    border-radius: 8px;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(34,31,29,0.92), rgba(18,17,16,0.94));
    border: 1px solid rgba(244,243,234,0.08);
    box-shadow: 0 40px 110px rgba(0,0,0,0.46), 0 0 0 1px rgba(252,74,2,0.05) inset;
}
.hero-product-shell::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(252,74,2,0.14), transparent 36%, rgba(47,127,136,0.08) 100%);
    pointer-events: none;
}
.hero-product-topbar {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.65rem 0.75rem 1rem;
    font-family: var(--mono); font-size: 0.78rem; color: var(--text);
}
.hero-product-logo { width: 34px; height: 34px; border-radius: 7px; flex-shrink: 0; }
.hero-product-status {
    margin-left: auto; color: var(--orange);
    border: 1px solid rgba(252,74,2,0.22);
    border-radius: 999px; padding: 0.25rem 0.55rem;
    background: rgba(252,74,2,0.07);
}
.hero-product-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0.8rem;
}
.hero-panel {
    min-height: 140px;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(14,13,12,0.76);
    border: 1px solid rgba(244,243,234,0.08);
}
.hero-panel-main { min-height: 270px; }
.hero-panel-label {
    font-family: var(--mono); font-size: 0.7rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem;
}
.hero-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-bottom: 1.3rem; }
.hero-kpi-row div {
    padding: 0.85rem 0.75rem; border-radius: 8px;
    background: rgba(244,243,234,0.035);
    border: 1px solid rgba(244,243,234,0.06);
}
.hero-kpi-row strong { display: block; font-family: var(--mono); font-size: 1.35rem; color: var(--white); line-height: 1; }
.hero-kpi-row span { display: block; margin-top: 0.35rem; font-size: 0.72rem; color: var(--text-muted); }
.hero-chart {
    height: 124px; display: flex; align-items: end; gap: 0.65rem;
    padding: 1rem; border-radius: 8px;
    background:
        linear-gradient(rgba(244,243,234,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,243,234,0.035) 1px, transparent 1px);
    background-size: 34px 34px;
}
.hero-chart span {
    flex: 1; height: var(--h); min-height: 18px; border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--orange), var(--orange-dark));
    box-shadow: 0 10px 24px rgba(252,74,2,0.2);
}
.hero-chart span:nth-child(2),
.hero-chart span:nth-child(4) { background: linear-gradient(180deg, var(--teal), #205a62); }
.hero-panel-flow { display: flex; align-items: center; gap: 0.55rem; min-height: 92px; }
.hero-flow-step {
    font-family: var(--mono); font-size: 0.72rem; color: var(--text);
    padding: 0.5rem 0.55rem; border-radius: 999px;
    background: rgba(244,243,234,0.04);
    border: 1px solid rgba(244,243,234,0.08);
    white-space: nowrap;
}
.hero-flow-step.active { color: var(--white); background: var(--orange); border-color: var(--orange); }
.hero-flow-line { flex: 1; height: 1px; background: rgba(252,74,2,0.28); min-width: 18px; }
.hero-task {
    display: flex; align-items: center; gap: 0.55rem;
    color: var(--text); font-size: 0.88rem; margin-top: 0.65rem;
}
.hero-task span {
    width: 10px; height: 10px; border-radius: 50%;
    border: 1px solid rgba(244,243,234,0.28); flex-shrink: 0;
}
.hero-task.checked span { background: var(--orange); border-color: var(--orange); }
.hero-panel-accent {
    background: linear-gradient(180deg, rgba(252,74,2,0.16), rgba(14,13,12,0.8));
    border-color: rgba(252,74,2,0.2);
}
.hero-panel-accent strong { display: block; color: var(--white); font-family: var(--mono); line-height: 1.35; margin-bottom: 0.65rem; }
.hero-panel-accent p { color: var(--text); font-size: 0.88rem; line-height: 1.6; }

/* Hero Scroll */
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.7rem; color: var(--text-muted); text-align: center; }
.hero-scroll a { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--orange), transparent); animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Glitch Effect ---------- */
.glitch { position: relative; }
.glitch::before, .glitch::after {
    content: attr(data-text); position: absolute; left: 0; top: 0;
    color: var(--orange); overflow: hidden; clip-path: inset(0);
    opacity: 0;
}
.glitch:hover::before { animation: glitch1 0.3s linear; opacity: 1; }
.glitch:hover::after { animation: glitch2 0.3s linear 0.1s; opacity: 1; }
@keyframes glitch1 {
    0% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
    20% { clip-path: inset(60% 0 10% 0); transform: translate(3px, -1px); }
    40% { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 1px); }
    60% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(10% 0 70% 0); transform: translate(-1px, 3px); }
    100% { clip-path: inset(0); transform: translate(0); opacity: 0; }
}
@keyframes glitch2 {
    0% { clip-path: inset(60% 0 20% 0); transform: translate(3px, -2px); }
    20% { clip-path: inset(10% 0 60% 0); transform: translate(-3px, 1px); }
    40% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -1px); }
    60% { clip-path: inset(30% 0 50% 0); transform: translate(-2px, 2px); }
    80% { clip-path: inset(70% 0 10% 0); transform: translate(1px, -3px); }
    100% { clip-path: inset(0); transform: translate(0); opacity: 0; }
}

/* ---------- Reveal Animations ---------- */
.reveal-up {
    opacity: 0; transform: translateY(64px) scale(0.985);
    filter: blur(14px);
    transition: opacity 1.05s var(--apple-ease), transform 1.05s var(--apple-ease), filter 1.05s var(--apple-ease);
}
.reveal-up.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.reveal-left {
    opacity: 0; transform: translateX(-72px) scale(0.985);
    filter: blur(14px);
    transition: opacity 1.05s var(--apple-ease), transform 1.05s var(--apple-ease), filter 1.05s var(--apple-ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }

.reveal-right {
    opacity: 0; transform: translateX(72px) scale(0.985);
    filter: blur(14px);
    transition: opacity 1.05s var(--apple-ease), transform 1.05s var(--apple-ease), filter 1.05s var(--apple-ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }

.reveal-scale {
    opacity: 0; transform: scale(0.8);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-rotate {
    opacity: 0; transform: translateY(40px) rotate(-3deg);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-rotate.visible { opacity: 1; transform: translateY(0) rotate(0); }

/* Split text — words appear one by one */
.split-text .word {
    display: inline-block; opacity: 0; transform: translateY(36px) scale(0.96);
    filter: blur(10px);
    transition: opacity 0.95s var(--apple-ease), transform 0.95s var(--apple-ease), filter 0.95s var(--apple-ease);
}
.split-text.visible .word { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* ---------- Sections ---------- */
.section { padding: 7rem 0; position: relative; }
.section::before {
    content: ''; position: absolute; top: 0; left: 5%; width: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    transition: width 1.2s var(--ease-out) 0.3s;
}
.section.section-visible::before { width: 90%; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { font-family: var(--mono); font-size: 0.8rem; color: var(--orange); display: block; margin-bottom: 1rem; letter-spacing: 0.05em; }
.section-title { font-family: var(--mono); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--white); line-height: 1.3; }
.section-desc { font-size: 1.05rem; color: var(--text); max-width: 600px; margin: 1rem auto 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-lead { font-size: 1.2rem; color: var(--white); margin-bottom: 1.5rem; line-height: 1.8; font-weight: 500; }
.about-text p { margin-bottom: 1.2rem; }

.about-image {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
}
.about-visual {
    min-height: 420px;
    background:
        radial-gradient(circle at 26% 30%, rgba(47,127,136,0.18), transparent 28%),
        radial-gradient(circle at 78% 72%, rgba(252,74,2,0.2), transparent 30%),
        linear-gradient(145deg, rgba(244,243,234,0.06), rgba(14,13,12,0.84));
    border: 1px solid rgba(244,243,234,0.08);
    box-shadow: 0 28px 80px rgba(0,0,0,0.28), inset 0 1px 0 rgba(244,243,234,0.05);
}
.about-map {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.about-map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244,243,234,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(252,74,2,0.055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
    opacity: 0.58;
}
.about-route {
    position: absolute;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(252,74,2,0.86), rgba(47,127,136,0.74), transparent);
    box-shadow: 0 0 28px rgba(252,74,2,0.2);
    transform-origin: left center;
    animation: routePulse 3.8s var(--apple-ease) infinite;
}
.about-route-a { left: 12%; top: 58%; width: 72%; transform: rotate(-17deg); }
.about-route-b { left: 20%; top: 32%; width: 54%; transform: rotate(28deg); animation-delay: 0.8s; }
.about-route-c { left: 48%; top: 76%; width: 38%; transform: rotate(-42deg); animation-delay: 1.5s; }
.about-point {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 26px rgba(252,74,2,0.7);
}
.about-point-1 { left: 16%; top: 55%; }
.about-point-2 { left: 44%; top: 44%; background: var(--teal); box-shadow: 0 0 26px rgba(47,127,136,0.62); }
.about-point-3 { right: 18%; top: 31%; }
.about-point-4 { right: 22%; bottom: 19%; background: rgba(244,243,234,0.86); box-shadow: 0 0 26px rgba(244,243,234,0.26); }
.about-dashboard-card,
.about-control-card,
.about-ai-chip {
    position: absolute;
    z-index: 1;
    border-radius: 8px;
    background: rgba(14,13,12,0.72);
    border: 1px solid rgba(244,243,234,0.1);
    box-shadow: 0 18px 54px rgba(0,0,0,0.26);
    backdrop-filter: blur(14px);
}
.about-dashboard-card {
    left: 8%;
    top: 10%;
    width: min(260px, 44%);
    padding: 1rem;
}
.dashboard-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.dashboard-bars {
    display: flex;
    align-items: end;
    gap: 0.55rem;
    height: 88px;
}
.dashboard-bars span {
    flex: 1;
    height: var(--h);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--orange), rgba(252,74,2,0.24));
}
.about-ai-chip {
    right: 10%;
    top: 14%;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    background: radial-gradient(circle, rgba(252,74,2,0.78), rgba(252,74,2,0.13));
    border-color: rgba(252,74,2,0.28);
    animation: sourcePulse 2.8s var(--apple-ease) infinite;
}
.about-control-card {
    right: 9%;
    bottom: 12%;
    padding: 1rem 1.1rem;
}
.about-control-card strong,
.about-control-card small {
    display: block;
    font-family: var(--mono);
}
.about-control-card strong { color: var(--white); margin-bottom: 0.3rem; }
.about-control-card small { color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.about-image-frame {
    position: absolute; inset: -4px; border: 2px solid transparent;
    border-radius: calc(var(--radius-lg) + 4px); z-index: 1; pointer-events: none;
    background: conic-gradient(from 0deg, var(--orange), var(--amber) 50%, var(--orange)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: frameRotate 6s linear infinite;
}
@keyframes frameRotate { to { filter: hue-rotate(30deg); } }
@keyframes routePulse {
    0%, 100% { opacity: 0.34; filter: blur(0); }
    50% { opacity: 0.95; filter: blur(0.2px); }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.service-card {
    position: relative; background: var(--bg-card); border: 1px solid rgba(252,74,2,0.08);
    border-radius: var(--radius-lg); padding: 2.5rem 2rem; overflow: hidden;
    transition: border-color 0.4s, transform 0.6s var(--ease-out), box-shadow 0.4s;
    transform-style: preserve-3d; perspective: 800px;
    opacity: 0; transform: translateY(60px) scale(0.95);
}
.service-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.service-card:hover { border-color: rgba(252,74,2,0.3); box-shadow: 0 10px 40px rgba(252,74,2,0.08); }

.card-glow {
    position: absolute; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(252,74,2,0.1), transparent 70%);
    border-radius: 50%; pointer-events: none; opacity: 0;
    transition: opacity 0.4s; transform: translate(-50%, -50%);
}
.service-card:hover .card-glow { opacity: 1; }

.service-icon { width: 48px; height: 48px; color: var(--orange); margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--mono); font-size: 1.15rem; color: var(--white); margin-bottom: 0.8rem; }
.service-card p { font-size: 0.95rem; color: var(--text); }
.service-number {
    position: absolute; top: 1.5rem; right: 1.5rem;
    font-family: var(--mono); font-size: 2.5rem; font-weight: 800;
    color: rgba(252,74,2,0.08); line-height: 1;
}

/* ---------- AI Training ---------- */
.ai-training {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(252,74,2,0.12);
    border-bottom: 1px solid rgba(252,74,2,0.08);
    background: var(--bg);
}
.ai-training::before,
.ai-training::after { display: none; }
.ai-training .container {
    position: relative;
    z-index: 2;
}
.training-header {
    position: relative;
    z-index: 1;
    max-width: 980px;
}
.training-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto 1rem;
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(244,243,234,0.055);
    border: 1px solid rgba(244,243,234,0.13);
    box-shadow: inset 0 1px 0 rgba(244,243,234,0.04);
}
.training-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 14px rgba(252,74,2,0.8);
}
.training-claim {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.35rem;
}
.training-claim span {
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--white);
    padding: 0.58rem 0.8rem;
    border-radius: 8px;
    background: rgba(14,13,12,0.64);
    border: 1px solid rgba(244,243,234,0.1);
}
.ai-training-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, 1.08fr) minmax(420px, 0.92fr);
    gap: 1.4rem;
    align-items: stretch;
}
.ai-training-panel,
.training-card {
    position: relative;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(244,243,234,0.045), rgba(244,243,234,0.012)),
        #171512;
    border: 1px solid rgba(244,243,234,0.075);
    box-shadow: 0 18px 52px rgba(0,0,0,0.24), inset 0 1px 0 rgba(244,243,234,0.03);
}
.ai-training-panel {
    min-height: 520px;
    padding: clamp(1.6rem, 3vw, 2.8rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-color: rgba(252,74,2,0.16);
    background:
        linear-gradient(180deg, rgba(244,243,234,0.052), rgba(244,243,234,0.012)),
        #171512;
    box-shadow: 0 22px 62px rgba(0,0,0,0.3), inset 0 1px 0 rgba(244,243,234,0.04);
}
.ai-training-panel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252,74,2,0.28), transparent);
    pointer-events: none;
}
.ai-training-visual {
    position: relative;
    min-height: 310px;
    display: grid;
    place-items: center;
}
.ai-training-visual::before {
    content: '';
    position: absolute;
    left: 9%;
    right: 9%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244,243,234,0.12), rgba(252,74,2,0.16), rgba(244,243,234,0.12), transparent);
    transform: translateY(-50%);
}
.ai-core,
.ai-ring,
.ai-node,
.ai-path {
    position: absolute;
    display: block;
}
.ai-core {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(244,243,234,0.92) 0 7%, var(--orange) 8% 26%, rgba(252,74,2,0.08) 27% 100%);
    box-shadow: 0 0 34px rgba(252,74,2,0.22);
    opacity: 0.86;
    animation: sourcePulse 2.8s var(--apple-ease) infinite;
}
.ai-ring {
    border-radius: 50%;
    border: 1px solid rgba(244,243,234,0.13);
}
.ai-ring-1 {
    width: 186px;
    height: 186px;
    border-color: rgba(252,74,2,0.16);
    animation: sourceOrbit 10s linear infinite;
}
.ai-ring-2 {
    width: 278px;
    height: 278px;
    border-color: rgba(244,243,234,0.09);
    animation: sourceOrbit 16s linear infinite reverse;
}
.ai-node {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 18px rgba(47,127,136,0.28);
}
.ai-node-1 { transform: translate(-94px, -42px); }
.ai-node-2 { transform: translate(126px, 36px); background: var(--orange); box-shadow: 0 0 18px rgba(252,74,2,0.34); }
.ai-node-3 { transform: translate(-24px, 126px); background: rgba(244,243,234,0.66); box-shadow: 0 0 16px rgba(244,243,234,0.14); }
.ai-path {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252,74,2,0.34), rgba(244,243,234,0.12), transparent);
    animation: pathGlow 3.6s var(--apple-ease) infinite;
}
.ai-path-1 { transform: rotate(24deg); }
.ai-path-2 { transform: rotate(-42deg); animation-delay: 1.1s; }
.training-copilot {
    position: absolute;
    right: 9%;
    bottom: 12%;
    z-index: 3;
    width: 176px;
    height: 150px;
    overflow: visible;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(244,243,234,0.07), rgba(244,243,234,0.016)),
        rgba(14,13,12,0.78);
    border: 1px solid rgba(244,243,234,0.1);
    box-shadow: 0 18px 46px rgba(0,0,0,0.26), inset 0 1px 0 rgba(244,243,234,0.05);
}
.training-copilot::before {
    content: '';
    position: absolute;
    left: -74px;
    top: 58px;
    width: 86px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252,74,2,0.55), rgba(244,243,234,0.14));
    box-shadow: 0 0 18px rgba(252,74,2,0.16);
}
.training-copilot::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(252,74,2,0.045), transparent),
        repeating-linear-gradient(180deg, transparent 0 19px, rgba(244,243,234,0.035) 20px 21px);
    opacity: 0.62;
    pointer-events: none;
}
.copilot-pulse {
    position: absolute;
    z-index: 1;
    left: 18px;
    top: 18px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 18px rgba(252,74,2,0.66);
    animation: sourcePulse 2.8s var(--apple-ease) infinite;
}
.copilot-modules {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 24px;
    display: grid;
    grid-template-columns: repeat(4, 23px);
    gap: 4px;
    align-items: end;
    transform: perspective(520px) rotateX(8deg) rotateY(-14deg);
    transform-origin: 50% 100%;
}
.copilot-modules::after {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    bottom: -8px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252,74,2,0.6), transparent);
}
.copilot-module {
    position: relative;
    display: block;
    width: 23px;
    height: 86px;
    overflow: hidden;
    border-radius: 4px;
    background:
        linear-gradient(90deg, rgba(244,243,234,0.055), transparent 74%, rgba(0,0,0,0.26)),
        repeating-linear-gradient(180deg, transparent 0 17px, rgba(244,243,234,0.055) 18px 19px),
        #171512;
    border: 1px solid rgba(244,243,234,0.13);
    box-shadow: inset 0 1px 0 rgba(244,243,234,0.08), 0 12px 24px rgba(0,0,0,0.32);
}
.copilot-module::before {
    content: '';
    position: absolute;
    left: 5px;
    right: 5px;
    top: 10px;
    height: 13px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(252,74,2,0.86), rgba(252,74,2,0.2));
    box-shadow: 0 0 10px rgba(252,74,2,0.38);
}
.copilot-module-a { height: 72px; transform: translateY(10px) rotateZ(2deg); }
.copilot-module-b { height: 108px; transform: translateY(-2px) rotateZ(-1deg); border-color: rgba(252,74,2,0.22); }
.copilot-module-c { height: 96px; transform: translateY(6px) rotateZ(1deg); }
.copilot-module-d { height: 68px; transform: translateY(14px) rotateZ(-2deg); }
.copilot-status-line {
    position: absolute;
    z-index: 1;
    left: 18px;
    bottom: 24px;
    width: 54px;
    height: 26px;
    border-radius: 5px;
    border: 1px solid rgba(244,243,234,0.09);
    background:
        linear-gradient(180deg, rgba(14,13,12,0.1), rgba(14,13,12,0.72)),
        repeating-linear-gradient(180deg, rgba(244,243,234,0.08) 0 1px, transparent 1px 7px);
}
.ai-training-copy {
    position: relative;
    z-index: 1;
    max-width: 640px;
}
.training-kicker {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.ai-training-copy h3 {
    font-family: var(--mono);
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
}
.ai-training-copy p {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.75;
}
.training-proof-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0 1.25rem;
}
.training-proof-row div {
    padding: 0.95rem 0.85rem;
    border-radius: 8px;
    background: rgba(14,13,12,0.72);
    border: 1px solid rgba(244,243,234,0.09);
}
.training-proof-row strong {
    display: block;
    font-family: var(--mono);
    font-size: clamp(1.25rem, 2.1vw, 1.8rem);
    color: var(--orange);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.training-proof-row span {
    display: block;
    font-family: var(--mono);
    font-size: 0.68rem;
    line-height: 1.35;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.training-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.15rem 0 1.45rem;
}
.training-pill-row span {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--white);
    padding: 0.5rem 0.68rem;
    border-radius: 8px;
    background: rgba(244,243,234,0.055);
    border: 1px solid rgba(244,243,234,0.1);
}
.training-cta {
    width: fit-content;
    min-width: 210px;
}
.ai-training-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.training-card {
    min-height: 230px;
    padding: 1.6rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(56px) scale(0.96);
    filter: blur(12px);
    transition:
        opacity 0.9s var(--apple-ease),
        transform 0.9s var(--apple-ease),
        filter 0.9s var(--apple-ease),
        border-color 0.35s,
        box-shadow 0.35s;
}
.training-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}
.training-card:hover {
    border-color: rgba(252,74,2,0.22);
    box-shadow: 0 22px 58px rgba(0,0,0,0.34), inset 0 1px 0 rgba(244,243,234,0.05);
}
.training-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 1.1rem;
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--orange);
    background: rgba(252,74,2,0.1);
    border: 1px solid rgba(252,74,2,0.16);
}
.training-card h3 {
    font-family: var(--mono);
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}
.training-card p {
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.7;
}
@keyframes pathGlow {
    0%, 100% { opacity: 0.24; transform-origin: center; }
    50% { opacity: 0.88; }
}
/* ---------- Cases ---------- */
.cases { background: linear-gradient(180deg, rgba(47,127,136,0.03), transparent 38%); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.case-card {
    position: relative; overflow: hidden; border-radius: 8px;
    background: var(--bg-card); border: 1px solid rgba(252,74,2,0.08);
    opacity: 0; transform: translateY(50px) scale(0.96);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.case-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.case-card:hover { border-color: rgba(47,127,136,0.34); box-shadow: 0 18px 48px rgba(0,0,0,0.28); }
.case-media {
    position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg);
}
.case-media > img:not(.case-logo) {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}
.case-card:hover .case-media > img:not(.case-logo) { transform: scale(1.05); filter: saturate(1.08); }
.case-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(14,13,12,0.72), transparent 58%);
}
.case-logo {
    position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
    width: 52px; border-radius: 8px; opacity: 0.88;
    box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}
.case-content { padding: 1.35rem; }
.case-kicker {
    display: block; font-family: var(--mono); color: var(--teal);
    font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 0.55rem;
}
.case-content h3 {
    color: var(--white); font-family: var(--mono);
    font-size: 1.05rem; line-height: 1.4; margin-bottom: 0.7rem;
}
.case-content p { color: var(--text); font-size: 0.94rem; line-height: 1.75; }

/* ---------- Method ---------- */
.method-timeline { position: relative; max-width: 700px; margin: 0 auto; }

.timeline-track {
    position: absolute; left: 28px; top: 0; width: 3px; height: 100%;
    background: rgba(252,74,2,0.1); border-radius: 4px;
}
.timeline-fill { width: 100%; height: 0; background: linear-gradient(to bottom, var(--amber), var(--orange)); border-radius: 4px; transition: height 0.4s; }

.method-step {
    display: flex; gap: 2rem; padding: 2rem 0; position: relative;
    opacity: 0; transform: translateX(-60px) scale(0.95);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--elastic);
}
.method-step:nth-child(odd) { transform: translateX(-60px) scale(0.95); }
.method-step:nth-child(even) { transform: translateX(60px) scale(0.95); }
.method-step.visible { opacity: 1; transform: translateX(0) scale(1); }

.step-marker {
    width: 56px; height: 56px; min-width: 56px; border-radius: 50%;
    background: var(--bg); border: 2px solid rgba(252,74,2,0.3);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 1.3rem; font-weight: 800; color: var(--orange);
    transition: all 0.4s var(--elastic); z-index: 1;
}
.method-step.visible .step-marker {
    background: var(--orange); color: var(--white); border-color: var(--orange);
    box-shadow: 0 0 30px rgba(252,74,2,0.3);
}

.step-content h3 { font-family: var(--mono); font-size: 1.3rem; color: var(--white); margin-bottom: 0.5rem; }
.step-content p { color: var(--text); font-size: 0.95rem; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.value-card {
    position: relative; text-align: center; padding: 3rem 2rem; overflow: hidden;
    background: var(--bg-card); border: 1px solid rgba(252,74,2,0.08);
    border-radius: var(--radius-lg);
    transition: border-color 0.4s, transform 0.7s var(--ease-out), box-shadow 0.4s;
    transform-style: preserve-3d; perspective: 800px;
    opacity: 0; transform: translateY(50px) rotateX(-8deg);
}
.value-card.visible { opacity: 1; transform: translateY(0) rotateX(0); }
.value-card:hover { border-color: rgba(255,152,0,0.3); box-shadow: 0 10px 40px rgba(252,74,2,0.06); }

.value-glow {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(252,74,2,0.08), transparent 60%);
    opacity: 0; transition: opacity 0.5s;
}
.value-card:hover .value-glow { opacity: 1; }

.value-icon { width: 64px; height: 64px; color: var(--orange); margin: 0 auto 1.5rem; }
.value-card h3 { font-family: var(--mono); font-size: 1.2rem; color: var(--white); margin-bottom: 0.8rem; }
.value-card p { font-size: 0.95rem; color: var(--text); }

/* ---------- Portfolio ---------- */
.portfolio {
    background: linear-gradient(180deg, transparent 0%, rgba(244,243,234,0.025) 45%, transparent 100%);
}
.portfolio-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.portfolio-item {
    position: relative; overflow: hidden; border-radius: 8px;
    background: rgba(26,24,22,0.78);
    border: 1px solid rgba(252,74,2,0.1);
    opacity: 0; transform: translateY(72px) scale(0.965);
    filter: blur(16px);
    transition:
        opacity 1.15s var(--apple-ease),
        transform 1.15s var(--apple-ease),
        filter 1.15s var(--apple-ease),
        border-color 0.5s var(--apple-ease),
        box-shadow 0.5s var(--apple-ease);
}
.portfolio-item.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.portfolio-featured {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}
.portfolio-item:hover {
    border-color: rgba(252,74,2,0.34);
    box-shadow: 0 28px 80px rgba(0,0,0,0.35);
    transform: translateY(-6px) scale(1.01);
}
.portfolio-media {
    position: relative; aspect-ratio: 16/10; overflow: hidden;
    background: var(--bg);
}
.portfolio-featured .portfolio-media { aspect-ratio: 16/9; }
.portfolio-media > img:not(.portfolio-logo) {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.25s var(--apple-ease), filter 1.25s var(--apple-ease);
}
.portfolio-item:hover .portfolio-media > img:not(.portfolio-logo) {
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.04);
}
.portfolio-media::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(to top, rgba(14,13,12,0.92) 0%, rgba(14,13,12,0.22) 58%, transparent 100%),
        linear-gradient(135deg, rgba(252,74,2,0.16), transparent 42%);
}
.portfolio-logo {
    position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
    width: 48px; border-radius: 8px; opacity: 0.88;
    box-shadow: 0 12px 28px rgba(0,0,0,0.32);
}
.portfolio-content { padding: 1.3rem; }
.portfolio-featured .portfolio-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
}
.portfolio-kicker {
    display: block; font-family: var(--mono); color: var(--orange);
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 0.55rem;
}
.portfolio-content h3 {
    font-family: var(--mono); color: var(--white);
    font-size: 1.05rem; line-height: 1.38; margin-bottom: 0.65rem;
}
.portfolio-featured .portfolio-content h3 { font-size: 1.35rem; max-width: 760px; }
.portfolio-content p { color: var(--text); font-size: 0.94rem; line-height: 1.7; }
.portfolio-featured-details {
    margin-top: auto;
    padding-top: 1.6rem;
}
.portfolio-featured-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}
.portfolio-featured-metrics div {
    min-height: 94px;
    padding: 0.95rem;
    border-radius: 8px;
    background: rgba(14,13,12,0.44);
    border: 1px solid rgba(244,243,234,0.075);
}
.portfolio-featured-metrics strong,
.portfolio-featured-metrics span {
    display: block;
}
.portfolio-featured-metrics strong {
    font-family: var(--mono);
    color: var(--white);
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
}
.portfolio-featured-metrics span {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}
.portfolio-featured-flow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(252,74,2,0.08), rgba(244,243,234,0.035), rgba(47,127,136,0.08));
    border: 1px solid rgba(252,74,2,0.1);
}
.portfolio-featured-flow span {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--white);
    white-space: nowrap;
}
.portfolio-featured-flow i {
    flex: 1;
    height: 1px;
    min-width: 28px;
    background: linear-gradient(90deg, rgba(252,74,2,0.65), rgba(244,243,234,0.12));
    box-shadow: 0 0 14px rgba(252,74,2,0.18);
}

/* ---------- Data Stream ---------- */
.data-cannon {
    padding: 4rem 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 50%, rgba(252,74,2,0.12), transparent 26%),
        radial-gradient(circle at 86% 50%, rgba(47,127,136,0.12), transparent 28%),
        linear-gradient(180deg, rgba(244,243,234,0.02), rgba(14,13,12,0.58), rgba(244,243,234,0.02));
}
.data-cannon {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
    filter: blur(12px);
    transition: opacity 1s var(--apple-ease), transform 1s var(--apple-ease), filter 1s var(--apple-ease);
}
.data-cannon.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.data-cannon-stage {
    position: relative;
    display: grid;
    grid-template-columns: 170px minmax(320px, 1fr) 210px;
    align-items: center;
    gap: 1.35rem;
    min-height: 230px;
    padding: 1.3rem;
    border: 1px solid rgba(244,243,234,0.075);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(252,74,2,0.06), transparent 34%, transparent 66%, rgba(47,127,136,0.07)),
        rgba(14,13,12,0.34);
    box-shadow: inset 0 1px 0 rgba(244,243,234,0.04), 0 28px 70px rgba(0,0,0,0.22);
}
.data-cannon-stage::before,
.data-cannon-stage::after {
    content: ''; position: absolute; top: 50%; height: 1px; width: 30%;
    background: linear-gradient(90deg, transparent, rgba(244,243,234,0.18), transparent);
    pointer-events: none;
}
.data-cannon-stage::before { left: 11%; }
.data-cannon-stage::after { right: 12%; }
.data-cannon-source,
.data-cannon-destination {
    position: relative;
    z-index: 2;
    min-height: 148px;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(244,243,234,0.07), rgba(244,243,234,0.02)),
        rgba(14,13,12,0.78);
    border: 1px solid rgba(244,243,234,0.08);
    box-shadow: 0 18px 52px rgba(0,0,0,0.28), inset 0 1px 0 rgba(244,243,234,0.04);
}
.data-cannon-source {
    display: grid;
    place-items: center;
    overflow: visible;
}
.gravity-lens {
    position: absolute;
    z-index: 1;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 24px, rgba(244,243,234,0.08) 25px 27px, transparent 28px 100%),
        conic-gradient(from 18deg, transparent 0 12%, rgba(252,74,2,0.24) 18%, transparent 28%, rgba(47,127,136,0.18) 43%, transparent 55%, rgba(244,243,234,0.16) 67%, transparent 82%),
        radial-gradient(circle, rgba(252,74,2,0.12), transparent 66%);
    box-shadow: 0 0 54px rgba(252,74,2,0.14), inset 0 0 38px rgba(0,0,0,0.42);
    opacity: 0.86;
    animation: gravityLensDrift 10s linear infinite;
}
.accretion-disc {
    position: absolute;
    z-index: 3;
    width: 142px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(90deg, transparent 2%, rgba(47,127,136,0.12) 18%, rgba(252,74,2,0.9) 39%, rgba(244,243,234,0.72) 50%, rgba(252,74,2,0.78) 62%, rgba(47,127,136,0.16) 82%, transparent 98%);
    box-shadow: 0 0 30px rgba(252,74,2,0.28);
    filter: blur(0.35px);
    mix-blend-mode: screen;
    transform: rotate(-13deg) skewX(-8deg);
    animation: accretionFlicker 3.6s var(--apple-ease) infinite;
}
.accretion-disc-b {
    width: 118px;
    height: 22px;
    z-index: 2;
    opacity: 0.46;
    filter: blur(1px);
    transform: rotate(167deg) skewX(7deg);
    animation-duration: 4.8s;
    animation-delay: 0.6s;
}
.source-orbit {
    position: absolute;
    z-index: 4;
    border-radius: 50%;
    border: 1px solid rgba(252,74,2,0.24);
    animation: sourceOrbit 6s linear infinite;
}
.source-orbit-1 { width: 96px; height: 96px; }
.source-orbit-2 {
    width: 126px; height: 126px;
    border-color: rgba(47,127,136,0.22);
    animation-duration: 9s;
    animation-direction: reverse;
}
.source-orbit::before,
.source-orbit::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 18px rgba(252,74,2,0.72);
}
.source-orbit::before { top: -4px; left: 50%; }
.source-orbit::after { bottom: 9px; right: 12px; background: var(--teal); box-shadow: 0 0 18px rgba(47,127,136,0.6); }
.source-node {
    position: absolute;
    z-index: 5;
    border-radius: 50%;
}
.source-node-main {
    width: 52px;
    height: 52px;
    background:
        radial-gradient(circle, rgba(0,0,0,0.98) 0 42%, rgba(252,74,2,0.42) 44% 47%, rgba(244,243,234,0.42) 48% 50%, rgba(252,74,2,0.18) 51% 100%);
    box-shadow: 0 0 20px rgba(0,0,0,0.88), 0 0 48px rgba(252,74,2,0.38);
    animation: eventHorizonPulse 3.2s var(--apple-ease) infinite;
}
.source-node-a,
.source-node-b {
    width: 10px;
    height: 10px;
    background: rgba(244,243,234,0.74);
}
.source-node-a { transform: translate(-42px, 28px); }
.source-node-b { transform: translate(42px, -30px); }
.source-beam {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92px;
    height: 64px;
    --beam-x: 24px;
    --beam-y: -50%;
    --beam-rotate: 0deg;
    transform: translate(var(--beam-x), var(--beam-y)) rotate(var(--beam-rotate));
    clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 66%);
    background: linear-gradient(90deg, rgba(252,74,2,0.32), rgba(252,74,2,0.08), transparent);
    filter: blur(1px);
    animation: beamBreathe 2.8s var(--apple-ease) infinite;
}
.data-cannon-destination small {
    font-family: var(--mono); font-size: 0.68rem; color: var(--text-muted);
    letter-spacing: 0.05em; text-transform: uppercase;
}
.data-stream-field {
    position: relative; z-index: 1;
    height: 184px;
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(circle at 20% 50%, rgba(252,74,2,0.08), transparent 18%),
        radial-gradient(circle at 80% 52%, rgba(47,127,136,0.1), transparent 20%),
        rgba(14,13,12,0.44);
    mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}
.data-stream-field::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: -86px;
    top: 50%;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(0,0,0,0.42) 0 28%, rgba(252,74,2,0.13) 30% 36%, transparent 38%),
        conic-gradient(from 24deg, transparent, rgba(252,74,2,0.16), transparent, rgba(47,127,136,0.1), transparent);
    transform: translateY(-50%) scaleX(0.74);
    filter: blur(2px);
    opacity: 0.72;
    pointer-events: none;
    animation: streamWarp 7s linear infinite;
}
.data-stream-field::after {
    content: '';
    position: absolute;
    z-index: 0;
    left: 4%;
    right: 8%;
    top: 50%;
    height: 88%;
    border-radius: 50%;
    border-top: 1px solid rgba(244,243,234,0.08);
    border-bottom: 1px solid rgba(252,74,2,0.1);
    transform: translateY(-50%) perspective(500px) rotateX(68deg);
    opacity: 0.45;
    pointer-events: none;
    animation: orbitPlaneGlow 4.8s var(--apple-ease) infinite;
}
.stream-grid {
    position: absolute; inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(252,74,2,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,243,234,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.45;
    animation: streamGrid 12s linear infinite;
}
.stream-light {
    position: absolute;
    z-index: 2;
    left: -20%;
    right: auto;
    width: 34%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252,74,2,0.16), rgba(244,243,234,0.12), transparent);
    filter: blur(16px);
    transform: skewX(-16deg);
    animation: streamSweep 6.5s var(--apple-ease) infinite;
}
.stream-light-2 {
    width: 24%;
    animation-delay: 2.4s;
    background: linear-gradient(90deg, transparent, rgba(47,127,136,0.18), transparent);
}
.stream-lane {
    position: absolute; z-index: 3; left: 0; right: 0; height: 34px;
}
.lane-1 { top: 36px; }
.lane-2 { top: 78px; }
.lane-3 { top: 120px; }
.stream-lane::before {
    content: ''; position: absolute; left: 0; right: 0; top: 50%;
    height: 2px; transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(252,74,2,0.46), rgba(47,127,136,0.42), transparent);
    box-shadow: 0 0 24px rgba(252,74,2,0.08);
}
.byte-chip {
    position: absolute; top: 50%; left: -78px;
    transform: translate3d(0, -50%, 0);
    min-width: 34px; text-align: center;
    padding: 0.34rem 0.5rem;
    border-radius: 8px;
    font-family: var(--mono); font-size: 0.74rem; font-weight: 700;
    color: var(--white);
    background: linear-gradient(145deg, rgba(252,74,2,0.94), rgba(252,74,2,0.58));
    border: 1px solid rgba(244,243,234,0.14);
    box-shadow: 0 0 24px rgba(252,74,2,0.24), inset 0 1px 0 rgba(244,243,234,0.18);
    animation: byteFlow 5.2s linear infinite;
    animation-delay: var(--d);
    cursor: crosshair;
    pointer-events: auto;
    user-select: none;
    transition: opacity 0.18s var(--apple-ease), transform 0.18s var(--apple-ease), filter 0.18s var(--apple-ease);
    will-change: left, opacity, transform;
}
.byte-chip.byte-hit {
    z-index: 4;
}
.byte-chip-wide { min-width: 52px; }
.byte-chip::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    border: 1px solid rgba(244,243,234,0.08);
    opacity: 0.65;
}
.byte-chip-alt {
    background: linear-gradient(145deg, rgba(47,127,136,0.94), rgba(47,127,136,0.5));
    border-color: rgba(47,127,136,0.42);
    box-shadow: 0 0 24px rgba(47,127,136,0.2);
}
.byte-chip-soft {
    color: var(--orange);
    background: rgba(244,243,234,0.08);
    border-color: rgba(244,243,234,0.12);
}
.byte-explosion-particle {
    position: absolute;
    left: var(--px);
    top: var(--py);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    background: var(--particle-color);
    box-shadow: 0 0 14px var(--particle-color);
    transform: translate(-50%, -50%) scale(1);
    animation: byteParticleBurst var(--duration) var(--apple-ease) forwards;
}
.byte-explosion-particle::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    border: 1px solid color-mix(in srgb, var(--particle-color) 70%, transparent);
    opacity: 0.45;
}
.data-cannon-destination strong {
    font-family: var(--mono); color: var(--white); font-size: 1.15rem;
    margin-bottom: 0.4rem;
}
.data-cannon-destination {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}
.destination-console {
    position: relative;
    width: 92px;
    height: 62px;
    margin-bottom: 0.9rem;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(244,243,234,0.12), rgba(244,243,234,0.03)),
        rgba(14,13,12,0.9);
    border: 1px solid rgba(244,243,234,0.12);
    box-shadow: 0 0 34px rgba(47,127,136,0.18);
}
.console-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(252,74,2,0.88);
    box-shadow: 0 0 16px rgba(252,74,2,0.58);
    animation: consoleScan 2.4s var(--apple-ease) infinite;
}
.console-bar {
    position: absolute;
    bottom: 10px;
    width: 9px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--teal), rgba(47,127,136,0.36));
}
.console-bar-1 { left: 20px; height: 18px; animation: barLift 2s var(--apple-ease) infinite; }
.console-bar-2 { left: 39px; height: 30px; animation: barLift 2.2s var(--apple-ease) infinite .2s; }
.console-bar-3 { left: 58px; height: 24px; animation: barLift 2.1s var(--apple-ease) infinite .4s; }
.console-dot {
    position: absolute;
    right: 13px;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 18px rgba(252,74,2,0.72);
    animation: sourcePulse 2.2s var(--apple-ease) infinite;
}
@keyframes byteFlow {
    0% { left: -78px; opacity: 0; transform: translate3d(0, -50%, 0) scale(0.88); }
    8% { opacity: 1; }
    84% { left: calc(100% + 12px); opacity: 1; transform: translate3d(0, -50%, 0) scale(1); }
    100% { left: calc(100% + 84px); opacity: 0; transform: translate3d(0, -50%, 0) scale(0.92); }
}
@keyframes byteParticleBurst {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    64% { opacity: 0.9; }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.18);
    }
}
@keyframes streamGrid { to { background-position: 42px 0; } }
@keyframes streamSweep {
    0% { transform: translateX(0) skewX(-16deg); opacity: 0; }
    18% { opacity: 1; }
    68% { opacity: 0.86; }
    100% { transform: translateX(410%) skewX(-16deg); opacity: 0; }
}
@keyframes sourceOrbit { to { transform: rotate(360deg); } }
@keyframes sourcePulse {
    0%, 100% { transform: scale(1); opacity: 0.84; }
    50% { transform: scale(1.08); opacity: 1; }
}
@keyframes gravityLensDrift {
    to { transform: rotate(360deg); }
}
@keyframes accretionFlicker {
    0%, 100% { opacity: 0.72; filter: blur(0.35px) saturate(1); }
    50% { opacity: 1; filter: blur(0.1px) saturate(1.3); }
}
@keyframes eventHorizonPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0,0,0,0.88), 0 0 48px rgba(252,74,2,0.34); }
    50% { transform: scale(1.05); box-shadow: 0 0 26px rgba(0,0,0,0.96), 0 0 64px rgba(252,74,2,0.48); }
}
@keyframes streamWarp {
    to { transform: translateY(-50%) scaleX(0.74) rotate(360deg); }
}
@keyframes orbitPlaneGlow {
    0%, 100% { opacity: 0.28; }
    50% { opacity: 0.58; }
}
@keyframes beamBreathe {
    0%, 100% { opacity: 0.5; transform: translate(var(--beam-x), var(--beam-y)) rotate(var(--beam-rotate)) scaleX(0.9); }
    50% { opacity: 0.95; transform: translate(var(--beam-x), var(--beam-y)) rotate(var(--beam-rotate)) scaleX(1.08); }
}
@keyframes consoleScan {
    0% { top: 9px; opacity: 0; }
    18% { opacity: 1; }
    82% { opacity: 1; }
    100% { top: 50px; opacity: 0; }
}
@keyframes barLift {
    0%, 100% { transform: scaleY(0.74); transform-origin: bottom; opacity: 0.72; }
    50% { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- CTA Section ---------- */
.cta-section {
    text-align: center; padding: 6rem 0;
    background: linear-gradient(165deg, rgba(252,74,2,0.08), rgba(255,152,0,0.04) 50%, transparent 80%);
    position: relative;
}
.cta-content h2 { font-family: var(--mono); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.cta-content p { font-size: 1.05rem; color: var(--text); max-width: 520px; margin: 0 auto 2rem; }
.cta-content .btn { opacity: 0; transform: translateY(20px) scale(0.95); transition: opacity 0.6s 0.4s, transform 0.6s 0.4s var(--elastic), box-shadow 0.3s; }
.cta-section.section-visible .cta-content .btn { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-lead { font-size: 1.2rem; color: var(--white); margin-bottom: 2rem; font-weight: 500; line-height: 1.8; }
.contact-details { margin-bottom: 2rem; }
.contact-item { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; color: var(--text); }
.contact-item svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }
.contact-item a {
    color: var(--text);
    transition: color 0.25s var(--apple-ease);
}
.contact-item a:hover { color: var(--white); }
.contact-action-panel {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(244,243,234,0.07), rgba(244,243,234,0.02)),
        rgba(26,24,22,0.78);
    border: 1px solid rgba(252,74,2,0.12);
}
.contact-action-panel::after {
    content: '';
    position: absolute;
    right: -22%;
    bottom: -52%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252,74,2,0.14), transparent 62%);
    pointer-events: none;
}
.contact-action-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--orange);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.contact-action-panel strong {
    display: block;
    position: relative;
    z-index: 1;
    color: var(--white);
    font-family: var(--mono);
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.contact-phone-options {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.7rem;
}
.contact-phone-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: rgba(14,13,12,0.5);
    border: 1px solid rgba(244,243,234,0.08);
}
.contact-phone-number {
    font-family: var(--mono);
    font-size: 0.86rem;
    color: var(--white);
    white-space: nowrap;
}
.contact-phone-actions {
    display: flex;
    gap: 0.45rem;
}
.contact-phone-actions a,
.contact-email-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--white);
    padding: 0.58rem 0.85rem;
    border-radius: 8px;
    background: rgba(252,74,2,0.13);
    border: 1px solid rgba(252,74,2,0.22);
    transition: transform 0.25s var(--apple-ease), border-color 0.25s, background 0.25s;
}
.contact-phone-actions a:hover,
.contact-email-link:hover {
    transform: translateY(-2px);
    background: rgba(252,74,2,0.22);
    border-color: rgba(252,74,2,0.42);
}
.contact-email-link {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 0.7rem;
}

.contact-form { background: var(--bg-card); padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid rgba(252,74,2,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-family: var(--mono); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 0.8rem 1rem; background: var(--bg); border: 1px solid rgba(252,74,2,0.12);
    border-radius: 8px; color: var(--white); font-family: var(--sans); font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252,74,2,0.1); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23706b66' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-status {
    min-height: 1.4rem;
    margin-top: 1rem;
    font-family: var(--mono);
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.form-status.success { color: var(--teal); }
.form-status.error { color: var(--orange); }

/* ---------- Footer ---------- */
.footer { padding: 4rem 0 2rem; border-top: 1px solid rgba(252,74,2,0.1); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-logo-img { height: 56px; border-radius: 10px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 260px; }
.footer-links h4 { font-family: var(--mono); font-size: 0.75rem; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-links a { display: block; font-size: 0.9rem; color: var(--text); padding: 0.3rem 0; transition: color 0.3s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(252,74,2,0.06); font-size: 0.8rem; color: var(--text-muted); }
.footer-mono { font-family: var(--mono); font-size: 0.75rem; }

/* ---------- Mobile ---------- */
@media (max-width: 992px) {
    .hero::after {
        background:
            linear-gradient(180deg, rgba(14,13,12,0.48) 0%, rgba(14,13,12,0.92) 58%, rgba(14,13,12,0.98) 100%),
            linear-gradient(90deg, rgba(14,13,12,0.86), rgba(14,13,12,0.72));
    }
    .hero-content { grid-template-columns: 1fr; text-align: center; align-items: center; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { justify-content: center; min-height: auto; margin-top: 1rem; }
    .hero-product-shell { width: min(620px, 100%); text-align: left; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { min-height: 360px; }
    .ai-training-layout { grid-template-columns: 1fr; }
    .ai-training-panel { min-height: 380px; }
    .cases-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-featured { grid-column: span 2; grid-row: auto; }
    .portfolio-featured-metrics { grid-template-columns: 1fr; }
    .data-cannon-stage {
        grid-template-columns: 140px minmax(220px, 1fr) 170px;
        gap: 0.75rem;
    }
    .data-cannon-source,
    .data-cannon-destination { min-height: 126px; }
    .data-stream-field { height: 154px; }
}

@media (max-width: 768px) {
    .nav-logo-img { width: 152px; max-height: 28px; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
        flex-direction: column; justify-content: center; gap: 2rem;
        background: rgba(14,13,12,0.97); backdrop-filter: blur(20px);
        padding: 2rem; transition: right 0.5s var(--ease-out);
        border-left: 1px solid rgba(252,74,2,0.1);
    }
    .nav-links.open { right: 0; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    
    .hero { padding: 7rem 0 3rem; }
    .hero-product-grid { grid-template-columns: 1fr; }
    .hero-panel-main { min-height: 230px; }
    .hero-kpi-row { grid-template-columns: 1fr; }
    .hero-panel-flow { flex-wrap: wrap; justify-content: center; }
    .hero-flow-line { flex-basis: 28px; flex-grow: 0; }
    .hero-stats { gap: 1rem; }
    .stat-number { font-size: 1.45rem; }
    .section { padding: 4rem 0; }
    .form-row { grid-template-columns: 1fr; }
    .contact-phone-card { align-items: flex-start; flex-direction: column; }
    .contact-phone-actions { width: 100%; }
    .contact-phone-actions a { flex: 1; }
    .about-visual { min-height: 310px; }
    .about-dashboard-card { width: 48%; padding: 0.8rem; }
    .about-ai-chip { width: 72px; height: 72px; font-size: 1.45rem; }
    .about-control-card { right: 7%; bottom: 9%; }
    .dashboard-bars { height: 62px; }
    .footer-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-featured { grid-column: span 1; }
    .portfolio-featured .portfolio-content h3 { font-size: 1.1rem; }
    .portfolio-featured-flow { flex-wrap: wrap; }
    .portfolio-featured-flow i { flex-basis: 24px; flex-grow: 0; }
    .ai-training-panel { min-height: auto; padding: 1.4rem; }
    .ai-training-visual { min-height: 220px; }
    .training-copilot { right: 5%; bottom: 8%; width: 138px; height: 118px; }
    .training-copilot::before { display: none; }
    .copilot-modules { right: 12px; bottom: 18px; grid-template-columns: repeat(4, 18px); gap: 3px; }
    .copilot-module { width: 18px; height: 66px; }
    .copilot-module-a { height: 54px; }
    .copilot-module-b { height: 80px; }
    .copilot-module-c { height: 72px; }
    .copilot-module-d { height: 50px; }
    .copilot-status-line { left: 14px; bottom: 18px; width: 38px; height: 20px; }
    .ai-training-grid { grid-template-columns: 1fr; }
    .training-card { min-height: auto; }
    .training-proof-row { grid-template-columns: 1fr; }
    .data-cannon-stage {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 1rem;
    }
    .data-cannon-source,
    .data-cannon-destination {
        width: min(260px, 100%);
        margin: 0 auto;
    }
    .source-beam {
        --beam-x: -50%;
        --beam-y: 34px;
        --beam-rotate: 90deg;
    }
    .data-stream-field { height: 180px; width: 100%; }
}
