/* ===================================================
  SMARTSTRATEGYDATA - V3 DARK DATACENTER / CLOUD
   =================================================== */

:root {
  --bg:       #06080f;
  --bg-card:  #0c1019;
  --bg-card2: #101520;
  --surface:  #141a27;
  --border:   rgba(255, 255, 255, 0.06);
  --border-h: rgba(0, 229, 255, 0.15);
  --text:     #e2e8f0;
  --text-dim: #8892a4;
  --cyan:     #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --blue:     #3b82f6;
  --purple:   #8b5cf6;
  --radius:   16px;
  --radius-lg:24px;
  --shadow:   0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px rgba(0, 229, 255, 0.08);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Fira Code", monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ---- Canvas grid ---- */
#grid-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ---- Layout ---- */
main {
  position: relative;
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  width: min(1200px, 90vw);
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  background: rgba(6, 8, 15, 0.7);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 8, 15, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
}

.brand {
  font-family: var(--font);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  letter-spacing: 0.03em;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 229, 255, 0.26);
  background:
    radial-gradient(circle at 28% 25%, rgba(0, 229, 255, 0.2), transparent 58%),
    linear-gradient(145deg, rgba(20, 26, 39, 0.95), rgba(12, 16, 25, 0.95));
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.08), 0 0 28px rgba(0, 229, 255, 0.16);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(0, 229, 255, 0.2));
}

.brand-name {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand-dot {
  color: var(--cyan);
  animation: blink 1.2s steps(2) infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.nav {
  display: flex;
  gap: 2.2rem;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav a:hover, .nav a.active { color: var(--cyan); }

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav a:hover::after, .nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== SECTIONS ===== */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--cyan-dim);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.04);
}

.section-sub {
  color: var(--text-dim);
  max-width: 52ch;
  margin: 0 0 2.4rem;
  font-size: 0.95rem;
}

/* ===== HERO ===== */
.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Hero circuit background */
.hero-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 65%);
  top: -150px; right: -100px;
  animation: glowFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-glow--2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  bottom: -120px; left: -80px;
  top: auto; right: auto;
  animation-duration: 25s;
  animation-direction: reverse;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(35px, -25px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan-dim);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.8rem;
  background: rgba(0, 229, 255, 0.03);
}

.kicker-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--cyan); }
  50% { opacity: 0.35; transform: scale(0.6); box-shadow: 0 0 2px var(--cyan); }
}

h1, h2, h3 {
  font-family: var(--font);
  line-height: 1.1;
  margin: 0;
  color: #fff;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  margin: 1.4rem 0 0;
  max-width: 50ch;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

/* ---- Hero trust metrics ---- */
.hero-trust {
  display: flex;
  gap: 2.4rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
}

.mono {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
}

.mono-dim {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--cyan);
}

.trust-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.78rem 1.4rem;
  font-size: 0.88rem;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #06080f;
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 14px 40px rgba(0, 229, 255, 0.3);
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}

.btn-glow:hover::before { opacity: 0.5; }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.05);
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 0.92rem;
}

/* ===== TERMINAL (Hero visual) ===== */
.terminal {
  background: #0a0e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--text-dim);
  transition: transform var(--transition), box-shadow var(--transition);
}

.terminal:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow), 0 0 80px rgba(0, 229, 255, 0.1);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-title {
  margin-left: auto;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
}

.terminal-body {
  padding: 1.2rem 1.2rem 1rem;
}

.terminal-body p { margin: 0; }

.t-prompt { color: var(--cyan); }
.t-success { color: #4ade80; }
.t-info { color: var(--cyan); }

.terminal-cursor {
  display: inline-block;
  color: var(--cyan);
  animation: blink 1s steps(2) infinite;
}

/* ===== BENEFIT CARDS ===== */

/* ---- Infrastructure topology diagram ---- */
.infra-diagram {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(12, 16, 25, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.topology-svg {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.topo-line {
  animation: dashFlow 3s linear infinite;
}

@keyframes dashFlow {
  to { stroke-dashoffset: -20; }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.benefit-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.benefit-card:hover::before { transform: scaleX(1); }

.benefit-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--cyan);
  transition: all var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: rgba(0, 229, 255, 0.18);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
}

.benefit-card h3 { margin-bottom: 0.5rem; }

.benefit-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

.card-tag {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.55;
}

/* ===== ABOUT ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text p {
  color: var(--text-dim);
  max-width: 55ch;
  line-height: 1.8;
}

.about-metrics {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
}

.metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  text-align: center;
  flex: 1;
  transition: all var(--transition);
}

.metric:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow-glow);
}

.metric-val {
  margin: 0;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.metric-val span {
  font-size: 0.6em;
  color: var(--cyan);
}

.metric-label {
  margin: 0.3rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---- Server rack visual ---- */
.rack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}

.rack-unit {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  transition: all var(--transition);
}

.rack-unit.active:hover {
  border-color: var(--border-h);
  box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.03);
}

.rack-led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 3s ease-in-out infinite;
}

.rack-led.off {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
  animation: none;
}

.rack-label {
  color: var(--text);
  letter-spacing: 0.06em;
  flex: 1;
}

.rack-status {
  font-size: 0.68rem;
  color: #4ade80;
  letter-spacing: 0.08em;
}

.rack-status.dim {
  color: var(--text-dim);
}

/* ---- Monitoring dashboard ---- */
.dashboard-card {
  margin-top: 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.dash-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.dash-dot.live {
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

.dash-title {
  letter-spacing: 0.06em;
}

.dash-chart {
  width: 100%;
  height: auto;
  display: block;
  padding: 0.8rem 1rem 0.4rem;
}

.dash-stats {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 1rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}

.dash-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dash-stat-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}

.dash-stat-dot.cpu { background: #00e5ff; }
.dash-stat-dot.mem { background: #8b5cf6; }
.dash-stat-dot.net { background: #4ade80; }

.dash-stat-val {
  color: var(--text);
  font-weight: 500;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.price-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.price-header {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.4rem;
}

.plan-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.08);
  margin-bottom: 0.8rem;
  transition: all var(--transition);
}

.price-card:hover .plan-icon {
  background: rgba(0, 229, 255, 0.18);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
}

.price {
  margin: 0.4rem 0 0;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.price span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-dim);
}

.price-card ul {
  margin: 0.8rem 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.price-card li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--cyan);
}

.featured {
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: linear-gradient(170deg, #0d1422, #0a1018);
  box-shadow: var(--shadow), 0 0 80px rgba(0, 229, 255, 0.06);
  transform: translateY(-8px);
}

.featured:hover {
  transform: translateY(-12px);
}

.badge-wrap {
  margin-bottom: 0.6rem;
}

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #06080f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

/* ===== CONTACT ===== */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: auto 1.1fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Network globe */
.contact-globe {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  animation: globeSpin 40s linear infinite;
  opacity: 0.7;
}

@keyframes globeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.contact-glow {
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06), transparent 65%);
  top: -100px; right: -80px;
  pointer-events: none;
}

.contact-content p {
  color: var(--text-dim);
  max-width: 45ch;
  margin: 0.5rem 0 0;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand svg { color: var(--text-dim); }

.footer-copy, .footer-legal {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* ===== REVEAL ANIMATIONS ===== */
/* Content visible by default - JS adds html.js to enable animations */
.reveal,
.reveal-child {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

html.js .reveal-child {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal-child.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child:nth-child(1) { transition-delay: 0.06s; }
.reveal-child:nth-child(2) { transition-delay: 0.14s; }
.reveal-child:nth-child(3) { transition-delay: 0.22s; }
.reveal-child:nth-child(4) { transition-delay: 0.30s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-grid,
  .about-wrap,
  .pricing-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; padding-top: 5.5rem; }
  .hero-circuit { display: none; }
  .featured { transform: none; }
  .featured:hover { transform: translateY(-4px); }
  .benefits-grid { grid-template-columns: 1fr; }
  .contact-globe { width: 100px; height: 100px; margin: 0 auto; }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 15, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 100;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav a { font-size: 1.3rem; }
  .nav-toggle { display: flex; }

  .about-metrics { flex-wrap: wrap; }
  .metric { min-width: 120px; }

  .hero-trust { gap: 1.5rem; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .section { padding: 4.5rem 0; }
  .hero { padding-top: 4rem; }
  .brand { gap: 0.56rem; }
  .brand-logo { width: 40px; height: 40px; border-radius: 10px; }
  .brand-logo-img { width: 29px; height: 29px; }
  .brand-name { font-size: 0.82rem; letter-spacing: 0.07em; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-trust { flex-direction: column; gap: 1rem; }
  .about-metrics { flex-direction: column; }
  .contact-card { padding: 2rem 1.4rem; }
  .footer-wrap { flex-direction: column; text-align: center; }
}

/* ===== Selection ===== */
::selection {
  background: rgba(0, 229, 255, 0.2);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
