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

:root {
  --blue: #0055A4;
  --blue-dark: #003d7a;
  --red: #EF4135;
  --bg: #f8f9fa;
  --bg-white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #555;
  --border: #e0e0e0;
  --radius: 8px;
  --max-w: 1120px;
}

html { scroll-behavior: smooth }

body {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img, svg { max-width: 100%; height: auto }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem }

/* ── Header ──────────────────────────────────────── */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo { height: 32px; width: auto }

.header-nav { display: flex; align-items: center; gap: 1.5rem }

.header-nav a { color: var(--text); font-weight: 500; font-size: 0.95rem }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px) }

.btn-primary { background: var(--blue); color: #fff }
.btn-primary:hover { background: var(--blue-dark) }

.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue) }
.btn-outline:hover { background: var(--blue); color: #fff }

.btn-large { padding: 0.8rem 2rem; font-size: 1.1rem }

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span { color: var(--blue) }

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap }

.hero-mockup {
  margin-top: 3rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Sections ────────────────────────────────────── */
section { padding: 4rem 0 }

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Problems ────────────────────────────────────── */
.problems { background: var(--bg-white) }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.problem-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.problem-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.problem-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem }
.problem-card p { color: var(--text-muted); font-size: 0.95rem }

/* ── Features ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem }
.feature-card p { color: var(--text-muted); font-size: 0.9rem }

/* ── Pricing ─────────────────────────────────────── */
.pricing { background: var(--bg-white) }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(0, 85, 164, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 20px;
}

.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem }

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted) }

.pricing-trial { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem }

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: "\2713";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn { width: 100% }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--bg-white);
}

.faq-list summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list .faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA ─────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
}

.cta-section h2 { font-size: 2rem; margin-bottom: 1rem }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem }

.cta-section .btn-primary {
  background: #fff;
  color: var(--blue);
}

.cta-section .btn-primary:hover {
  background: #f0f0f0;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--text);
  color: #ccc;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

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

.footer a { color: #fff }
.footer a:hover { text-decoration: underline }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 640px) {
  .header .container { padding: 0 1rem }
  .header-nav { gap: 0.75rem }
  .header-nav .nav-link-desktop { display: none }
  .hero { padding: 3rem 0 2rem }
  .hero-mockup { height: 200px }
  section { padding: 3rem 0 }
  .pricing-grid { grid-template-columns: 1fr }
}
