:root {
  --blue: #2563eb;
  --cyan: #0ea5e9;
  --gradient: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --gradient-soft: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(14,165,233,0.08));
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --border: #e2e8f0;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --site-gutter: 1.25rem;
  --site-max: 1120px;
  --header-boost: 5rem;
  --wrap: min(var(--site-max), calc(100% - var(--site-gutter) * 2));
  --header-width: min(calc(var(--site-max) + var(--header-boost)), calc(100% - var(--site-gutter)));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
  --header-float-top: 1rem;
  --header-offset: calc(var(--header-float-top) + var(--header-h) + 1.25rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) #e2e8f0;
}

html::-webkit-scrollbar { width: 11px; }
html::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #eef2f8, #e2e8f0);
}
html::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 999px;
  border: 2px solid #e8eef6;
  background-clip: padding-box;
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1d4ed8, #0284c7);
  border: 2px solid #e8eef6;
  background-clip: padding-box;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }
body.nav-open { overflow: hidden; }

/* ─── Page loader ─── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.12), transparent),
    #f4f7fb;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  width: min(280px, 80vw);
  animation: loader-pop 0.6s var(--ease) both;
}

.loader-logo {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: 1.35rem;
}

.loader-logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-bar {
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.loader-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--gradient);
  background-size: 200% 100%;
  animation: loader-fill 1.1s var(--ease) forwards, gradient-shift 2s ease infinite;
}

.loader-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  animation: loader-pulse 1.2s ease-in-out infinite;
}

@keyframes loader-pop {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes loader-fill {
  0% { width: 0%; }
  55% { width: 72%; }
  100% { width: 100%; }
}

@keyframes loader-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ─── Scroll progress ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: var(--gradient);
  background-size: 200% 100%;
  animation: gradient-shift 4s ease infinite;
  box-shadow: 0 0 12px rgba(37,99,235,0.45);
  transition: width 0.12s linear;
  pointer-events: none;
}

.wrap { width: var(--wrap); margin: 0 auto; }

/* ─── Background orbs ─── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(37,99,235,0.15);
  top: -10%;
  right: -5%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(14,165,233,0.12);
  bottom: 20%;
  left: -8%;
  animation-delay: -6s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(99,102,241,0.1);
  top: 50%;
  left: 40%;
  animation-delay: -12s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.35); }
  70% { box-shadow: 0 0 0 12px rgba(37,99,235,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

@keyframes score-highlight {
  0%, 45% { background: #fff; color: var(--text); border-color: var(--border); transform: scale(1); }
  50%, 95% { background: var(--gradient); color: #fff; border-color: transparent; transform: scale(1.08); box-shadow: 0 4px 12px rgba(37,99,235,0.35); }
  100% { background: #fff; color: var(--text); border-color: var(--border); transform: scale(1); }
}

@keyframes dash-bar-grow {
  from { width: 0; }
  to { width: var(--w, 80%); }
}

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

/* Only hide for scroll-animation when JS is active */
html.js body.loaded .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(52px);
  filter: blur(8px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
}

html.js .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(52px);
}

html.js body.loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0);
}

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

html.js body.loaded .reveal-left:not(.visible) {
  opacity: 0;
  transform: translateX(-56px);
  filter: blur(6px);
}

html.js .reveal-left:not(.visible) {
  opacity: 0;
  transform: translateX(-56px);
}

html.js body.loaded .reveal-right:not(.visible) {
  opacity: 0;
  transform: translateX(56px);
  filter: blur(6px);
}

html.js .reveal-right:not(.visible) {
  opacity: 0;
  transform: translateX(56px);
}

html.js body.loaded .reveal-scale:not(.visible) {
  opacity: 0;
  transform: scale(0.88) translateY(20px);
  filter: blur(4px);
}

html.js .reveal-scale:not(.visible) {
  opacity: 0;
  transform: scale(0.88) translateY(20px);
}

.reveal-left,
.reveal-right,
.reveal-scale,
.reveal {
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

.float-anim { animation: float 5s ease-in-out infinite; }
.float-anim-delay { animation: float 5.5s ease-in-out 0.5s infinite; }
.float-anim-delay2 { animation: float 6s ease-in-out 1s infinite; }

.text-gradient {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

/* ─── Header (floating glass) ─── */
.site-header {
  position: fixed;
  top: var(--header-float-top);
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 max(var(--site-gutter), calc((100% - var(--header-width)) / 2));
  pointer-events: none;
}

.header-glass {
  pointer-events: auto;
  width: 100%;
  max-width: var(--header-width);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.15rem 0 1.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.scrolled .header-glass {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-word {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
}

.logo-accent {
  font-weight: 800;
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.nav a:not(.nav-cta):hover { color: var(--text); }
.nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--gradient) !important;
  background-size: 200% 200% !important;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 11px;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(37,99,235,0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

/* ─── Hero ─── */
.hero {
  padding: var(--header-offset) 0 5rem;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(37,99,235,0.09), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(14,165,233,0.07), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid rgba(37,99,235,0.15);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: var(--gradient);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.4);
  animation: gradient-shift 3s ease infinite;
}

.btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #bfdbfe;
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.btn-lg { padding: 0.9rem 1.65rem; font-size: 1rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.hero-stats li { position: relative; }
.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stats span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

/* Hero visual — phone stack */
.hero-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.22), transparent 68%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 4s ease-out infinite;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37,99,235,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-ring--1 {
  width: 340px;
  height: 340px;
  animation: float 8s ease-in-out infinite;
}

.hero-ring--2 {
  width: 420px;
  height: 420px;
  border-color: rgba(14,165,233,0.1);
  animation: float 10s ease-in-out 1s infinite reverse;
}

.hero-phones {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 420px;
  z-index: 2;
}

/* ─── Phone mockup (shared) ─── */
.phone-frame {
  width: 240px;
  padding: 10px;
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  border-radius: 34px;
  box-shadow:
    0 28px 70px rgba(15,23,42,0.28),
    0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #0f172a;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone-screen {
  background: #fff;
  border-radius: 26px;
  padding: 2rem 0.9rem 1.1rem;
  min-height: 360px;
}

.phone-frame--main {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 250px;
}

.phone-frame--back {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg) scale(0.88);
  z-index: 1;
  opacity: 0.92;
  filter: blur(0.2px);
}

.phone-frame--showcase { width: 260px; }
.phone-frame--thanks {
  width: 220px;
  transform: rotate(6deg);
  margin-top: 2rem;
}

.phone-header, .dash-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.phone-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.phone-welcome {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1rem;
}

.phone-staff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.showcase-phones .phone-staff {
  grid-template-columns: repeat(2, 1fr);
}

.phone-staff-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.4rem;
  text-align: center;
  font-size: 0.72rem;
  transition: border-color 0.3s, background 0.3s;
}

.phone-staff-card span {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.72rem;
  margin: 0 auto 0.3rem;
  line-height: 34px;
}

.phone-staff-card.active {
  border-color: var(--blue);
  background: var(--gradient-soft);
}

.phone-scores {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.phone-scores span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s var(--ease);
}

.phone-scores span.active,
.phone-scores--hero .score-cycle-1 {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.phone-scores--hero .score-cycle-1 {
  animation: score-highlight 4s ease-in-out infinite;
}

.phone-scores--hero .score-cycle-2 {
  animation: score-highlight 4s ease-in-out 2s infinite;
}

.phone-btn {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 0.6rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Dashboard phone screen */
.phone-screen--dash {
  padding: 1.75rem 0.85rem 1rem;
  min-height: 320px;
  background: linear-gradient(180deg, #f8fafc, #fff);
}

.dash-stat {
  margin-bottom: 0.85rem;
}

.dash-stat small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.dash-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.dash-bar {
  margin-top: 0.4rem;
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.dash-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
  animation: dash-bar-grow 1.5s var(--ease) both;
}

.dash-bar--cyan span { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }

.dash-rank {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.dash-rank-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  padding: 0.35rem 0;
}

.dash-rank-row span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--gradient-soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.65rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-rank-row em { flex: 1; font-style: normal; font-weight: 600; }
.dash-rank-row b { color: var(--blue); font-weight: 800; }

/* Thank you phone screen */
.phone-screen--thanks {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.thanks-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

.phone-screen--thanks h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.phone-screen--thanks p {
  font-size: 0.75rem;
  color: var(--muted);
}

.thanks-badge {
  margin-top: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid #a7f3d0;
}

.mock-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  box-shadow: 0 12px 32px rgba(37,99,235,0.12);
  z-index: 3;
  transition: transform 0.3s var(--ease);
}

.mock-card:hover { transform: translateY(-4px) scale(1.02); }

.mock-card--1 {
  top: 24px;
  right: -24px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mock-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  color: #f59e0b;
  flex-shrink: 0;
}

.mock-card-icon--gold { color: #d97706; }

.mock-score {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.mock-label { color: var(--muted); font-size: 0.75rem; }

.mock-card--2 {
  bottom: 80px;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.82rem;
}

.mock-card--3 {
  bottom: 10px;
  right: 20px;
  text-align: center;
  padding: 0.65rem 0.85rem;
}

.mock-mini-score {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
}

.mock-card--3 span:last-child {
  font-size: 0.68rem;
  color: var(--muted);
}

.pulse-ring { animation: pulse-ring 2.5s ease-out infinite; }

/* ─── Trust bar ─── */
.trust-bar {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

/* ─── Illustration band ─── */
.illustration-band {
  padding: 2.75rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, var(--bg) 100%),
    radial-gradient(ellipse 55% 45% at 15% 50%, rgba(37,99,235,0.07), transparent);
}

.illustration-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.25rem;
  align-items: center;
}

.illustration-cover {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  max-height: 300px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.illustration-cover-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.14), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.12), transparent 40%),
    linear-gradient(145deg, #eef4ff 0%, #f8fafc 50%, #ecfeff 100%);
  z-index: 0;
}

.illustration-svg,
.illustration-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  pointer-events: none;
}

.illustration-copy h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.illustration-copy > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.15rem;
  max-width: 32rem;
}

/* ─── Sections ─── */
.section { padding: 5.5rem 0; }
.section--alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.35s;
}

.step:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 56px rgba(37,99,235,0.12);
  border-color: #bfdbfe;
}

html.js body.loaded .step:not(.visible) {
  transform: translateY(40px) rotate(-1deg);
}

html.js body.loaded .step.visible {
  transform: translateY(0) rotate(0);
}

.step:hover::before { opacity: 1; }

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 1rem;
}

.step-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.5rem;
  display: block;
  opacity: 0.7;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s;
}

.feature:hover {
  transform: translateY(-7px) scale(1.02);
  background: #fff;
  box-shadow: 0 20px 48px rgba(37,99,235,0.1);
}

html.js body.loaded .feature:not(.visible) {
  transform: translateY(36px) scale(0.96);
}

html.js body.loaded .feature.visible {
  transform: translateY(0) scale(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 0.85rem;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.feature:hover .feature-icon {
  background: var(--gradient);
  color: #fff;
  transform: scale(1.05);
}

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Showcase */
.showcase {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 50%, rgba(37,99,235,0.08), transparent),
    var(--bg);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase-phones {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  min-height: 400px;
}

.showcase-phones::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.showcase-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.showcase-copy > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Sectors */
.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.sector-pill {
  padding: 0.65rem 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  cursor: default;
}

.sector-pill:hover {
  border-color: #bfdbfe;
  background: var(--gradient-soft);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.1);
}

/* FAQ (SSS) — semantic details/summary for SEO + accessibility */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
  background: var(--primary);
  color: #fff;
}

.faq-item p {
  margin: 0;
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item a {
  color: var(--primary);
  font-weight: 600;
}

/* CTA */
.cta-band {
  background: var(--gradient);
  background-size: 200% 200%;
  animation: gradient-shift 10s ease infinite;
  color: #fff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-copy h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.cta-copy p {
  opacity: 0.92;
  font-size: 0.95rem;
  max-width: 420px;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.65rem;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--blue); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-bottom small {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  :root {
    --site-gutter: 1rem;
    --header-boost: 0rem;
    --header-h: 58px;
    --header-float-top: 0.75rem;
    --header-offset: calc(var(--header-float-top) + var(--header-h) + 1rem);
  }

  .hero-grid,
  .steps,
  .features,
  .showcase-grid,
  .illustration-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-copy {
    text-align: center;
    order: 1;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.98rem;
    max-width: 32rem;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 1.75rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1rem;
  }

  .hero-visual {
    order: 2;
    min-height: 340px;
    margin-top: 0.5rem;
  }

  .hero-phones {
    max-width: min(280px, 88vw);
    margin: 0 auto;
    height: 360px;
  }

  .phone-frame--back {
    left: -8px;
    transform: translateY(-50%) rotate(-5deg) scale(0.8);
  }

  .phone-frame--main {
    right: -4px;
    width: min(220px, 78vw);
  }

  .phone-screen {
    min-height: 320px;
    padding: 1.65rem 0.8rem 1rem;
  }

  .illustration-band {
    padding: 2rem 0 2.5rem;
  }

  .illustration-visual {
    order: -1;
    max-width: min(400px, 100%);
    margin: 0 auto;
    width: 100%;
  }

  .illustration-cover {
    max-height: 240px;
    aspect-ratio: 16 / 11;
  }

  .illustration-copy {
    text-align: center;
  }

  .illustration-copy .showcase-list {
    align-items: center;
    max-width: 320px;
    margin: 0 auto;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .showcase {
    padding: 3.5rem 0;
  }

  .showcase-copy {
    text-align: center;
    order: 1;
  }

  .showcase-copy .showcase-list {
    align-items: center;
    max-width: 320px;
    margin: 0 auto;
  }

  .showcase-phones {
    order: 2;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    gap: 1.25rem;
    padding: 0;
  }

  .phone-frame--showcase {
    width: min(250px, 88vw);
  }

  .phone-frame--thanks {
    transform: none;
    margin-top: 0;
    width: min(220px, 80vw);
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .cta-copy p {
    margin: 0 auto;
  }

  .cta-inner .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    align-items: center;
  }

  .nav-toggle {
    display: flex;
    z-index: 2;
  }

  .header-glass {
    padding: 0 0.85rem 0 1rem;
    border-radius: 14px;
  }

  .logo-word {
    font-size: 1.1rem;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-float-top) + var(--header-h) + 0.5rem);
    left: var(--site-gutter);
    right: var(--site-gutter);
    width: auto;
    max-width: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    flex-direction: column;
    padding: 0.85rem;
    gap: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    transform: translateY(-12px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s, visibility 0.35s;
    pointer-events: none;
    z-index: 150;
  }

  .nav.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
  }

  .nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav a:not(.nav-cta):hover,
  .nav a:not(.nav-cta):active {
    background: var(--bg);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
    width: 100%;
    justify-content: center;
  }

  .trust-bar {
    padding: 1rem 0;
  }

  .trust-inner {
    gap: 0.5rem 1rem;
    justify-content: center;
    font-size: 0.78rem;
  }

  .trust-divider {
    display: none;
  }

  .sectors {
    gap: 0.55rem;
  }

  .sector-pill {
    font-size: 0.82rem;
    padding: 0.55rem 0.95rem;
  }
}

@media (max-width: 600px) {
  :root {
    --site-gutter: 0.9rem;
    --header-h: 54px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    text-align: center;
  }

  .hero-stats li {
    padding: 0.5rem 0.25rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border);
  }

  .hero-stats strong {
    font-size: 1.05rem;
  }

  .hero-stats span {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .phone-frame--back {
    display: none;
  }

  .phone-frame--main {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
    width: min(230px, 86vw);
  }

  .hero-phones {
    height: auto;
    max-width: 100%;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 0.5rem;
  }

  .hero-ring--2 {
    width: 260px;
    height: 260px;
  }

  .step,
  .feature {
    padding: 1.25rem;
  }

  .cta-band {
    padding: 3rem 0;
  }

  .loader-logo {
    font-size: 1.45rem;
  }
}

@media (max-width: 400px) {
  :root {
    --site-gutter: 0.75rem;
    --header-float-top: 0.55rem;
  }

  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.18;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 220px;
    margin: 0 auto;
  }

  .trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
  }

  .trust-inner span:not(.trust-divider) {
    padding: 0.35rem 0.25rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .showcase-copy h2,
  .illustration-copy h2 {
    font-size: 1.35rem;
  }

  .phone-scores span {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .orb-1 {
    width: 280px;
    height: 280px;
  }

  .orb-2,
  .orb-3 {
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .loader-inner,
  .loader-bar-fill,
  .loader-text,
  .orb {
    animation: none !important;
    transition: none !important;
  }

  html.js body.loaded .reveal:not(.visible),
  html.js .reveal-left:not(.visible),
  html.js .reveal-right:not(.visible),
  html.js .reveal-scale:not(.visible) {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
