/* ==========================================================================
   Fivops Website — Stylesheet
   Brand palette: Fivops cyan→blue→violet gradient (Electric Cyan + AI Violet)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Theme tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand & surface */
  --bg-base:       #0B1226;
  --bg-deep:       #070C1B;
  --bg-elev:       #131A33;
  --bg-elev-2:     #1A2244;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.14);

  /* Accent — Fivops brand */
  --accent-cyan:   #06B6D4;   /* Electric Cyan — primary highlight */
  --accent-blue:   #3B82F6;   /* Compute Blue — link/CTA */
  --accent-violet: #7C3AED;   /* AI Violet — secondary highlight */
  --accent-pink:   #EC4899;
  --grad-1:        linear-gradient(135deg, #06B6D4 0%, #3B82F6 50%, #7C3AED 100%);
  --grad-2:        linear-gradient(135deg, #06B6D4 0%, #38BDF8 100%);
  --grad-3:        linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --grad-soft:     linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(124, 58, 237, 0.16) 100%);

  /* Text */
  --fg:            #F8FAFC;
  --fg-soft:       #CBD5E1;
  --fg-muted:      #94A3B8;
  --fg-faint:      #64748B;

  /* Layout */
  --maxw:          1240px;
  --gutter:        24px;
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     20px;

  /* Motion */
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);

  /* Font */
  --font-en: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-zh: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
  --font-ja: 'Noto Sans JP', 'Inter', system-ui, sans-serif;
}

/* Apply proper font per active language */
html[lang="zh"] body { font-family: var(--font-zh); }
html[lang="ja"] body { font-family: var(--font-ja); }
html[lang="en"] body { font-family: var(--font-en); }

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-soft);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
p  { margin: 0; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow,
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-lead {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--fg-muted);
  max-width: 60ch;
}
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn-sm  { padding: 9px 18px; font-size: 14px; }
.btn-lg  { padding: 16px 32px; font-size: 16px; }

.btn-primary {
  color: #06112a;
  background: var(--grad-1);
  box-shadow: 0 12px 30px -10px rgba(0, 212, 255, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(168, 85, 247, 0.55);
}

.btn-ghost {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(5, 8, 24, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  background: rgba(5, 8, 24, 0.78);
  border-bottom-color: var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.04em;
  font-size: 17px;
}
.brand-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-soft);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--accent-cyan); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
  border-radius: 1px;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  min-width: 36px;
}
.lang-btn:hover { color: var(--fg); }
.lang-btn.is-active {
  color: #06112a;
  background: var(--grad-1);
  box-shadow: 0 4px 14px -4px rgba(0, 212, 255, 0.6);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.menu-toggle span {
  width: 18px; height: 2px;
  background: var(--fg);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  padding: 16px 24px 24px;
  background: rgba(5, 8, 24, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* 'hidden' attribute must win over the flex layout above */
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 12px 8px;
  font-size: 16px;
  color: var(--fg-soft);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 80px 0 100px;
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.grid-overlay {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 14s var(--ease) infinite;
}
.orb-a {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #06B6D4, transparent 60%);
  top: -120px; left: -120px;
  animation-delay: -2s;
}
.orb-b {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #7C3AED, transparent 60%);
  top: 10%; right: -160px;
  animation-delay: -5s;
}
.orb-c {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #ec4899, transparent 60%);
  bottom: -100px; left: 30%;
  animation-delay: -8s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
}
.hero-title {
  font-size: clamp(36px, 6.4vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.grad {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.hero-stats li {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 4px 8px;
}
.hero-stats li:last-child { border-right: none; }
.hero-stats strong {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--fg);
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.hero-stats span {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  display: grid; place-items: center;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll span {
  width: 3px; height: 8px;
  border-radius: 2px;
  background: var(--accent-cyan);
  animation: scroll-cue 1.6s var(--ease) infinite;
}
@keyframes scroll-cue {
  0%   { transform: translateY(-8px); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */
.about { background: var(--bg-deep); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-copy .lead {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--fg);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
}
.about-copy p + p { margin-top: 16px; }
.pillars {
  display: grid;
  gap: 16px;
}
.pillar {
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}
.pillar-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 10px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.pillar h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.pillar p {
  font-size: 14px;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   SOLUTIONS
   -------------------------------------------------------------------------- */
.solutions {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 100%);
}
.phase-grid {
  display: grid;
  gap: 28px;
}
.phase-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-elev-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.phase-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-1);
  opacity: 0.5;
  transition: opacity 0.4s;
}
.phase-card::after {
  content: attr(data-phase);
  position: absolute;
  right: 28px;
  bottom: 20px;
  font-size: clamp(110px, 16vw, 200px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.025);
  line-height: 0.9;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.phase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.35);
}
.phase-card:hover::before { opacity: 1; }

.phase-head { margin-bottom: 28px; position: relative; z-index: 1; }
.phase-tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-violet);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 999px;
  margin-bottom: 16px;
}
.phase-title {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 12px;
}
.phase-desc {
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 640px;
}
.phase-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.phase-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  font-weight: 600;
}
.phase-col h4:not(:first-child) { margin-top: 24px; }
.phase-col ul li {
  font-size: 14px;
  color: var(--fg-soft);
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.phase-col ul li:last-child { border-bottom: none; }
.phase-col ul li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--grad-1);
}
.list-dot li::before {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   WHY US
   -------------------------------------------------------------------------- */
.why { background: var(--bg-base); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-item {
  padding: 28px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.why-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-1);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}
.why-item > * { position: relative; z-index: 1; }
.why-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent-violet);
}
.why-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.why-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.why-item p {
  font-size: 14px;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner { padding: 60px 0; }
.cta-card {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(168, 85, 247, 0.16) 100%);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}
.cta-card-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-card-bg .orb { opacity: 0.4; }
.cta-card-bg .orb-d { width: 380px; height: 380px; background: radial-gradient(circle, #06B6D4, transparent 60%); top: -180px; left: -100px; }
.cta-card-bg .orb-e { width: 320px; height: 320px; background: radial-gradient(circle, #7C3AED, transparent 60%); bottom: -150px; right: -80px; }
.cta-card h2 {
  position: relative;
  font-size: clamp(24px, 3.4vw, 36px);
  margin-bottom: 16px;
}
.cta-card p {
  position: relative;
  font-size: 15px;
  color: var(--fg-soft);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact { background: var(--bg-base); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.contact-card {
  padding: 28px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}
.contact-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 10px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 6px;
}
.contact-value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
}
.contact-value.link {
  color: var(--accent-cyan);
  word-break: break-all;
}
.contact-value.link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-tagline {
  margin-top: 16px;
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--fg-soft);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-cyan); }
.footer-meta {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-faint);
  text-align: center;
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats li { border-right: none; }
  .hero-stats li:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 4px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .lang-switch { padding: 3px; }
  .lang-btn { padding: 5px 10px; font-size: 12px; min-width: 32px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .phase-body { grid-template-columns: 1fr; gap: 20px; }
  .phase-card { padding: 28px; }
  .phase-card::after { font-size: 90px; right: 16px; bottom: 12px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: auto; }

  .hero { padding: 70px 0 80px; min-height: auto; }
  .hero-cta { margin-bottom: 56px; }
  .hero-scroll { display: none; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { padding: 20px; gap: 8px; }
  .hero-stats li { padding: 4px; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { font-size: 11px; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Selection
   -------------------------------------------------------------------------- */
::selection {
  background: rgba(0, 212, 255, 0.35);
  color: var(--fg);
}