/* ══════════════════════════════════════════════
   Minutes.llc — Shared Styles
   Used by all pages in www/
   ══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --navy: #0F2137;
  --green: #22c55e;
  --green-hover: #16a34a;
  --red: #EF4444;
  --gray: #6B7280;
  --light: #F8FAFC;
  --white: #ffffff;
  --text: #1E293B;
  --muted: #64748B;
  --line: #E2E8F0;
}

/* ── Reset ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Body ── */
body {
  font-family: 'Inter', -apple-system, "Segoe UI", sans-serif;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 1px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; flex-shrink: 0;
  line-height: 0; text-decoration: none;
}
.logo img { height: 48px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 24px;
  flex-shrink: 0; flex-wrap: nowrap; white-space: nowrap;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--green); font-weight: 600; }
.nav-links a[href*="login"] { color: var(--navy); font-weight: 600; }
.cta-button {
  padding: 9px 22px; background: var(--green); color: var(--white) !important;
  border-radius: 8px; font-weight: 600; transition: background 0.15s;
}
.cta-button:hover { background: var(--green-hover); }

/* ── Mobile Hamburger Menu ── */
.hamburger-menu {
  display: none !important;
  background: none; border: none; cursor: pointer;
  padding: 8px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  font-size: 24px; color: var(--navy); line-height: 1;
  touch-action: manipulation;
}
.mobile-dropdown {
  display: none !important;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 8px 0; z-index: 99;
}
.mobile-dropdown a {
  display: block; padding: 12px 24px; font-size: 15px;
  font-weight: 500; color: var(--muted); text-decoration: none;
  min-height: 44px; line-height: 20px;
}
.mobile-dropdown a:hover { color: var(--navy); background: #f8f9fb; }
.mobile-dropdown a.active { color: var(--green); font-weight: 600; }
.mobile-dropdown.open { display: block !important; }

/* ── Page Hero (about, why, privacy, support) ── */
.page-hero {
  background: var(--navy); color: var(--white);
  margin-top: 0; padding: 80px 24px 68px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero-inner { position: relative; max-width: 700px; margin: 0 auto; }
.page-hero h1 {
  font-size: 40px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7;
}

/* ── Content (about, why, privacy, support) ── */
.content {
  max-width: 760px; margin: 0 auto; padding: 64px 24px;
}
.content h2 {
  font-size: 26px; font-weight: 700; color: var(--navy);
  margin: 52px 0 16px; letter-spacing: -0.01em;
}
.content h2:first-of-type { margin-top: 0; }
.content p {
  font-size: 16px; line-height: 1.78; color: #374151;
  margin-bottom: 16px;
}
.content strong { color: var(--navy); }
.content a { color: var(--green); font-weight: 600; text-decoration: none; }
.content a:hover { text-decoration: underline; }

/* ── Button (index, about, why, blog posts, landing pages) ── */
.btn-primary {
  display: inline-block; padding: 14px 32px;
  font-size: 16px; font-weight: 600;
  color: #ffffff !important; background-color: #22c55e;
  border-radius: 8px; border: none; text-decoration: none;
  text-align: center; cursor: pointer;
  transition: background-color 0.2s; touch-action: manipulation;
}
.btn-primary:hover { background-color: #16a34a; text-decoration: none; }

/* ── CTA Section (about, why) ── */
.cta-section {
  background: var(--navy); border-radius: 20px;
  padding: 52px 40px; text-align: center;
  color: var(--white); position: relative;
  overflow: hidden; margin-top: 48px;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(34,197,94,0.12) 0%, transparent 60%);
}
.cta-inner { position: relative; }
.cta-section h2 {
  font-size: 28px; font-weight: 700;
  margin-bottom: 14px; color: var(--white);
}
.cta-section p {
  color: rgba(255,255,255,0.6); max-width: 460px;
  margin: 0 auto 28px; font-size: 16px;
}
.cta-section .btn-primary { color: #ffffff !important; }

/* ── Callout — green variant (about, why, privacy) ── */
.callout {
  background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px; margin: 24px 0;
}
.callout p {
  font-size: 15px; color: var(--navy);
  font-weight: 500; line-height: 1.65; margin: 0;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px 28px; text-align: center;
}
footer p {
  margin: 0 0 12px; font-size: 14px; color: var(--gray); line-height: 1.6;
}
footer p:last-child { margin-bottom: 0; font-size: 13px; }
footer a { color: var(--gray); text-decoration: none; }
footer a:hover { color: var(--navy); }
.footer-affiliate-link {
  display: inline-block;
  padding: 8px 18px;
  background: var(--navy);
  color: #fff !important;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.footer-affiliate-link:hover {
  background: var(--gold, #c9a84c);
  color: #fff !important;
}

/* ── Pricing Section ── */
.pricing-section {
  padding: 80px 24px; background: #f8f9fb;
}
.pricing-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.pricing-tag {
  display: inline-block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green); margin-bottom: 12px;
}
.pricing-title {
  font-size: 36px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px;
}
.pricing-sub {
  font-size: 17px; color: var(--gray); max-width: 520px;
  margin: 0 auto 32px; line-height: 1.6;
}
.pricing-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 36px; font-size: 14px; font-weight: 600; color: var(--navy);
}
.pricing-toggle-switch {
  position: relative; width: 48px; height: 26px;
  background: #d1d5db; border-radius: 13px; cursor: pointer;
  transition: background 0.2s; border: none; padding: 0;
}
.pricing-toggle-switch.active { background: var(--green); }
.pricing-toggle-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; background: #fff; border-radius: 50%;
  transition: transform 0.2s;
}
.pricing-toggle-switch.active::after { transform: translateX(22px); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: left;
}
.pricing-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 24px;
  display: flex; flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--green); box-shadow: 0 4px 20px rgba(34,197,94,0.12);
}
.pricing-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--green); color: #fff; font-size: 11px;
  font-weight: 700; padding: 4px 12px; border-radius: 12px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.pricing-card-price {
  font-size: 36px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1;
}
.pricing-card-price span {
  font-size: 15px; font-weight: 500; color: var(--gray);
}
.pricing-card-name {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin: 12px 0 4px;
}
.pricing-card-desc {
  font-size: 14px; color: var(--gray); margin: 0 0 16px;
  line-height: 1.5;
}
.pricing-card-features {
  list-style: none; padding: 0; margin: 0 0 auto;
  font-size: 13px; color: var(--muted); line-height: 1.8;
}
.pricing-card-features li::before {
  content: '\2713'; color: var(--green); font-weight: 700;
  margin-right: 8px;
}
.pricing-card-btn {
  display: block; text-align: center; margin-top: 20px;
  padding: 12px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background 0.15s;
}
.pricing-card-btn.primary {
  background: var(--green); color: #fff;
}
.pricing-card-btn.primary:hover { background: var(--green-hover); }
.pricing-card-btn.secondary {
  background: var(--navy); color: #fff;
}
.pricing-card-btn.secondary:hover { opacity: 0.9; }
.pricing-card-btn.outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--line);
}
.pricing-card-btn.outline:hover { border-color: var(--navy); }
.pricing-save {
  display: none; font-size: 11px; font-weight: 700;
  color: var(--green); margin-left: 6px;
}
.pricing-save.show { display: inline; }
.pricing-note {
  margin-top: 32px; font-size: 13px; color: var(--gray);
  line-height: 1.6; max-width: 640px; margin-left: auto; margin-right: auto;
}
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-title { font-size: 28px; }
  .pricing-section { padding: 56px 20px; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-links a:not(.cta-button) { display: none !important; }
  .hamburger-menu { display: flex !important; }
  nav { position: relative; }
  .page-hero { padding: 56px 20px 48px; }
  .page-hero h1 { font-size: 28px; }
  .content { padding: 48px 20px; }
  .cta-section { padding: 40px 24px; border-radius: 16px; }
}