/* ADR Copilot — Landing page */

:root {
  --blue: #1a56db;
  --blue-dark: #1342a8;
  --blue-light: #eff6ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.3px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s, background .15s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: transparent;
  padding-left: 0;
}
.btn-ghost:hover { color: var(--blue); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 17px; }
.btn-full { width: 100%; text-align: center; }

/* HERO */
.hero {
  padding: 72px 0 64px;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--gray-900);
}
.accent { color: var(--blue); }

.hero-sub {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-note {
  font-size: 13px;
  color: var(--gray-600);
}

/* SECTIONS */
.section {
  padding: 72px 0;
}
.bg-alt { background: var(--gray-50); }

.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 16px;
}
.section-sub {
  text-align: center;
  color: var(--gray-600);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* CARDS */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--gray-600); font-size: 15px; line-height: 1.6; }

/* STEPS */
.steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 640px;
  margin: 48px auto 0;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step-body p { color: var(--gray-600); font-size: 15px; line-height: 1.6; }

/* SOURCES */
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}
.source-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  box-shadow: var(--shadow);
}
.source-item strong { font-size: 16px; }
.source-item span { font-size: 13px; color: var(--gray-600); }
.sources-note {
  margin-top: 28px;
  text-align: center;
  color: var(--gray-600);
  font-size: 15px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
.plan {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.plan-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue), var(--shadow-md);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 600; color: var(--gray-600); margin-bottom: 8px; }
.plan-price {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.plan-price span { font-size: 18px; font-weight: 500; color: var(--gray-600); }
.plan-features {
  list-style: none;
  margin-bottom: 24px;
}
.plan-features li {
  font-size: 14px;
  color: var(--gray-700);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--blue);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 20px 18px;
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.6;
}

/* CTA FINAL */
.cta-section {
  background: var(--blue);
  padding: 64px 0;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.85); margin-top: 12px; margin-bottom: 28px; font-size: 17px; }
.cta-inner { text-align: center; }
.cta-section .btn-primary {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}
.cta-section .btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--gray-200);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-by { font-size: 14px; color: var(--gray-600); }
.footer-by a { color: var(--gray-700); text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-ghost { padding: 11px 22px; }
  .pricing-grid, .cards-3 { grid-template-columns: 1fr; }
  .sources { flex-direction: column; align-items: center; }
}
