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

:root {
  --bg:            #ffffff;
  --bg-2:          #f4f6f9;
  --bg-3:          #eef1f5;
  --surface:       #ffffff;
  --surface-2:     #f8fafc;
  --surface-edge:  #cfd6e0;
  --border:        #cfd6e0;
  --border-strong: #b8c2cf;
  --card-border:   #c5cfdc;
  --text:          #0d1117;
  --text-2:        #1a2331;
  --muted:         #5b6775;
  --muted-2:       #8a95a2;
  --accent:        #3b82f6;
  --accent-2:      #3b82f6;
  --accent-3:      #3b82f6;
  --accent-soft:   #e8f0fe;
  --accent-glow:   rgba(59, 130, 246, 0.22);
  --accent-text:   #ffffff;
  --shadow-sm:     0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:     0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg:     0 20px 45px rgba(15, 23, 42, 0.08);
  --radius:        14px;
  --radius-sm:     10px;
  --radius-lg:     18px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-3);
  color: var(--accent-text);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.32);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-3);
  border: 1.5px solid var(--accent-3);
  box-shadow: none;
}
.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.06);
  transform: translateY(-1px);
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

.landing-nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link {
  color: var(--text-2);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.btn-link:hover { color: var(--accent); }

.text-accent {
  color: var(--accent-3);
}

/* ─── Navbar ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 2px solid #2563eb;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--accent-3);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  overflow: hidden;
  background: var(--bg);
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -220px;
  width: 900px;
  height: 900px;
  background:
    radial-gradient(circle, rgba(37, 99, 235, 0.42) 0%, rgba(59, 130, 246, 0.22) 35%, transparent 70%),
    radial-gradient(circle at 40% 60%, rgba(96, 165, 250, 0.3) 0%, rgba(59, 130, 246, 0.13) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-heading {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* hero mock card */
.hero-mock {
  display: flex;
  justify-content: center;
}

.mock-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  color: var(--text);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.mock-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0.14));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-icon svg { width: 22px; height: 22px; }

.mock-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.mock-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.mock-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.mock-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface-2);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}

.mock-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-item-icon svg { width: 16px; height: 16px; }

.mock-item-name {
  flex: 1;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.mock-item-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.mock-progress {
  margin-top: 0.5rem;
}

.mock-progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.mock-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-3);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mock-progress-fill {
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  border-radius: 999px;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ─── Generic Section ───────────────────────────────────────────────────── */
.section {
  padding: 5rem 0;
  background: var(--bg);
}

.section:nth-of-type(even) {
  background: var(--bg-2);
}

.section-head {
  margin-bottom: 3rem;
  max-width: 640px;
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  line-height: 1.15;
  color: var(--text);
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.step {
  padding: 2rem;
  background: var(--surface);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0.14));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.step-icon svg { width: 26px; height: 26px; }

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.step-text {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ─── Features / Bento ──────────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1.25rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  background: var(--surface);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bento-large {
  grid-column: span 2;
  background: linear-gradient(135deg, #f1fbf9 0%, #eef4ff 100%);
  border-color: #b8ccd6;
}

.bento-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.14), transparent 50%);
  pointer-events: none;
}

.bento-card > * { position: relative; }

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0.14));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.bento-icon svg { width: 24px; height: 24px; }

.bento-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.bento-text {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ─── Pricing ───────────────────────────────────────────────────────────── */
.pricing-wrap {
  display: flex;
  justify-content: center;
}

.pricing-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 2.25rem 2rem 2rem;
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15), 0 0 0 4px rgba(59, 130, 246, 0.06);
}

.pricing-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--accent-3);
  color: var(--accent-text);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.pricing-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.pricing-amount {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

.pricing-period {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.pricing-trial {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-2);
  font-size: 0.95rem;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.18));
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ─── CTA Banner ────────────────────────────────────────────────────────── */
.cta-section {
  padding: 2rem 0 5rem;
  background: var(--bg);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 50%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(circle at 0% 50%, rgba(59, 130, 246, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  border: 1.5px solid var(--card-border);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.cta-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.15;
  color: var(--text);
}

.cta-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.landing-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg);
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.footer-copy {
  color: var(--muted-2);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

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

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 3rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-heading { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .btn-link { text-align: center; }
  .cta-card { padding: 2.5rem 1.5rem; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-left { align-items: center; }
  .footer-links { gap: 1.25rem; justify-content: center; }
  .pricing-card { padding: 2rem 1.5rem; }
}
