/* ===========================================================
   SOLISHOST — Stylesheet
   =========================================================== */

:root {
  /* Palette — Light */
  --bg: #f7f9fc;
  --bg-elevated: #ffffff;
  --bg-soft: #eef2f9;
  --text: #0b1220;
  --text-muted: #4b5568;
  --text-faint: #8892a3;
  --border: #e1e6ef;
  --border-strong: #cbd4e3;

  --blue: #2b5cff;
  --blue-deep: #1638b3;
  --blue-bright: #4d7bff;
  --blue-glow: rgba(43, 92, 255, 0.35);
  --blue-tint: #eaf0ff;

  --ok: #17a06b;
  --discord: #5865f2;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 24px 64px -16px rgba(15, 23, 42, 0.22);
  --shadow-glow: 0 0 0 1px rgba(43,92,255,0.15), 0 16px 40px -12px rgba(43,92,255,0.45);

  --font-display: 'Space Mono', monospace;
  --font-body: 'Manrope', sans-serif;

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

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark {
  --bg: #05070d;
  --bg-elevated: #0c1120;
  --bg-soft: #10162a;
  --text: #eef2fb;
  --text-muted: #a4adc4;
  --text-faint: #626d88;
  --border: #1d2438;
  --border-strong: #2a324a;

  --blue: #5b82ff;
  --blue-deep: #7fa0ff;
  --blue-bright: #7fa0ff;
  --blue-glow: rgba(91, 130, 255, 0.4);
  --blue-tint: #131c3a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 64px -16px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 1px rgba(91,130,255,0.25), 0 16px 48px -12px rgba(91,130,255,0.55);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: translate(-50%, -50%);
  filter: blur(10px);
}
@media (hover: hover) {
  .cursor-glow.active { opacity: 0.5; }
}

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

/* ---------- Tags & eyebrow ---------- */
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-tint);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  position: relative;
  flex-shrink: 0;
}
.pulse-dot::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 1.8s ease-out infinite;
}
.pulse-dot.small { width: 6px; height: 6px; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  position: relative;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
  box-shadow: 0 0 0 1px rgba(43,92,255,0.25), 0 20px 48px -10px rgba(43,92,255,0.6);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-discord {
  background: var(--discord);
  color: #fff;
}
.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(88,101,242,0.55);
}
.btn-discord svg { width: 17px; height: 17px; }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-header {
  padding: 9px 18px;
  font-size: 0.86rem;
}

.btn-lg { padding: 15px 28px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  display: flex;
  gap: 3px;
  padding: 8px;
  background: var(--blue);
  border-radius: 9px;
  box-shadow: var(--shadow-glow);
}
.logo-dot {
  width: 4px; height: 4px;
  border-radius: 1px;
  background: #fff;
}
.logo-dot:nth-child(2) { opacity: 0.7; }
.logo-dot:nth-child(3) { opacity: 0.4; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.logo-accent { color: var(--blue); }

.main-nav {
  display: flex;
  gap: 34px;
  font-size: 0.92rem;
  font-weight: 600;
}
.main-nav a {
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--blue);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-moon { display: none; }
html.dark .icon-sun { display: none; }
html.dark .icon-moon { display: block; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.burger span {
  width: 16px; height: 1.6px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 82vw);
  height: 100vh;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 99;
  padding: 100px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.mobile-nav .btn { width: 100%; margin-top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--border);
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 35%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 35%, black 20%, transparent 75%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero-glow-1 {
  width: 560px; height: 560px;
  top: -180px; left: 50%;
  transform: translateX(-60%);
  background: radial-gradient(circle, var(--blue-glow), transparent 70%);
  opacity: 0.9;
  animation: floatGlow 12s ease-in-out infinite;
}
.hero-glow-2 {
  width: 420px; height: 420px;
  bottom: -160px; right: -60px;
  background: radial-gradient(circle, var(--blue-glow), transparent 70%);
  opacity: 0.55;
  animation: floatGlow 14s ease-in-out infinite reverse;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.08); }
}

.hero-node {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px 3px var(--blue-glow);
  animation: nodeFloat 6s ease-in-out infinite;
}
.hero-node-1 { top: 22%; left: 14%; animation-delay: 0s; }
.hero-node-2 { top: 65%; left: 82%; animation-delay: 1.4s; }
.hero-node-3 { top: 40%; left: 88%; animation-delay: 2.8s; }
@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-14px); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-title .highlight {
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text-muted);
  max-width: 560px;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--blue);
  margin-left: 2px;
  position: relative;
  top: -6px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 34px;
  background: var(--border-strong);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-cue-line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--blue), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; right: 0; height: 100%;
  background: linear-gradient(var(--blue-bright), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}
.marquee-track span:nth-child(odd) { color: var(--blue); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Sections generic ---------- */
section { padding: 120px 0; position: relative; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { margin-top: 4px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.about-copy p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 480px;
}
.about-copy h2 { margin-bottom: 6px; }

.about-mini-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about-mini-stats div { display: flex; flex-direction: column; gap: 2px; }
.about-mini-stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue);
}
.about-mini-stats span { font-size: 0.82rem; color: var(--text-faint); }

.terminal-card {
  background: #0b1120;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: #10182c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title {
  margin-left: 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: #7a869e;
}
.terminal-body {
  padding: 26px 22px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  line-height: 1.9;
  color: #c6cedf;
}
.terminal-body p { min-height: 1.9em; }
.terminal-body .cmd-line { color: #c6cedf; }
.terminal-body .prompt { color: #5b82ff; margin-right: 8px; }
.terminal-body .out { padding-left: 18px; color: #8b96ad; }
.terminal-body .ok { color: #3ddc84; }
.blink { animation: blink 1s step-end infinite; color: #5b82ff; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.service-card-featured {
  background: linear-gradient(165deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.service-card-featured:hover { box-shadow: 0 20px 56px -14px rgba(43,92,255,0.55); }
.service-card-featured .service-icon { background: rgba(255,255,255,0.16); color: #fff; }
.service-card-featured p { color: rgba(255,255,255,0.85); }
.service-card-featured .service-list li { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.2); }
.service-card-featured .service-list li::before { color: #fff; }

.badge {
  position: absolute;
  top: -12px; right: 28px;
  background: #fff;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 20px; }
.service-list li {
  font-size: 0.86rem;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
}
.service-list li::before {
  content: '→';
  color: var(--blue);
  margin-right: 10px;
  font-weight: 700;
}

/* ---------- Advantages ---------- */
.advantages { background: var(--bg-soft); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.adv-card {
  background: var(--bg-elevated);
  padding: 36px 26px;
  transition: background 0.35s ease;
}
.adv-card:hover { background: var(--blue-tint); }
.adv-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--blue);
  display: block;
  margin-bottom: 18px;
}
.adv-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.adv-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: none; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.65;
}
.testi-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-card footer div { display: flex; flex-direction: column; }
.testi-card footer strong { font-size: 0.9rem; }
.testi-card footer span { font-size: 0.78rem; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 24px;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--blue);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); padding-bottom: 22px; font-size: 0.92rem; max-width: 640px; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue) 55%, var(--blue-bright));
  z-index: -1;
}
.cta-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 45%),
                     radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12), transparent 45%);
}
.cta-inner { text-align: center; color: #fff; }
.cta-inner h2 { color: #fff; }
.cta-inner p {
  margin-top: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}
.cta-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.35); }
.final-cta .btn-primary:hover { background: #eef2ff; }
.final-cta .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.final-cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-faint);
  max-width: 1180px;
  margin: 0 auto;
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section-inner { padding: 0 20px; }
  section { padding: 84px 0; }
  .hero { padding: 120px 20px 64px; }
  .hero-stats { gap: 18px; }
  .stat-value { font-size: 1.3rem; }
  .header-inner { padding: 0 18px; }
  .btn-header { display: none; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@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;
  }
}
