/* ============================================================
   MYC — Cloud Infrastructure & Managed Service
   style.css
   ============================================================ */

/* -------- CSS Reset (lightweight) -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* -------- Design tokens -------- */
:root {
  --bg-0: #05080f;
  --bg-1: #0a0f1f;
  --bg-2: #0e1530;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #e6edf6;
  --text-dim: #aab4c4;
  --text-muted: #7a8699;

  --brand-1: #00d4ff;
  --brand-2: #1e6bff;
  --brand-3: #7c5cff;
  --brand-accent: #f5a623; /* Manage Your Cloud — orange accent */
  --grad-brand: linear-gradient(135deg, #00d4ff 0%, #1e6bff 60%, #7c5cff 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,212,255,0.18), rgba(124,92,255,0.12));

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.6),
                 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  --shadow-glow: 0 20px 60px -20px rgba(0, 212, 255, 0.35);

  --maxw: 1200px;
  --pad-x: clamp(20px, 4vw, 40px);

  --t-fast: 180ms ease;
  --t-mid: 320ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 600ms cubic-bezier(.2,.7,.2,1);
}

/* -------- Base -------- */
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-0);
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* -------- Animated background layers -------- */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  z-index: -3;
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  width: 720px; height: 720px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  z-index: -2;
  pointer-events: none;
  animation: floatGlow 18s ease-in-out infinite alternate;
}
.bg-glow-1 {
  background: radial-gradient(circle, rgba(30,107,255,0.55), transparent 60%);
  top: -180px; left: -180px;
}
.bg-glow-2 {
  background: radial-gradient(circle, rgba(0,212,255,0.4), transparent 60%);
  top: 30vh; right: -200px;
  animation-delay: -6s;
}
@keyframes floatGlow {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.1); }
}

/* -------- Typography -------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 0.95rem; }
p  { color: var(--text-dim); }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 25px 70px -20px rgba(0,212,255,0.55); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-strong); border-color: rgba(0,212,255,0.4); transform: translateY(-2px); }

/* -------- Navbar -------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(5, 8, 15, 0.45);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}
.navbar.scrolled {
  background: rgba(5, 8, 15, 0.85);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,0.8);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1;
}
.logo-mark {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 212, 255, 0.35));
  transition: transform var(--t-fast), filter var(--t-fast);
}
.logo:hover .logo-mark {
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 22px rgba(0, 212, 255, 0.6));
}
.footer .logo-mark { width: 48px; height: 48px; }
.logo-tag {
  display: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-accent);
  padding-left: 12px;
  border-left: 1px solid var(--border-strong);
  white-space: nowrap;
}
@media (min-width: 560px) {
  .logo-tag { display: inline-block; }
}
.footer .logo-tag { display: inline-block; }

.nav-menu {
  display: flex; align-items: center; gap: 6px;
}
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--text); background: var(--surface); }
.nav-link.nav-cta {
  background: var(--grad-brand);
  color: #fff;
  padding: 9px 18px;
  margin-left: 6px;
  box-shadow: var(--shadow-glow);
}
.nav-link.nav-cta:hover { transform: translateY(-1px); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px; right: 10px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-mid), top var(--t-mid);
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-1);
  box-shadow: 0 0 0 0 rgba(0,212,255,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,212,255,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(0,212,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
}
.hero-copy h1 { margin: 18px 0 18px; }
.lead {
  font-size: 1.1rem;
  max-width: 560px;
  color: var(--text-dim);
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 28px 0 36px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  max-width: 560px;
}
.hero-stats strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.45rem;
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.hero-stats span { font-size: 0.8rem; color: var(--text-muted); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.orbit {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.12);
}
.orbit-ring::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.15);
}
.orbit-ring-1 { width: 56%; height: 56%; animation: spin 28s linear infinite; }
.orbit-ring-2 { width: 76%; height: 76%; animation: spin 42s linear infinite reverse; }
.orbit-ring-3 { width: 96%; height: 96%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.core {
  position: relative;
  width: 130px; height: 130px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(0,212,255,0.18), rgba(30,107,255,0.06));
  border: 1px solid rgba(0,212,255,0.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  box-shadow: 0 30px 80px -20px rgba(0,212,255,0.5), inset 0 0 30px rgba(0,212,255,0.08);
  backdrop-filter: blur(6px);
  z-index: 2;
}
.core span {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 600;
}
.node {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(10, 15, 31, 0.85);
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; font-weight: 600;
  color: var(--brand-1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  z-index: 2;
  animation: floatY 5s ease-in-out infinite;
}
.n1 { top: 6%;  left: 50%; transform: translateX(-50%); }
.n2 { top: 25%; right: 4%; animation-delay: -.8s; }
.n3 { bottom: 22%; right: 8%; animation-delay: -1.6s; }
.n4 { bottom: 4%; left: 50%; transform: translateX(-50%); animation-delay: -2.4s; }
.n5 { bottom: 22%; left: 8%; animation-delay: -3.2s; }
.n6 { top: 25%; left: 4%; animation-delay: -4s; }
@keyframes floatY {
  0%, 100% { transform: translate(var(--tx,0), 0) translateX(var(--cx,0)); }
  50%      { transform: translate(var(--tx,0), -8px) translateX(var(--cx,0)); }
}
.n1, .n4 { --cx: -50%; }

.floating-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(10, 15, 31, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  animation: floatY 6s ease-in-out infinite;
  z-index: 3;
}
.card-1 { top: 8%; left: -4%; }
.card-2 { bottom: 10%; right: -4%; animation-delay: -2s; }
.fc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #10ff9a;
  box-shadow: 0 0 12px #10ff9a;
}
.fc-title { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.fc-meta  { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.fc-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem; font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 2px;
}
.spark { width: 60px; height: 24px; }

/* -------- Sections -------- */
.section {
  position: relative;
  padding: clamp(70px, 9vw, 110px) 0;
}
.section-alt {
  background:
    radial-gradient(ellipse at top, rgba(30,107,255,0.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 14px; }
.section-sub { color: var(--text-dim); font-size: 1.02rem; }

/* -------- About -------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: start;
}
.about-copy p + p { margin-top: 16px; }
.about-copy strong { color: var(--text); }
.checklist {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--text-dim);
  font-size: 0.96rem;
}
.checklist li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(0,212,255,0.25), rgba(30,107,255,0.15)),
    var(--bg-1);
  border: 1px solid rgba(0,212,255,0.4);
}
.checklist li::after {
  content: '';
  position: absolute; left: 5px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand-1);
  border-bottom: 2px solid var(--brand-1);
  transform: rotate(-45deg);
}

.about-stack { display: grid; gap: 16px; }
.stack-card {
  position: relative;
  padding: 22px 22px 22px 70px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t-mid), border-color var(--t-mid), background var(--t-mid);
}
.stack-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,212,255,0.35);
  background: var(--surface-strong);
}
.stack-num {
  position: absolute; left: 18px; top: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem; font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stack-card p { margin-top: 6px; font-size: 0.95rem; }

/* -------- Services -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-mid), border-color var(--t-mid), background var(--t-mid);
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity var(--t-mid);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.4);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.svc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,212,255,0.18), rgba(30,107,255,0.05));
  border: 1px solid rgba(0,212,255,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-1);
  margin-bottom: 16px;
}
.svc-icon svg { width: 22px; height: 22px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; }

/* -------- Projects -------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: transform var(--t-mid), border-color var(--t-mid);
  overflow: hidden;
}
.project-card::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.4); }
.project-card:hover::after { transform: scaleX(1); }
.project-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  gap: 10px;
}
.project-cat {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-1);
}
.project-scale {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--text-dim);
}
.project-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.project-card p { font-size: 0.93rem; margin-bottom: 14px; }
.project-highlights {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 14px 14px 14px 16px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 10px;
}
.project-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.project-highlights li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-1);
  box-shadow: 0 0 8px rgba(0,212,255,0.55);
}
.project-card.featured {
  background:
    linear-gradient(160deg, rgba(0,212,255,0.07), rgba(30,107,255,0.03) 60%, transparent),
    var(--surface);
  border-color: rgba(0, 212, 255, 0.28);
}
.project-card.featured::after { transform: scaleX(1); opacity: 0.7; }
.project-tech {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.project-tech li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.project-card-cta {
  background: linear-gradient(160deg, rgba(0,212,255,0.12), rgba(30,107,255,0.04));
  border: 1px dashed rgba(0,212,255,0.35);
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
}
.project-card-cta h3 {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.3rem;
}
.project-card-cta .btn { margin: 14px auto 0; }

/* ============================================================
   FLAGSHIP ENGINEERING SECTIONS
   Premium full-width case-study layouts with custom visuals.
   ============================================================ */

.flagship {
  position: relative;
  padding: clamp(90px, 11vw, 140px) 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.flagship + .flagship { border-top: 1px solid var(--border); }

/* Background layers — soft glow + grid, per-section tint */
.flagship-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.fb-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
}
.fb-glow {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.5;
}
.fb-glow-a {
  background: radial-gradient(circle, rgba(0,212,255,0.55), transparent 60%);
  top: -200px; left: -200px;
}
.fb-glow-b {
  background: radial-gradient(circle, rgba(124,92,255,0.45), transparent 60%);
  top: 20%; right: -240px;
}
.fb-glow-c {
  background: radial-gradient(circle, rgba(30,107,255,0.55), transparent 60%);
  bottom: -240px; left: 20%;
}

/* Grid: visual + copy, alternating direction */
.flagship-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.flagship-reverse .flagship-grid {
  grid-template-columns: 0.95fr 1.05fr;
}
.flagship-reverse .flagship-visual { order: 2; }
.flagship-reverse .flagship-copy   { order: 1; }

/* Copy */
.flagship-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.78rem;
}
.fe-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.78rem;
  background: var(--grad-brand);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.fe-text {
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.flagship-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 10px;
}
.flagship-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  color: var(--brand-1);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.flagship-desc {
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 58ch;
}
.flagship-points {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.flagship-points li {
  position: relative;
  padding: 10px 12px 10px 36px;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.5;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.flagship-points li:hover {
  background: rgba(0, 212, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateX(2px);
}
.flagship-points li::before {
  content: '';
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(0,212,255,0.9), rgba(30,107,255,0.5) 60%, rgba(30,107,255,0) 70%);
  box-shadow: 0 0 10px rgba(0,212,255,0.5);
}
.flagship-points span {
  color: var(--text);
  font-weight: 600;
}
.flagship-tech {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.flagship-tech span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.flagship-tech span:hover {
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--text);
}

/* Visual frame (shared) */
.flagship-visual {
  position: relative;
  min-height: 460px;
}

/* Generic floating stat tile (used by all flagship visuals) */
.floating-stat {
  position: absolute;
  z-index: 4;
  padding: 12px 16px;
  background: rgba(10, 15, 31, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 2px;
  min-width: 140px;
  animation: floatY 6s ease-in-out infinite;
}
.fs-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 700;
}
.fs-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: var(--text);
}
.fs-value strong {
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fs-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============ Flagship 01 — MongoDB visual ============ */
.mongo-visual .atlas-tag {
  position: absolute;
  top: 8%; left: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(10, 15, 31, 0.7);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  opacity: 0.75;
  z-index: 2;
}
.atlas-cloud {
  font-size: 1.4rem;
  color: var(--text-muted);
}
.atlas-name { display: block; font-weight: 600; font-size: 0.86rem; color: var(--text-dim); }
.atlas-meta { display: block; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.04em; }

.migration-arrow {
  position: absolute;
  top: 13%; left: 22%;
  width: 30%; height: 30px;
  z-index: 2;
}

.cluster-frame {
  position: relative;
  margin: 80px 0 0;
  background: rgba(10, 15, 31, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card), 0 30px 80px -30px rgba(0,212,255,0.25);
  z-index: 1;
}
.cluster-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-size: 0.78rem;
}
.cluster-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex: 0 0 auto;
}
.cd-r { background: #ff5f57; }
.cd-y { background: #ffbd2e; }
.cd-g { background: #28ca42; }
.cluster-label {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
}
.cluster-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem;
  color: #10ff9a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.cluster-status .pulse-dot {
  background: #10ff9a;
  box-shadow: 0 0 0 0 rgba(16, 255, 154, 0.6);
}
.cluster-body {
  position: relative;
  padding: 22px 22px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 14px;
}
.replica-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.replica {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
.replica-primary {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 14px;
}
.replica-primary {
  border-color: rgba(0,212,255,0.4);
  background: linear-gradient(160deg, rgba(0,212,255,0.1), rgba(30,107,255,0.04));
  box-shadow: 0 0 30px -10px rgba(0,212,255,0.5);
}
.replica-glyph {
  font-size: 1.3rem;
  color: var(--brand-1);
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.5));
}
.replica-role {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.replica-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text);
}
.replica-led {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10ff9a;
  box-shadow: 0 0 8px #10ff9a;
  animation: ledBlink 2.4s ease-in-out infinite;
}
.replica-primary .replica-led { animation-delay: -1.2s; }
@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.cluster-pv {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
}
.pv-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 4px;
}
.pv-block {
  padding: 4px 10px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 6px;
  color: var(--text-dim);
}
.mongo-visual .fs-cost { bottom: 8%; left: -14px; animation-delay: -2s; }
.mongo-visual .fs-rpo  { top: 36%;  right: -14px; }

/* ============ Flagship 02 — Observability visual ============ */
.dash-frame {
  position: relative;
  background: rgba(10, 15, 31, 0.78);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card), 0 30px 80px -30px rgba(124,92,255,0.3);
  z-index: 1;
}
.dash-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.dash-title {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.dash-title strong { color: var(--text); font-weight: 600; }
.dash-bullet {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-1);
  box-shadow: 0 0 10px var(--brand-1);
  animation: pulse 1.8s infinite;
}
.dash-meta { color: var(--text-muted); }
.dash-tabs {
  display: inline-flex; gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.dash-tab {
  padding: 4px 10px;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  border-radius: 6px;
}
.dash-tab-active {
  background: var(--grad-brand);
  color: #fff;
  font-weight: 600;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.stat-tile {
  padding: 16px 18px;
  background: rgba(10, 15, 31, 0.6);
  display: flex; flex-direction: column; gap: 6px;
}
.st-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 700;
}
.st-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.st-value small {
  font-size: 0.7rem;
  margin-left: 2px;
  background: none;
  -webkit-background-clip: initial;
  color: var(--text-muted);
}
.st-spark {
  width: 100%; height: 22px;
}
.dash-chart {
  padding: 14px 18px 4px;
  border-top: 1px solid var(--border);
}
.dash-chart svg {
  width: 100%; height: 110px;
}
.chart-stroke {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawStroke 2.4s ease-out forwards;
}
@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}
.dash-bars {
  display: flex; align-items: flex-end; gap: 4px;
  padding: 4px 18px 18px;
  height: 70px;
}
.dash-bars .bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(0,212,255,0.7), rgba(30,107,255,0.25));
  animation: barRise 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.dash-bars .bar:nth-child(odd) {
  background: linear-gradient(180deg, rgba(124,92,255,0.7), rgba(30,107,255,0.2));
}
.dash-bars .bar:nth-child(1) { animation-delay: 0s; }
.dash-bars .bar:nth-child(2) { animation-delay: .06s; }
.dash-bars .bar:nth-child(3) { animation-delay: .12s; }
.dash-bars .bar:nth-child(4) { animation-delay: .18s; }
.dash-bars .bar:nth-child(5) { animation-delay: .24s; }
.dash-bars .bar:nth-child(6) { animation-delay: .30s; }
.dash-bars .bar:nth-child(7) { animation-delay: .36s; }
.dash-bars .bar:nth-child(8) { animation-delay: .42s; }
.dash-bars .bar:nth-child(9) { animation-delay: .48s; }
.dash-bars .bar:nth-child(10) { animation-delay: .54s; }
.dash-bars .bar:nth-child(11) { animation-delay: .60s; }
.dash-bars .bar:nth-child(12) { animation-delay: .66s; }
@keyframes barRise {
  from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
.obs-visual .fs-trace { top: -10px; right: -14px; }
.obs-visual .fs-aom   { bottom: -10px; left: -14px; animation-delay: -2s; }

/* ============ Flagship 03 — Vapor / Pipeline visual ============ */
.pipeline-frame {
  position: relative;
  background: rgba(10, 15, 31, 0.78);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card), 0 30px 80px -30px rgba(30,107,255,0.35);
  z-index: 1;
}
.pipeline-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.pipeline-head strong { color: var(--text); font-weight: 600; }
.pipeline-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 24px 18px 18px;
  gap: 4px;
}
.stage {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: border-color var(--t-fast);
}
.stage-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.stage-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}
.stage-done {
  border-color: rgba(16, 255, 154, 0.4);
  background: rgba(16, 255, 154, 0.05);
}
.stage-done .stage-num { color: #10ff9a; }
.stage-active {
  border-color: rgba(0, 212, 255, 0.55);
  background: linear-gradient(160deg, rgba(0,212,255,0.14), rgba(30,107,255,0.04));
  box-shadow: 0 0 0 1px rgba(0,212,255,0.2), 0 0 30px -8px rgba(0,212,255,0.6);
}
.stage-active .stage-num {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stage-link {
  height: 2px;
  background: linear-gradient(90deg, rgba(0,212,255,0.6), rgba(30,107,255,0.2));
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.stage-link::after {
  content: '';
  position: absolute;
  top: -1px; left: -20%;
  width: 30%; height: 4px;
  background: linear-gradient(90deg, transparent, var(--brand-1), transparent);
  animation: railFlow 2.2s linear infinite;
  border-radius: 4px;
}
@keyframes railFlow {
  from { left: -20%; }
  to   { left: 120%; }
}

.env-lanes {
  display: grid;
  gap: 8px;
  padding: 14px 18px 4px;
  border-top: 1px solid var(--border);
}
.lane {
  display: grid;
  grid-template-columns: 60px 1fr 80px;
  gap: 12px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
}
.lane-name {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.lane-track {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.lane-fill {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  background: linear-gradient(90deg, rgba(16,255,154,0.55), rgba(16,255,154,0.9));
  border-radius: 999px;
  animation: laneGrow 1.6s cubic-bezier(.2,.7,.2,1) both;
}
.lane-fill-active {
  background: linear-gradient(90deg, rgba(0,212,255,0.55), rgba(0,212,255,1));
  position: relative;
}
.lane-fill-active::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: laneShine 1.8s linear infinite;
}
@keyframes laneGrow {
  from { width: 0; }
  to   { width: var(--w, 0%); }
}
@keyframes laneShine {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
.lane-state {
  text-align: right;
  color: var(--text-dim);
  font-size: 0.7rem;
}

.k8s-target {
  margin: 8px 18px 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}
.k8s-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}
.k8s-glyph {
  font-size: 1.1rem;
  color: var(--brand-1);
  filter: drop-shadow(0 0 6px rgba(0,212,255,0.55));
}
.k8s-title {
  color: var(--text-dim);
  flex: 1;
}
.k8s-pill {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--brand-1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.pods-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}
.pod {
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  background: rgba(16,255,154,0.18);
  border: 1px solid rgba(16,255,154,0.4);
  box-shadow: inset 0 0 6px rgba(16,255,154,0.15);
}
.pod-rolling {
  background: rgba(0,212,255,0.2);
  border-color: rgba(0,212,255,0.5);
  animation: podPulse 1.6s ease-in-out infinite;
}
@keyframes podPulse {
  0%, 100% { box-shadow: inset 0 0 8px rgba(0,212,255,0.3), 0 0 0 0 rgba(0,212,255,0.6); }
  50%      { box-shadow: inset 0 0 12px rgba(0,212,255,0.5), 0 0 0 4px rgba(0,212,255,0); }
}
.vapor-visual .fs-iac     { top: -10px; right: -14px; }
.vapor-visual .fs-rollout { bottom: -10px; left: -14px; animation-delay: -2s; }

/* Hover lift on flagship visuals */
.flagship-visual:hover .cluster-frame,
.flagship-visual:hover .dash-frame,
.flagship-visual:hover .pipeline-frame {
  transform: translateY(-3px);
}
.cluster-frame,
.dash-frame,
.pipeline-frame {
  transition: transform var(--t-mid);
}

/* Responsive — collapse to single column on tablets and smaller */
@media (max-width: 980px) {
  .flagship-grid,
  .flagship-reverse .flagship-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .flagship-reverse .flagship-visual { order: 1; }
  .flagship-reverse .flagship-copy   { order: 2; }
  .flagship-visual { min-height: auto; }
  .mongo-visual .atlas-tag { position: relative; top: auto; left: auto; display: inline-flex; margin-bottom: 4px; }
  .mongo-visual .migration-arrow { display: none; }
  .cluster-frame { margin-top: 0; }
  .floating-stat { display: none; }
}
@media (max-width: 720px) {
  .flagship { padding: 70px 0; }
  .cluster-body { grid-template-columns: 1fr; gap: 10px; }
  .replica-primary { flex-direction: column; gap: 6px; margin-bottom: 6px; }
  .replica-lines { display: none; }
  .dash-stats { grid-template-columns: 1fr; }
  .pipeline-rail {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stage-link { display: none; }
  .pods-grid { grid-template-columns: repeat(8, 1fr); }
}

/* -------- Tech badges -------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tech-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.tech-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(0,212,255,0.4);
  background: var(--surface-strong);
}
.tb-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(0,212,255,0.55);
  flex: 0 0 auto;
}

/* -------- Why -------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t-mid), border-color var(--t-mid);
  position: relative;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 20px; width: 28px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.why-card:hover { transform: translateY(-3px); border-color: rgba(0,212,255,0.35); }
.why-card h3 { margin-bottom: 8px; font-size: 1.02rem; }
.why-card p { font-size: 0.92rem; }

/* -------- Contact -------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}
.channel-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(10px);
  transition: transform var(--t-mid), border-color var(--t-mid), background var(--t-mid);
}
.channel-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity var(--t-mid);
  pointer-events: none;
}
.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.45);
}
.channel-card:hover::before { opacity: 1; }
.channel-card > * { position: relative; z-index: 1; }
.channel-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.channel-icon-email {
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(30,107,255,0.06));
  border: 1px solid rgba(0,212,255,0.35);
  color: var(--brand-1);
  box-shadow: 0 14px 36px -14px rgba(0,212,255,0.55);
}
.channel-icon-wa {
  background: linear-gradient(135deg, rgba(37,211,102,0.22), rgba(37,211,102,0.06));
  border: 1px solid rgba(37,211,102,0.4);
  color: #25d366;
  box-shadow: 0 14px 36px -14px rgba(37,211,102,0.55);
}
.channel-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.channel-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  word-break: break-all;
}
.channel-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.channel-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-1);
  transition: gap var(--t-fast), color var(--t-fast);
}
.channel-card:hover .channel-cta { gap: 12px; }
.channel-icon-wa + .channel-label + .channel-value + .channel-desc + .channel-cta { color: #25d366; }

/* -------- Footer -------- */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5));
  padding-top: 60px;
  margin-top: 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  max-width: 360px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-cols a {
  display: block;
  font-size: 0.93rem;
  color: var(--text-dim);
  padding: 5px 0;
  transition: color var(--t-fast);
}
.footer-cols a:hover { color: var(--brand-1); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap; gap: 10px;
}

/* -------- Floating action buttons -------- */
.fab {
  position: fixed;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 40;
  transition: transform var(--t-mid), opacity var(--t-mid), box-shadow var(--t-mid);
  color: #fff;
}
.fab-wa {
  bottom: 24px; right: 24px;
  background: #25d366;
  box-shadow: 0 14px 35px -10px rgba(37,211,102,0.55);
}
.fab-wa:hover { transform: scale(1.08); }
.fab-top {
  bottom: 92px; right: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.fab-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top:hover { background: var(--bg-2); border-color: rgba(0,212,255,0.5); }

/* -------- Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* -------- Responsive -------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 10px auto 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: 1fr; gap: 18px; max-width: 520px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .hamburger { display: inline-flex; }
  .nav-menu {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px var(--pad-x) 26px;
    background: rgba(5, 8, 15, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    transform: translateY(-130%);
    transition: transform var(--t-mid);
    z-index: 49;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link {
    padding: 14px 12px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .nav-link.nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; }

  .hero { padding-top: 110px; padding-bottom: 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats li:nth-child(3) { grid-column: span 2; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .floating-card { display: none; }
}

@media (max-width: 440px) {
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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