/* =====================================================================
   STACKHAUS — Premium Cloud Hosting / Deployment Platform Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the brand look by editing the CSS variables in
   :root below. Swap --accent for your primary color, adjust --accent2
   to match, and update --font-head / --font-body plus the Google Fonts
   <link> in each HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:       #0d1426;   /* deep navy base background                */
  --surface:  #121a30;   /* card / panel surface                     */
  --ink:      #e8eefc;   /* near-white text (headings)               */
  --muted:    #8a96b3;   /* muted / secondary text                   */
  --accent:   #3b82f6;   /* primary blue (CTAs, highlights)          */
  --accent2:  #22d3ee;   /* cyan accent for glows / gradients        */
  --line:     rgba(255, 255, 255, .08);  /* borders / dividers       */

  /* --- Derived helpers --- */
  --surface-2: #0f1729;  /* slightly deeper panel                    */
  --ink-soft:  rgba(232, 238, 252, .72);

  /* --- Fonts --- */
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 10px 30px rgba(2, 6, 23, .5);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, .65);
  --glow:      0 0 0 1px rgba(59, 130, 246, .35), 0 18px 50px rgba(59, 130, 246, .25);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent2); }

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

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 92px 0; }
.section--soft { background: var(--surface-2); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .22);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: var(--ink-soft); }

.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #05101f;
  box-shadow: 0 8px 22px rgba(59, 130, 246, .4);
}
.btn-primary:hover { color: #05101f; box-shadow: 0 14px 34px rgba(59, 130, 246, .55); }

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); background: rgba(59, 130, 246, .12); }

.btn-light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.btn-light:hover { background: #fff; color: var(--bg); }

/* Small header CTA */
.btn-sm { padding: 10px 20px; font-size: .92rem; }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 20, 38, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(59, 130, 246, .5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: rgba(255, 255, 255, .05); color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(34, 211, 238, .18), transparent 60%),
    radial-gradient(720px 520px at 0% 110%, rgba(59, 130, 246, .2), transparent 55%),
    var(--bg);
  padding: 90px 0 96px;
}
.hero::before {
  /* subtle grid overlay */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 600px at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .9rem; color: var(--muted); }

/* Hero visual — pure CSS deploy console mock */
.hero-visual {
  position: relative;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.console {
  background: #0a1120;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}
.console-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.console-bar i { width: 11px; height: 11px; border-radius: 50%; }
.console-bar i:nth-child(1) { background: #ff5f57; }
.console-bar i:nth-child(2) { background: #febc2e; }
.console-bar i:nth-child(3) { background: #28c840; }
.console-bar span {
  margin-left: auto; font-family: var(--font-head); font-size: .74rem;
  color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
}
.console-body {
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-size: .82rem;
  padding: 16px;
  line-height: 1.9;
}
.console-body .line { display: flex; gap: 10px; }
.console-body .prompt { color: var(--accent2); }
.console-body .ok { color: #4ade80; }
.console-body .dim { color: var(--muted); }
.console-body .bar {
  height: 6px; border-radius: 4px; margin-top: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 100%;
  box-shadow: 0 0 14px rgba(34, 211, 238, .6);
}

/* Region map dots */
.region-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.region-card h4 {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.region-map {
  position: relative;
  height: 96px;
  border-radius: 10px;
  background:
    radial-gradient(120px 80px at 30% 40%, rgba(59, 130, 246, .12), transparent 70%),
    radial-gradient(120px 80px at 70% 60%, rgba(34, 211, 238, .12), transparent 70%),
    rgba(255, 255, 255, .02);
  border: 1px solid var(--line);
  overflow: hidden;
}
.region-map .dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
.region-map .dot.d1 { top: 28%; left: 18%; }
.region-map .dot.d2 { top: 52%; left: 38%; background: var(--accent); box-shadow: 0 0 0 4px rgba(59, 130, 246, .18); animation-delay: .4s; }
.region-map .dot.d3 { top: 34%; left: 60%; animation-delay: .8s; }
.region-map .dot.d4 { top: 64%; left: 78%; background: var(--accent); box-shadow: 0 0 0 4px rgba(59, 130, 246, .18); animation-delay: 1.2s; }
.region-map .dot.d5 { top: 22%; left: 84%; animation-delay: 1.6s; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.35); opacity: 1; }
}

.hv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hv-stat {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.hv-stat strong {
  font-family: var(--font-head); font-size: 1.5rem; display: block; color: var(--ink);
  background: linear-gradient(120deg, var(--ink), var(--accent2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hv-stat span { font-size: .78rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   TRUSTED-BY STRIP
   --------------------------------------------------------------------- */
.trusted { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trusted p { text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 46px;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--muted);
  opacity: .7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--ease), color var(--ease);
}
.logo-strip span:hover { opacity: 1; color: var(--accent2); }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59, 130, 246, .4); }

.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, .18), rgba(34, 211, 238, .14));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
}
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Feature list (why choose us) */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature .tick {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #05101f;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(59, 130, 246, .4);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; color: var(--muted); }

/* Split section (visual block + content) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: 22px;
  min-height: 360px;
  background: linear-gradient(150deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--ink);
  padding: 32px;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 320px at 80% 20%, rgba(34, 211, 238, .22), transparent 60%);
}

/* ---------------------------------------------------------------------
   STATS BAND
   --------------------------------------------------------------------- */
.stats-band {
  background:
    radial-gradient(700px 400px at 15% 20%, rgba(59, 130, 246, .22), transparent 60%),
    radial-gradient(700px 400px at 85% 80%, rgba(34, 211, 238, .16), transparent 60%),
    var(--surface-2);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-band .section-head h2 { color: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------------
   HOW IT WORKS — steps
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #05101f;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .95rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: #fbbf24; margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.12rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.5;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #05101f;
  font-family: var(--font-head);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(34, 211, 238, .3), transparent 60%),
    linear-gradient(135deg, #122247, #0c1730);
  border: 1px solid rgba(59, 130, 246, .3);
  color: #fff;
  border-radius: 28px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(34, 211, 238, .18), transparent 60%),
    radial-gradient(600px 400px at 0% 120%, rgba(59, 130, 246, .16), transparent 60%),
    var(--surface-2);
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 620px; color: var(--ink-soft); margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent2); }
.breadcrumb span { margin: 0 6px; }

/* ---------------------------------------------------------------------
   FEATURES PAGE — alternating detailed blocks
   --------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 40px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse .feature-visual { order: 2; }
.feature-copy .eyebrow { margin-bottom: 14px; }
.feature-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.feature-copy p { color: var(--muted); }
.feature-points { margin-top: 18px; display: grid; gap: 12px; }
.feature-points li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .98rem; color: var(--ink-soft);
}
.feature-points li::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: rgba(34, 211, 238, .14);
  color: var(--accent2);
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700;
}
.feature-visual {
  border-radius: 22px;
  min-height: 320px;
  background: linear-gradient(150deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 28px;
}
.feature-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px 280px at 30% 20%, rgba(59, 130, 246, .25), transparent 60%);
}
.feature-visual .glyph {
  position: relative; z-index: 1; text-align: center;
}
.feature-visual .glyph .big { font-size: 3.2rem; margin-bottom: 8px; }
.feature-visual .glyph strong { font-family: var(--font-head); color: var(--ink); font-size: 1.3rem; display: block; }
.feature-visual .glyph span { color: var(--muted); font-size: .92rem; }

/* mini code/metric chip inside feature visuals */
.mini-panel {
  position: relative; z-index: 1;
  width: 100%;
  background: #0a1120;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-size: .82rem;
  line-height: 1.9;
}
.mini-panel .ok { color: #4ade80; }
.mini-panel .dim { color: var(--muted); }
.mini-panel .prompt { color: var(--accent2); }

/* Integrations grid */
.integration {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  text-align: center;
  transition: transform var(--ease), border-color var(--ease);
}
.integration:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, .4); }
.integration .i-mark { font-size: 1.9rem; margin-bottom: 8px; }
.integration b { font-family: var(--font-head); color: var(--ink); font-size: .98rem; display: block; }
.integration span { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   PRICING
   --------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border-color: rgba(59, 130, 246, .55);
  box-shadow: var(--glow);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #05101f;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 5px 16px; border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.price-card .plan-desc { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.price-amount {
  display: flex; align-items: flex-end; gap: 6px; margin-bottom: 6px;
}
.price-amount .amt {
  font-family: var(--font-head); font-weight: 700; font-size: 2.8rem;
  color: var(--ink); line-height: 1;
}
.price-amount .per { color: var(--muted); font-size: .92rem; padding-bottom: 6px; }
.price-card .note { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.price-features { display: grid; gap: 12px; margin-bottom: 28px; }
.price-features li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .95rem; color: var(--ink-soft);
}
.price-features li::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(34, 211, 238, .14);
  color: var(--accent2);
  display: grid; place-items: center;
  font-size: .76rem; font-weight: 700;
}
.price-features li.off { color: var(--muted); opacity: .65; }
.price-features li.off::before { content: "\2013"; background: rgba(255, 255, 255, .05); color: var(--muted); }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
}
.faq-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.faq-item p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

/* ---------------------------------------------------------------------
   ABOUT — values + team
   --------------------------------------------------------------------- */
.value-card .icon { background: linear-gradient(135deg, rgba(59, 130, 246, .2), rgba(34, 211, 238, .18)); }

.team-card { text-align: center; }
.team-card .team-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: #05101f;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px rgba(59, 130, 246, .35);
}
.team-card:nth-child(2) .team-photo { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.team-card:nth-child(3) .team-photo { background: linear-gradient(135deg, #6366f1, #22d3ee); }
.team-card:nth-child(4) .team-photo { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent2); font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.team-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.6rem; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #f87171; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f87171; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .4);
  color: #67e8f9;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, .2), rgba(34, 211, 238, .16));
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; color: var(--muted); }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(34, 211, 238, .05), rgba(59, 130, 246, .05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--surface-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-2);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: var(--ink); margin-bottom: 14px; }
.site-footer .brand:hover { color: var(--ink); }
.footer-about p { font-size: .95rem; color: var(--muted); max-width: 320px; }
.footer-col h4 {
  color: var(--ink); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: var(--muted); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--ink); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--ink);
}
.social a:hover { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #05101f; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--ink-soft); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Stagger helper */
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
/* If JS/IO unsupported, .no-io shows everything */
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row--reverse .feature-visual { order: 0; }
  .stats-grid, .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 26px; }
}

@media (max-width: 360px) {
  .stats-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
}
