/* css/landing.css — Marketing landing page styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;800&display=swap');

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

:root {
  --bg:        #0a0f1e;
  --surface:   #111827;
  --surface2:  #1e2736;
  --border:    #1e2d40;
  --accent:    #3b82f6;
  --accent2:   #60a5fa;
  --accent-dim:#1d3558;
  --text:      #f1f5f9;
  --muted:     #94a3b8;
  --green:     #34d399;
  --yellow:    #fbbf24;
  --radius:    12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,30,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-header .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-header .logo img { height: 32px; width: 32px; max-height: 32px; max-width: 32px; border-radius: 8px; flex-shrink: 0; object-fit: contain; }
.logo-wordmark { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; color: var(--text); }
.logo-wordmark .accent { color: #F7931E; margin-left: 3px; }
.footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand img { height: 28px; width: auto; border-radius: 6px; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--text); text-decoration: none; }
.btn-header-primary {
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.site-nav .btn-header-primary { color: #fff; }
.btn-header-primary:hover { background: var(--accent2); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 2rem 80px;
  max-width: 860px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(59,130,246,0.3);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--accent2); }
.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.15s, background 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); text-decoration: none; }
.btn-ghost-large {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: border-color 0.15s, background 0.15s;
  display: inline-block;
}
.btn-ghost-large:hover { border-color: var(--accent2); background: var(--surface); text-decoration: none; }

/* ── Social proof ────────────────────────────────────────────────────────────── */
.social-proof {
  text-align: center;
  padding: 0 2rem 60px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.social-proof span { margin: 0 12px; }

/* ── Section shared ─────────────────────────────────────────────────────────── */
section { padding: 80px 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ── Features grid ───────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── How it works ────────────────────────────────────────────────────────────── */
.how-section { background: var(--surface); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent2);
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-content p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── Pricing ─────────────────────────────────────────────────────────────────── */
.pricing-section { text-align: center; }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-name { font-size: 1rem; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.pricing-price { font-size: 3.5rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.25rem; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-desc { color: var(--muted); font-size: 14px; margin-bottom: 2rem; }
.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: left;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-cta {
  display: block;
  background: var(--accent);
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  width: 100%;
  transition: background 0.15s;
  text-align: center;
}
.pricing-cta:hover { background: var(--accent2); text-decoration: none; }
.pricing-note { font-size: 12px; color: var(--muted); margin-top: 1rem; }

/* ── CTA banner ──────────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #1d3558 0%, #111827 100%);
  border-top: 1px solid var(--accent-dim);
  border-bottom: 1px solid var(--accent-dim);
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-section p { color: var(--muted); margin-bottom: 2rem; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand img { height: 28px; display: block; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { color: var(--muted); font-size: 12px; }

/* ── Hamburger toggle button (hidden on desktop) ─────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.22s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile breakpoint ───────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .site-header { padding: 0 1rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10,15,30,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    z-index: 99;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav .btn-header-primary {
    margin-top: 0.5rem;
    padding: 12px 0;
    text-align: center;
    border-radius: 8px;
    border-bottom: none;
  }
  .hero { padding: 60px 1.25rem 50px; }
  section { padding: 50px 1.25rem; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
