*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #0e1117;
  --ink-2:   #3a3f4b;
  --ink-3:   #7a7f8e;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --surface-3: #eceef2;
  --accent:  #00a84a;
  --accent-2:#388E3C;
  --accent-glow: rgba(0,168,74,.12);
  --green:   #00a84a;
  --radius:  14px;
  --shadow:  0 4px 24px rgba(14,17,23,.08);
  --shadow-lg: 0 16px 56px rgba(14,17,23,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-3);
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .9rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--ink); color: #fff;
  padding: .55rem 1.4rem; border-radius: 8px;
  font-size: .875rem; font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

/* subtle grid background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--surface-3) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface-3) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .5;
  z-index: 0;
}
/* radial fade over grid */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,255,255,0) 0%, var(--surface) 75%);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent-glow); border: 1px solid rgba(26,107,255,.2);
  color: var(--accent); border-radius: 999px;
  padding: .35rem 1rem; font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeUp .6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.4); }
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  animation: fadeUp .6s .1s ease both;
}
h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-2); font-weight: 400;
  max-width: 540px; margin: 0 auto 2.5rem;
  animation: fadeUp .6s .2s ease both;
}

.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .6s .3s ease both;
}
.btn-primary {
  background: var(--accent); color: #fff;
  padding: .85rem 2rem; border-radius: 10px;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  box-shadow:var(--shadow);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--accent-2); transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: var(--surface); color: var(--ink);
  padding: .85rem 2rem; border-radius: 10px;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--surface-3);
  transition: border-color .2s, transform .15s;
}
.btn-secondary:hover { border-color: var(--ink-3); transform: translateY(-2px); }

/* hero mock window */
.hero-visual {
  position: relative; z-index: 2;
  margin-top: 4rem;
  animation: fadeUp .7s .4s ease both;
  max-width: 900px; width: 100%;
}
.mock-window {
  background: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06);
}
.mock-titlebar {
  background: #1a1d24;
  padding: .75rem 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.mock-dot { width: 12px; height: 12px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #febc2e; }
.mock-dot.g { background: #28c840; }
.mock-title-text {
  flex: 1; text-align: center;
  font-size: .75rem; color: #4a5060; font-weight: 500;
}

.mock-body {
  display: grid; grid-template-columns: 200px 1fr;
  min-height: 380px;
}
.mock-sidebar {
  background: #13151c;
  padding: 1.25rem .75rem;
  border-right: 1px solid rgba(255,255,255,.05);
}
.mock-nav-label {
  font-size: .6rem; color: #3a3f4b;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem .5rem .25rem;
  font-weight: 600;
}
.mock-nav-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .75rem; border-radius: 8px;
  font-size: .72rem; color: #6b7280;
  margin-bottom: 2px; cursor: pointer;
}
.mock-nav-item.active {
  background: rgba(26,107,255,.15);
  color: #6b9fff;
}
.mock-nav-icon { font-size: .85rem; }

.mock-main { padding: 1.5rem; }
.mock-header-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem;
}
.mock-page-title { font-size: .85rem; color: #e2e4e9; font-weight: 600; }
.mock-add-btn {
  background: var(--accent); color: #fff;
  border-radius: 6px; padding: .3rem .75rem;
  font-size: .65rem; font-weight: 600;
}

.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-bottom: 1.25rem; }
.mock-stat {
  background: #1a1d24; border-radius: 10px;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.06);
}
.mock-stat-label { font-size: .6rem; color: #4a5060; margin-bottom: .3rem; }
.mock-stat-value { font-size: 1.3rem; color: #e2e4e9; font-weight: 700; font-family: 'DM Serif Display', serif; }
.mock-stat-delta { font-size: .6rem; color: var(--green); margin-top: .2rem; }

.mock-table-header {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: .4rem .75rem;
  font-size: .6rem; color: #4a5060; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mock-table-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: .55rem .75rem; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.03);
  font-size: .68rem;
}
.mock-table-row:hover { background: rgba(255,255,255,.02); }
.mock-name { color: #c9cdd6; font-weight: 500; }
.mock-plan { color: #6b7280; }
.mock-badge {
  display: inline-block; padding: .15rem .5rem;
  border-radius: 999px; font-size: .58rem; font-weight: 600;
}
.mock-badge.active { background: rgba(0,168,120,.15); color: #00a878; }
.mock-badge.expired { background: rgba(239,68,68,.12); color: #ef4444; }
.mock-badge.suspended { background: rgba(245,158,11,.12); color: #f59e0b; }
.mock-date { color: #6b7280; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── LOGOS / TRUST ── */
.trust {
  padding: 2.5rem 5%;
  border-top: 1px solid var(--surface-3);
  border-bottom: 1px solid var(--surface-3);
  text-align: center;
}
.trust p {
  font-size: .8rem; color: var(--ink-3); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.trust-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 3rem; flex-wrap: wrap;
}
.trust-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem; color: var(--surface-3);
  letter-spacing: -.01em;
  filter: grayscale(1); opacity: .45;
}

/* ── FEATURES ── */
.features {
  padding: 7rem 5%;
  max-width: 1200px; margin: 0 auto;
}
.section-label {
  font-size: .75rem; font-weight: 600; color: var(--accent);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15; letter-spacing: -.025em;
  color: var(--ink); margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--ink-2);
  max-width: 520px; margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1.5px solid var(--surface-3);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), rgb(0, 168, 74));
  opacity: 0; transition: opacity .2s;
}
.feature-card:hover {
  border-color: rgba(0,168,74,.12);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
  border: 1px solid var(--surface-3);
}
.feature-card h3 {
  font-size: 1.1rem; font-weight: 600; margin-bottom: .6rem;
  color: var(--ink);
}
.feature-card p { font-size: .9rem; color: var(--ink-2); line-height: 1.65; }

.feature-list {
  list-style: none; margin-top: 1rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.feature-list li {
  font-size: .85rem; color: var(--ink-2);
  display: flex; align-items: center; gap: .5rem;
}
.feature-list li::before {
  content: '✓';
  color: var(--accent); font-weight: 700; font-size: .8rem;
  flex-shrink: 0;
}

/* ── STATS BAND ── */
.stats-band {
  background: var(--ink);
  padding: 5rem 5%;
}
.stats-band-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; text-align: center;
}
/* .stat-item {} */
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem; color: #fff;
  letter-spacing: -.03em; line-height: 1;
  margin-bottom: .4rem;
}
.stat-num span { color: var(--accent); }
.stat-desc { font-size: .9rem; color: #6b7280; }

/* ── HOW IT WORKS ── */
.how {
  padding: 7rem 5%;
  max-width: 1100px; margin: 0 auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem; margin-top: 4rem;
  position: relative;
}
.step {
  text-align: center; padding: 1rem;
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid rgba(0,168,74,.12);
  color: var(--accent); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.step p { font-size: .875rem; color: var(--ink-2); }

/* ── CTA ── */
.cta-section {
  padding: 6rem 5%;
  background: var(--surface-2);
  text-align: center;
  border-top: 1px solid var(--surface-3);
  border-bottom: 1px solid var(--surface-3);
}
.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.025em; margin-bottom: 1rem;
}
.cta-section h2 em { font-style: italic; color: var(--accent); }
.cta-section p { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 2.5rem; }

/* ── FOOTER ── */
footer {
  padding: 3rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid var(--surface-3);
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem; color: var(--ink);
}
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .85rem; color: var(--ink-3); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: .8rem; color: var(--ink-3); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }