/* ============================================================
   BitStream Consultoria — dark futurista / brand red
   ============================================================ */
:root {
  --bg: #07080C;
  --bg-2: #0B0D14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 45, 45, 0.35);
  --text: #F4F6FB;
  --muted: #9AA3B2;
  --muted-2: #6B7280;
  --red: #FF2D2D;
  --red-2: #E50914;
  --red-glow: rgba(255, 45, 45, 0.5);
  --radius: 16px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(229, 9, 20, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 45, 45, 0.08), transparent 55%);
  z-index: -3; pointer-events: none;
}
#bg-canvas { position: fixed; inset: 0; z-index: -2; opacity: 0.9; }
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 85%);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: 1px solid transparent; transition: all 0.35s var(--ease); white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff; box-shadow: 0 8px 30px -8px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--red-glow); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }
.header .btn-sm { background: var(--surface); border: 1px solid var(--border); }
.header .btn-sm:hover { border-color: var(--border-strong); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.4s var(--ease);
  padding: 16px 0;
}
.header.scrolled {
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { transition: transform 0.3s var(--ease); }
.brand:hover img { transform: scale(1.04); }
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.9rem; color: var(--muted); font-weight: 500;
  position: relative; transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--red); transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 7px 12px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; display: flex; gap: 5px; transition: border-color 0.3s;
}
.lang-toggle:hover { border-color: var(--border-strong); }
.lang-opt { transition: color 0.25s; }
.lang-opt.active { color: var(--red); }
.lang-sep { color: var(--muted-2); }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { width: 24px; height: 2px; background: var(--text); transition: 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding: 120px 0 80px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px; font-size: 0.82rem; color: var(--muted);
  margin-bottom: 28px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero-title { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 700; }
.hero-title span { display: block; }
.gradient-text {
  background: linear-gradient(110deg, var(--red) 10%, #ff7a7a 50%, var(--red-2) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { max-width: 640px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); margin: 26px 0 38px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; justify-content: center; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Space Grotesk'; font-size: 2.6rem; font-weight: 700; color: var(--text); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 2px solid var(--border); border-radius: 14px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--red); border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0%{opacity:0; top:8px;} 40%{opacity:1;} 80%{opacity:0; top:22px;} 100%{opacity:0;} }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-sub { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }
.lead { color: var(--text); font-size: 1.1rem; margin-top: 20px; }
.muted { color: var(--muted); margin-top: 16px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.about-features { display: flex; flex-direction: column; gap: 18px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: all 0.4s var(--ease);
}
.feature-card:hover { border-color: var(--border-strong); transform: translateX(6px); background: var(--surface-2); }
.feature-ic { font-size: 1.5rem; color: var(--red); margin-bottom: 10px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,45,45,0.10), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { border-color: var(--border-strong); box-shadow: 0 20px 50px -24px rgba(255,45,45,0.4); }
.service-card:hover::before { opacity: 1; }
.svc-num { font-family: 'Space Grotesk'; font-size: 0.85rem; color: var(--muted-2); letter-spacing: 0.1em; }
.svc-icon { font-size: 2rem; color: var(--red); margin: 14px 0 18px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.96rem; position: relative; }

/* ---------- Neural brain (scroll-driven) ---------- */
.neural { position: relative; height: 320vh; }
.neural-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.neural-center {
  position: absolute; top: 5%; left: 50%; transform: translateX(-50%);
  z-index: 3; text-align: center; width: min(620px, 92vw); padding: 0 20px; pointer-events: none;
}
.neural-center .kicker { margin-bottom: 12px; }
.neural-sub { color: var(--muted); margin-top: 14px; font-size: 1rem; }

/* live connection lines: card -> brain */
.neural-links { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: visible; }
.neural-links line {
  stroke: var(--red); stroke-width: 1.6; opacity: 0;
  stroke-dasharray: 5 8; stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(255,45,45,0.8));
  transition: opacity 0.6s var(--ease);
  animation: synapse-flow 0.9s linear infinite;
}
.neural-links line.on { opacity: 0.7; }
@keyframes synapse-flow { to { stroke-dashoffset: -26; } }

/* convergence hub = BitStream logo mark at the brain's center */
.neural-hub {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%, -50%) scale(var(--hub-grow, 1));
  transition: transform 0.2s linear; pointer-events: none;
}
.neural-hub::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 150px; height: 150px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,45,0.45), transparent 68%);
  animation: hub-glow 2.6s ease-in-out infinite;
}
.hub-logo {
  position: relative; width: 78px; height: 78px; display: block;
  filter: drop-shadow(0 0 16px rgba(255,45,45,0.8));
  animation: hub-pulse 2.6s ease-in-out infinite;
}
@keyframes hub-pulse { 0%,100% { transform: scale(0.94) rotate(-1deg); } 50% { transform: scale(1.08) rotate(1deg); } }
@keyframes hub-glow { 0%,100% { opacity: 0.55; transform: translate(-50%,-50%) scale(0.85); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); } }

.neural-steps { position: absolute; inset: 0; z-index: 3; pointer-events: none; perspective: 1300px; transform-style: preserve-3d; }
.neural-step {
  position: absolute; width: min(320px, 80vw);
  background: rgba(11, 13, 20, 0.8); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: 18px; padding: 24px 26px;
  opacity: 0; transform: translateY(26px) scale(0.92);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 30px 70px -28px rgba(255,45,45,0.55);
  pointer-events: auto; cursor: pointer;
}
.neural-step:hover, .neural-step:focus-visible { border-color: var(--red); box-shadow: 0 30px 80px -24px rgba(255,45,45,0.7); outline: none; }
.neural-step .ns-ic { font-size: 2rem; color: var(--red); display: block; margin-bottom: 12px; }
.neural-step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.neural-step p { color: var(--muted); font-size: 0.96rem; }
.ns-more { display: inline-block; margin-top: 14px; font-size: 0.82rem; font-weight: 600; color: var(--red); letter-spacing: 0.01em; }
.pos-tl { top: 22%; left: 11%; }
.pos-tr { top: 22%; right: 11%; }
.pos-bl { bottom: 13%; left: 11%; }
.pos-br { bottom: 13%; right: 11%; }
/* once revealed: float gently in 3D space */
.neural-step.active { opacity: 1; animation: floatCard 7s ease-in-out infinite; }
.pos-tr.active { animation-duration: 8s; animation-delay: -2s; }
.pos-bl.active { animation-duration: 7.6s; animation-delay: -1s; }
.pos-br.active { animation-duration: 8.6s; animation-delay: -3s; }
@keyframes floatCard {
  0%   { transform: translate3d(0, 0, 0) rotateX(2.5deg) rotateY(-3deg) rotateZ(-0.6deg); }
  25%  { transform: translate3d(9px, -10px, 22px) rotateX(0deg) rotateY(1.5deg) rotateZ(0.5deg); }
  50%  { transform: translate3d(0, -17px, 38px) rotateX(-2.5deg) rotateY(3deg) rotateZ(0.6deg); }
  75%  { transform: translate3d(-9px, -9px, 22px) rotateX(0deg) rotateY(-1.5deg) rotateZ(-0.5deg); }
  100% { transform: translate3d(0, 0, 0) rotateX(2.5deg) rotateY(-3deg) rotateZ(-0.6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .neural-step.active { animation: none; transform: none; }
}

@media (max-width: 860px) {
  .neural { height: 360vh; }
  .neural-step { width: min(260px, 82vw); padding: 16px 18px; }
  .pos-tl { top: 4%; left: 3%; }
  .pos-tr { top: 4%; right: 3%; }
  .pos-bl { bottom: 5%; left: 3%; }
  .pos-br { bottom: 4%; right: 3%; }
  .neural-center { max-width: 320px; }
  .neural-center .section-title { font-size: 1.6rem; }
}

/* ---------- Tech spec modal ---------- */
.spec-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.spec-modal.open { display: flex; }
.spec-backdrop { position: absolute; inset: 0; background: rgba(4, 5, 8, 0.72); backdrop-filter: blur(6px); }
.spec-panel {
  position: relative; z-index: 1; width: min(640px, 100%);
  background: linear-gradient(160deg, rgba(20,12,14,0.96), rgba(11,13,20,0.98));
  border: 1px solid var(--border-strong); border-radius: 22px; padding: 38px 40px;
  box-shadow: 0 40px 100px -30px rgba(255,45,45,0.5);
  animation: spec-in 0.5s var(--ease);
}
@keyframes spec-in { from { opacity: 0; transform: translateY(28px) scale(0.96); } to { opacity: 1; transform: none; } }
.spec-x {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: 0.9rem; cursor: pointer; transition: all 0.3s var(--ease);
}
.spec-x:hover { border-color: var(--red); transform: rotate(90deg); }
.spec-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red);
  background: rgba(255,45,45,0.1); border: 1px solid var(--border-strong);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.spec-title { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 12px; }
.spec-intro { color: var(--muted); font-size: 1.02rem; margin-bottom: 28px; }
.spec-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; margin-bottom: 30px; }
.spec-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 14px; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.spec-list li { position: relative; padding-left: 22px; color: var(--text); font-size: 0.94rem; }
.spec-list li::before { content: "▹"; position: absolute; left: 0; color: var(--red); }
.spec-metrics { display: flex; flex-direction: column; gap: 12px; }
.spec-metric { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.spec-metric .sm-v { font-family: 'Space Grotesk'; font-size: 1.2rem; color: var(--text); font-weight: 600; }
.spec-metric .sm-l { font-size: 0.78rem; color: var(--muted); }
.spec-cta { width: 100%; }
@media (max-width: 620px) {
  .spec-panel { padding: 30px 24px; }
  .spec-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Performance band ---------- */
.perf-band {
  margin-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, rgba(229,9,20,0.08), var(--surface));
  border: 1px solid var(--border-strong); border-radius: 20px; padding: 36px 40px;
}
.perf-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.perf-p { color: var(--muted); margin-top: 14px; }
.perf-keywords { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.perf-keywords span {
  font-size: 0.82rem; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px;
}
.perf-stores { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.perf-stores-label { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badges a { transition: transform 0.35s var(--ease), filter 0.35s var(--ease); display: inline-block; }
.store-badges img { height: 50px; width: auto; display: block; }
.store-badges a:hover { transform: translateY(-3px); filter: drop-shadow(0 8px 18px rgba(255,45,45,0.35)); }

/* ---------- AI ---------- */
.section-ai { background: linear-gradient(180deg, transparent, rgba(229,9,20,0.04), transparent); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.check-list { list-style: none; margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,45,45,0.14); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  background: var(--surface); border: 1px solid var(--border-strong);
  padding: 10px 18px; border-radius: 999px; font-size: 0.85rem; color: var(--text);
}
.pill::before { content: "✦"; color: var(--red); }

/* AI visual */
.ai-visual { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: center; }
.orb {
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff7a7a, var(--red) 45%, var(--red-2) 80%);
  box-shadow: 0 0 70px var(--red-glow), inset 0 0 40px rgba(0,0,0,0.3);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(-10px);} 50%{transform:translateY(10px);} }
.ring { position: absolute; border: 1px solid var(--border); border-radius: 50%; }
.ring-1 { width: 56%; height: 56%; border-color: rgba(255,45,45,0.3); animation: spin 14s linear infinite; }
.ring-2 { width: 78%; height: 78%; border-style: dashed; border-color: rgba(255,255,255,0.12); animation: spin 22s linear infinite reverse; }
.ring-3 { width: 100%; height: 100%; border-color: rgba(255,255,255,0.06); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.node-data { position: absolute; inset: 0; }
.node-data span {
  position: absolute; font-family: 'Space Grotesk'; font-size: 0.72rem; color: var(--muted);
  background: var(--bg-2); border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px;
  animation: nodepulse 4s ease-in-out infinite;
}
.node-data span:nth-child(1){ top:6%; left:42%; }
.node-data span:nth-child(2){ top:40%; left:-6%; animation-delay:.6s; }
.node-data span:nth-child(3){ top:46%; right:-6%; animation-delay:1.2s; color:var(--red); border-color:var(--border-strong); }
.node-data span:nth-child(4){ bottom:8%; left:14%; animation-delay:1.8s; }
.node-data span:nth-child(5){ bottom:14%; right:10%; animation-delay:2.4s; }
@keyframes nodepulse { 0%,100%{opacity:.55; transform:translateY(0);} 50%{opacity:1; transform:translateY(-6px);} }

/* ---------- Cloud ---------- */
.cloud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cloud-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; transition: all 0.4s var(--ease);
}
.cloud-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.cloud-ic { font-size: 1.8rem; margin-bottom: 14px; }
.cloud-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.cloud-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Clients carousel ---------- */
.marquee {
  position: relative; width: 100%; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 22px; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-tile {
  flex: 0 0 auto; height: 92px; min-width: 180px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 14px; padding: 0 26px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.logo-tile img {
  max-height: 52px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.78; transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}
.logo-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -16px var(--red-glow); }
.logo-tile:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Contact ---------- */
.section-contact { padding-bottom: 130px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; transition: all 0.4s var(--ease);
}
a.contact-card:hover { border-color: var(--border-strong); transform: translateX(6px); }
.cc-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); }
.cc-value { font-size: 1.05rem; color: var(--text); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 28px; background: rgba(7,8,12,0.6); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 0.9rem; margin-bottom: 16px; color: var(--text); }
.footer-col a, .footer-col span { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 0.85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .ai-grid, .contact-inner, .perf-band { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cloud-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(7,8,12,0.96); backdrop-filter: blur(16px);
    padding: 24px; border-bottom: 1px solid var(--border);
  }
  .header .btn-sm { display: none; }
  .services-grid, .cloud-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
