:root {
  --navy: #1F3B57;
  --navy-dark: #142639;
  --accent: #2E86AB;
  --bg: #F7F9FB;
  --card-bg: #FFFFFF;
  --text: #2A2E33;
  --muted: #6B7280;
  --border: #E3E8ED;
  --radius: 12px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { font-weight: 700; font-size: 1.25rem; }
.logo span { color: #7FD1E0; }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a { color: #DCE6EE; text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover { color: #fff; }

/* Buttons */
.btn { display: inline-block; border: none; border-radius: 8px; padding: 10px 20px; font-size: 0.95rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #266f8c; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; padding: 90px 0 100px; text-align: center; }
.hero h1 { font-size: 2.4rem; max-width: 720px; margin: 0 auto 16px; }
.hero-sub { max-width: 620px; margin: 0 auto 32px; color: #C9D6E0; font-size: 1.1rem; }

/* How it works */
.how-it-works { padding: 72px 0; }
.how-it-works h2 { text-align: center; margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Pricing */
.pricing { padding: 72px 0 96px; background: #fff; }
.pricing h2 { text-align: center; margin-bottom: 8px; }
.pricing-sub { text-align: center; color: var(--muted); margin-bottom: 36px; }

.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px; }
.toggle-label { font-weight: 600; color: var(--muted); }
.toggle-label.active { color: var(--navy); }
.save-badge { background: #E4F4EC; color: #1F7A4D; font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; margin-left: 6px; font-weight: 700; }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background-color: #CBD5E0; border-radius: 999px; transition: 0.2s; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; border-radius: 50%; transition: 0.2s; }
.switch input:checked + .slider { background-color: var(--accent); }
.switch input:checked + .slider:before { transform: translateX(20px); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.plan-card.highlight { border: 2px solid var(--accent); box-shadow: 0 8px 24px rgba(46,134,171,0.15); position: relative; }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.plan-card h3 { margin: 0 0 4px; font-size: 1.3rem; }
.plan-tagline { color: var(--muted); font-size: 0.9rem; margin: 0 0 20px; min-height: 40px; }
.plan-price { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.plan-price-note { color: var(--muted); font-size: 0.85rem; margin-bottom: 20px; }
.plan-calls { font-weight: 600; margin-bottom: 16px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 28px; flex-grow: 1; }
.plan-features li { padding: 6px 0 6px 24px; position: relative; font-size: 0.92rem; color: var(--text); }
.plan-features li:before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #A9B7C4; padding: 28px 0; text-align: center; font-size: 0.85rem; }

/* Modal */
.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(20,38,57,0.6); align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius); padding: 32px; width: 100%; max-width: 420px; position: relative; }
.modal-close { position: absolute; top: 14px; right: 18px; border: none; background: none; font-size: 1.4rem; cursor: pointer; color: var(--muted); }
.modal h2 { margin: 0 0 4px; font-size: 1.3rem; }
.modal-price { color: var(--accent); font-weight: 700; margin: 0 0 20px; }
#signup-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; color: var(--muted); }
#signup-form input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; }
.disclaimer { font-size: 0.78rem; color: var(--muted); margin: 4px 0 18px; }
.error-msg { color: #B3261E; font-size: 0.85rem; margin-top: 10px; }

@media (max-width: 860px) {
  .steps, .plans { grid-template-columns: 1fr; }
  .site-header nav { gap: 12px; }
  .site-header nav a { display: none; }
}
