﻿/* =========================================================
   NEURAL LABS – styles.css
   Static site, cPanel-ready. No framework dependencies.
   Palette: navy #0d2340 | blue #1e40af | cyan #0ea5e9 | teal #0f766e
   ========================================================= */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --navy:        #0d2340;
  --navy-mid:    #1a3a6c;
  --blue:        #1e40af;
  --blue-mid:    #1d6fb8;
  --cyan:        #0ea5e9;
  --teal:        #0f766e;
  --ink:         #0d1b2e;
  --ink-soft:    #2d4a6b;
  --ink-muted:   #5b7a99;
  --surface:     #ffffff;
  --surface-2:   #f0f7ff;
  --surface-3:   #e2eeff;
  --border:      rgba(14, 116, 199, .18);
  --shadow-sm:   0 2px 8px rgba(13, 35, 64, .08);
  --shadow-md:   0 8px 24px rgba(13, 35, 64, .12);
  --shadow-lg:   0 20px 48px rgba(13, 35, 64, .18);
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-xl:   32px;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface-2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
p  { line-height: 1.7; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* ─── NEURAL CANVAS ──────────────────────────────────────── */
#neuralCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .28;
  pointer-events: none;
}

/* ─── CONTAINER ──────────────────────────────────────────── */
.container { width: min(1160px, 94%); margin: 0 auto; }

/* ─── HEADER ─────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled {
  background: rgba(240, 247, 255, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(14, 116, 199, .14), var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;   /* dissolves white JPEG bg into the light header */
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--blue); background: rgba(30, 64, 175, .07); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--blue), var(--blue-mid));
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  margin-left: 10px;
  transition: transform .22s, box-shadow .22s, filter .22s;
  box-shadow: 0 4px 16px rgba(30, 64, 175, .38);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 7px 22px rgba(30, 64, 175, .44); filter: brightness(1.04); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 10px;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .28s, opacity .28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 700;
  transition: transform .25s, box-shadow .25s, filter .25s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(120deg, var(--blue), var(--blue-mid));
  color: #fff;
  box-shadow: 0 8px 26px rgba(30, 64, 175, .38);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(30, 64, 175, .44); filter: brightness(1.04); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(30, 64, 175, .38);
}
.btn-outline:hover { background: rgba(30, 64, 175, .06); border-color: var(--blue); }

.btn-light {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .3);
}
.btn-light:hover { background: rgba(255, 255, 255, .22); }

.btn-full { width: 100%; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 70px;
  background: linear-gradient(145deg, #f0f7ff 0%, #e6f0ff 45%, #edf8f6 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -220px; right: -220px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, .2) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -160px;
  width: 580px; height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 64, 175, .12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(14, 116, 199, .32);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--blue-mid);
  background: rgba(14, 116, 199, .07);
  margin-bottom: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, .65); }
  50%       { box-shadow: 0 0 0 7px rgba(14, 165, 233, 0); }
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  margin-bottom: 22px;
  color: var(--ink);
}
.gradient-text {
  background: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.stats-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat span { font-size: .8rem; color: var(--ink-muted); margin-top: 3px; }
.stat-divider { width: 1px; height: 42px; background: var(--border); }

/* Hero right side */
.hero-visual {
  position: relative;
  height: 530px;
  display: flex; align-items: center; justify-content: center;
}
.visual-blob {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 62% 38% 54% 46% / 46% 54% 38% 62%;
  background: linear-gradient(140deg, rgba(30, 64, 175, .13) 0%, rgba(14, 165, 233, .16) 100%);
  animation: blob-morph 9s ease-in-out infinite;
}
@keyframes blob-morph {
  0%, 100% { border-radius: 62% 38% 54% 46% / 46% 54% 38% 62%; transform: rotate(0deg);  }
  33%       { border-radius: 46% 54% 38% 62% / 62% 38% 54% 46%; transform: rotate(6deg);  }
  66%       { border-radius: 54% 46% 62% 38% / 38% 62% 46% 54%; transform: rotate(-6deg); }
}
.hero-brain {
  position: relative;
  width: 230px; height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 14px 36px rgba(14, 116, 199, .34));
  animation: float-brain 5.2s ease-in-out infinite;
}
@keyframes float-brain { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.card-float {
  position: absolute;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 3px;
  min-width: 162px;
  animation: float-card 5.5s ease-in-out infinite;
  z-index: 2;
}
.card-float strong { font-size: .88rem; font-family: 'Space Grotesk', sans-serif; color: var(--ink); }
.card-float span   { font-size: .74rem; color: var(--ink-muted); }
.card-float-icon   { font-size: 1.3rem; margin-bottom: 4px; }
.card-f1 { top: 55px;  left: -18px;  animation-delay: 0s;    }
.card-f2 { bottom: 65px; left: -26px; animation-delay: -1.6s; }
.card-f3 { top: 42%;  right: -16px; animation-delay: -3s;   }
@keyframes float-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(14, 116, 199, .4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--blue-mid);
  border-radius: 2px;
  animation: scroll-cue 2.2s ease infinite;
}
@keyframes scroll-cue {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ─── TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  position: relative; z-index: 1;
}
.trust-label {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 16px;
}
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tech-pills span {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.tech-pills span:hover {
  background: rgba(30, 64, 175, .09);
  color: var(--blue);
  border-color: rgba(30, 64, 175, .3);
  transform: translateY(-2px);
}

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 96px 0; position: relative; z-index: 1; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 58px; }
.section-label {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--blue-mid);
  background: rgba(14, 116, 199, .1);
  padding: 5px 13px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.9rem); }
.section-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.68;
}

/* ─── SERVICES GRID ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 60%, rgba(14, 165, 233, .05));
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.featured-service {
  background: linear-gradient(160deg, var(--navy) 0%, #1a3a6c 100%);
  border-color: transparent;
  color: #fff;
}
.service-card.featured-service h3 { color: #fff; }
.service-card.featured-service > p { color: rgba(255, 255, 255, .78); }
.service-card.featured-service .sc-list li { color: rgba(255, 255, 255, .95); border-top-color: rgba(255, 255, 255, .12); }
.service-card.featured-service .sc-list li::before { background: var(--cyan); }

.featured-badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  background: var(--cyan);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sc-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.sc-icon svg   { width: 24px; height: 24px; }
.sc-blue  { background: rgba(30, 64, 175, .1);  color: var(--blue); }
.sc-cyan  { background: rgba(14, 165, 233, .16); color: var(--cyan); }
.sc-teal  { background: rgba(15, 118, 110, .1);  color: var(--teal); }

.service-card h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--ink); }
.service-card > p { font-size: .93rem; color: var(--ink-soft); margin-bottom: 20px; }
.sc-list li {
  font-size: .88rem;
  color: var(--ink-soft);
  padding: 8px 0 8px 16px;
  border-top: 1px solid rgba(14, 116, 199, .1);
  position: relative;
}
.sc-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ─── DIFFERENTIAL ───────────────────────────────────────── */
.differential {
  background: linear-gradient(160deg, var(--navy) 0%, #1a3a6c 55%, #0a3355 100%);
  color: #fff;
}
.differential .section-label { background: rgba(14, 165, 233, .18); color: var(--cyan); }
.diff-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.diff-grid h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: #fff; margin-top: 12px; }
.diff-body { color: rgba(255, 255, 255, .72); margin-top: 16px; font-size: 1rem; max-width: 50ch; }

.features-list { display: grid; gap: 16px; }
.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: background .25s;
}
.feature-item:hover { background: rgba(255, 255, 255, .1); }
.fi-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 165, 233, .22);
  border-radius: 11px;
  color: var(--cyan);
  flex-shrink: 0;
}
.fi-icon svg { width: 20px; height: 20px; }
.feature-item h4 { font-size: .95rem; color: #fff; margin-bottom: 4px; }
.feature-item p  { font-size: .86rem; color: rgba(255, 255, 255, .65); line-height: 1.55; }

/* ─── BACKUP DEEP ─────────────────────────────────────────── */
.backup-deep { background: var(--surface); }
.backup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.rule321 {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(140deg, var(--navy), #1052a0);
  border-radius: var(--radius-xl);
  padding: 38px 26px;
  margin-bottom: 14px;
}
.r-item {
  flex: 1;
  text-align: center;
  padding: 20px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08);
}
.r-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.r-item p   { font-size: .8rem; color: rgba(255, 255, 255, .66); line-height: 1.45; }
.r-3 strong { color: var(--cyan);   }
.r-2 strong { color: #7dd3fc;       }
.r-1 strong { color: #bae6fd;       }
.r-arrow    { font-size: 1.3rem; color: rgba(255, 255, 255, .28); flex-shrink: 0; }
.rule-label { font-size: .8rem; color: var(--ink-muted); text-align: center; padding: 10px; }

.backup-features { display: grid; gap: 22px; }
.bf-item { display: flex; gap: 18px; align-items: flex-start; }
.bf-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(14, 116, 199, .18);
  line-height: 1;
  min-width: 42px;
  flex-shrink: 0;
}
.bf-item h4 { font-size: 1rem; margin-bottom: 5px; color: var(--ink); }
.bf-item p  { font-size: .9rem; color: var(--ink-soft); }

/* ─── PROCESS ────────────────────────────────────────────── */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 30px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(14, 116, 199, .18);
  margin-bottom: 12px;
  line-height: 1;
}
.step h4 { font-size: 1.05rem; margin-bottom: 9px; }
.step p  { font-size: .88rem; color: var(--ink-soft); }
.step-arrow {
  align-self: center;
  width: 36px; min-width: 36px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  position: relative;
  flex-shrink: 0;
}
.step-arrow::after {
  content: '';
  position: absolute;
  right: -1px; top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--cyan);
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-section { background: var(--surface-2); }
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 10px 0 16px; }
.contact-body    { color: var(--ink-soft); font-size: .95rem; margin-bottom: 30px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-size: .93rem;
  color: var(--ink-soft);
}
.contact-detail svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue-mid); }
.contact-detail a:hover { color: var(--blue); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-group label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-group label span { color: var(--blue-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-size: .93rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(14, 116, 199, .12);
  background: var(--surface);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: .8rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 10px;
  min-height: 1.2em;
}
.form-note.success { color: var(--teal); font-weight: 600; }
.form-note.error   { color: #e11d48;    font-weight: 600; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .68);
  padding: 60px 0 28px;
  position: relative; z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 52px;
  margin-bottom: 44px;
}
.footer-logo {
  height: 52px;
  object-fit: contain;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .92);
  border-radius: 10px;
  padding: 5px 10px;
}
.footer-brand p { font-size: .9rem; line-height: 1.68; }
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.footer-links h5 {
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
  font-family: 'Space Grotesk', sans-serif;
}
.footer-links li    { margin-bottom: 9px; }
.footer-links a     { font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .38);
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity .95s cubic-bezier(.22, 1, .36, 1),
    transform .95s cubic-bezier(.22, 1, .36, 1);
}
.reveal-right { transform: translateX(32px); }
.reveal.in-view { opacity: 1; transform: translate(0, 0); }

.reveal[data-delay="50"]  { transition-delay: 50ms;  }
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="150"] { transition-delay: 150ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="250"] { transition-delay: 250ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: rgba(14, 116, 199, .38); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-mid); }

/* ─── RESPONSIVE 1024px ──────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .diff-grid     { grid-template-columns: 1fr; gap: 42px; }
  .backup-grid   { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
}

/* ─── RESPONSIVE 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 390px; }
  .hero-brain  { width: 168px; height: 168px; }
  .visual-blob { width: 330px; height: 330px; }
  .card-f1 { left: 0; top: 30px; }
  .card-f3 { right: 0; }

  .services-grid { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; gap: 12px; }
  .step-arrow {
    width: 2px; height: 28px; min-width: 2px;
    background: linear-gradient(180deg, var(--blue), var(--cyan));
    align-self: center;
  }
  .step-arrow::after {
    right: auto; top: auto;
    left: -4px; bottom: -1px;
    border-left-color: transparent;
    border-top-color: var(--cyan);
  }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }

  .nav-list {
    display: none;
    position: absolute;
    top: 80px; left: 4%; right: 4%;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    box-shadow: var(--shadow-lg);
  }
  .nav-list.open { display: flex; }
  .nav-list .nav-link,
  .nav-list .nav-cta { width: 100%; border-radius: var(--radius-sm); margin-left: 0; }
  .hamburger { display: flex; }

  .rule321 { flex-direction: column; }
  .r-arrow  { transform: rotate(90deg); }
  .footer-links { grid-template-columns: 1fr; }
}

/* ─── RESPONSIVE 480px ───────────────────────────────────── */
@media (max-width: 480px) {
  .section  { padding: 72px 0; }
  .hero     { padding: 100px 0 50px; }
  .stats-row { gap: 14px; }
  .hero-visual { height: 330px; }
  .hero-brain  { width: 140px; height: 140px; }
  .visual-blob { width: 270px; height: 270px; }
}

/* ─── PRICING SECTION ────────────────────────────────────── */
.pricing-section { background: var(--surface-2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
  overflow: hidden;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.plan-badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  background: var(--cyan);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.plan-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-mid);
  background: rgba(14, 116, 199, .1);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}

.plan-card h3 {
  font-size: 1.55rem;
  color: var(--ink);
  margin: 0;
}

.plan-target {
  font-size: .85rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 4px 0;
}
.plan-currency { font-size: .95rem; font-weight: 700; color: var(--ink-soft); }
.plan-amount   {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.plan-period   { font-size: .88rem; color: var(--ink-muted); }

.plan-capacity {
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--surface-3);
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
}

.plan-features {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plan-features li {
  font-size: .88rem;
  color: var(--ink-soft);
  padding: 8px 0 8px 18px;
  border-top: 1px solid rgba(14,116,199,.1);
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.pricing-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14,116,199,.07);
  border: 1px solid rgba(14,116,199,.18);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 28px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.pricing-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue-mid); }
.pricing-note strong { color: var(--ink); }

/* Featured plan card (dark navy) — overrides come AFTER general rules */
.plan-card-featured {
  background: linear-gradient(160deg, var(--navy) 0%, #1a3a6c 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 48px rgba(13, 35, 64, .38);
}
.plan-card-featured h3   { color: #fff; }
.plan-card-featured .plan-tag     { background: rgba(14,165,233,.28); color: var(--cyan); }
.plan-card-featured .plan-target  { color: rgba(255,255,255,.78); }
.plan-card-featured .plan-amount  { color: #fff; }
.plan-card-featured .plan-currency,
.plan-card-featured .plan-period  { color: rgba(255,255,255,.58); }
.plan-card-featured .plan-capacity { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.plan-card-featured .plan-features li {
  border-top-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.82);
}
.plan-card-featured .plan-features li::before { background: var(--cyan); }

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

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