/* ─────────────────────────────────────────────────────────────────
   Shared styles for /for/* use-case pages.
   ───────────────────────────────────────────────────────────────── */

:root {
  --blue: #1a6bff;
  --blue-bright: #4d8fff;
  --navy: #040d1f;
  --navy-card: #0a1c3a;
  --navy-mid: #102447;
  --navy-border: rgba(26,107,255,0.18);
  --white: #f0f4ff;
  --muted: rgba(180,200,255,0.7);
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --purple: #7c3aed;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  /* Per-major accent — overridden inline on each page's <body> */
  --accent: var(--blue-bright);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--navy); color: var(--white); font-family: var(--font-body); overflow-x: hidden; }

/* Nav */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 48px; background: rgba(4,13,31,0.7); backdrop-filter: blur(20px); border-bottom: 1px solid var(--navy-border); }
.nav-logo { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.nav-logo-img { height: 32px; width: 32px; display: block; }
.nav-logo-text span { color: var(--blue-bright); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--blue); color: white !important; padding: 9px 22px; border-radius: 8px; font-weight: 600 !important; transition: background 0.2s, transform 0.15s !important; }
.nav-cta:hover { background: var(--blue-bright) !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--navy-border); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; transition: background 0.2s, border-color 0.2s; }
.nav-toggle:hover { background: rgba(26,107,255,0.07); border-color: rgba(26,107,255,0.4); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.page-hero {
  padding: 140px 24px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(77,143,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; font-family: var(--font-mono); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.major-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 22px;
  padding: 6px 14px;
  background: rgba(77,143,255,0.10);
  border: 1px solid rgba(77,143,255,0.3);
  border-radius: 99px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-family: var(--font-mono);
}
.major-badge::before { content: '●'; font-size: 8px; line-height: 1; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
}
h1 span {
  background: linear-gradient(135deg, var(--accent), #a8c5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin: 22px auto 0;
  line-height: 1.65;
  font-weight: 300;
}

/* Content */
.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.section { margin-bottom: 64px; }
.section h2 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  color: var(--white);
  letter-spacing: -0.7px;
  margin-bottom: 18px;
}

/* What-makes-it-work cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.why-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 14px;
  padding: 22px 22px 20px;
}
.why-icon { font-size: 28px; margin-bottom: 14px; }
.why-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}
.why-card p strong { color: var(--white); font-weight: 500; }

/* A-day-in-your-life walkthrough */
.day-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 28px 32px;
}
.step {
  display: flex; gap: 18px;
  padding-bottom: 24px;
  position: relative;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px; top: 38px;
  width: 2px; bottom: 0;
  background: var(--navy-border);
}
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(77,143,255,0.15);
  border: 1px solid rgba(77,143,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 800;
  color: var(--accent);
  z-index: 1;
}
.step-body { flex: 1; }
.step-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}
.step-desc strong { color: var(--white); font-weight: 500; }

/* Quote placeholder card */
.quote-card {
  background: linear-gradient(135deg, rgba(26,107,255,0.06), rgba(124,58,237,0.04));
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
  font-style: italic;
}
.quote-card p {
  font-size: 15px; color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* FAQ */
.faq-section h2 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  color: var(--white);
  letter-spacing: -0.7px;
  margin-bottom: 22px;
}
.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--navy-border);
}
.faq-item:last-child { border-bottom: 1px solid var(--navy-border); }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}
.faq-item p strong { color: var(--white); font-weight: 500; }

/* CTA */
.cta-card {
  text-align: center;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(77,143,255,0.10), rgba(124,58,237,0.06));
  border: 1px solid var(--navy-border);
  border-radius: 18px;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.cta-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.6;
}
.cta-row {
  display: flex; gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-row a.primary {
  display: inline-block;
  background: var(--blue); color: white;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 600; text-decoration: none; font-size: 14px;
  transition: background 0.2s, transform 0.15s;
}
.cta-row a.primary:hover { background: var(--blue-bright); transform: translateY(-1px); }
.cta-row a.ghost {
  display: inline-block;
  color: var(--blue-bright); text-decoration: none; font-size: 14px;
  padding: 12px 18px;
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cta-row a.ghost:hover { background: rgba(26,107,255,0.06); color: var(--white); border-color: rgba(77,143,255,0.4); }

/* Hub */
.for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.for-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 24px 24px 22px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s, transform 0.15s;
  display: flex; flex-direction: column;
  position: relative;
}
.for-card:hover { border-color: rgba(77,143,255,0.5); transform: translateY(-2px); }
.for-card-icon { font-size: 30px; margin-bottom: 14px; }
.for-card-name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--white);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.for-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  flex: 1;
  margin-bottom: 16px;
}
.for-card-cta {
  font-size: 13px; font-weight: 600;
  color: var(--blue-bright);
}

/* Footer */
footer {
  border-top: 1px solid var(--navy-border);
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--blue-bright); }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(180,200,255,0.25); }

/* Mobile */
@media (max-width: 900px) {
  nav { padding: 16px 20px; }
  .nav-logo-text { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(4,13,31,0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navy-border);
    padding: 0 24px; gap: 0;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  .nav-links.open { max-height: 500px; opacity: 1; padding: 18px 24px 22px; pointer-events: auto; }
  .nav-links li { list-style: none; }
  .nav-links a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(26,107,255,0.08); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .nav-cta { background: transparent !important; color: var(--muted) !important; padding: 12px 0 !important; border-radius: 0; font-weight: 500 !important; display: block; box-shadow: none; transform: none !important; }
  .nav-links .nav-cta:hover { background: transparent !important; color: var(--white) !important; }
}
@media (max-width: 720px) {
  .day-card { padding: 22px 20px; }
  footer { flex-direction: column; text-align: center; }
}
