/* ============================================================
   Baasa Cloud - Master Stylesheet
   Brand: navy #0c2b45 + powder blue #b2e3f7 + light grey.
   Dark + light hybrid design. Inter typography.
   ============================================================ */

:root {
  /* Brand - navy (from logo gradient) */
  --navy-950: #051920;
  --navy-900: #081f2d;
  --navy-800: #0c2b45;   /* PRIMARY brand */
  --navy-700: #0f3353;
  --navy-600: #103558;
  --navy-500: #1a4b75;
  --navy-400: #2d6699;

  /* Brand - powder blue */
  --sky-50:  #f0f9fd;
  --sky-100: #d6eef7;
  --sky-200: #b2e3f7;    /* SECONDARY brand */
  --sky-300: #8dd2ea;
  --sky-400: #5fbcd9;
  --sky-500: #2da3c5;

  /* Neutrals */
  --white: #ffffff;
  --gray-50:  #fafbfc;
  --gray-100: #f4f6f9;
  --gray-150: #eaeef4;
  --gray-200: #dde3ec;
  --gray-300: #c4ccd9;
  --gray-400: #97a0ae;
  --gray-500: #5f6776;
  --gray-600: #404857;
  --gray-700: #2a3140;
  --gray-900: #0a0e15;

  /* Semantic */
  --ink: #0c1421;           /* main text on light */
  --ink-muted: #4d566a;     /* secondary text */
  --ink-subtle: #7e8696;
  --line: rgba(12, 43, 69, .09);
  --line-strong: rgba(12, 43, 69, .14);

  --bg: #ffffff;
  --bg-soft: #fafbfc;
  --bg-muted: #f4f6f9;

  --success: #14b181;
  --warn: #e2a72e;
  --danger: #d54a4a;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Radii */
  --r-xs: 6px;  --r-sm: 10px;  --r: 14px;  --r-lg: 20px;  --r-xl: 28px;  --r-pill: 999px;

  /* Shadows (navy-tinted, restrained) */
  --sh-xs: 0 1px 2px rgba(12,43,69,.06);
  --sh-sm: 0 2px 10px rgba(12,43,69,.06);
  --sh:    0 10px 30px -8px rgba(12,43,69,.10);
  --sh-lg: 0 28px 70px -20px rgba(12,43,69,.22);
  --sh-glow: 0 14px 40px -10px rgba(178,227,247,.40);
  --sh-navy: 0 14px 40px -10px rgba(12,43,69,.45);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: 160ms;
  --t: 240ms;
  --t-slow: 520ms;

  /* Layout */
  --container: 1240px;
  --container-narrow: 920px;
  --header-h: 72px;
}

/* -------- Reset & base -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-700); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--navy-800); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--sky-200); color: var(--navy-800); }
:focus-visible { outline: 2px solid var(--sky-400); outline-offset: 3px; border-radius: 4px; }

/* -------- Typography -------- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}
h1 {
  font-size: clamp(1.5rem, 1.8vw + .9rem, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  overflow-wrap: break-word;
  word-wrap: break-word;
  /* no hyphens auto - it was forcing weird letter splits */
}
h1, h2, h3, h4 {
  display: block;
  /* never auto-collapse to a tiny inline-block container */
}
h2 {
  font-size: clamp(1.625rem, 1.4vw + .8rem, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.12;
}
h3 { font-size: clamp(1.125rem, .5vw + .9rem, 1.3rem); letter-spacing: -0.015em; font-weight: 700; }
h4 { font-size: 1rem; }
p { color: var(--ink-muted); }
.lead {
  font-size: clamp(1rem, .35vw + .92rem, 1.15rem);
  color: var(--ink-muted);
  line-height: 1.6;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--navy-700);
  padding: .4rem .85rem;
  background: var(--sky-100);
  border-radius: var(--r-pill);
}

.accent {
  background: linear-gradient(135deg, var(--sky-200), var(--sky-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; letter-spacing: -0.02em; }

/* -------- Layout -------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 2rem); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 2rem); }
section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; position: relative; }
.section-tight { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }

.section-head { text-align: center; max-width: 740px; margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.0625rem; color: var(--ink-muted); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* -------- Theme blocks -------- */
.theme-dark {
  background: var(--navy-800);
  background-image:
    radial-gradient(circle at 18% 0%, rgba(178,227,247,.16), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(178,227,247,.08), transparent 55%);
  color: var(--white);
  position: relative;
}
.theme-dark::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(178,227,247,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.theme-dark > .container { position: relative; z-index: 1; }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: var(--white); }
.theme-dark p { color: rgba(255,255,255,.72); }
.theme-dark .lead { color: rgba(255,255,255,.76); }
.theme-dark .eyebrow {
  color: var(--sky-200);
  background: rgba(178,227,247,.10);
}
.theme-dark .eyebrow::before { background: var(--sky-200); box-shadow: 0 0 0 4px rgba(178,227,247,.18); }
.theme-dark a { color: var(--sky-200); }
.theme-dark a:hover { color: var(--white); }

.theme-light { background: var(--bg); }
.theme-soft { background: var(--bg-soft); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem;
  font-weight: 600; font-size: .9375rem;
  border-radius: var(--r-pill);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: var(--sh-navy);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 40%);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--navy-700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 18px 50px -12px rgba(12,43,69,.55);
}

.btn-accent {
  background: var(--sky-200);
  color: var(--navy-900) !important;
  box-shadow: 0 12px 36px -10px rgba(178,227,247,.6);
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--sky-100);
  color: var(--navy-950) !important;
  transform: translateY(-1px);
}
.btn-accent svg { stroke: var(--navy-900); }

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--navy-700);
  background: var(--white);
  color: var(--navy-800);
}
.theme-dark .btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.theme-dark .btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.28);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
  color: var(--white);
}

.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }

/* -------- Header -------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--t) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-logo-light { filter: brightness(0) invert(1); opacity: .96; }
@media (max-width: 480px) { .brand-logo { height: 24px; } }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  padding: .55rem .95rem;
  font-size: .9375rem; font-weight: 500;
  color: var(--ink-muted);
  border-radius: var(--r-pill);
  transition: all var(--t-fast) var(--ease);
}
.nav a:hover { color: var(--navy-800); background: var(--gray-100); }
.nav a.active { color: var(--navy-800); }
.nav a.active::after {
  content: ""; display: block; width: 5px; height: 5px;
  background: var(--sky-400); border-radius: 50%;
  margin: 2px auto -8px;
}

.header-cta { display: flex; align-items: center; gap: .6rem; }
.currency-toggle {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: var(--r-pill);
  padding: 3px;
  font-size: .8125rem; font-weight: 600;
}
.currency-toggle button {
  padding: .4rem .8rem;
  border-radius: var(--r-pill);
  color: var(--ink-subtle);
  transition: all var(--t-fast) var(--ease);
}
.currency-toggle button.active {
  background: var(--white);
  color: var(--navy-800);
  box-shadow: var(--sh-xs);
}

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  background: var(--gray-100);
}
.menu-toggle svg { width: 20px; height: 20px; color: var(--ink); }

@media (max-width: 980px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    gap: 2px;
    box-shadow: var(--sh);
    animation: slideDown var(--t) var(--ease);
  }
  .nav.is-open a { width: 100%; padding: .9rem 1rem; }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* -------- Hero -------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero.theme-dark {
  background-image:
    radial-gradient(circle at 10% 0%, rgba(178,227,247,.22), transparent 45%),
    radial-gradient(circle at 95% 70%, rgba(178,227,247,.12), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-copy { position: relative; }
.hero h1 { margin: 1.5rem 0 1.5rem; }
.hero .lead { max-width: 580px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .85rem 1.5rem; font-size: .875rem; color: rgba(255,255,255,.6); }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust .check { color: var(--sky-200); width: 14px; height: 14px; }

/* Hero visual: dashboard preview */
.hero-stack { position: relative; aspect-ratio: 5/4; min-height: 360px; }
.hero-stack .glow {
  position: absolute; inset: -10%;
  background: radial-gradient(circle, rgba(178,227,247,.25), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.surface {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(178,227,247,.18);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
  position: relative;
  overflow: hidden;
}
.dash-card {
  position: absolute;
  z-index: 1;
}
.dash-main {
  inset: 8% 6% 8% 6%;
  display: flex; flex-direction: column;
  animation: float 7s ease-in-out infinite;
}
.dash-bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem .95rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(178,227,247,.12);
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}
.dash-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); display: inline-block; }
.dash-bar .url {
  margin-left: .6rem; padding: 3px 10px;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  color: var(--sky-200);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .7rem;
}
.dash-body { flex: 1; padding: 1.1rem 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.dash-tile {
  border-radius: var(--r-sm);
  background: rgba(178,227,247,.04);
  border: 1px solid rgba(178,227,247,.12);
  padding: .75rem .9rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.dash-tile .label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(178,227,247,.7); font-weight: 600; }
.dash-tile .value { font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: -.02em; }
.dash-tile.green .value::after { content: ""; display: inline-block; margin-left: .4rem; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(20,177,129,.25); animation: pulseGreen 2s infinite; }
.dash-spark { grid-column: 1/-1; padding: .75rem .9rem; border-radius: var(--r-sm); background: rgba(178,227,247,.04); border: 1px solid rgba(178,227,247,.12); }
.dash-spark .label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(178,227,247,.7); font-weight: 600; margin-bottom: .5rem; }
.dash-spark svg { width: 100%; height: 60px; }
@keyframes pulseGreen { 0%,100% { box-shadow: 0 0 0 3px rgba(20,177,129,.25); } 50% { box-shadow: 0 0 0 7px rgba(20,177,129,0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.dash-pill {
  position: absolute; z-index: 2;
  background: rgba(8, 31, 45, .85);
  border: 1px solid rgba(178,227,247,.25);
  border-radius: var(--r-pill);
  padding: .55rem 1rem;
  font-size: .8125rem; font-weight: 500;
  color: var(--white);
  display: inline-flex; align-items: center; gap: .45rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  animation: floatSlow 9s ease-in-out infinite;
}
.dash-pill svg { width: 14px; height: 14px; color: var(--sky-200); }
.dash-pill-1 { top: -2%; right: -4%; }
.dash-pill-2 { bottom: 8%; left: -8%; animation-delay: -4s; }
@keyframes floatSlow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* -------- Marquee (trust strip) -------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.marquee-inner {
  display: flex; gap: 4rem;
  padding: 1.5rem 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee span {
  font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--ink-subtle);
  white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------- Cards -------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--sh);
}
.theme-dark .card {
  background: rgba(255,255,255,.03);
  border-color: rgba(178,227,247,.12);
}
.theme-dark .card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(178,227,247,.22);
}

.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--sky-100);
  color: var(--navy-800);
  margin-bottom: 1.25rem;
  position: relative;
}
.card-icon::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.6), transparent 50%);
  pointer-events: none;
}
.card-icon svg { width: 22px; height: 22px; position: relative; }
.theme-dark .card-icon {
  background: rgba(178,227,247,.12);
  color: var(--sky-200);
}
.theme-dark .card-icon::before { background: linear-gradient(180deg, rgba(178,227,247,.15), transparent 50%); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .9375rem; line-height: 1.6; }
.card-link {
  margin-top: 1.25rem;
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .875rem; font-weight: 600;
  color: var(--navy-700);
}
.card-link::after { content: ">"; font-weight: 300; transition: transform var(--t-fast) var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }
.theme-dark .card-link { color: var(--sky-200); }

/* -------- Stats (numbers row) -------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.stat {
  padding: clamp(1.25rem, 2.5vw, 2rem) 1.25rem;
  border-right: 1px solid rgba(178,227,247,.12);
}
.stat:last-child { border-right: 0; }
@media (max-width: 720px) { .stat { border-right: 0; border-bottom: 1px solid rgba(178,227,247,.12); } .stat:last-child { border-bottom: 0; } }
.stat-num {
  font-size: clamp(2.25rem, 3.6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  display: flex; align-items: baseline; gap: .15em;
}
.stat-num .suffix { color: var(--sky-200); font-size: .65em; font-weight: 700; }
.stat-label {
  margin-top: .75rem;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.theme-light .stat-num { color: var(--ink); }
.theme-light .stat-num .suffix { color: var(--navy-700); }
.theme-light .stat-label { color: var(--ink-subtle); }
.theme-light .stat { border-color: var(--line); }

/* -------- Pricing (refined, restrained, mobile-first) -------- */
.pricing-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1.35rem 1.35rem;
  position: relative;
  display: flex; flex-direction: column;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.price-card:hover { border-color: var(--navy-700); box-shadow: var(--sh); }
.price-card.is-featured {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
  box-shadow: 0 18px 50px -16px rgba(12,43,69,.45);
}
.price-card.is-featured::after {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r);
  background: radial-gradient(circle at 50% 0%, rgba(178,227,247,.18), transparent 55%);
  pointer-events: none;
}
.price-card.is-featured > * { position: relative; z-index: 1; }
.price-card.is-featured .price-name,
.price-card.is-featured .price-amount,
.price-card.is-featured .price-period { color: var(--white); }
.price-card.is-featured .price-name { color: var(--sky-200); }
.price-card.is-featured .price-was,
.price-card.is-featured .price-sub,
.price-card.is-featured .price-features li { color: rgba(255,255,255,.72); }
.price-card.is-featured .price-features li .tick { color: var(--sky-200); }
.price-card.is-featured .price-divider { background: rgba(178,227,247,.15); }
.price-card.is-featured .btn-ghost {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
}
.price-card.is-featured .btn-ghost:hover { background: var(--sky-200); border-color: var(--sky-200); color: var(--navy-900); }

.price-badge {
  position: absolute; top: -10px; left: 50%;
  transform: translate(-50%, 0);
  background: var(--sky-200);
  color: var(--navy-800);
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  padding: .35rem .85rem;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -6px rgba(178,227,247,.5);
}
.price-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: .25rem;
  line-height: 1.1;
}
.price-card.is-featured .price-name { color: var(--white); }
.price-sub {
  font-size: .8125rem;
  color: var(--ink-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  min-height: 2.4em;
}
.price-card.is-featured .price-sub { color: rgba(255,255,255,.7); }

.price-tag {
  margin: 0 0 .2rem;
  display: flex; align-items: baseline; gap: .3rem;
  flex-wrap: wrap;
}
.price-amount {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.price-card.is-featured .price-amount { color: var(--sky-200); }
.price-period {
  color: var(--ink-subtle);
  font-size: .78rem;
  font-weight: 500;
}
.price-card.is-featured .price-period { color: rgba(255,255,255,.6); }
.price-was {
  font-size: .72rem;
  color: var(--ink-subtle);
  margin-top: 0;
  margin-bottom: .85rem;
}
.price-was s { color: var(--ink-subtle); opacity: .8; }
.price-card.is-featured .price-was { color: rgba(255,255,255,.55); }
.price-divider { height: 1px; background: var(--line); margin: 1.1rem 0 1rem; }
.price-features {
  display: flex; flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.price-features li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .875rem;
  color: var(--ink-muted);
  line-height: 1.45;
}
.price-features li .tick {
  width: 16px; height: 16px;
  flex-shrink: 0; margin-top: 2px;
  color: var(--navy-700);
}
.price-card .btn { width: 100%; padding: .75rem 1.25rem; font-size: .875rem; }

/* Yearly only: show savings, hide "was" */
[data-billing="yearly"] .price-was { display: none; }
[data-billing="yearly"] .price-savings { display: inline-flex; }
.price-savings {
  display: none;
  margin-top: .15rem;
  align-items: center; gap: .35rem;
  font-size: .75rem;
  font-weight: 600;
  color: #0a8862;
}
.price-card.is-featured .price-savings { color: #4adfa9; }

/* -------- Big CTA banner -------- */
.cta-block {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.75rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(178,227,247,.20), transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(178,227,247,.14), transparent 55%);
}
.cta-block > * { position: relative; }
.cta-block h2 { color: var(--white); margin-bottom: 1rem; }
.cta-block p { color: rgba(255,255,255,.78); font-size: 1.0625rem; max-width: 580px; margin: 0 auto 2rem; }
.cta-actions { display: inline-flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* -------- Compare table -------- */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
.compare { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare th, .compare td {
  padding: 1.1rem 1.25rem; text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
}
.compare thead th { background: var(--bg-soft); font-weight: 600; color: var(--ink); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; }
.compare td.center, .compare th.center { text-align: center; }
.compare tr:last-child td { border-bottom: 0; }
.compare svg.tick { color: var(--navy-700); width: 18px; height: 18px; vertical-align: middle; }
.compare td strong { color: var(--ink); }

/* -------- FAQ -------- */
.faq { display: flex; flex-direction: column; gap: .75rem; max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all var(--t-fast) var(--ease);
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--navy-700);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--sky-100);
  transition: transform var(--t) var(--ease);
}
.faq details[open] summary::after { content: ""; background: var(--navy-800); }
.faq details[open] summary::after { background: var(--navy-800); color: var(--white); content: "−"; }
.faq .faq-body { padding: 0 1.35rem 1.35rem; color: var(--ink-muted); font-size: .9375rem; line-height: 1.6; }

/* -------- Testimonials -------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-mark {
  width: 36px; height: 36px;
  color: var(--sky-300);
  margin-bottom: 1rem;
}
.testimonial p {
  font-size: 1.0625rem; color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: grid; place-items: center;
  color: var(--sky-200); font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
}
.testimonial-name { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.testimonial-role { font-size: .8125rem; color: var(--ink-subtle); margin-top: 2px; }

/* -------- Forms -------- */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--ink); margin-bottom: .45rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: .9rem 1rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: .9375rem;
  transition: all var(--t-fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-subtle); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(178,227,247,.30);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-msg {
  padding: .9rem 1.1rem;
  border-radius: var(--r);
  font-size: .9375rem;
  display: none;
}
.form-msg.is-success { display: block; background: rgba(20,177,129,.08); color: #0a8862; border: 1px solid rgba(20,177,129,.28); }
.form-msg.is-error   { display: block; background: rgba(213,74,74,.06); color: #a83232; border: 1px solid rgba(213,74,74,.25); }

/* -------- Footer -------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.65);
  padding: clamp(4rem, 6vw, 6rem) 0 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(178,227,247,.06), transparent 50%);
  pointer-events: none;
}
.site-footer .container { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand .brand-mark { display: inline-flex; align-items: center; gap: .55rem; color: var(--white); font-weight: 700; font-size: 1.125rem; letter-spacing: -.02em; }
.footer-brand .brand-mark svg { width: 28px; height: 28px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .9375rem; max-width: 340px; margin: 1.25rem 0; line-height: 1.6; }
.footer h4 {
  color: var(--white); font-size: .75rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase; letter-spacing: .14em;
  font-weight: 700;
}
.footer ul li { margin-bottom: .7rem; }
.footer ul a { color: rgba(255,255,255,.62); font-size: .9375rem; transition: color var(--t-fast) var(--ease); }
.footer ul a:hover { color: var(--white); }

.socials { display: flex; gap: .5rem; margin-top: .25rem; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  transition: all var(--t-fast) var(--ease);
}
.socials a:hover {
  background: var(--sky-200); border-color: var(--sky-200);
  color: var(--navy-800); transform: translateY(-2px);
}
.socials svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: inline-flex; gap: 1.5rem; flex-wrap: wrap; }

/* -------- WhatsApp floating button -------- */
.wa-fab {
  position: fixed;
  bottom: 22px; left: 22px; right: auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.55);
  z-index: 90;
  transition: transform var(--t) var(--ease);
}
@media (max-width: 480px) {
  .wa-fab { bottom: 16px; left: 16px; width: 50px; height: 50px; }
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; color: white; }
.wa-fab::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* -------- Reveal on scroll -------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* -------- Page heads -------- */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  overflow: hidden;
  text-align: center;
}
.page-head.theme-dark {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(178,227,247,.20), transparent 50%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}
.page-head .container { position: relative; }
.page-head h1 { margin: 1.25rem 0 1rem; }
.page-head p { font-size: 1.125rem; max-width: 680px; margin: 0 auto; }

/* -------- Upmind domain widget wrapper -------- */
.dac-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--sh-lg);
}
upm-dac { display: block; }

/* -------- Blog cards -------- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t) var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-strong); }
.blog-card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  position: relative;
  overflow: hidden;
}
.blog-card-thumb::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(178,227,247,.25), transparent 55%);
}
.blog-card-thumb svg { position: relative; width: 56px; height: 56px; color: var(--sky-200); margin: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.blog-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--navy-700); margin-bottom: .55rem; }
.blog-card h3 { font-size: 1.1875rem; margin-bottom: .5rem; line-height: 1.3; }
.blog-card p { font-size: .9375rem; color: var(--ink-muted); margin-bottom: 1rem; flex: 1; }
.blog-meta { font-size: .8125rem; color: var(--ink-subtle); margin-top: auto; }
/* Keep white blog cards readable when the blog section sits on a dark background */
.theme-dark .blog-card { background: var(--white); }
.theme-dark .blog-card h3 { color: var(--ink); }
.theme-dark .blog-card p { color: var(--ink-muted); }
.theme-dark .blog-card .blog-card-tag { color: var(--navy-700); }
.theme-dark .blog-card .blog-meta { color: var(--ink-subtle); }

/* -------- 404 -------- */
.error-page {
  min-height: 100vh; display: grid; place-items: center;
  text-align: center; padding: 3rem 1.5rem;
}
.error-code {
  font-size: clamp(7rem, 20vw, 13rem);
  font-weight: 800; letter-spacing: -.07em; line-height: 1;
  background: linear-gradient(180deg, var(--navy-800), var(--sky-200));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------- Utility -------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.hide-mobile { } @media (max-width: 760px) { .hide-mobile { display: none !important; } }

/* Tick icon helper */
.tick { display: inline-block; vertical-align: middle; }

/* Small status pill (no dots, more refined) */
.status-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: rgba(20,177,129,.10); color: #0a8862;
  border: 1px solid rgba(20,177,129,.22);
  border-radius: var(--r-pill);
}
.status-pill svg { width: 12px; height: 12px; }
.theme-dark .status-pill { background: rgba(20,177,129,.16); color: #4adfa9; border-color: rgba(20,177,129,.3); }

/* ============================================================
   Premium polish: progress bar, parallax, mouse spotlight,
   magnetic buttons, tilt cards, billing toggle, bento, marquee.
   ============================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress::before {
  content: ""; display: block; height: 100%;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--sky-200), var(--sky-400));
  box-shadow: 0 0 12px rgba(178,227,247,.6);
  transition: width 80ms linear;
}

/* Mouse-follow spotlight on dark hero */
.spotlight {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 50%),
    rgba(178,227,247,.18),
    transparent 60%
  );
  opacity: 0; transition: opacity .6s ease;
}
.spotlight.is-active { opacity: 1; }

/* Magnetic button (subtle pull toward cursor) */
.btn[data-magnetic] {
  transition: transform .3s var(--ease-out), background var(--t) var(--ease), box-shadow var(--t) var(--ease);
  will-change: transform;
}

/* Tilt-on-hover cards */
.tilt {
  transform-style: preserve-3d;
  transition: transform .25s var(--ease-out);
  will-change: transform;
}
.tilt-inner { transform: translateZ(20px); }

/* Parallax helper (uses CSS var set by JS) */
[data-parallax] { will-change: transform; transform: translate3d(0, var(--py, 0), 0); }

/* Billing toggle (Monthly / Yearly) */
.billing-toggle {
  display: inline-flex; align-items: center;
  background: var(--bg-muted);
  padding: 4px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .875rem;
  border: 1px solid var(--line);
  position: relative;
}
.billing-toggle button {
  padding: .55rem 1.15rem;
  border-radius: var(--r-pill);
  color: var(--ink-muted);
  transition: color var(--t-fast) var(--ease);
  position: relative; z-index: 2;
}
.billing-toggle .pill-bg {
  position: absolute; top: 4px; left: 4px;
  width: calc(50% - 4px); height: calc(100% - 8px);
  background: var(--navy-800);
  border-radius: var(--r-pill);
  transition: transform .35s var(--ease-out);
  z-index: 1;
  box-shadow: 0 6px 18px -6px rgba(12,43,69,.35);
}
.billing-toggle[data-active="yearly"] .pill-bg { transform: translateX(100%); }
.billing-toggle button.active { color: var(--white); }
.billing-save {
  margin-left: .75rem;
  padding: .25rem .6rem;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  background: var(--sky-200); color: var(--navy-800);
  border-radius: var(--r-pill);
}

/* Bento grid (asymmetric, premium feel) */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.25rem;
}
.bento > * {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.2vw, 2.25rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.bento > *:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.bento-1 { grid-column: span 4; grid-row: span 2; }
.bento-2 { grid-column: span 2; }
.bento-3 { grid-column: span 2; }
.bento-4 { grid-column: span 2; }
.bento-5 { grid-column: span 2; }
.bento-6 { grid-column: span 2; }
.bento h3 { margin-bottom: .5rem; }
.bento p { font-size: .9375rem; }
.bento-1 .bento-art {
  position: absolute; right: -30px; bottom: -30px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--sky-200) 0%, transparent 65%);
  opacity: .5; pointer-events: none;
}
@media (max-width: 880px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-1 { grid-column: span 2; grid-row: auto; }
  .bento-2, .bento-3, .bento-4, .bento-5, .bento-6 { grid-column: span 1; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .bento-1, .bento-2, .bento-3, .bento-4, .bento-5, .bento-6 { grid-column: span 1; }
}

/* Live chart (used in bento + hero) */
.live-chart {
  width: 100%;
  height: 140px;
  display: block;
}
.live-chart .grid-line { stroke: rgba(12,43,69,.06); stroke-width: 1; }
.live-chart .area-fill { fill: url(#chartGradLight); }
.live-chart .area-line { fill: none; stroke: var(--navy-800); stroke-width: 2; stroke-linejoin: round; }
.live-chart .dot { fill: var(--navy-800); }
.theme-dark .live-chart .grid-line { stroke: rgba(178,227,247,.07); }
.theme-dark .live-chart .area-line { stroke: var(--sky-200); }
.theme-dark .live-chart .dot { fill: var(--sky-200); }

/* Number metric */
.metric {
  display: flex; flex-direction: column;
  gap: .25rem;
}
.metric .value {
  font-size: clamp(1.6rem, 1.5vw + .8rem, 2.25rem);
  font-weight: 800;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1;
}
.theme-dark .metric .value { color: var(--white); }
.metric .label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-subtle);
  font-weight: 600;
}
.metric .trend {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .8125rem; font-weight: 600;
  color: var(--success);
  margin-top: .35rem;
}

/* Animated text reveal (per word) */
.split-words { display: inline; }
.split-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.4em);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.split-words.in-view .word { opacity: 1; transform: none; }
.split-words .word:nth-child(1) { transition-delay: .03s; }
.split-words .word:nth-child(2) { transition-delay: .09s; }
.split-words .word:nth-child(3) { transition-delay: .15s; }
.split-words .word:nth-child(4) { transition-delay: .21s; }
.split-words .word:nth-child(5) { transition-delay: .27s; }
.split-words .word:nth-child(6) { transition-delay: .33s; }
.split-words .word:nth-child(7) { transition-delay: .39s; }
.split-words .word:nth-child(8) { transition-delay: .45s; }
.split-words .word:nth-child(9) { transition-delay: .51s; }
.split-words .word:nth-child(10) { transition-delay: .57s; }
.split-words .word:nth-child(11) { transition-delay: .63s; }
.split-words .word:nth-child(12) { transition-delay: .69s; }

/* Hero refinements */
.hero .lead { font-size: clamp(1rem, .4vw + .9rem, 1.125rem); }

/* Asymmetric headline accent ring */
.headline-deco {
  display: inline-block;
  position: relative;
  padding: 0 .15em;
}
.headline-deco::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px; height: 12px;
  background: var(--sky-200);
  opacity: .35;
  border-radius: 6px;
  z-index: -1;
}

/* Featurable widget wrapper */
.reviews-wrap { background: var(--white); border-radius: var(--r-lg); padding: 0; min-height: 200px; }
.reviews-wrap [data-featurable-async] { width: 100%; }

/* Section corner ornament */
.section-ornament {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.section-ornament svg { width: 280px; height: 280px; opacity: .25; }

/* Featurable header strip */
.reviews-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.reviews-rating {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-size: .9375rem;
}
.reviews-rating .stars { color: #FFB400; letter-spacing: 2px; }
.reviews-rating .num { color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.btn-review {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .875rem;
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: all var(--t-fast) var(--ease);
}
.btn-review:hover { border-color: var(--navy-700); color: var(--navy-800); }
.btn-review .g-logo { width: 18px; height: 18px; }

/* Hosting plan refinements - smaller numbers */
.price-amount { font-size: clamp(2rem, 2.2vw + .5rem, 2.5rem); }
.price-name { font-size: .7rem; }

/* Hero stack tweaks */
.hero-stack { min-height: 320px; }
.dash-tile .value { font-size: 1.05rem; }

/* Bento metric tile */
.tile-mini {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem; border-radius: var(--r);
  background: var(--bg-soft);
}
.tile-mini-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--sky-100);
  color: var(--navy-800);
  flex-shrink: 0;
}
.tile-mini-icon svg { width: 18px; height: 18px; }
.tile-mini-label { font-size: .8125rem; color: var(--ink-subtle); }
.tile-mini-value { font-size: .9375rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }

/* Domains: let the Upmind widget size itself */
.dac-wrap { min-height: 0; }
upm-dac { display: block; }

/* TLD table improvements */
.compare td .price-cell { display: inline-flex; align-items: baseline; gap: .25rem; }
.compare td .price-cell strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.compare tr:hover td { background: var(--bg-soft); }
.compare td:first-child { font-weight: 600; color: var(--navy-800); }

/* Compact card padding option */
.card-compact { padding: 1.25rem; }
.card-compact h3 { font-size: 1.0625rem; }
.card-compact p { font-size: .875rem; }

/* Subtle dotted divider */
.divider-dots {
  height: 24px;
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: center;
  opacity: .8;
}

/* ============================================================
   Custom Google Reviews slider (no third-party branding)
   ============================================================ */
.reviews-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 380px);
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: .5rem .25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.reviews-rail::-webkit-scrollbar { height: 6px; }
.reviews-rail::-webkit-scrollbar-track { background: transparent; }
.reviews-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.review-card {
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.review-card:hover { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.review-card .stars {
  color: #FFB400;
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: .85rem;
}
.review-card .body {
  font-size: .9375rem;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.review-card .who {
  display: flex; align-items: center; gap: .75rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.review-card .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--sky-200);
  display: grid; place-items: center;
  font-weight: 700; font-size: .8125rem;
}
.review-card .name { font-weight: 600; color: var(--ink); font-size: .875rem; }
.review-card .meta { font-size: .75rem; color: var(--ink-subtle); display: inline-flex; align-items: center; gap: .35rem; }
.review-card .g-mini { width: 12px; height: 12px; }

.reviews-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; margin-bottom: 1.5rem;
}
.reviews-summary {
  display: inline-flex; align-items: center; gap: .85rem;
}
.reviews-summary .score {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.reviews-summary .small-stars { color: #FFB400; letter-spacing: 2px; font-size: .85rem; }
.reviews-summary .count { font-size: .8125rem; color: var(--ink-subtle); margin-top: 2px; }
.reviews-controls {
  display: inline-flex; gap: .5rem;
}
.reviews-controls button {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  display: grid; place-items: center;
  transition: all var(--t-fast) var(--ease);
}
.reviews-controls button:hover { border-color: var(--navy-700); color: var(--navy-800); }
.reviews-controls button:disabled { opacity: .4; cursor: not-allowed; }
.reviews-controls svg { width: 16px; height: 16px; }

/* ============================================================
   Portfolio (Web Design)
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.portfolio-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.portfolio-item:hover { border-color: var(--line-strong); box-shadow: var(--sh); transform: translateY(-2px); }
.portfolio-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.portfolio-thumb::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(178,227,247,.20), transparent 60%);
}
.portfolio-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
}
.portfolio-thumb .placeholder {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sky-200);
  letter-spacing: -.02em;
  position: relative;
}
.portfolio-body {
  padding: 1.25rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.portfolio-cat {
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--navy-700);
  margin-bottom: .35rem;
}
.portfolio-item h3 { font-size: 1rem; margin-bottom: .35rem; }
.portfolio-item .domain {
  font-size: .8125rem; color: var(--ink-subtle);
  margin-bottom: .65rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.portfolio-item p {
  font-size: .85rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
  flex: 1;
}
.portfolio-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.portfolio-tag {
  font-size: .7rem;
  padding: .2rem .55rem;
  border-radius: var(--r-pill);
  background: var(--bg-muted);
  color: var(--ink-muted);
  font-weight: 500;
}
.portfolio-visit {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8125rem; font-weight: 600;
  color: var(--navy-800);
  margin-top: auto;
}
.portfolio-visit::after { content: ""; width: 14px; height: 14px;
  background: currentColor; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M9 7h8v8"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M9 7h8v8"/></svg>') center/contain no-repeat;
  transition: transform var(--t-fast) var(--ease);
}
.portfolio-item:hover .portfolio-visit::after { transform: translate(2px, -2px); }

/* ============================================================
   Payment methods strip
   ============================================================ */
.payments {
  display: flex; flex-wrap: wrap; gap: .65rem; align-items: center;
}
.pay-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink);
}
.pay-badge svg { width: 16px; height: 16px; }
.theme-dark .pay-badge {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: var(--white);
}

/* ============================================================
   Map embed (contact)
   ============================================================ */
.map-wrap {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-muted);
  aspect-ratio: 16/10;
  min-height: 100px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   Social icons (refined, brand-accurate via Simple Icons)
   ============================================================ */
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
  transition: all var(--t-fast) var(--ease);
}
.socials a:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-800);
  transform: translateY(-2px);
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================================
   Services equal-grid (4 cards)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1.35rem;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.service-card:hover { transform: translateY(-3px); border-color: var(--navy-700); box-shadow: var(--sh); color: inherit; }
.service-card .card-icon { margin-bottom: 1rem; }
.service-card h3 { margin-bottom: .35rem; font-size: 1.0625rem; }
.service-card p { font-size: .875rem; color: var(--ink-muted); margin-bottom: 1rem; flex: 1; line-height: 1.55; }
.service-card .pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.service-card .pills span { font-size: .7rem; padding: .2rem .55rem; border-radius: var(--r-pill); background: var(--bg-muted); color: var(--ink-muted); font-weight: 500; }
.service-card .arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8125rem; font-weight: 600;
  color: var(--navy-800); margin-top: auto;
}
.service-card .arrow svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.service-card:hover .arrow svg { transform: translateX(3px); }

/* ============================================================
   Inline domain search (homepage)
   ============================================================ */
.dac-inline {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--sh);
}
.tld-strip {
  display: flex; flex-wrap: wrap; gap: .55rem;
  justify-content: center;
  margin-top: 1rem;
}
.tld-chip {
  display: inline-flex; align-items: baseline; gap: .35rem;
  padding: .35rem .7rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .8125rem;
}
.tld-chip b { color: var(--navy-800); font-weight: 700; }
.tld-chip span { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.tld-chip:hover { background: var(--white); border-color: var(--line-strong); }

/* ============================================================
   World map of server locations
   ============================================================ */
.world-map {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.world-map svg { width: 100%; height: auto; display: block; }
.world-map .continent { fill: rgba(178,227,247,.10); stroke: rgba(178,227,247,.25); stroke-width: .8; }
.world-map .pin { fill: var(--sky-200); }
.world-map .pin-pulse {
  fill: var(--sky-200);
  opacity: .5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 2.6s ease-out infinite;
}
@keyframes pinPulse {
  0% { transform: scale(.4); opacity: .8; }
  100% { transform: scale(3); opacity: 0; }
}
.world-map .pin-label {
  fill: rgba(255,255,255,.85);
  font-family: var(--font);
  font-size: 8px;
  font-weight: 600;
  text-anchor: middle;
  pointer-events: none;
}
.locations-strip {
  display: flex; flex-wrap: wrap; gap: .55rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.location-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .8rem;
  background: var(--sky-100);
  border: 1px solid var(--sky-200);
  border-radius: var(--r-pill);
  font-size: .8125rem;
  color: var(--navy-800);
  font-weight: 600;
}
.location-chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy-700);
  animation: dotBlip 2.4s ease-out infinite;
}
@keyframes dotBlip {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(12,43,69,0); }
  35% { box-shadow: 0 0 0 6px rgba(12,43,69,.18); }
}
.theme-dark .location-chip {
  background: rgba(178,227,247,.10);
  border-color: rgba(178,227,247,.22);
  color: rgba(255,255,255,.85);
}
.theme-dark .location-chip::before { background: var(--sky-200); }

/* ============================================================
   Live performance chart
   ============================================================ */
.perf-block {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 880px) { .perf-block { grid-template-columns: 1fr; gap: 1.25rem; } }
.perf-chart {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(178,227,247,.16);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
}
.perf-chart-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.perf-chart-head .title { font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.78); }
.perf-chart-head .legend { display: inline-flex; gap: .85rem; font-size: .7rem; color: rgba(255,255,255,.55); }
.perf-chart-head .legend span { display: inline-flex; align-items: center; gap: .3rem; }
.perf-chart-head .legend i { width: 10px; height: 2px; border-radius: 2px; background: var(--sky-200); display: inline-block; }
.perf-chart-head .legend .b i { background: rgba(255,255,255,.4); }
.perf-chart svg { width: 100%; height: 200px; display: block; }
.perf-chart .gridline { stroke: rgba(178,227,247,.08); stroke-width: 1; }
.perf-chart .axis-label { fill: rgba(255,255,255,.4); font-size: 9px; font-family: var(--font); }
.perf-chart .line-a { fill: none; stroke: var(--sky-200); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.perf-chart .line-b { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 4 4; stroke-linejoin: round; }

.perf-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.perf-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(178,227,247,.14);
  border-radius: var(--r-sm);
  padding: 1rem;
}
.perf-stat .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(178,227,247,.7); font-weight: 600; margin-bottom: .4rem; }
.perf-stat .value { font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.perf-stat .delta { font-size: .72rem; color: #4adfa9; margin-top: .25rem; display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; }

/* ============================================================
   FAQ refinement: cleaner toggles
   ============================================================ */
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .85rem;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { display: none; }
.faq summary .q-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--ink-subtle);
  display: grid; place-items: center;
  font-variant-numeric: tabular-nums;
}
.faq details[open] .q-num { color: var(--navy-800); }
.faq summary .q-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: grid; place-items: center;
  margin-left: auto;
  transition: all var(--t) var(--ease);
}
.faq summary .q-icon svg { width: 12px; height: 12px; color: var(--navy-800); transition: transform var(--t) var(--ease); }
.faq details[open] summary .q-icon { background: var(--navy-800); }
.faq details[open] summary .q-icon svg { color: var(--white); transform: rotate(180deg); }
.faq summary .q-text { flex: 1; }

/* ============================================================
   Package detail block (Top / Also Includes / More)
   ============================================================ */
.price-card .auto-renew {
  font-size: .7rem;
  color: var(--ink-subtle);
  text-align: center;
  margin: .35rem 0 .75rem;
}
.price-card.is-featured .auto-renew { color: rgba(255,255,255,.55); }
.feat-group { margin-top: 1rem; }
.feat-group + .feat-group { margin-top: .85rem; padding-top: .85rem; border-top: 1px dashed var(--line); }
.price-card.is-featured .feat-group + .feat-group { border-color: rgba(178,227,247,.18); }
.feat-group .feat-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: .55rem;
}
.price-card.is-featured .feat-group .feat-label { color: var(--sky-200); }
.feat-group ul { display: flex; flex-direction: column; gap: .45rem; padding: 0; margin: 0; }
.feat-group li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .8125rem; line-height: 1.45;
  color: var(--ink-muted);
}
.feat-group li .tick { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--navy-700); }
.price-card.is-featured .feat-group li { color: rgba(255,255,255,.78); }
.price-card.is-featured .feat-group li .tick { color: var(--sky-200); }

.price-card details.more-feat { margin-top: 1rem; }
.price-card details.more-feat summary {
  cursor: pointer;
  list-style: none;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy-700);
  display: inline-flex; align-items: center; gap: .3rem;
}
.price-card details.more-feat summary::-webkit-details-marker { display: none; }
.price-card.is-featured details.more-feat summary { color: var(--sky-200); }
.price-card details.more-feat summary::after { content: "+"; }
.price-card details.more-feat[open] summary::after { content: "−"; }

/* Cleaner Most Popular badge placement */
.price-card.is-featured { padding-top: 2.5rem; }
.price-badge {
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
}

/* ============================================================
   Blog slider on homepage
   ============================================================ */
.blog-rail-wrap { position: relative; }
.blog-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .5rem .25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.blog-rail::-webkit-scrollbar { height: 6px; }
.blog-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.blog-rail .blog-card {
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--t) var(--ease);
}
.blog-rail .blog-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.blog-rail .blog-card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  position: relative; overflow: hidden;
}
.blog-rail .blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-rail .blog-card-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.blog-rail .blog-card-tag { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--navy-700); margin-bottom: .35rem; }
.blog-rail .blog-card h3 { font-size: 1rem; margin-bottom: .35rem; line-height: 1.3; }
.blog-rail .blog-card p { font-size: .8125rem; color: var(--ink-muted); flex: 1; line-height: 1.5; }
.blog-rail .blog-meta { font-size: .72rem; color: var(--ink-subtle); margin-top: .75rem; }

/* ============================================================
   Trust certificate + secure badge wrappers
   ============================================================ */
.trust-cert-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.footer-trust { display: flex; flex-direction: column; gap: .85rem; align-items: flex-start; margin-top: 1rem; }
.footer-trust > div { width: 100%; max-width: 220px; }

/* ============================================================
   Creative header (animated subtle accent line)
   ============================================================ */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky-300) 50%, transparent);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.site-header.is-scrolled::after { opacity: 1; }
.nav a { position: relative; }
.nav a::before {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px;
  height: 2px; background: var(--sky-400);
  transition: left var(--t) var(--ease), right var(--t) var(--ease);
  border-radius: 1px;
}
.nav a:hover::before, .nav a.active::before { left: 1rem; right: 1rem; }
.nav a.active::after { display: none; }

/* ============================================================
   Hero distinctive background - replace generic radial mesh
   ============================================================ */
.hero.theme-dark {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(178,227,247,.16), transparent 70%),
    linear-gradient(180deg, #061626 0%, #0c2b45 60%, #081f33 100%);
  position: relative;
}
.hero.theme-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(178,227,247,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(178,227,247,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero.theme-dark .container { position: relative; z-index: 2; }
.hero.theme-dark::after { display: none; }

/* Diagonal accent strip in hero */
.hero-stripe {
  position: absolute;
  width: 200%; height: 80px;
  left: -50%; bottom: -40px;
  background: linear-gradient(90deg, transparent, rgba(178,227,247,.06), transparent);
  transform: rotate(-2deg);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   Image parallax (independent of the [data-parallax] handler)
   ============================================================ */
[data-img-parallax] {
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
  transition: transform .12s linear;
}
.portfolio-thumb { overflow: hidden; position: relative; }
.portfolio-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22,.61,.36,1);
  display: block;
}
.portfolio-item:hover .portfolio-thumb img {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.14);
}
.portfolio-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,31,45,.55));
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.portfolio-item:hover .portfolio-thumb::after { opacity: 1; }
.portfolio-thumb .placeholder { z-index: 2; }
.portfolio-item .portfolio-body { transition: transform .35s var(--ease-out); }
.portfolio-item:hover .portfolio-body { transform: translateY(-2px); }

/* ============================================================
   Section heading entrance underline
   (block-level, so h2 wraps naturally on any width)
   ============================================================ */
.section-head h2 {
  display: block;
  width: 100%;
}
.section-head.reveal h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: .75rem auto 0;
  background: linear-gradient(90deg, var(--sky-200), var(--navy-700));
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .9s var(--ease-out) .25s;
}
.section-head.reveal.in-view h2::after { transform: scaleX(1); }

/* ============================================================
   Service / card icon hover spring
   ============================================================ */
.service-card .card-icon,
.card .card-icon {
  transition: transform .4s var(--ease-out), background .3s var(--ease);
}
.service-card:hover .card-icon,
.card:hover .card-icon {
  transform: scale(1.1) rotate(-3deg);
  background: var(--sky-200);
}

/* ============================================================
   CTA gradient drift
   ============================================================ */
.cta-block {
  background-size: 200% 200%;
  animation: gradDrift 22s ease infinite;
}
@keyframes gradDrift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ============================================================
   Subtle floating animation, used on decorative svgs
   ============================================================ */
.float-y { animation: floatY 6s ease-in-out infinite; }
.float-y-slow { animation: floatY 9s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   Blog card image hover zoom (rail and main blog)
   ============================================================ */
.blog-rail .blog-card-thumb,
.blog-card-thumb { overflow: hidden; }
.blog-rail .blog-card-thumb img,
.blog-card-thumb img { transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.blog-rail .blog-card:hover .blog-card-thumb img,
.blog-card:hover .blog-card-thumb img { transform: scale(1.08); }

/* ============================================================
   Pricing card hover lift
   ============================================================ */
.price-card { transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.price-card:not(.is-featured):hover { transform: translateY(-6px); border-color: var(--navy-700); box-shadow: 0 20px 40px -16px rgba(12,43,69,.18); }
.price-card.is-featured:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -18px rgba(12,43,69,.55); }

/* ============================================================
   Hero centering and width-locking on mobile
   ============================================================ */
@media (max-width: 980px) {
  /* minmax(0, 1fr) is the trick: stops grid cells from being
     widened by their own min-content (long words, dashboard mockup). */
  .hero .container { max-width: 100%; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    text-align: center;
  }
  .hero-copy {
    display: flex; flex-direction: column; align-items: center;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .hero-actions { justify-content: center; }
  .status-pill { align-self: center; }

  /* Belt-and-braces width clamps so nothing overflows */
  .hero h1,
  .hero .lead {
    max-width: 100%;
    width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    box-sizing: border-box;
  }
  .hero .lead { max-width: 38ch; }

  /* Dashboard mockup: lock width and centre it so it always fits */
  .hero-stack {
    width: 100%;
    max-width: 360px;
    margin: 1.25rem auto 1.75rem;
    aspect-ratio: 5 / 4;
    min-height: 0;
  }
  .dash-main { inset: 0; }
  /* Floating pills: centre horizontally, no negative overhang.
     Disable the float animation here because its transform would
     otherwise overwrite the translateX(-50%) used for centring. */
  .dash-pill {
    animation: none;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    white-space: nowrap;
    max-width: 92%;
  }
  .dash-pill-1 { top: -.9rem; bottom: auto; }
  .dash-pill-2 { bottom: -.9rem; top: auto; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 1.65rem !important; padding: 0 .25rem; }
  .hero .lead { font-size: .92rem; padding: 0 .25rem; max-width: 32ch; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.35rem !important; line-height: 1.2; }
  .hero .lead { font-size: .88rem; max-width: 30ch; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 1.15rem !important; }
  .hero .lead { font-size: .82rem; max-width: 28ch; }
}

/* ============================================================
   Stats: compact auto-scrolling marquee on mobile
   ============================================================ */
@media (max-width: 720px) {
  /* The section becomes the marquee viewport (overflow hidden via :has) */
  section:has(> .container > .stats-grid) > .container,
  .container:has(> .stats-grid) {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }
  .stats-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow: visible;
    width: max-content;
    gap: 0;
    padding: 0;
    margin: 0;
    animation: statsMarquee 22s linear infinite;
    will-change: transform;
  }
  .stats-grid:hover { animation-play-state: paused; }
  .stats-grid .stat {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .9rem;
    margin: 0 .3rem;
    background: rgba(178,227,247,.06);
    border: 1px solid rgba(178,227,247,.18) !important;
    border-radius: 999px;
    white-space: nowrap;
    min-width: 0;
    text-align: left;
  }
  .theme-light .stats-grid .stat {
    background: var(--sky-50);
    border-color: var(--line) !important;
  }
  .stats-grid .stat-num {
    font-size: .92rem !important;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    margin: 0;
    font-weight: 800;
  }
  .stats-grid .stat-num .suffix { font-size: .75em; }
  .stats-grid .stat-label {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0;
    color: rgba(255,255,255,.6);
    font-weight: 600;
    white-space: nowrap;
  }
  .theme-light .stats-grid .stat-label { color: var(--ink-subtle); }
}
@keyframes statsMarquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================
   Server map - subtle live overlay (no dark vignette on light bg)
   ============================================================ */
.world-map {
  position: relative;
  background: transparent;
}
.world-map::after {
  content: ""; position: absolute;
  width: 110%; height: 30px;
  left: -5%; top: 50%;
  background: linear-gradient(90deg, transparent, rgba(12,43,69,.10), transparent);
  filter: blur(10px);
  pointer-events: none;
  animation: mapScan 8s ease-in-out infinite;
  transform: translateY(-50%);
  border-radius: var(--r);
}
.theme-dark .world-map::after {
  background: linear-gradient(90deg, transparent, rgba(178,227,247,.18), transparent);
}
@keyframes mapScan {
  0%, 100% { transform: translateY(-200px); opacity: 0; }
  50%      { transform: translateY(0); opacity: 1; }
}
.world-map svg, .world-map img { position: relative; z-index: 1; }
.world-map img { transition: transform .6s var(--ease-out); display: block; }
.world-map:hover img { transform: scale(1.02); }

/* Live pulse dots overlaid on map at major locations (approximate positions) */
.map-pulse {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sky-200);
  box-shadow: 0 0 0 0 rgba(178,227,247,.7);
  animation: dotPulse 2.8s ease-out infinite;
  z-index: 2;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(178,227,247,.7); transform: translate(-50%,-50%) scale(1); }
  100% { box-shadow: 0 0 0 22px rgba(178,227,247,0); transform: translate(-50%,-50%) scale(1.1); }
}

/* ============================================================
   Package polish: name stands out, prices small + fit one line
   ============================================================ */
.price-tag { white-space: nowrap; overflow-x: hidden; align-items: baseline; gap: .3rem; }
.price-amount {
  white-space: nowrap;
  font-size: clamp(1rem, .35vw + .85rem, 1.15rem) !important;
  font-weight: 700;
  letter-spacing: -.015em;
}
.price-period { font-size: .78rem; }
.price-was { font-size: .72rem; opacity: .85; }
.price-name {
  font-size: clamp(1.2rem, .6vw + 1rem, 1.45rem) !important;
  font-weight: 800;
  letter-spacing: -.02em;
}
.price-card .btn { margin-top: .25rem; font-size: .85rem; }
.auto-renew { font-size: .68rem; }
.feat-group .feat-label { font-size: .65rem; }
.feat-group li { font-size: .8rem; }
.price-card.is-featured .price-amount { color: var(--white) !important; }

/* Web design pricing cleaner */
.price-card .price-sub { min-height: 0; }

/* ============================================================
   Pay.webp footer banner (every page)
   ============================================================ */
.pay-banner {
  margin: 1.25rem auto 0;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: center; align-items: center;
  gap: 1.25rem; flex-wrap: wrap;
}
.pay-banner .label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255,255,255,.5);
}
.pay-banner img {
  max-width: 100%;
  height: auto;
  max-height: 44px;
  filter: brightness(.95) contrast(1.05);
  opacity: .9;
}
@media (max-width: 520px) {
  .pay-banner img { max-height: 36px; }
  .pay-banner { gap: .85rem; }
}

/* ============================================================
   Search input: suppress double-icons on iOS / Safari
   ============================================================ */
input[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

/* ============================================================
   In-house "Trust" badges (replace broken TrustIndex)
   ============================================================ */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto;
}
.trust-badge {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .85rem;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.trust-badge:hover { transform: translateY(-3px); border-color: var(--navy-700); }
.trust-badge .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--sky-100);
  color: var(--navy-800);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-badge .ic svg { width: 22px; height: 22px; }
.trust-badge .t { font-size: .85rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.trust-badge .s { font-size: .7rem; color: var(--ink-subtle); margin-top: 2px; }

/* ============================================================
   Mobile-first guarantees: tighter spacing, larger tap targets
   ============================================================ */
@media (max-width: 720px) {
  section { padding: 2.25rem 0; }
  .hero { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 2.5rem; }
  .section-head { margin-bottom: 1.75rem; }
  .price-card { padding: 1.25rem; }
  .pricing-grid { gap: .85rem; }
  .grid { gap: 1rem; }
  .bento { gap: .85rem; }
  .btn { min-height: 44px; }   /* min tap-target */
  .nav.is-open a { min-height: 44px; }
  .card-icon { width: 40px; height: 40px; }
  .card-icon svg { width: 18px; height: 18px; }
}
@media (max-width: 480px) {
  body { font-size: 14.5px; }
  .container { padding: 0 1rem; max-width: 100%; }
  .hero { padding-top: calc(var(--header-h) + .5rem); padding-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .55rem; }
  .hero-actions .btn { width: 100%; }
  .hero h1 { font-size: 1.4rem !important; line-height: 1.2; letter-spacing: -.02em; max-width: 100%; }
  .hero h1 .accent { display: inline; }
  .hero .lead { font-size: .9rem; max-width: 100%; }
  .hero-trust { font-size: .75rem; gap: .55rem 1rem; }
  .status-pill { font-size: .65rem; padding: .3rem .65rem; }

  /* Prices: compact so they always fit */
  .price-amount { font-size: 1rem !important; font-weight: 700; }
  .price-period { font-size: .72rem; }
  .price-was { font-size: .68rem; }
  .price-name { font-size: 1.05rem !important; }
  .price-sub { font-size: .78rem; min-height: 0; margin-bottom: .65rem; }
  .price-card { padding: 1.1rem 1rem; }
  .price-features li, .feat-group li { font-size: .8rem; }

  .section-head h2 { font-size: 1.3rem; }
  .section-head p { font-size: .9rem; }
  .footer-grid { gap: 1.5rem; }
  .reviews-rail { grid-auto-columns: 88vw; }
  .blog-rail { grid-auto-columns: 85vw; }
  .stat-num { font-size: 1.85rem !important; }
  .billing-toggle { font-size: .8rem; }
  .billing-toggle button { padding: .45rem .9rem; }
  .marquee-inner { gap: 2rem; }
  .marquee span { font-size: .7rem; letter-spacing: .14em; }
  .perf-block, .perf-stats { gap: .65rem; }
  .perf-chart { padding: 1rem; }
  .world-map svg, .world-map img { max-height: 380px; }

  /* Pills stay centred on very small screens, just smaller */
  .hero-stack { max-width: 300px; }
  .dash-pill { font-size: .68rem; padding: .35rem .65rem; }
  .dash-pill-1 { top: -.75rem; right: auto; }
  .dash-pill-2 { bottom: -.75rem; left: 50%; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 1.2rem !important; }
  .price-amount { font-size: .92rem !important; }
  .price-name { font-size: 1rem !important; }
}


/* reCAPTCHA v2 widget spacing + small-screen fit (304px can overflow tiny phones) */
.g-recaptcha { margin: .25rem 0 1.1rem; }
@media (max-width: 360px) {
  .g-recaptcha { transform: scale(.86); transform-origin: 0 0; }
}
