/* RareSRV marketing site.
   Design tokens mirror the WHMCS client area so the handoff feels seamless. */

:root {
  --bg-0: #05070c;
  --bg-1: #0a0e17;
  --bg-2: #0f141f;
  --bg-3: #151b28;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #e7ecf3;
  --text-dim: #9aa4b2;
  --text-mute: #6b7382;
  --accent: #2aa5ff;
  --accent-2: #0a84ff;
  --accent-glow: rgba(42, 165, 255, 0.35);
  --orb-a: rgba(42, 165, 255, 0.35);
  --orb-b: rgba(130, 80, 255, 0.22);
  --success: #22c55e;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset,
                 0 10px 40px -12px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Per-service accent themes. Subtle shifts only; the core blue carries
   most of the brand. Hosting and Web Design stay on default. */
body.theme-bots {
  --accent: #8a95ff;
  --accent-2: #6874f0;
  --accent-glow: rgba(104, 116, 240, 0.28);
  --orb-a: rgba(104, 116, 240, 0.26);
  --orb-b: rgba(130, 80, 255, 0.18);
}

body.theme-email {
  --accent: #ffc98a;
  --accent-2: #f0a040;
  --accent-glow: rgba(240, 160, 64, 0.24);
  --orb-a: rgba(240, 160, 64, 0.16);
  --orb-b: rgba(255, 201, 138, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Aurora background: subtle, animated, sits behind everything.
   Dimmed when the page has a full-bleed hero with its own canvas visuals. */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -2;
  background:
    radial-gradient(40vmax 40vmax at 10% 10%, rgba(10, 132, 255, 0.15), transparent 60%),
    radial-gradient(50vmax 50vmax at 90% 20%, rgba(42, 165, 255, 0.10), transparent 60%),
    radial-gradient(40vmax 40vmax at 50% 110%, rgba(100, 70, 255, 0.10), transparent 60%);
  filter: blur(40px);
  animation: aurora 24s ease-in-out infinite alternate;
}

body:has(.hero-xl)::before { opacity: 0.5; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at top, transparent 40%, var(--bg-0) 80%);
  pointer-events: none;
}

@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%  { transform: translate3d(2%, -2%, 0) rotate(2deg); }
  100% { transform: translate3d(-2%, 2%, 0) rotate(-2deg); }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; color: var(--text-dim); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #5fbbff; }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(48px, 9vw, 120px) 0;
}

/* Nav */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding: 16px 24px 0;
  margin-bottom: -80px; /* Let the hero canvas paint behind the nav */
  transition: top 0.3s var(--ease);
}

/* Non-hero pages: no overlap, just normal spacing. */
body:not(:has(.hero-xl)) .nav { margin-bottom: 0; }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(10, 14, 23, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}

.brand {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 4px 10px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-links a:hover { background: rgba(255, 255, 255, 0.04); }
.nav-links a.active {
  background: rgba(42, 165, 255, 0.12);
  border: 1px solid rgba(42, 165, 255, 0.3);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease);
  text-decoration: none;
  will-change: transform;
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -12px var(--accent-glow),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px var(--accent-glow),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: rgba(42, 165, 255, 0.4);
  color: var(--accent);
}

.btn-outline:hover {
  background: rgba(42, 165, 255, 0.08);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Eyebrow label. Replaces the old pill chip. No background, no border,
   just a small uppercase accent label above a headline. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 10px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pill::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* Only the live-status variant still uses the pill bubble + ping. */
.pill.pill-live,
.pill:has(.pill-ping) {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 0;
  backdrop-filter: blur(6px);
}

.pill.pill-live::before,
.pill:has(.pill-ping)::before {
  display: none;
}

/* Cards */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(21, 27, 40, 0.6), rgba(15, 20, 31, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(42, 165, 255, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

/* ============================================================
   HERO, the one-chance-to-grab-attention block
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(48px, 10vw, 120px) 0 clamp(40px, 8vw, 80px);
}

/* Fullscreen-ish hero on the home page */
.hero-xl {
  position: relative;
  /* Extend the hero up under the nav so the canvas paints edge to edge.
     Top padding covers nav height (~72px) + a small visual gap. */
  padding: clamp(110px, 11vw, 150px) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.hero-centered .hero-sub { margin-inline: auto; }
.hero-centered .hero-cta { justify-content: center; }
.hero-centered .hero-trust { justify-content: center; }

/* Canvas sits behind everything in the hero */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* Big soft color orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.hero-orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--orb-a), transparent 60%);
  top: -180px; left: -200px;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 680px; height: 680px;
  background: radial-gradient(circle, var(--orb-b), transparent 60%);
  bottom: -280px; right: -220px;
  animation: orbFloat 22s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(40px, 30px, 0) scale(1.08); }
}

/* Scanning line, runs down the hero slowly */
.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 40%,
    rgba(42, 165, 255, 0.08) 50%,
    transparent 60%,
    transparent 100%);
  animation: heroScan 9s linear infinite;
  opacity: 0.7;
}

@keyframes heroScan {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

/* Animated ping dot for the hero pill */
.pill-ping {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  flex-shrink: 0;
}

.pill-ping::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pingDot 2s ease-out infinite;
}

@keyframes pingDot {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.pill .pill-ping { margin-right: 2px; }
.pill:has(.pill-ping)::before { display: none; }

/* Headline with fixed-height rotating line, so the typewriter does not reflow anything */
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 22px 0 20px;
  color: #fff;
  font-weight: 800;
}

.hero-line {
  display: block;
}

.hero-line-rotator {
  /* Reserve the full line height so the typewriter can never nudge anything. */
  display: block;
  height: 1.1em;
  line-height: 1.1;
  overflow: hidden;
  position: relative;
}

.hero-rotator {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, #6ec2ff 0%, var(--accent-2) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
  min-width: 1ch;
}

.hero-rotator::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.8em;
  background: var(--accent);
  margin-left: 6px;
  transform: translateY(0.08em);
  animation: caretBlink 1s steps(2, end) infinite;
  box-shadow: 0 0 10px var(--accent-glow);
  border-radius: 1px;
  vertical-align: baseline;
}

@keyframes caretBlink {
  50% { opacity: 0; }
}

.hero-sub {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  color: var(--text-dim);
  max-width: 56ch;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.btn-xl {
  padding: 14px 26px;
  font-size: 0.98rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  padding: 10px 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.btn-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 10px;
}

.btn-link svg { width: 14px; height: 14px; }

/* Trust row under the CTAs */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.trust-label {
  font-size: 0.78rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-sep {
  width: 1px;
  height: 32px;
  background: var(--line-strong);
}

/* ---------- Hero feature strip ---------- */

.hero-strip-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 7vw, 72px);
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(10, 14, 23, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}

.hero-strip-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  isolation: isolate;
}

.hero-strip-item + .hero-strip-item {
  border-left: 1px solid var(--line);
}

.hero-strip-item:hover {
  background: rgba(42, 165, 255, 0.06);
  color: #fff;
}

.hero-strip-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(42, 165, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(42, 165, 255, 0.22);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}

.hero-strip-icon svg { width: 20px; height: 20px; }

.hero-strip-item:hover .hero-strip-icon {
  transform: translateY(-2px);
  background: rgba(42, 165, 255, 0.22);
}

.hero-strip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.hero-strip-text strong {
  font-size: 0.98rem;
  color: #fff;
  font-weight: 700;
}

.hero-strip-text span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-strip-arrow {
  width: 16px; height: 16px;
  margin-left: auto;
  color: var(--text-mute);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.hero-strip-item:hover .hero-strip-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* Values row */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value {
  position: relative;
  padding: 26px;
}

.value-num {
  display: inline-block;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  opacity: 0.7;
}

.value h4 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: #fff;
}

.value p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* Highlight panel (the "What We Offer" card from screenshot) */
.panel {
  background: linear-gradient(180deg, rgba(21, 27, 40, 0.85), rgba(10, 14, 23, 0.85));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.panel h3 {
  margin-bottom: 20px;
  color: #fff;
}

.panel ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.panel ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--text);
  font-size: 0.95rem;
}

.panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.panel-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Pricing */
.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.tabs {
  display: inline-flex;
  padding: 4px;
  background: rgba(15, 20, 31, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
}

.tabs button {
  position: relative;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s var(--ease);
  z-index: 1;
}

.tabs button.active { color: #fff; }

.tabs .tab-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 999px;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease);
  box-shadow: 0 6px 20px -6px var(--accent-glow);
  z-index: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.pricing-grid-solo {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(21, 27, 40, 0.7), rgba(10, 14, 23, 0.7));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.price-card.popular {
  border-color: rgba(42, 165, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(42, 165, 255, 0.2),
              0 20px 60px -20px var(--accent-glow);
}

.price-card.popular::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(42, 165, 255, 0.6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.price-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.price-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.price-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 165, 255, 0.15);
  border: 1px solid rgba(42, 165, 255, 0.3);
  color: var(--accent);
  font-weight: 600;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.price-period {
  color: var(--text-mute);
  font-size: 0.9rem;
}

.price-note {
  display: block;
  margin: -14px 0 20px;
  font-size: 0.8rem;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

.price-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.price-features li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 0.92rem;
  color: var(--text);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.price-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   Hosting page
   ============================================================ */

.host-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================================
   Bot hosting page: hero split + morphing pricing card
   ============================================================ */

/* Full-bleed hero background with themed canvas. Shared across bots/hosting/email. */
.bot-bg, .host-bg, .email-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bot-canvas, .host-canvas, .email-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.bot-bg .hero-inner,
.host-bg .hero-inner,
.email-bg .hero-inner { position: relative; z-index: 2; }

/* Hosting orbs: cool steel blue, anchored low for a datacenter-rack feel. */
.host-bg .hero-orb-1 {
  top: -180px; left: -180px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42, 165, 255, 0.22), transparent 60%);
  filter: blur(110px);
}

.host-bg .hero-orb-2 {
  bottom: -260px; right: -180px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(60, 200, 220, 0.15), transparent 60%);
  filter: blur(130px);
}

/* Email orbs: warm amber, softer. */
body.theme-email .hero-orb-1 {
  top: -200px; left: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(240, 160, 64, 0.16), transparent 60%);
  filter: blur(120px);
}

body.theme-email .hero-orb-2 {
  bottom: -240px; right: -160px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 201, 138, 0.12), transparent 60%);
  filter: blur(130px);
}

/* Slightly different orb feel for the bots page: softer, more even. */
body.theme-bots .hero-orb-1 {
  top: -220px; left: -160px;
  width: 520px; height: 520px;
  filter: blur(110px);
}

body.theme-bots .hero-orb-2 {
  bottom: -240px; right: -160px;
  width: 620px; height: 620px;
  filter: blur(120px);
}

.bot-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.bot-hero-copy .hero-sub { max-width: 44ch; }

.bot-check {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 44ch;
}

.bot-check li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
}

.bot-check svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* The card itself */
.bot-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(21, 27, 40, 0.85), rgba(10, 14, 23, 0.9));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.bot-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, var(--accent-glow), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.bot-card.is-discount {
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bot-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.bot-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.bot-card-logo {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* Mini tab group for cycle */
.bot-cycle {
  position: relative;
  display: inline-flex;
  padding: 4px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.bot-cycle button {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.bot-cycle button.active { color: #fff; }

.bot-cycle-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 999px;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease);
  box-shadow: 0 6px 16px -4px var(--accent-glow);
  z-index: 0;
}

.bot-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.bot-price-amount {
  font-size: 3.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 0%, #c7d0dd 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.bot-price-period {
  color: var(--text-mute);
  font-size: 0.95rem;
}

.bot-price-strike {
  font-size: 1rem;
  color: var(--text-mute);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  font-variant-numeric: tabular-nums;
}

.bot-price-strike:empty { display: none; }

.bot-card-note {
  font-size: 0.82rem;
  color: var(--text-mute);
  margin-bottom: 14px;
  min-height: 1.2em;
}

.bot-card-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 10px;
  font-size: 0.82rem;
  animation: saveIn 0.4s var(--ease-out);
}

@keyframes saveIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

.bot-save-label {
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.bot-save-pct {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.bot-save-detail {
  color: var(--text-dim);
}

.bot-card-cta {
  width: 100%;
  justify-content: center;
}

.bot-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-mute);
}

.bot-card-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bot-card-foot svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .bot-hero { grid-template-columns: 1fr; }
  .bot-card { order: 2; }
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  margin: 0;
}

.testimonial-stars {
  display: inline-flex;
  gap: 2px;
  color: #ffb547;
}

.testimonial-stars svg { width: 16px; height: 16px; }

.testimonial blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
  quotes: none;
}

.testimonial blockquote::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 3px;
  margin-bottom: 14px;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.testimonial .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(42, 165, 255, 0.25), rgba(130, 80, 255, 0.25));
  border: 1px solid rgba(42, 165, 255, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.testimonial figcaption strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.testimonial figcaption span span,
.testimonial figcaption > span > span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-mute);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 27, 40, 0.5), rgba(10, 14, 23, 0.5));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(42, 165, 255, 0.12);
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature p { margin: 0; font-size: 0.92rem; }

/* Section header */
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head h2 {
  background: linear-gradient(180deg, #ffffff 0%, #c7d0dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p { font-size: 1.05rem; }

/* CTA band */
.cta-band {
  position: relative;
  padding: 60px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(42, 165, 255, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(21, 27, 40, 0.9), rgba(10, 14, 23, 0.9));
  border: 1px solid var(--line-strong);
  text-align: center;
  overflow: hidden;
}

.cta-band h2 { margin-bottom: 12px; }
.cta-band p { font-size: 1.05rem; margin-bottom: 28px; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* Footer */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  margin: 0 0 16px;
  font-weight: 600;
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-dim); font-size: 0.92rem; }
.footer ul a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-mute);
  flex-wrap: wrap;
}

/* Form */
.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(15, 20, 31, 0.9);
  box-shadow: 0 0 0 3px rgba(42, 165, 255, 0.15);
}

.field textarea { min-height: 140px; resize: vertical; }

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #5ee08f;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ff8585;
}

/* FAQ / accordion */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(15, 20, 31, 0.5);
  transition: border-color 0.3s var(--ease);
}

.faq-item:hover { border-color: var(--line-strong); }

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 20px;
}

.faq-q .chev {
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  color: var(--accent);
}

.faq-item.open .chev { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-a-inner {
  padding: 0 22px 22px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Legal / long-form pages */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) 0 clamp(60px, 9vw, 100px);
  color: var(--text);
}

.legal-head {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-head h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 8px 0 10px;
  color: #fff;
}

.legal-head .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-mute);
}

.legal-toc {
  background: rgba(15, 20, 31, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
}

.legal-toc h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin: 0 0 12px;
  font-weight: 600;
}

.legal-toc ol {
  margin: 0;
  padding: 0 0 0 22px;
  columns: 2;
  column-gap: 30px;
}

.legal-toc li {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.legal-toc a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.legal-toc a:hover { color: var(--accent); }

.legal h2 {
  font-size: 1.35rem;
  margin: 48px 0 14px;
  padding-top: 8px;
  color: #fff;
  scroll-margin-top: 100px;
}

.legal h2:first-of-type { margin-top: 0; }

.legal h3 {
  font-size: 1.05rem;
  margin: 28px 0 10px;
  color: #fff;
}

.legal p, .legal li {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.legal p { margin: 0 0 14px; }

.legal ul, .legal ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal li { margin-bottom: 6px; }

.legal strong { color: var(--text); font-weight: 600; }

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(42, 165, 255, 0.4);
  text-underline-offset: 3px;
}

.legal a:hover { text-decoration-color: var(--accent); }

.legal-callout {
  padding: 16px 20px;
  background: rgba(42, 165, 255, 0.06);
  border: 1px solid rgba(42, 165, 255, 0.2);
  border-radius: var(--radius-md);
  margin: 18px 0 22px;
}

.legal-callout p { margin: 0; color: var(--text); font-size: 0.92rem; }

.legal-contact {
  margin-top: 48px;
  padding: 20px 24px;
  background: rgba(15, 20, 31, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.legal-contact h3 { margin-top: 0; }
.legal-contact p { margin-bottom: 0; font-size: 0.92rem; }

@media (max-width: 700px) {
  .legal-toc ol { columns: 1; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.reveal.in { opacity: 1; transform: none; }

.reveal[data-delay="1"] { transition-delay: 0.05s; }
.reveal[data-delay="2"] { transition-delay: 0.1s; }
.reveal[data-delay="3"] { transition-delay: 0.15s; }
.reveal[data-delay="4"] { transition-delay: 0.2s; }

/* Page transition.
   Modern browsers use the View Transitions API (cross-document).
   The .page-fade class is a fallback entrance animation for browsers
   that load a page the old-fashioned way. */
.page-fade {
  animation: pageFade 0.35s var(--ease-out);
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Opt in to same-document view transitions. */
@view-transition { navigation: auto; }

/* Name the parts that should be treated as shared elements across pages,
   so the browser morphs them in place instead of cross-fading the whole page. */
.nav          { view-transition-name: site-nav; }
.footer       { view-transition-name: site-footer; }
.hero-strip   { view-transition-name: site-strip; }

/* Cross-document transitions: how the main content swaps. */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 280ms;
  animation-timing-function: var(--ease-out);
}

::view-transition-old(root) {
  animation-name: pageOut;
}

::view-transition-new(root) {
  animation-name: pageIn;
}

@keyframes pageOut {
  to { opacity: 0; transform: translateY(-6px); }
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Shared elements: morph in place, no fade. */
::view-transition-old(site-nav),
::view-transition-new(site-nav),
::view-transition-old(site-footer),
::view-transition-new(site-footer),
::view-transition-old(site-strip),
::view-transition-new(site-strip) {
  animation-duration: 320ms;
  animation-timing-function: var(--ease);
}

/* ---------- Loading bar (top of viewport) ----------
   Kept out of the view-transition snapshot so it keeps animating while
   the old document is frozen mid-navigation. */
.load-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  view-transition-name: none;
  background: rgba(255, 255, 255, 0.04);
}

.load-bar.active { opacity: 1; }

.load-bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent-2), #fff);
  background-size: 200% 100%;
  box-shadow:
    0 0 10px var(--accent),
    0 0 20px var(--accent-glow);
  transition: width 0.25s var(--ease-out);
  animation: loadShimmer 1.2s linear infinite;
}

@keyframes loadShimmer {
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 1ms;
  }
  .load-bar { display: none; }
}

/* Tab swap */
.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.tab-panel.active {
  display: block;
  animation: tabIn 0.3s var(--ease-out) forwards;
}

@keyframes tabIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid,
  .pricing-grid,
  .feature-grid,
  .values-grid,
  .hero-strip,
  .testimonial-grid { grid-template-columns: 1fr; }

  .hero-strip-item + .hero-strip-item {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .hero-xl { padding-top: clamp(100px, 22vw, 140px); padding-bottom: clamp(40px, 9vw, 70px); }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .trust-sep { display: none; }
  .hero-trust { gap: 14px; }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(18px);
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.7);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    gap: 4px;
  }

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

  .nav-toggle { display: inline-flex; }

  .cta-band { padding: 36px 24px; }

  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::before { display: none; }
}
