/* CharterHelm Public Pages — Shared Stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a0f1e;
  --navy2: #0f1830;
  --navy3: #131f3a;
  --gold: #c9a84c;
  --gold2: #e0c06a;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --accent: var(--gold);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy); color: var(--text);
  min-height: 100vh; -webkit-font-smoothing: antialiased;
}

/* ── FOUNDING PARTNER BANNER ── */
.fp-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--gold); color: var(--navy);
  padding: 10px 48px 10px 20px;
  text-align: center; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  line-height: 1.4;
}
.fp-banner a { color: var(--navy); font-weight: 800; text-decoration: underline; }
.fp-banner-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; font-weight: 700; color: var(--navy); line-height: 1;
  padding: 4px 8px;
}
body.banner-visible { padding-top: 40px; }
body.banner-visible .nav { top: 40px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,15,30,0.92); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; gap: 16px;
}
.nav-logo {
  font-size: 1.2rem; font-weight: 800; color: var(--gold);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav-logo span:first-child { font-size: 1.4rem; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-link {
  padding: 8px 12px; color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500;
  text-decoration: none; border-radius: 6px; transition: all 0.2s; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-right { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.nav-hamburger {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; padding: 6px 10px; color: var(--text);
  font-size: 1rem; cursor: pointer;
}
.btn-login {
  padding: 8px 18px; border-radius: 8px;
  border: 1px solid rgba(201,168,76,0.4); color: var(--gold);
  background: transparent; font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.btn-login:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); }
.btn-apply {
  padding: 8px 18px; border-radius: 8px;
  background: var(--gold); color: var(--navy);
  font-size: 13px; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.btn-apply:hover { background: var(--gold2); }

/* Mobile nav */
.nav-mobile {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(10,15,30,0.98); border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 12px 24px 20px; z-index: 99;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 12px 8px; font-size: 15px; border-bottom: 1px solid var(--border); }

/* ── HERO ── */
.hero-public {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(100,150,255,0.04) 0%, transparent 50%),
    var(--navy);
  text-align: center;
}
.hero-public.accent-blue { background: radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%), var(--navy); }
.hero-public.accent-green { background: radial-gradient(ellipse at 20% 50%, rgba(34,197,94,0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%), var(--navy); }
.hero-public.accent-purple { background: radial-gradient(ellipse at 20% 50%, rgba(168,85,247,0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%), var(--navy); }
.hero-public.accent-orange { background: radial-gradient(ellipse at 20% 50%, rgba(249,115,22,0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%), var(--navy); }

.hero-public-inner { max-width: 700px; }
.hero-eyebrow {
  display: inline-block; padding: 6px 14px;
  border: 1px solid rgba(201,168,76,0.3); border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--gold);
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-public h1 {
  font-size: clamp(2rem,5vw,3.8rem); font-weight: 900;
  line-height: 1.1; color: #fff; margin-bottom: 20px;
}
.hero-public h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: clamp(1rem,2vw,1.15rem); color: var(--muted);
  line-height: 1.7; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto;
}
.btn-hero-cta {
  display: inline-block; padding: 16px 40px;
  background: var(--gold); color: var(--navy);
  border-radius: 10px; font-size: 15px; font-weight: 800;
  text-decoration: none; transition: background 0.2s;
}
.btn-hero-cta:hover { background: var(--gold2); }

/* ── SECTIONS ── */
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-label {
  font-size: 12px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
  display: block;
}
.section-heading {
  font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 900;
  color: #fff; margin-bottom: 40px; line-height: 1.2;
}

/* ── PROBLEM SECTION ── */
.problem-section { padding: 80px 24px; background: var(--navy2); }
.problem-section .section-heading { margin-bottom: 28px; }
.problem-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 36px;
}
.problem-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.problem-list li {
  font-size: 14.5px; color: var(--muted); line-height: 1.6;
  padding-left: 28px; position: relative;
}
.problem-list li::before {
  content: '✗'; position: absolute; left: 0;
  color: #f87171; font-weight: 700;
}

/* ── FEATURES SECTION ── */
.features-section { padding: 80px 24px; background: var(--navy); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── STEPS SECTION ── */
.steps-section { padding: 80px 24px; background: var(--navy2); text-align: center; }
.steps-row {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; max-width: 800px; margin: 0 auto;
  flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 160px; max-width: 240px;
  padding: 24px 16px; text-align: center;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: var(--gold);
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.step-arrow {
  font-size: 1.5rem; color: rgba(201,168,76,0.4);
  padding: 32px 0 0; flex-shrink: 0;
}
@media (max-width: 640px) { .step-arrow { display: none; } }

/* ── OFFER BOX SECTION ── */
.offer-section { padding: 80px 24px; background: var(--navy); }
.offer-box {
  border: 1px solid rgba(201,168,76,0.25); border-radius: 20px;
  padding: 52px 48px; background: rgba(201,168,76,0.03);
  text-align: center; max-width: 680px; margin: 0 auto;
}
.offer-box h2 {
  font-size: clamp(1.4rem,3vw,2rem); font-weight: 900;
  color: #fff; margin-bottom: 28px;
}
.offer-checklist { list-style: none; text-align: left; display: inline-block; margin-bottom: 36px; }
.offer-checklist li {
  font-size: 14.5px; color: var(--text); padding: 6px 0;
  padding-left: 28px; position: relative;
}
.offer-checklist li::before {
  content: '✓'; position: absolute; left: 0;
  color: #4ade80; font-weight: 700;
}
.btn-apply-large {
  display: inline-block; padding: 16px 40px;
  background: var(--gold); color: var(--navy);
  border-radius: 10px; font-size: 15px; font-weight: 800;
  text-decoration: none; transition: background 0.2s; margin-bottom: 16px;
}
.btn-apply-large:hover { background: var(--gold2); }
.offer-login-link { font-size: 13px; color: var(--muted); }
.offer-login-link a { color: var(--gold); text-decoration: none; }
.offer-login-link a:hover { text-decoration: underline; }

/* ── CALLOUT BOX (crew "free forever") ── */
.callout-box {
  background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.25);
  border-radius: 14px; padding: 28px 32px; margin: 32px 0;
  text-align: center;
}
.callout-box h3 { font-size: 1.1rem; font-weight: 800; color: #4ade80; margin-bottom: 10px; }
.callout-box p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CAPTAIN CALLOUT ── */
.captain-box {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-left: 3px solid #4ade80; border-radius: 10px;
  padding: 20px 24px; margin: 24px 0;
}
.captain-box h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.captain-box p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }

/* ── FAQ SECTION ── */
.faq-section { padding: 80px 24px; background: var(--navy2); }
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: none; padding: 18px 20px;
  text-align: left; color: #fff; font-size: 14.5px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background 0.15s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-chevron { color: var(--muted); font-size: 0.75rem; transition: transform 0.2s; flex-shrink: 0; }
.faq-q.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 20px 18px; font-size: 14px;
  color: var(--muted); line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-a.open { display: block; }

/* ── FOOTER CTA ── */
.footer-cta-section { padding: 60px 24px; background: var(--navy); text-align: center; }

/* ── SITE FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border); padding: 32px 24px;
  text-align: center; background: var(--navy);
}
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 20px; margin-bottom: 16px;
}
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: 12px;
  font-weight: 500; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.site-footer p { font-size: 12px; color: var(--muted); }
.site-footer strong { color: var(--text); }

/* ── APPLY FORM ── */
.apply-form-section { padding: 80px 24px; background: var(--navy); }
.apply-form-wrap {
  max-width: 600px; margin: 0 auto;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 44px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; color: #fff; font-size: 14px; font-family: inherit;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group textarea { min-height: 80px; resize: vertical; }
.roles-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 10px;
}
.role-checkbox {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; cursor: pointer; transition: all 0.15s;
}
.role-checkbox:hover { border-color: rgba(201,168,76,0.4); }
.role-checkbox input[type=checkbox] { accent-color: var(--gold); width: 16px; height: 16px; cursor: pointer; }
.role-checkbox span { font-size: 13px; font-weight: 500; color: var(--text); }
.terms-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.terms-check input[type=checkbox] { accent-color: var(--gold); width: 16px; height: 16px; margin-top: 2px; cursor: pointer; flex-shrink: 0; }
.terms-check span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.terms-check a { color: var(--gold); text-decoration: none; }
.btn-submit {
  width: 100%; padding: 16px; background: var(--gold); color: var(--navy);
  border: none; border-radius: 10px; font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: inherit; transition: background 0.2s; margin-top: 8px;
}
.btn-submit:hover { background: var(--gold2); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-error {
  display: none; background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3);
  border-radius: 8px; padding: 12px 16px; font-size: 13px; color: #f87171; margin-top: 12px;
}
.form-error.show { display: block; }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.form-success p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── HOW IT WORKS ECOSYSTEM ── */
.ecosystem-section { padding: 80px 24px; background: var(--navy2); }
.ecosystem-diagram {
  max-width: 700px; margin: 40px auto;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
}
.eco-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.eco-node {
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px; padding: 12px 20px;
  font-size: 13px; font-weight: 700; color: var(--gold);
  text-align: center;
}
.eco-node.center {
  background: rgba(201,168,76,0.15); border-color: var(--gold);
  font-size: 14px; padding: 14px 24px;
}
.eco-arrow { color: rgba(201,168,76,0.5); font-size: 1.2rem; }
.eco-divider { width: 100%; height: 1px; background: var(--border); margin: 16px 0; }

.role-grid-large {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px;
}
@media (max-width: 768px) { .role-grid-large { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .role-grid-large { grid-template-columns: 1fr; } }
.role-card-large {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
  text-decoration: none; color: var(--text); transition: all 0.2s;
}
.role-card-large:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.role-card-large .icon { font-size: 2.2rem; margin-bottom: 14px; }
.role-card-large h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.role-card-large p { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.role-card-large .card-link { font-size: 12px; font-weight: 700; color: var(--gold); }

.principles-list { list-style: none; max-width: 640px; margin: 0 auto; }
.principles-list li {
  padding: 16px 0 16px 36px; position: relative;
  font-size: 14.5px; color: var(--text); line-height: 1.6;
  border-bottom: 1px solid var(--border);
}
.principles-list li:last-child { border-bottom: none; }
.principles-list li::before {
  position: absolute; left: 0; top: 16px;
  font-size: 1rem; font-weight: 900; color: var(--gold);
}
.principles-list li:nth-child(1)::before { content: '1.'; }
.principles-list li:nth-child(2)::before { content: '2.'; }
.principles-list li:nth-child(3)::before { content: '3.'; }
.principles-list li:nth-child(4)::before { content: '4.'; }
.principles-list li:nth-child(5)::before { content: '5.'; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .apply-form-wrap { padding: 28px 24px; }
  .roles-grid { grid-template-columns: 1fr; }
  .offer-box { padding: 36px 24px; }
  .problem-card { padding: 24px 20px; }
  .hero-public { min-height: 60vh; }
}
