/* =========================================================
   ForgeSafe & AI for Africa — stylesheet
   ========================================================= */

:root {
  --bg: #f7f8fa;
  --bg-alt: #eef1f5;
  --bg-card: #ffffff;
  --border: rgba(13, 20, 30, 0.1);
  --text: #10151f;
  --text-dim: #4a5568;
  --text-faint: #78829a;
  --accent: #e8c572;
  --accent-2: #c99e48;
  --accent-rgb: 232, 197, 114;
  --accent2-rgb: 201, 158, 72;
  --brand-navy: #0d2255;
  --brand-navy-rgb: 13, 34, 85;
  --radius: 14px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

ul { list-style: none; margin: 0; padding: 0; }

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

.text-gradient {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* subtle grain overlay for texture */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.03;
  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");
}

/* =============== SCROLL PROGRESS BAR =============== */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 300;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7);
}

/* =============== CUSTOM CURSOR =============== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 250;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  will-change: transform, opacity;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  opacity: 0;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  opacity: 0;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}
.cursor-ring.is-active {
  width: 64px; height: 64px;
  background: rgba(var(--accent-rgb), 0.08);
  border-color: var(--accent);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}
html.has-custom-cursor,
html.has-custom-cursor a,
html.has-custom-cursor button {
  cursor: none;
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.magnetic { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color .25s var(--ease); }
.magnetic span { display: inline-block; transition: transform 0.25s var(--ease); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #14100a;
  box-shadow: 0 8px 24px -8px rgba(var(--accent-rgb), 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(var(--accent-rgb), 0.7); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* =============== HEADER =============== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(247, 248, 250, 0.65);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(247, 248, 250, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-mark img { height: 32px; width: auto; display: block; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-accent { color: var(--accent); }
.brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.92rem;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============== HERO =============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-lines {
  position: absolute; inset: -40px;
  background-image:
    linear-gradient(rgba(16,21,31,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,21,31,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  transition: transform 0.2s linear;
}
/* rotating wireframe globe, embedded behind the circuit lines */
.hero-globe {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: min(50vw, 580px);
  height: min(50vw, 580px);
  mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, black 65%, transparent 97%);
}
@media (max-width: 980px) {
  .hero-globe { width: 62vw; height: 62vw; right: -10%; }
}
@media (max-width: 760px) {
  .hero-globe { width: 82vw; height: 82vw; right: -16%; opacity: 0.75; }
}

.circuit {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.35;
}
.circuit-path {
  fill: none;
  stroke: url(#gradShield);
  stroke-width: 1.4;
  stroke-dasharray: 12 10;
  animation: circuitFlow 18s linear infinite;
  opacity: 0.6;
}
.circuit-path-2 { animation-duration: 24s; animation-direction: reverse; opacity: 0.4; }
.circuit-node {
  fill: var(--accent);
  opacity: 0.7;
  animation: nodePulse 3s ease-in-out infinite;
}
.circuit-node:nth-child(4) { fill: var(--accent-2); animation-delay: 0.6s; }
.circuit-node:nth-child(5) { animation-delay: 1.2s; }
.circuit-node:nth-child(6) { fill: var(--accent-2); animation-delay: 1.8s; }
@keyframes circuitFlow { to { stroke-dashoffset: -440; } }
@keyframes nodePulse {
  0%, 100% { opacity: 0.35; r: 3; }
  50% { opacity: 1; r: 5; }
}

.glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  animation: glowDrift 14s ease-in-out infinite;
}
.glow-1 { background: var(--accent); top: -180px; left: -120px; }
.glow-2 { background: var(--accent-2); bottom: -220px; right: -140px; opacity: 0.18; animation-delay: -6s; animation-duration: 18s; }
@keyframes glowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .glow, .circuit-path, .circuit-node { animation: none; }
}

.hero-inner { position: relative; z-index: 1; padding: 60px 24px 100px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.06);
}
.eyebrow-prompt { color: var(--accent-2); font-weight: 700; }
.eyebrow-cursor {
  display: inline-block;
  animation: blinkCursor 1s step-end infinite;
  color: var(--accent);
}
@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  max-width: 18ch;
  margin-bottom: 22px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line-inner {
  display: block;
  transform: translateY(110%);
  will-change: transform;
  transition: transform 0.9s var(--ease);
}
.hero-title .line:nth-child(1) .line-inner { transition-delay: 0.15s; }
.hero-title .line:nth-child(2) .line-inner { transition-delay: 0.28s; }
.hero-title .line:nth-child(3) .line-inner { transition-delay: 0.41s; }
.hero-title.is-revealed .line-inner { transform: translateY(0); }

.hero-lead {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}
.stat-label { font-size: 0.82rem; color: var(--text-faint); }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.scroll-cue span {
  width: 1px; height: 40px;
  background: linear-gradient(var(--text-faint), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-cue p {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* =============== MARQUEE =============== */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee-track span:not(.dot) {
  padding: 0 4px;
  transition: color 0.2s ease;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee .dot { color: var(--accent); font-size: 0.7rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* =============== SECTION SHARED =============== */
section { position: relative; padding: 120px 0; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-index {
  font-family: "Space Grotesk", monospace;
  font-size: 0.78rem;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.02em;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 22ch;
  margin-bottom: 20px;
}
.section-lead {
  color: var(--text-dim);
  max-width: 60ch;
  font-size: 1.02rem;
  margin-bottom: 56px;
}

/* =============== SERVICES =============== */
.services { background: var(--bg-alt); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.14), transparent 70%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

.service-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.14), rgba(var(--accent2-rgb),0.1));
  color: var(--accent);
  margin-bottom: 24px;
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.service-card > p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 20px; }

.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* =============== DEMOS =============== */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.demo-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.demo-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), 0.35); }

.demo-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #dfe3e9;
  overflow: hidden;
}
.demo-poster {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.4s ease;
}
.demo-card:hover .demo-poster { opacity: 1; transform: scale(1.04); }

.demo-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.demo-preview {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.demo-media.is-previewing .demo-preview { opacity: 1; }
.demo-media.is-previewing .demo-poster { opacity: 0; }
.demo-media.is-previewing .play-btn { opacity: 0.55; }

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(16,21,31,0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.play-btn svg { margin-left: 3px; }
.play-btn:hover {
  background: var(--accent);
  color: #06110d;
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.demo-body { padding: 22px 24px 26px; }
.demo-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.demo-body p { color: var(--text-dim); font-size: 0.88rem; }

.demos-note {
  margin-top: 36px;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.demos-note code {
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* =============== ABOUT =============== */
.about { background: var(--bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.about-text > p:not(.section-eyebrow) { color: var(--text-dim); margin-bottom: 40px; max-width: 58ch; }

.about-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.about-point {
  border-left: 2px solid rgba(var(--accent-rgb), 0.4);
  padding-left: 18px;
}
.about-point h4 { font-size: 1rem; margin-bottom: 6px; }
.about-point p { color: var(--text-dim); font-size: 0.9rem; }

.about-visual { display: flex; align-items: center; justify-content: center; }
.orbit-card {
  position: relative;
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}
.orbit-ring-2 {
  inset: 40px;
  border-color: rgba(var(--accent2-rgb), 0.3);
  animation-duration: 12s;
  animation-direction: reverse;
}
.orbit-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.6);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============== TEAM =============== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 760px;
  margin-top: 8px;
}

.team-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #dfe3e9;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(0.15);
  transition: transform 0.5s ease, filter 0.3s ease;
}
.team-card:hover .team-photo img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.team-body { padding: 24px 26px 28px; }
.team-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.team-role {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-desc { color: var(--text-dim); font-size: 0.9rem; }

/* =============== CONTACT =============== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-text > p:not(.section-eyebrow) { color: var(--text-dim); margin-bottom: 32px; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info li { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.contact-info a { color: var(--text); transition: color 0.2s ease; }
.contact-info a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; color: var(--text-dim); }
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note { font-size: 0.85rem; color: var(--accent); min-height: 1.2em; }

/* =============== FOOTER =============== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}
.brand-footer { margin-right: auto; }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--text); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-socials a:hover { border-color: var(--accent); color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* =============== SCROLL REVEAL =============== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-ring, .scroll-cue span { animation: none; }
}

/* =============== RESPONSIVE =============== */
@media (max-width: 980px) {
  .services-grid, .demos-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
}

@media (max-width: 760px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(247,248,250,0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
  }
  .main-nav.open a { padding: 14px 0; border-bottom: 1px solid var(--border); }

  section { padding: 84px 0; }
  .services-grid, .demos-grid, .team-grid { grid-template-columns: 1fr; }
  .team-grid { max-width: 420px; }
  .hero-stats { gap: 32px; }
  .footer-inner { justify-content: center; text-align: center; }
  .brand-footer { margin-right: 0; }
}
