/* ===== LANDING PAGE STYLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); z-index: 100;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.25rem; font-weight: 800;
  text-decoration: none; color: var(--text);
}
.logo-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.accent { color: var(--primary); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; text-decoration: none;
  color: var(--text-muted); font-weight: 500;
  border-radius: 8px; font-size: 0.9rem;
  transition: all .2s;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-cta {
  padding: 10px 20px; background: var(--primary); color: #fff;
  text-decoration: none; border-radius: 10px; font-weight: 600;
  font-size: 0.9rem; transition: all .2s;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 140px 24px 80px;
  overflow: hidden; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245,158,11,.12), transparent 40%);
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 8px 18px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 999px; font-size: 0.85rem;
  font-weight: 600; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em; margin-bottom: 20px;
}
.gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--text-muted); font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 640px; margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px; justify-content: center;
  flex-wrap: wrap; margin-top: 60px;
  padding: 24px; background: var(--bg-alt);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.stat { text-align: center; }
.stat strong {
  display: block; font-size: 1.75rem; font-weight: 800;
  color: var(--primary); line-height: 1;
}
.stat span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 12px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: all .25s;
  font-family: inherit; font-size: 0.95rem;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800; text-align: center;
  letter-spacing: -.02em; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 56px; font-size: 1.05rem;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all .25s;
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feature-icon {
  font-size: 2rem; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); border-radius: 14px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== WHY GRID ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.why-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon { font-size: 2rem; margin-bottom: 12px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== STEPS ===== */
.steps {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 220px; max-width: 320px;
  text-align: center; padding: 32px 24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }
.step-arrow {
  font-size: 2rem; color: var(--primary);
  font-weight: 800;
}

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px;
  padding: 0; overflow: hidden; transition: all .25s;
}
.faq[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.faq summary {
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 1rem;
  list-style: none; display: flex;
  justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; color: var(--primary);
  font-weight: 400; transition: transform .25s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
  padding: 0 24px 20px; color: var(--text-muted);
  font-size: 0.95rem; line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff; text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 12px; font-weight: 800; }
.cta-section p { opacity: .9; margin-bottom: 32px; font-size: 1.05rem; }
.cta-section .btn-primary {
  background: #fff; color: var(--primary);
}
.cta-section .btn-primary:hover { background: #f1f5f9; }

/* ===== FOOTER ===== */
.footer {
  background: #0f172a; color: #cbd5e1;
  padding: 48px 24px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; margin-bottom: 24px;
}
.footer-brand strong { font-size: 1.25rem; color: #fff; }
.footer-brand p { font-size: 0.9rem; }
.footer-links {
  display: flex; gap: 24px; justify-content: center;
  margin-bottom: 24px; flex-wrap: wrap;
}
.footer-links a {
  color: #cbd5e1; text-decoration: none;
  font-size: 0.9rem; transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.85rem; opacity: .7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 12px 16px; }
  .hero { padding: 120px 20px 60px; }
  .hero-stats { gap: 20px; padding: 20px 12px; }
  .stat strong { font-size: 1.4rem; }
  .section { padding: 60px 20px; }
  .step-arrow { display: none; }
  .steps { flex-direction: column; }
}
.logo-icon img {
  height: 50px; /* matches the nav-logo text size (1.25rem) */
  width: auto;  /* keeps the aspect ratio correct */
  display: block;
}