/* ==========================================================================
   The Developers — identity: black + off-white, glass cards, circular motifs
   ========================================================================== */

:root {
  --black: #0a0a09;
  --black-soft: #131210;
  --black-elev: #1a1916;
  --off-white: #f6f2e9;
  --off-white-dim: #ece6d6;
  --paper: #fbf9f4;
  --gray-900: #1b1b18;
  --gray-600: #a8a394;
  --gray-400: #7c7768;
  --gray-200: #2a2924;
  --line: rgba(246,242,233,.09);
  --accent: #e0a84a;
  --accent-2: #f3c877;
  --accent-dark: #b5822e;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'Poppins', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --ink-muted: #6b675c;
  --ink-faint: #a29c8c;

  --container: 1180px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 10px 26px rgba(0,0,0,.28);
  --shadow-md: 0 20px 46px rgba(0,0,0,.36);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.lang-ar,
body.lang-ar .laptop-bar em,
body.lang-ar .laptop-code { font-family: var(--font-ar); }
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4,
body.lang-ar .btn, body.lang-ar .brand-name, body.lang-ar .nav-link,
body.lang-ar .eyebrow-label, body.lang-ar .hero-orbit-label { font-family: var(--font-ar); }
body.lang-ar { line-height: 1.85; }

img, svg { display: block; max-width: 100%; }

/* ==========================================================================
   RTL — Arabic reading direction
   ========================================================================== */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .nav-link::after { left: auto; right: 0; }
[dir="rtl"] .eyebrow-dash { order: 2; }
[dir="rtl"] .text-link { border-bottom-color: var(--accent); }
[dir="rtl"] .work-thumb span,
[dir="rtl"] .laptop-code,
[dir="rtl"] .laptop-bar em,
[dir="rtl"] .hero-orbit-ring text,
[dir="rtl"] .phone-status,
[dir="rtl"] .perf-score { direction: ltr; }
[dir="rtl"] .hero-stats,
[dir="rtl"] .about-stats,
[dir="rtl"] .platform-ratings { text-align: right; }
[dir="rtl"] .faq-question { text-align: right; }
[dir="rtl"] .footer-bottom { direction: rtl; }

/* ==========================================================================
   LANGUAGE TOGGLE
   ========================================================================== */
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  background: rgba(246,242,233,.06); border: 1px solid var(--line); color: var(--gray-600);
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--off-white); }
.lang-toggle-en, .lang-toggle-ar { transition: color .2s; }
.lang-toggle-sep { color: var(--gray-400); }
body:not(.lang-ar) .lang-toggle-en { color: var(--accent); }
body.lang-ar .lang-toggle-ar { color: var(--accent); }
.lang-toggle--mobile { display: none; margin: 20px 24px 0; }
@media (max-width: 940px) {
  .header-actions .lang-toggle:not(.lang-toggle--mobile) { display: none; }
  .lang-toggle--mobile { display: inline-flex; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  color: var(--off-white);
}

h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
h2 .dim { color: var(--gray-400); }
h2 .grad {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; color: var(--gray-600); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section { padding: 130px 0; position: relative; overflow: hidden; }
@media (max-width: 720px) { .section { padding: 80px 0; } }

.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* faint dot-grid used across dark sections */
.bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ==========================================================================
   SECTION FX — side-mounted glowing dots + spine line
   Idle until scrolled into view, then intensify on hover. Different motion
   per section, alternating left/right.
   ========================================================================== */
.fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* short horizontal sweep, used on the slim logo strip */
.fx--scan::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 240px; left: -240px;
  background: linear-gradient(90deg, transparent, rgba(224,168,74,.16), transparent);
  transition: opacity .6s var(--ease);
  opacity: 0;
}
.fx--scan.is-revealed::after { opacity: 1; animation: fx-scan 7s ease-in-out infinite; }
@keyframes fx-scan { 0% { left: -240px; } 60%, 100% { left: 110%; } }

.fx-side {
  position: absolute; top: 0; bottom: 0; width: 170px; z-index: 0; pointer-events: auto;
  opacity: 0; transition: opacity .9s var(--ease);
}
.fx-side--left { left: 0; }
.fx-side--right { right: 0; }
.fx-side.is-revealed { opacity: 1; }

.fx-side::before {
  content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 25%, var(--line) 75%, transparent);
  transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease), background .3s;
}
.fx-side.is-revealed::before { transform: scaleY(1); }
.fx-side:hover::before { background: linear-gradient(180deg, transparent, rgba(224,168,74,.55) 25%, rgba(224,168,74,.55) 75%, transparent); }

.fx-dot {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(224,168,74,.6);
  transform: scale(0); transition: transform .5s var(--ease), box-shadow .3s;
  transition-delay: var(--d);
}
.fx-side.is-revealed .fx-dot { transform: scale(1); }
.fx-side:hover .fx-dot { box-shadow: 0 0 16px rgba(224,168,74,1); }

.fx-side--sweep.is-revealed .fx-dot { animation: fx-dot-sweep 6.5s ease-in-out infinite; animation-delay: var(--d); }
.fx-side--drift.is-revealed .fx-dot { animation: fx-dot-drift 5.5s ease-in-out infinite; animation-delay: var(--d); }
.fx-side--pulse.is-revealed .fx-dot { animation: fx-dot-pulse 3.2s ease-in-out infinite; animation-delay: var(--d); }
.fx-side--orbit.is-revealed .fx-dot { animation: fx-dot-orbit 6s linear infinite; animation-delay: var(--d); }

@keyframes fx-dot-sweep {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(26px, -6px) scale(1); }
}
@keyframes fx-dot-drift { 0%, 100% { transform: translateX(0) scale(1); } 50% { transform: translateX(16px) scale(1); } }
@keyframes fx-dot-pulse { 0%, 100% { transform: scale(1); opacity: .65; } 50% { transform: scale(1.7); opacity: 1; } }
@keyframes fx-dot-orbit { from { transform: rotate(0deg) translateX(7px) scale(1); } to { transform: rotate(360deg) translateX(7px) scale(1); } }

/* ==========================================================================
   PARALLAX BACKGROUND — fixed-attachment layer for content-heavy sections
   ========================================================================== */
.parallax-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--line) 1.5px, transparent 1.5px);
  background-size: 38px 38px;
  background-attachment: fixed;
  opacity: .8;
}
.light-section .parallax-bg {
  background-image: radial-gradient(rgba(11,11,10,.12) 1.5px, transparent 1.5px);
}
@media (max-width: 900px), (pointer: coarse) {
  .parallax-bg { background-attachment: scroll; }
}

/* ambient dot-grid + pulsing glow reused by hero and CTA */
@keyframes fx-pulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes fx-diagonal { from { background-position: 0 0; } to { background-position: 340px 340px; } }

@media (prefers-reduced-motion: reduce) {
  .fx-dot, .fx-side::before, .fx--scan::after, .hero-grid, .cta-grid { animation: none; }
}

/* ---------- shared bits ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow--center { justify-content: center; }
.eyebrow-dash { width: 22px; height: 2px; border-radius: 2px; background: var(--accent); display: inline-block; }
.eyebrow-star { color: var(--accent); flex-shrink: 0; }
.eyebrow-label { white-space: nowrap; }

.lead { font-size: 1.06rem; max-width: 46ch; color: var(--gray-600); }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
@media (max-width: 720px) { .section-head--split { flex-direction: column; align-items: flex-start; } }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .95rem; color: var(--off-white);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: gap .2s var(--ease), opacity .2s;
}
.text-link:hover { gap: 10px; opacity: .7; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 8px 8px 8px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { background: rgba(0,0,0,.12); border-radius: 50%; width: 34px; height: 34px; padding: 9px; box-sizing: border-box; }
.btn:not(:has(svg)) { padding: 15px 28px; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--off-white); color: var(--black); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--paper); }
.btn-accent { background: linear-gradient(135deg, var(--accent-2), var(--accent-dark)); color: var(--black); box-shadow: 0 14px 30px rgba(224,168,74,.28); }
.btn-accent svg { background: rgba(0,0,0,.15); }
.btn-accent:hover { box-shadow: 0 18px 38px rgba(224,168,74,.4); }
.btn-ghost { background: transparent; color: var(--off-white); border-color: var(--line); padding: 15px 28px; }
.btn-ghost:hover { background: rgba(246,242,233,.06); border-color: rgba(246,242,233,.3); }
.btn-sm { padding: 6px 6px 6px 18px; font-size: .85rem; }
.btn-sm:not(:has(svg)) { padding: 11px 20px; }
.btn-sm svg { width: 28px; height: 28px; padding: 7px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(9,9,8,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  font-family: var(--font-mono); font-weight: 500;
  background: var(--accent); color: var(--black);
  padding: 6px 9px; border-radius: 8px; font-size: .85rem;
}
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  letter-spacing: -0.02em; text-transform: lowercase; color: var(--off-white);
}
.brand-name .dot { color: var(--accent); }

.main-nav--inline ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.main-nav--mobile { display: none; }
.nav-link {
  font-size: .93rem; font-weight: 500; color: var(--gray-600);
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; border-radius: 2px; background: var(--accent);
  transition: width .25s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--off-white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--gray-600); }
.header-phone:hover { color: var(--accent); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--off-white); transition: transform .25s, opacity .25s; }

@media (max-width: 940px) {
  .header-phone { display: none; }
  .main-nav--inline { display: none; }
  .main-nav--mobile {
    display: block;
    position: fixed; top: 84px; left: 0; right: 0; bottom: 0; z-index: 490;
    background: var(--black);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .main-nav--mobile.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav--mobile ul { list-style: none; margin: 0; padding: 12px 24px; display: flex; flex-direction: column; gap: 0; }
  .main-nav--mobile li { border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding: 16px 0; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   HERO — circular orbit motif
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 90px;
  background: var(--black);
  color: var(--off-white);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 75%);
  animation: fx-diagonal 18s linear infinite;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0;
  animation: float 9s ease-in-out infinite;
}
.hero-blob--1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(224,168,74,.28), transparent 70%); top: -160px; right: -100px; }
.hero-blob--2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(246,242,233,.07), transparent 70%); bottom: -180px; left: -120px; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-26px) translateX(14px); }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
}
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-title { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin-bottom: 22px; color: var(--off-white); }
.hero-title .hl {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.1rem; max-width: 52ch; margin-bottom: 34px; color: var(--gray-600); }
.hero-actions { display: flex; gap: 16px; margin-bottom: 60px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 36px;
  margin: 0; padding-top: 30px; border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  background: linear-gradient(90deg, var(--off-white), var(--gray-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats dd { margin: 4px 0 0; font-size: .82rem; color: var(--gray-400); }
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 24px; } }

/* hero circular orbit */
.hero-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.hero-orbit { position: relative; width: 320px; height: 320px; }
.hero-orbit-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: spin 22s linear infinite; fill: var(--gray-400);
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-orbit-core {
  position: absolute; inset: 46px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(224,168,74,.25), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(246,242,233,.05), transparent 60%),
    var(--black-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), inset 0 0 50px rgba(0,0,0,.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  animation: panel-float 7s ease-in-out infinite;
}
@keyframes panel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-orbit-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  color: var(--black); font-family: var(--font-mono); font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.hero-orbit-label { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--off-white); text-transform: lowercase; }
.hero-orbit-sub { font-family: var(--font-mono); font-size: .72rem; color: var(--gray-400); }

.hero-orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(224,168,74,.7); }
.hero-orbit-dot--1 { top: 6%; left: 12%; }
.hero-orbit-dot--2 { bottom: 10%; right: 6%; background: var(--off-white); box-shadow: none; opacity: .5; }
.hero-orbit-dot--3 { top: 45%; right: -2%; width: 5px; height: 5px; }

.hero-chip {
  position: absolute; background: var(--black-elev); color: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px; animation: chip-float 6s ease-in-out infinite;
}
.hero-chip strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--accent); }
.hero-chip span { font-size: .75rem; color: var(--gray-400); }
.hero-chip--1 { left: -20px; bottom: 14%; }
.hero-chip--2 { right: -16px; top: 4%; animation-delay: -3s; }
.hero-chip-stars { color: var(--accent); letter-spacing: 1px; font-size: .8rem; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 980px) {
  .hero-visual { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero-orbit { width: 260px; height: 260px; }
  .hero-orbit-core { inset: 38px; }
  .hero-chip { padding: 10px 14px; }
  .hero-chip strong { font-size: 1rem; }
}

/* ==========================================================================
   LOGO STRIP
   ========================================================================== */
.logo-strip { padding: 50px 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.logo-strip .container { position: relative; z-index: 1; }
.logo-strip-label { font-family: var(--font-mono); font-size: .78rem; color: var(--gray-400); margin-bottom: 22px; text-align: center; }
.logo-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 44px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .05em;
  color: var(--gray-400);
}

/* ==========================================================================
   SCROLL REVEAL — laptop opens + code types, pinned like an Apple product page
   ========================================================================== */
.reveal-lab { position: relative; height: 320vh; background: var(--black); }
.reveal-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 24px;
}
.reveal-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 45%, black, transparent 70%);
}
.reveal-eyebrow {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 40px;
}
.reveal-caption {
  position: relative; z-index: 1; margin: 36px 0 0; max-width: 42ch; text-align: center;
  color: var(--gray-400); font-size: 1.05rem; opacity: 0; transition: opacity .4s var(--ease);
}

.laptop { position: relative; z-index: 1; width: min(680px, 82vw); perspective: 1800px; }
.laptop-screen {
  position: relative; width: 100%; aspect-ratio: 16/10.4;
  background: var(--black-elev);
  border: 1px solid var(--line); border-radius: 18px 18px 5px 5px;
  transform-origin: bottom center;
  transform: rotateX(var(--lid, 90deg));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.laptop-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 64px; height: 7px; background: var(--black); border-radius: 0 0 7px 7px;
}
.laptop-screen-inner {
  position: absolute; inset: 8px; border-radius: 10px; background: #08080a;
  display: flex; flex-direction: column; overflow: hidden;
  opacity: var(--screen-op, 0); transition: opacity .3s;
}
.laptop-bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 14px;
  border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.laptop-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-200); }
.laptop-bar span:nth-child(1) { background: #e5645b; }
.laptop-bar span:nth-child(2) { background: #e5b83f; }
.laptop-bar span:nth-child(3) { background: #57c26b; }
.laptop-bar em {
  font-style: normal; margin-left: 10px; font-size: .72rem; color: var(--gray-400); font-family: var(--font-mono);
}
.laptop-code {
  flex: 1; margin: 0; padding: 16px 20px; overflow: hidden;
  font-family: var(--font-mono); font-size: .84rem; line-height: 1.8; color: var(--accent-2);
  white-space: pre-wrap; word-break: break-word;
}
.laptop-code .c-dim { color: var(--gray-400); }
.laptop-code .cursor {
  display: inline-block; width: 7px; height: 1em; background: var(--off-white);
  vertical-align: text-bottom; margin-left: 2px; animation: reveal-blink 1s step-end infinite;
}
@keyframes reveal-blink { 50% { opacity: 0; } }

.laptop-hinge { width: 94%; height: 7px; margin: 0 auto; background: linear-gradient(180deg, #242119, #131210); }
.laptop-base {
  position: relative; width: 116%; margin-left: -8%; height: 15px;
  background: linear-gradient(180deg, #2b2820, #141310);
  border-radius: 3px 3px 12px 12px; box-shadow: var(--shadow-md);
}
.laptop-notch-cut {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 86px; height: 5px; background: var(--black); border-radius: 0 0 5px 5px;
}

@media (max-width: 720px) {
  .reveal-lab { height: 260vh; }
  .laptop { width: 92vw; }
}
@media (prefers-reduced-motion: reduce) {
  .laptop-screen { transform: rotateX(8deg) !important; }
  .laptop-screen-inner { opacity: 1 !important; }
  .reveal-caption { opacity: 1 !important; }
}

/* ==========================================================================
   SCROLL REVEAL — mobile mockup spins into view
   ========================================================================== */
.reveal-mobile { position: relative; height: 260vh; background: var(--black); }

.phone {
  position: relative; z-index: 1; width: 280px; perspective: 1400px;
  transform-style: preserve-3d;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%) rotateY(var(--spin, 70deg));
  width: 90px; height: 20px; background: var(--black); border-radius: 12px; z-index: 3;
}
.phone-screen,
.phone-notch {
  transform: rotateY(var(--spin, 70deg));
}
.phone::before {
  content: "";
  position: absolute; inset: -10px -10px -10px -10px;
  background: var(--black-elev); border-radius: 42px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: rotateY(var(--spin, 70deg));
  transform-origin: center;
}
.phone-screen {
  position: relative; z-index: 2; aspect-ratio: 9/18.5; border-radius: 32px;
  background: #08080a; overflow: hidden; transform-origin: center;
  opacity: var(--phone-op, 0); transition: opacity .3s;
  display: flex; flex-direction: column;
  padding: 16px 14px 0;
  box-sizing: border-box;
}
.phone-status { display: flex; justify-content: space-between; font-size: .62rem; color: var(--gray-400); font-family: var(--font-mono); margin-bottom: 10px; }
.phone-app-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.phone-brand-mark {
  font-family: var(--font-mono); font-weight: 500; font-size: .68rem;
  background: var(--accent); color: var(--black); padding: 3px 6px; border-radius: 5px;
}
.phone-app-title { font-family: var(--font-display); font-weight: 600; font-size: .8rem; color: var(--off-white); text-transform: lowercase; }
.phone-hero-img {
  height: 26%; border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
}
.phone-headline { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.phone-headline span { height: 11px; border-radius: 4px; background: var(--gray-200); }
.phone-headline span:first-child { width: 90%; }
.phone-headline span:last-child { width: 62%; }
.phone-cta-pill { width: 40%; height: 22px; border-radius: 999px; background: var(--accent); margin-bottom: 16px; }
.phone-chip-row { display: flex; gap: 8px; margin-bottom: 12px; }
.phone-chip-row span { flex: 1; height: 8px; border-radius: 999px; background: var(--gray-200); }
.phone-card { display: flex; align-items: center; gap: 10px; background: var(--black-elev); border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.phone-card span:first-child { width: 34px; height: 34px; border-radius: 9px; background: var(--gray-200); flex-shrink: 0; }
.phone-card span:last-child { flex: 1; height: 8px; border-radius: 999px; background: var(--gray-200); }
.phone-home-indicator {
  position: relative; z-index: 2; width: 100px; height: 4px; border-radius: 999px;
  background: var(--gray-400); margin: 10px auto 0;
  transform: rotateY(var(--spin, 70deg));
}

@media (max-width: 720px) {
  .reveal-mobile { height: 220vh; }
  .phone { width: 66vw; max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-screen, .phone-notch, .phone::before, .phone-home-indicator { transform: rotateY(0deg) !important; }
  .phone-screen { opacity: 1 !important; }
}

/* ==========================================================================
   SCROLL REVEAL — performance gauge fills up
   ========================================================================== */
.reveal-perf { position: relative; height: 260vh; background: var(--black); }

.perf-gauge { position: relative; z-index: 1; width: 240px; height: 240px; }
.perf-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.perf-ring-track { fill: none; stroke: var(--line); stroke-width: 10; }
.perf-ring-fill {
  fill: none; stroke: var(--accent); stroke-width: 10;
  stroke-linecap: round; transition: stroke-dashoffset .1s linear;
}
.perf-gauge-center {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.perf-score {
  font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; color: var(--off-white); line-height: 1;
}
.perf-score-label { font-family: var(--font-mono); font-size: .78rem; color: var(--gray-400); margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; }

.perf-bar-wrap {
  position: relative; z-index: 1; width: min(420px, 80vw); height: 8px; border-radius: 999px;
  background: var(--black-elev); border: 1px solid var(--line); margin-top: 34px; overflow: hidden;
}
.perf-bar { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--accent-dark)); transition: width .1s linear; }

@media (max-width: 720px) {
  .reveal-perf { height: 220vh; }
  .perf-gauge { width: 190px; height: 190px; }
  .perf-score { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .perf-ring-fill { stroke-dashoffset: 0 !important; }
}

/* ---------- glass card, shared ---------- */
.glass {
  background: linear-gradient(160deg, rgba(246,242,233,.045), rgba(246,242,233,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.glass::before {
  content: ""; position: absolute; top: 20px; left: 22px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px rgba(224,168,74,.7);
}
[dir="rtl"] .glass::before { left: auto; right: 22px; }

/* ==========================================================================
   LIGHT-MODE SECTIONS — a few sections flip to off-white for rhythm
   ========================================================================== */
.light-section { background: var(--paper); }
.light-section h1, .light-section h2, .light-section h3, .light-section h4 { color: var(--black); }
.light-section p, .light-section .lead { color: var(--ink-muted); }
.light-section .eyebrow { color: var(--accent-dark); }
.light-section .eyebrow-star, .light-section .eyebrow-dash { color: var(--accent-dark); background: var(--accent-dark); }
.light-section .text-link { color: var(--black); border-bottom-color: var(--accent-dark); }
.light-section .glass {
  background: #fff;
  border-color: rgba(11,11,10,.08);
  box-shadow: var(--shadow-sm);
}
.light-section .glass::before { background: var(--accent-dark); box-shadow: 0 0 10px rgba(181,130,46,.5); }
.light-section .fx-side::before {
  background: linear-gradient(180deg, transparent, rgba(11,11,10,.14) 25%, rgba(11,11,10,.14) 75%, transparent);
}
.light-section .fx-side:hover::before {
  background: linear-gradient(180deg, transparent, rgba(224,168,74,.6) 25%, rgba(224,168,74,.6) 75%, transparent);
}
.light-section .work-tag { color: var(--accent-dark); }
.light-section .work-meta p { color: var(--ink-muted); }
.light-section .insight-tag { color: var(--accent-dark); background: rgba(224,168,74,.12); }
.light-section .insight-date { color: var(--ink-faint); }
.light-section .overview-icon { box-shadow: 0 10px 20px rgba(224,168,74,.25); }

/* ==========================================================================
   SERVICES OVERVIEW (3 cards)
   ========================================================================== */
.services-overview { padding: 90px 0 20px; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.overview-card {
  padding: 42px 34px 34px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.overview-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(224,168,74,.3); }
.overview-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  color: var(--black); border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
@media (max-width: 780px) { .overview-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 74px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 44px; } }

.about-visual-frame {
  padding: 34px; position: relative; overflow: hidden;
  background-image:
    linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 18px 18px;
}
.tag-chip {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem;
  background: rgba(246,242,233,.06); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 22px; color: var(--gray-400);
}
.code-lines { font-family: var(--font-mono); font-size: .88rem; display: flex; flex-direction: column; gap: 11px; }
.code-lines i { color: var(--gray-400); font-style: normal; margin-right: 12px; }
.code-lines b { color: var(--accent); font-weight: 500; }

.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin: 34px 0; }
.about-stats strong {
  display: block; font-family: var(--font-display); font-size: 1.8rem;
  background: linear-gradient(90deg, var(--off-white), var(--gray-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-stats span { font-size: .83rem; color: var(--gray-400); }

/* ==========================================================================
   SERVICES DEEP DIVE
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  padding: 40px 34px 34px; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(224,168,74,.3); }
.service-index {
  position: absolute; top: 24px; right: 30px;
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: rgba(246,242,233,.05);
  line-height: 1;
}
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  margin-bottom: 22px; background: rgba(246,242,233,.06); color: var(--accent);
  border: 1px solid var(--line);
}
@media (max-width: 780px) { .services-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   WORK / PORTFOLIO
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .work-grid { grid-template-columns: 1fr; } }

.work-thumb {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; box-shadow: var(--shadow-md); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work-card:hover .work-thumb { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow-lg); }
.work-thumb span {
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem;
  color: rgba(246,242,233,.12);
}
.work-thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(135deg, transparent 0 48%, rgba(246,242,233,.05) 48% 52%, transparent 52% 100%);
  background-size: 22px 22px;
}
.work-thumb[data-pattern="1"] { background: linear-gradient(160deg, #26231d, #141310); }
.work-thumb[data-pattern="2"] { background: linear-gradient(160deg, #2c2210, #141310); }
.work-thumb[data-pattern="2"] span { color: rgba(224,168,74,.35); }
.work-thumb[data-pattern="3"] { background: linear-gradient(160deg, #221f19, #121110); }
.work-thumb[data-pattern="4"] { background: linear-gradient(160deg, #1c1a16, #0d0c0b); }
.work-thumb[data-pattern="5"] { background: linear-gradient(160deg, #262119, #141310); }
.work-thumb[data-pattern="6"] { background: linear-gradient(160deg, #201d17, #100f0d); }
.work-thumb[data-pattern="6"] span { color: rgba(224,168,74,.3); }

.work-tag {
  font-family: var(--font-mono); font-size: .72rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: .05em;
}
.work-meta h3 { margin: 8px 0 6px; }
.work-meta p { margin: 0; font-size: .92rem; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  position: relative; padding: 32px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(224,168,74,.3); }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--font-mono); font-size: .85rem; color: var(--black);
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark)); margin-bottom: 16px;
}

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-us { overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

.why-list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list svg {
  flex-shrink: 0; color: var(--black); background: linear-gradient(135deg, var(--accent-2), var(--accent-dark)); border-radius: 50%;
  padding: 9px; width: 38px; height: 38px; box-sizing: border-box;
}
.why-list strong { display: block; margin-bottom: 4px; color: var(--off-white); }
.why-list span { font-size: .9rem; color: var(--gray-400); }

.why-stat-panel { padding: 48px; }
.why-stat-num {
  font-family: var(--font-display); font-size: 4.2rem; font-weight: 700; display: block; line-height: 1;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why-stat-label { display: block; margin: 16px 0 28px; font-size: 1.02rem; color: var(--gray-600); max-width: 30ch; }
.why-stat-rule { height: 1px; background: var(--line); margin-bottom: 18px; }
.why-stat-foot { font-size: .82rem; color: var(--gray-400); margin: 0; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.rating-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: .9rem; }
.rating-score { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--off-white); }
.rating-score small { font-weight: 400; font-size: .8rem; color: var(--gray-400); }
.rating-stars { color: var(--accent); letter-spacing: 2px; }
.rating-count { color: var(--gray-400); }

.testimonial-track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1000px; margin: 0 auto;
}
.testimonial-card {
  padding: 34px;
  display: none;
}
.testimonial-card.is-active { display: block; }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { color: var(--gray-600); font-size: .98rem; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent-dark)); color: var(--black);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: .78rem;
  flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: .92rem; color: var(--off-white); }
.testimonial-person span { font-size: .8rem; color: var(--gray-400); }

@media (max-width: 900px) {
  .testimonial-track { grid-template-columns: 1fr; max-width: 480px; }
}

.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.testimonial-controls button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--black-elev); box-shadow: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--off-white);
  transition: background .2s, color .2s, transform .2s;
}
.testimonial-controls button:hover { background: var(--accent); color: var(--black); transform: translateY(-2px); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--gray-200); box-shadow: none;
  padding: 0; cursor: pointer;
}
.testimonial-dots button.is-active { background: var(--accent); }

.platform-ratings {
  display: flex; justify-content: center; gap: 60px; margin-top: 60px;
  padding-top: 42px; border-top: 1px solid var(--line); flex-wrap: wrap; text-align: center;
}
.platform-ratings strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--off-white); }
.platform-ratings span { font-size: .82rem; color: var(--gray-400); }

/* ==========================================================================
   INSIGHTS
   ========================================================================== */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; } }
.insight-card {
  padding: 32px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(224,168,74,.3); }
.insight-tag {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .05em; color: var(--accent); background: rgba(224,168,74,.1);
  padding: 4px 10px; border-radius: 999px;
}
.insight-card h3 { margin: 14px 0 8px; font-size: 1.1rem; }
.insight-date { font-size: .8rem; color: var(--gray-400); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 30px; } }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  padding: 0 24px;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item.is-open { box-shadow: var(--shadow-md); border-color: rgba(224,168,74,.3); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 22px 0; color: var(--off-white);
}
.faq-question svg {
  flex-shrink: 0; transition: transform .25s var(--ease), background .2s, color .2s;
  background: rgba(246,242,233,.06); border-radius: 50%; padding: 8px; width: 32px; height: 32px; box-sizing: border-box;
  color: var(--off-white);
}
.faq-item.is-open .faq-question svg { transform: rotate(45deg); background: var(--accent); color: var(--black); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
}
.faq-item.is-open .faq-answer { max-height: 200px; }
.faq-answer p { padding-bottom: 24px; margin: 0; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner { background: var(--black-soft); padding: 120px 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 30% 30%, black, transparent 70%);
  animation: fx-pulse 5s ease-in-out infinite;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; }
.cta-banner .lead { color: var(--gray-600); }

.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.cta-email-line { margin: 18px 0 0; }
.cta-email-line a { font-weight: 600; color: var(--off-white); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.cta-email-line a:hover { color: var(--accent); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--paper); padding: 90px 0 0; }
.site-footer .brand-name { color: var(--black); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(11,11,10,.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: .9rem; margin: 16px 0 20px; max-width: 32ch; color: var(--ink-muted); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid rgba(11,11,10,.1);
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, transform .2s;
  color: var(--black);
}
.footer-social a:hover { background: var(--accent); color: var(--black); transform: translateY(-2px); }

.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; color: var(--black); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: .9rem; color: var(--ink-muted); }
.footer-col a:hover { color: var(--accent-dark); }

.footer-bottom {
  display: flex; justify-content: space-between; padding: 26px 0; font-size: .82rem; color: var(--ink-faint);
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark)); color: var(--black); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--off-white); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-blob, .hero-orbit-core, .hero-chip, .hero-orbit-ring { animation: none; }
}
