:root {
  --bg: #06080f;
  --bg-elevated: #0b0f1a;
  --bg-card: #101525;
  --surface: #151b2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6fb;
  --text-muted: #9aa3b8;
  --text-dim: #6b748c;
  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --accent-dim: rgba(59, 130, 246, 0.14);
  --accent-glow: rgba(59, 130, 246, 0.4);
  --green: #34d399;
  --orange: #fb923c;
  --purple: #a78bfa;
  --radius: 16px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px var(--accent-glow);
  flex-shrink: 0;
}

.logo-mark svg { width: 16px; height: 16px; color: white; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 28px var(--accent-glow);
}

.btn-primary:hover { background: #2563eb; box-shadow: 0 0 36px var(--accent-glow); }

.btn-ghost {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 7.5rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 30%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 10% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #080b16 0%, var(--bg) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 60% 40%, black 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 40%, black 15%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.1s;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 0.35rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.2s;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1.15rem;
  color: var(--text-muted);
  opacity: 0;
  animation: rise 0.8s ease forwards 0.35s;
}

.hero-headline em {
  font-style: normal;
  background: linear-gradient(105deg, var(--accent-bright), #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 40ch;
  margin-bottom: 1.85rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.5s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.65s;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.8s;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
  flex-shrink: 0;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Phone / app visuals */
.phone-wrap {
  opacity: 0;
  animation: rise 1s ease forwards 0.45s;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.phone-glow {
  position: absolute;
  inset: 10% 15%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(260px, 42vw);
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background: #0a0e18;
  padding: 0.45rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(59, 130, 246, 0.1);
  overflow: hidden;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.phone.phone-offset {
  width: min(220px, 36vw);
  transform: translateY(2rem) scale(0.95);
  opacity: 0.85;
  z-index: 0;
}

.phone.phone-main {
  z-index: 2;
}

/* Dashboard mock (fallback) */
.dash-wrap {
  opacity: 0;
  animation: rise 1s ease forwards 0.45s;
  position: relative;
}

.dash-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.dash {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, #12182a 0%, #0a0e18 100%);
  padding: 1.15rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.08);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dash-welcome {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
}

.dash-welcome span { color: var(--text-dim); font-weight: 500; font-size: 0.8rem; display: block; }

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.metric {
  padding: 0.7rem 0.65rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.metric-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--accent-bright);
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.dash-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.65rem;
}

.dash-panel {
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.dash-panel h4 {
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}

.meeting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
}

.meeting-row:last-child { border-bottom: none; }
.meeting-row strong { font-weight: 600; display: block; }
.meeting-row span { color: var(--text-dim); font-size: 0.65rem; }
.meeting-tag {
  font-size: 0.6rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent-bright);
  font-weight: 600;
  white-space: nowrap;
}

.summary-line {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  padding-left: 0.55rem;
  border-left: 2px solid var(--accent);
}

/* —— Sections —— */
section { padding: 5.5rem 1.5rem; position: relative; }

.section-inner { max-width: var(--max); margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  max-width: 22ch;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 50ch;
  margin-bottom: 2.75rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-head .section-title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.section-head .section-lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 8.5rem 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(59, 130, 246, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #080b16 0%, var(--bg) 100%);
}

.page-hero .section-inner { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.page-hero .lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 52ch;
}

/* —— Featured product —— */
.featured-sec {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 55%),
    var(--bg);
}

.featured {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.25rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(145deg, #3b82f6, #1e40af);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px var(--accent-glow);
  flex-shrink: 0;
}

.app-icon svg { width: 40px; height: 40px; color: white; }

.featured-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.featured-copy .tagline {
  color: var(--accent-bright);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.featured-copy p {
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 1.5rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.store-badge:hover {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.08);
}

.store-badge.disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.store-badge svg { width: 20px; height: 20px; }

.store-badge small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

.feat-card {
  padding: 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

.feat-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.feat-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

.feat-card-icon svg { width: 18px; height: 18px; }

.feat-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.feat-card p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}

.feat-card a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-bright);
}

/* —— How it works —— */
.how { border-top: 1px solid var(--border); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 2.1rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}

.step-num {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px var(--bg);
}

.step-num svg { width: 22px; height: 22px; }

.step h4 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* —— Products —— */
.products {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.product-card {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-3px);
}

.product-card.featured-card {
  border-color: rgba(59, 130, 246, 0.45);
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.1), var(--bg-card));
}

.product-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-live {
  background: var(--accent-dim);
  color: var(--accent-bright);
}

.badge-soon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.product-icon svg { width: 22px; height: 22px; }
.icon-blue { background: var(--accent-dim); color: var(--accent-bright); }
.icon-green { background: rgba(52, 211, 153, 0.12); color: var(--green); }
.icon-orange { background: rgba(251, 146, 60, 0.12); color: var(--orange); }
.icon-purple { background: rgba(167, 139, 250, 0.12); color: var(--purple); }

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.product-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.product-card .link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-bright);
}

/* —— Why —— */
.why { border-top: 1px solid var(--border); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.why-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: var(--accent-dim);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
}

.why-icon svg { width: 22px; height: 22px; }

.why-item h4 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.why-item p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* —— Testimonials —— */
.testimonials {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(59, 130, 246, 0.07) 0%, transparent 55%),
    var(--bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.testimonial {
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
}

.testimonial blockquote {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #1e3a8a);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-weight: 650;
  font-size: 0.9rem;
}

.author-role {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* —— Pricing —— */
.pricing { border-top: 1px solid var(--border); }

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-muted);
}

.toggle {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle.on { background: var(--accent); border-color: var(--accent); }

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}

.toggle.on::after { transform: translateX(20px); }

.save-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 1.15rem;
  align-items: stretch;
  justify-content: center;
}

.pricing-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, var(--bg-elevated) 40%);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.price-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  margin-bottom: 0.15rem;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
}

.price-period {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.price-features {
  flex: 1;
  margin-bottom: 1.75rem;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.price-features svg {
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.price-card .btn { width: 100%; }

/* —— CTA —— */
.cta-sec {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.cta-box {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 100% at 0% 50%, rgba(59, 130, 246, 0.18) 0%, transparent 50%),
    var(--bg-elevated);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-dim);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
}

.cta-icon svg { width: 28px; height: 28px; }

.cta-box h2 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 42ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

/* —— Content layouts —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.split-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.app-shot {
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  max-width: 320px;
  margin: 0 auto;
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.shot-row .app-shot {
  max-width: 220px;
}

.content-prose {
  max-width: 720px;
  margin: 0 auto;
}

.content-prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.content-prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-prose li { margin-bottom: 0.4rem; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-meta a {
  color: var(--accent-bright);
  font-weight: 600;
}

.form-card {
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-3px);
}

.blog-card-img {
  height: 160px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(59, 130, 246, 0.35), transparent 60%),
    var(--surface);
}

.blog-card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }

.blog-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card .link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-bright);
}

/* Solutions list */
.solution-list {
  display: grid;
  gap: 1.15rem;
}

.solution-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.2s;
}

.solution-item:hover { border-color: rgba(59, 130, 246, 0.35); }

.solution-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.solution-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* —— Footer —— */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem 2rem;
  background: #05070d;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) 1.3fr;
  gap: 2rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 1rem 0 1.25rem;
  max-width: 28ch;
}

.socials {
  display: flex;
  gap: 0.65rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.socials a:hover { color: var(--accent-bright); border-color: rgba(59, 130, 246, 0.4); }
.socials svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.newsletter h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 0.5rem;
}

.newsletter p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.newsletter-form {
  display: flex;
  gap: 0.4rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  outline: none;
}

.newsletter-form input:focus { border-color: var(--accent); }

.newsletter-form .btn { padding: 0.6rem 1rem; flex-shrink: 0; }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* —— Responsive —— */
@media (max-width: 1024px) {
  .hero-inner,
  .feat-grid,
  .steps,
  .product-grid,
  .why-grid,
  .testimonial-grid,
  .pricing-grid.three-col,
  .footer-top,
  .blog-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner { grid-template-columns: 1fr; }
  .phone-wrap { max-width: 520px; margin: 0 auto; }
  .phone.phone-offset { display: none; }
  .featured { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .cta-box { grid-template-columns: 1fr; text-align: center; }
  .cta-icon { margin: 0 auto; }
  .cta-box p { margin: 0 auto; }
  .cta-actions { justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .solution-item { grid-template-columns: auto 1fr; }
  .solution-item .btn { grid-column: 2; justify-self: start; }
  .split.reverse { direction: ltr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 1.25rem 1.5rem 1.75rem;
    background: rgba(6, 8, 15, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    gap: 1.1rem;
    align-items: flex-start;
  }
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }

  .feat-grid,
  .steps,
  .product-grid,
  .why-grid,
  .testimonial-grid,
  .pricing-grid,
  .pricing-grid.three-col,
  .dash-metrics,
  .dash-body,
  .footer-top,
  .blog-grid,
  .split,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .newsletter-form { flex-direction: column; }
  .solution-item { grid-template-columns: 1fr; }
  .solution-item .btn { width: auto; }
}
