/* trackspulse–inspired static site */
:root {
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --neutral-50: #eaecf1;
  --neutral-100: #b8bfd1;
  --neutral-200: #939db8;
  --neutral-300: #646e87;
  --neutral-400: #4e576e;
  --neutral-500: #3b4254;
  --neutral-600: #2f3647;
  --neutral-700: #293040;
  --neutral-800: #222838;
  --neutral-900: #121826;
  --white: #ffffff;
  --black: #000000;
  --bg: #f7f8fb;
  --bg-soft: #eef1f7;
  --surface: #ffffff;
  --border: rgba(18, 24, 38, 0.08);
  --shadow: 0 18px 50px rgba(18, 24, 38, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1120px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--neutral-900);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 251, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--neutral-900);
}

.logo-img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.logo-img-lg {
  height: 40px;
  max-width: 240px;
}

.site-footer .logo-img {
  height: 30px;
}

.auth-aside .logo-img {
  height: 32px;
  max-width: 200px;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: var(--green-500);
  color: var(--neutral-900);
  font-size: 0.7rem;
  font-weight: 800;
}

.cart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-controls .btn {
  padding: 0.35rem 0.65rem;
  min-width: 2rem;
}

.qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.nav-user {
  font-size: 0.82rem;
  color: var(--neutral-300);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--neutral-500);
  font-size: 0.9rem;
  font-weight: 560;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-trigger:hover,
.nav-links a.is-active {
  color: var(--neutral-900);
  background: rgba(18, 24, 38, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green-500);
  color: var(--neutral-900);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.28);
}

.btn-primary:hover {
  background: var(--green-400);
}

.btn-dark {
  background: var(--neutral-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--neutral-500);
}

.btn-ghost:hover {
  color: var(--neutral-900);
  background: rgba(18, 24, 38, 0.04);
}

.btn-outline {
  background: var(--white);
  border-color: var(--border);
  color: var(--neutral-900);
}

.btn-lg {
  padding: 0.9rem 1.35rem;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  background: var(--neutral-900);
  border-radius: 2px;
}

/* Mega dropdown — padding-top bridges the gap so hover never drops */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 2rem));
  padding: 0.85rem 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s;
  transition-delay: 0.12s; /* keep open briefly when leaving */
}

.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s; /* open immediately */
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.dropdown a.item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  text-align: left;
}

.dropdown a.item:hover {
  background: var(--bg-soft);
}

.dropdown a.item strong {
  font-size: 0.92rem;
  color: var(--neutral-900);
}

.dropdown a.item span {
  font-size: 0.8rem;
  color: var(--neutral-300);
  font-weight: 500;
  line-height: 1.35;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 55% at 70% -10%, rgba(34, 197, 94, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(184, 191, 209, 0.35), transparent 50%),
    linear-gradient(180deg, #f4f6fb 0%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 24, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 24, 38, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--green-600);
}

.hero-lead {
  margin: 0 0 1.6rem;
  max-width: 36rem;
  font-size: 1.12rem;
  color: var(--neutral-400);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--neutral-300);
}

.hero-note a {
  color: var(--green-700);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Product visual */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fbfcfe, #f3f5fa);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neutral-100);
}

.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }

.panel-title {
  margin-left: 0.35rem;
  font-size: 0.78rem;
  color: var(--neutral-300);
  font-weight: 600;
}

.panel-body {
  padding: 1.1rem;
  background:
    linear-gradient(160deg, rgba(34, 197, 94, 0.06), transparent 40%),
    var(--neutral-900);
  color: #d7dce8;
  min-height: 280px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.metric {
  padding: 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric label {
  display: block;
  font-size: 0.68rem;
  color: var(--neutral-200);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric strong {
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.03em;
}

.metric strong.up { color: var(--green-400); }
.metric strong.down { color: #fb7185; }

.log-lines {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
}

.log-lines .dim { color: var(--neutral-300); }
.log-lines .ok { color: var(--green-400); }
.log-lines .warn { color: #fbbf24; }
.log-lines .err { color: #fb7185; }

/* Feature chips / product strip */
.product-strip {
  padding: 0.5rem 0 2.5rem;
}

.strip-scroll {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.strip-chip {
  flex: 0 0 auto;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--neutral-500);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.strip-chip:hover {
  border-color: rgba(34, 197, 94, 0.45);
  color: var(--neutral-900);
  background: #fff;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: var(--white);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-700);
}

.section h2,
.page-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.section-head p,
.page-hero p {
  margin: 0;
  color: var(--neutral-400);
  font-size: 1.05rem;
}

/* Cost compare */
.compare {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: stretch;
}

.compare-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
}

.compare-card.featured {
  background: linear-gradient(160deg, #121826, #1d2638);
  color: var(--white);
  border-color: transparent;
}

.compare-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.compare-card .price {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0.85rem 0;
}

.compare-card.featured .price {
  color: var(--green-400);
}

.compare-card p {
  margin: 0;
  color: var(--neutral-300);
  font-size: 0.92rem;
}

.compare-card.featured p {
  color: var(--neutral-100);
}

.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.stat {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  color: var(--green-400);
}

.stat span {
  font-size: 0.85rem;
  color: var(--neutral-100);
}

/* Feature grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(34, 197, 94, 0.35);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-700);
  font-weight: 800;
  font-size: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--neutral-300);
  font-size: 0.92rem;
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split.reverse > :first-child {
  order: 2;
}

.checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--neutral-400);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    linear-gradient(var(--green-500), var(--green-500)) center/8px 2px no-repeat,
    linear-gradient(var(--green-500), var(--green-500)) center/2px 8px no-repeat,
    rgba(34, 197, 94, 0.15);
  transform: rotate(45deg);
}

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid transparent;
}

.quote p {
  margin: 0 0 1rem;
  color: var(--neutral-500);
  font-size: 0.95rem;
}

.quote footer {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neutral-900);
}

.quote footer span {
  display: block;
  font-weight: 500;
  color: var(--neutral-300);
  margin-top: 0.15rem;
}

/* CTA banner */
.cta-banner {
  margin: 1rem 0 4rem;
  padding: 2.5rem;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 90% 20%, rgba(34, 197, 94, 0.25), transparent 45%),
    linear-gradient(135deg, #121826, #1a2336);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-banner h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.cta-banner p {
  margin: 0;
  color: var(--neutral-100);
  max-width: 36rem;
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(34, 197, 94, 0.14), transparent 50%),
    linear-gradient(180deg, #f3f5fa, var(--bg));
}

.page-hero .brand-lockup {
  margin-bottom: 1rem;
}

.breadcrumbs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--neutral-300);
}

.breadcrumbs a:hover {
  color: var(--green-700);
}

/* Pricing */
.pricing-toggle {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin: 0 auto 2rem;
  gap: 0.2rem;
}

.pricing-toggle button {
  border: 0;
  background: transparent;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  color: var(--neutral-400);
}

.pricing-toggle button.active {
  background: var(--white);
  color: var(--neutral-900);
  box-shadow: 0 4px 14px rgba(18, 24, 38, 0.08);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.price-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-card.highlight {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.price-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.price-card .amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-card .amount span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neutral-300);
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}

.price-card li {
  font-size: 0.88rem;
  color: var(--neutral-400);
  padding-left: 1.1rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--neutral-500);
}

tr:last-child td {
  border-bottom: 0;
}

td.num {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

/* Footer */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-100);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.site-footer p {
  margin: 0;
  color: var(--neutral-200);
  max-width: 22rem;
  font-size: 0.92rem;
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-200);
}

.footer-col a {
  display: block;
  padding: 0.28rem 0;
  color: var(--neutral-100);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--green-400);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--neutral-200);
}

.footer-bottom a {
  color: var(--neutral-100);
}

.footer-bottom a:hover {
  color: var(--green-400);
}

.footer-company {
  margin-top: 1.1rem !important;
  font-size: 0.82rem !important;
  line-height: 1.55;
  color: var(--neutral-200) !important;
}

.footer-company a {
  color: var(--green-400);
}

.footer-company a:hover {
  color: var(--green-500);
}

/* Legal pages */
.legal-doc {
  max-width: 720px;
}

.legal-doc h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal-doc p {
  margin: 0 0 1rem;
  color: var(--neutral-500);
}

.legal-doc a {
  color: var(--green-700);
  font-weight: 650;
}

.legal-doc a:hover {
  color: var(--green-600);
}

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.checkout-card,
.checkout-summary,
.checkout-success {
  padding: 1.5rem;
}

.checkout-card h2,
.checkout-summary h2,
.checkout-success h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.checkout-note {
  margin: 0 0 1.25rem;
  color: var(--neutral-300);
  font-size: 0.9rem;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.checkout-legal {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--neutral-300);
}

.checkout-legal a {
  color: var(--green-700);
  font-weight: 650;
}

.checkout-lines {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.checkout-lines strong {
  display: block;
}

.checkout-lines span,
.checkout-lines em {
  font-style: normal;
  color: var(--neutral-300);
  font-size: 0.82rem;
}

.checkout-lines em {
  color: var(--neutral-900);
  font-weight: 700;
  white-space: nowrap;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.checkout-total strong {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.checkout-empty {
  color: var(--neutral-300);
}

.checkout-empty a {
  color: var(--green-700);
  font-weight: 700;
}

@media (max-width: 860px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.float-y {
  animation: floatY 5.5s var(--ease) infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2s infinite;
  display: inline-block;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.nav-mobile-only {
  display: none;
}

/* Mobile */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-links,
  .nav-actions .btn-ghost { display: none; }
  .nav.is-open .nav-mobile-only { display: list-item; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem;
    gap: 0.15rem;
  }
  .dropdown {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    padding: 0.25rem 0.5rem 0.75rem;
    background: transparent;
    display: none;
  }
  .nav-links > li.open .dropdown { display: block; }
  .dropdown-grid {
    grid-template-columns: 1fr;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .compare,
  .split,
  .feature-grid,
  .quote-grid,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .split.reverse > :first-child { order: 0; }
  .metric-row { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ——— Auth pages ——— */
body.auth-body {
  min-height: 100vh;
  background: var(--bg);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.auth-aside {
  position: relative;
  overflow: hidden;
  padding: 2rem 2.5rem 2.5rem;
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(34, 197, 94, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(74, 222, 128, 0.12), transparent 50%),
    linear-gradient(155deg, #0e1420 0%, #121826 45%, #1a2438 100%);
  display: flex;
  flex-direction: column;
}

.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, black 30%, transparent);
  pointer-events: none;
}

.auth-aside .logo {
  position: relative;
  color: var(--white);
  width: fit-content;
}

.auth-aside-content {
  position: relative;
  margin-top: auto;
  margin-bottom: auto;
  max-width: 28rem;
  padding: 2rem 0;
}

.auth-aside h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.auth-aside h1 span {
  color: var(--green-400);
}

.auth-aside p {
  margin: 0 0 1.5rem;
  color: var(--neutral-100);
  font-size: 1.02rem;
}

.auth-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.auth-aside-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--neutral-100);
}

.auth-aside-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    linear-gradient(var(--green-400), var(--green-400)) center / 8px 2px no-repeat,
    linear-gradient(var(--green-400), var(--green-400)) center / 2px 8px no-repeat,
    rgba(34, 197, 94, 0.2);
  transform: rotate(45deg);
}

.auth-aside-foot {
  position: relative;
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--neutral-200);
}

.auth-main {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(34, 197, 94, 0.08), transparent 50%),
    var(--bg);
}

.auth-main-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--neutral-300);
  margin-bottom: 1rem;
}

.auth-main-top a {
  font-weight: 700;
  color: var(--green-700);
}

.auth-main-top a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-card-wrap {
  flex: 1;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 420px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
}

.auth-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.auth-card .auth-sub {
  margin: 0 0 1.35rem;
  color: var(--neutral-300);
  font-size: 0.92rem;
}

.auth-social {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.btn-social {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--neutral-900);
  font-weight: 650;
  padding: 0.78rem 1rem;
}

.btn-social:hover {
  background: var(--bg-soft);
  border-color: rgba(18, 24, 38, 0.14);
}

.btn-social svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  color: var(--neutral-200);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-field {
  margin-bottom: 0.95rem;
}

.form-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neutral-500);
}

.form-field label a {
  font-weight: 650;
  font-size: 0.8rem;
  color: var(--green-700);
}

.form-field input[type="email"],
.form-field input[type="password"],
.form-field input[type="text"] {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--neutral-900);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input::placeholder {
  color: var(--neutral-100);
}

.form-field input:hover {
  border-color: rgba(18, 24, 38, 0.16);
}

.form-field input:focus {
  border-color: rgba(34, 197, 94, 0.65);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.form-field.has-error input {
  border-color: #f43f5e;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.12);
}

.form-field .field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #e11d48;
  font-weight: 600;
}

.form-field.has-error .field-error {
  display: block;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--neutral-300);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--neutral-900);
  background: var(--bg-soft);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--neutral-400);
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--green-600);
}

.checkbox a {
  color: var(--green-700);
  font-weight: 650;
}

.checkbox a:hover {
  color: var(--green-600);
}

.auth-submit {
  width: 100%;
  margin-bottom: 0.85rem;
}

.auth-hint {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--neutral-300);
}

.auth-hint a {
  color: var(--green-700);
  font-weight: 700;
}

.auth-toast {
  display: none;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.auth-toast.is-visible {
  display: block;
}

.auth-toast.success {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-700);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.auth-toast.error {
  background: rgba(244, 63, 94, 0.08);
  color: #be123c;
  border: 1px solid rgba(244, 63, 94, 0.22);
}

.password-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin-top: 0.45rem;
}

.password-meter span {
  height: 4px;
  border-radius: 99px;
  background: var(--bg-soft);
  transition: background 0.2s;
}

.password-meter[data-score="1"] span:nth-child(1) { background: #f43f5e; }
.password-meter[data-score="2"] span:nth-child(-n+2) { background: #f59e0b; }
.password-meter[data-score="3"] span:nth-child(-n+3) { background: #84cc16; }
.password-meter[data-score="4"] span { background: var(--green-500); }

.password-meter-label {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--neutral-300);
  font-weight: 600;
}

.auth-mobile-brand {
  display: none;
  margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: none;
  }

  .auth-mobile-brand {
    display: block;
  }

  .auth-main {
    padding: 1.25rem 1rem 2rem;
  }

  .auth-card {
    padding: 1.5rem 1.25rem;
    box-shadow: none;
  }
}
