/* ============================================================
   Planquiry — Main Stylesheet
   Palette: Navy #1B2A4A · Slate #4A5568 · Gold accent #C9A84C
   Fonts: Lora (headings) · Source Sans 3 (body)
   ============================================================ */

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

:root {
  --navy:       #1B2A4A;
  --navy-dark:  #111D33;
  --navy-light: #2C3F6B;
  --gold:       #C9A84C;
  --gold-light: #E8C96B;
  --slate:      #4A5568;
  --slate-light:#718096;
  --border:     #DDE2EC;
  --bg:         #F8F9FC;
  --white:      #FFFFFF;
  --success:    #2F7D52;
  --muted:      #E2E6F0;

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  --shadow-sm:  0 1px 3px rgba(27,42,74,0.08);
  --shadow-md:  0 4px 16px rgba(27,42,74,0.10);
  --shadow-lg:  0 8px 32px rgba(27,42,74,0.14);

  --max-width: 1100px;
  --section-gap: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 48px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.12s;
}
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-block;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
}
.btn-ghost:hover { color: var(--navy); background: var(--muted); }

.btn-lg { font-size: 16px; padding: 14px 32px; }
.btn-block { display: block; text-align: center; width: 100%; }

/* ---- NAV ---- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--navy); background: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.2s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--slate);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--muted);
}
.mobile-menu .btn-primary { margin-top: 8px; text-align: center; }

/* ---- HERO ---- */
.hero {
  padding: 88px 0 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-inner { max-width: 760px; }

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 19px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

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

/* ---- TRUST BAR ---- */
.trust-bar {
  padding: 24px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.trust-divider { color: var(--border); font-size: 16px; }

/* ---- HOW IT WORKS ---- */
.steps {
  padding: var(--section-gap) 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.step-card p { font-size: 16px; color: var(--slate); }

/* ---- FEATURES ---- */
.features {
  padding: var(--section-gap) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 48px;
}
.feature-item { }
.feature-icon {
  font-size: 10px;
  color: var(--gold);
  margin-bottom: 12px;
}
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-item p { font-size: 15px; color: var(--slate); }

/* ---- QUOTE BLOCK ---- */
.quote-block {
  padding: 80px 0;
  background: var(--navy);
}
.quote-inner { max-width: 760px; }
blockquote p {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
}
blockquote cite {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---- PRICING ---- */
.pricing {
  padding: var(--section-gap) 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan-card.plan-featured {
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-header { margin-bottom: 20px; }
.plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.plan-desc { font-size: 14px; color: var(--slate-light); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.price-period { font-size: 14px; color: var(--slate-light); }
.plan-alt { font-size: 13px; color: var(--slate-light); margin-bottom: 24px; }

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 15px;
  padding-left: 22px;
  position: relative;
}
.feat-yes { color: var(--slate); }
.feat-yes::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
}
.feat-no { color: var(--slate-light); }
.feat-no::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 700;
}

/* ---- FAQ ---- */
.faq {
  padding: var(--section-gap) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.faq-inner { max-width: 760px; }

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  padding: 20px 32px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--slate-light);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '–';
}
.faq-item summary:hover { color: var(--navy-light); }

.faq-item p {
  font-size: 15px;
  color: var(--slate);
  padding-bottom: 20px;
  line-height: 1.7;
}

/* ---- EMAIL CAPTURE ---- */
.email-capture {
  padding: 80px 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.capture-inner {
  max-width: 560px;
  text-align: center;
}
.email-capture h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.email-capture p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}
.capture-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.capture-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 12px 18px;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.capture-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.capture-form input[type="email"]:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.15);
}
.capture-form .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}
.capture-form .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.capture-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
  margin-bottom: 0;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: var(--white); }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  max-width: 220px;
}
.footer-links {
  display: flex;
  gap: 56px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: rgba(255,255,255,0.6);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 56px 0 48px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-lg { text-align: center; }

  .trust-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 32px; }

  .capture-form { flex-direction: column; }
  .capture-form input[type="email"] { min-width: 100%; }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
