/* ── FounderAgent Design System ── */
/* Dark navy + green #10b981 · Distinct from BoardAgent (light/blue) */

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

:root {
  --bg:        #080f1c;
  --bg-alt:    #0a1525;
  --bg-card:   #0d1829;
  --bg-card2:  #112033;
  --border:    #1a2f48;
  --border-hi: #254264;
  --green:     #10b981;
  --green-l:   #34d399;
  --green-d:   rgba(16,185,129,0.10);
  --green-b:   rgba(16,185,129,0.26);
  --blue:      #3b82f6;
  --blue-d:    rgba(59,130,246,0.10);
  --blue-b:    rgba(59,130,246,0.26);
  --gold:      #d4a02c;
  --gold-d:    rgba(212,160,44,0.10);
  --gold-b:    rgba(212,160,44,0.26);
  --purple:    #8b5cf6;
  --purple-d:  rgba(139,92,246,0.10);
  --purple-b:  rgba(139,92,246,0.26);
  --text:      #dde4ee;
  --muted:     #8da0b8;
  --dim:       #506070;
  --white:     #ffffff;
  --radius:    10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAVIGATION ── */
.nav {
  background: rgba(8,15,28,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-accent { color: var(--green); }
.nav-logo:hover { text-decoration: none; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); text-decoration: none; }

.nav-cta {
  background: var(--green) !important;
  color: #041020 !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 14px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-l) !important; }

/* ── LANG TOGGLE ── */
.lang-toggle {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.32);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.36); }
.lang-toggle .lt-sep { opacity: 0.22; font-size: 10px; }
.lang-toggle .lt-active { color: var(--white); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  background: var(--bg);
  padding: 96px 5% 88px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 860px; position: relative; z-index: 1; }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}
.hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 .g  { color: var(--green); }
.hero h1 .b  { color: var(--blue); }
.hero h1 .go { color: var(--gold); }
.hero .lead {
  font-size: 18px;
  color: rgba(221,228,238,0.78);
  max-width: 660px;
  margin-bottom: 40px;
  line-height: 1.68;
}
.hero-kpi-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-kpi .n {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--gold);
}
.hero-kpi .l {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--dim);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #041020;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--green-l); text-decoration: none; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); text-decoration: none; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border: 1px solid var(--green-b);
  border-radius: 6px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--green-d); text-decoration: none; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ── SECTIONS ── */
.section     { padding: 88px 5%; background: var(--bg); }
.section-alt { padding: 88px 5%; background: var(--bg-alt); }
.max-w { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-label-blue   { color: var(--blue); }
.section-label-gold   { color: var(--gold); }
.section-label-purple { color: var(--purple); }

h2 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
h2 .g  { color: var(--green); }
h2 .b  { color: var(--blue); }
h2 .go { color: var(--gold); }
h2 .pu { color: var(--purple); }

h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.72;
  margin-bottom: 52px;
}

.accent-bar { width: 44px; height: 3px; border-radius: 2px; background: var(--green); margin-bottom: 28px; }
.accent-bar-blue   { background: var(--blue); }
.accent-bar-gold   { background: var(--gold); }

/* ── CARDS ── */
.card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-green  { border-color: var(--green-b);  background: linear-gradient(145deg, var(--bg-card2), var(--green-d)); }
.card-blue   { border-color: var(--blue-b);   background: linear-gradient(145deg, var(--bg-card2), var(--blue-d)); }
.card-gold   { border-color: var(--gold-b);   background: linear-gradient(145deg, var(--bg-card2), var(--gold-d)); }
.card-purple { border-color: var(--purple-b); background: linear-gradient(145deg, var(--bg-card2), var(--purple-d)); }

/* ── BADGES ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.badge-green  { background: var(--green-d);  color: var(--green);  border: 1px solid var(--green-b); }
.badge-blue   { background: var(--blue-d);   color: var(--blue);   border: 1px solid var(--blue-b); }
.badge-gold   { background: var(--gold-d);   color: var(--gold);   border: 1px solid var(--gold-b); }
.badge-purple { background: var(--purple-d); color: var(--purple); border: 1px solid var(--purple-b); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }

/* ── FEATURE LIST ── */
.fl { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fl li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.fl li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 24px 0; }

/* ── PILL ── */
.pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--green-b);
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ── PAIN NUMBER ── */
.pain-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--green);
  opacity: 0.38;
  line-height: 1;
  margin-bottom: 10px;
}

/* ── DUAL DOOR (homepage audience split) ── */
.dual-door { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 52px; }

.door-card {
  padding: 44px 36px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card2);
  display: block;
  transition: border-color 0.22s, transform 0.18s;
  text-decoration: none;
}
.door-card:hover { transform: translateY(-2px); text-decoration: none; }
.door-card-green { border-color: var(--green-b); background: linear-gradient(145deg, var(--bg-card2), var(--green-d)); }
.door-card-green:hover { border-color: var(--green); }
.door-card-blue  { border-color: var(--blue-b);  background: linear-gradient(145deg, var(--bg-card2), var(--blue-d)); }
.door-card-blue:hover  { border-color: var(--blue); }
.door-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.door-icon-green { background: var(--green-d); border: 1px solid var(--green-b); }
.door-icon-blue  { background: var(--blue-d);  border: 1px solid var(--blue-b); }
.door-card h3 { font-size: 21px; margin-bottom: 10px; }
.door-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 22px; }
.door-link { font-size: 14px; font-weight: 700; }
.door-link-green { color: var(--green); }
.door-link-blue  { color: var(--blue); }

/* ── MODULE CARDS ── */
.module-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.module-card:hover { border-color: var(--border-hi); }
.module-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.module-text h3 { font-size: 15px; margin-bottom: 4px; }
.module-text p  { font-size: 13px; color: var(--muted); }

/* ── CYCLE STRIP ── */
.cycle-strip {
  display: flex;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 32px 0;
}
.cycle-phase {
  flex: 1;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.cycle-phase:last-child { border-right: none; flex: 0.75; }
.cycle-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-size: 14px; font-weight: 900;
}
.cycle-num-green { background: var(--green-d); border: 1px solid var(--green-b); color: var(--green); }
.cycle-num-gold  { background: var(--gold-d);  border: 1px solid var(--gold-b);  color: var(--gold); }
.cycle-num-blue  { background: var(--blue-d);  border: 1px solid var(--blue-b);  color: var(--blue); }
.cycle-num-dim   { background: rgba(37,66,100,.35); border: 1px solid var(--border-hi); color: var(--muted); }
.cycle-phase-name {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  margin-bottom: 6px;
}
.cycle-phase-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.cycle-phase-desc  { font-size: 11.5px; color: var(--dim); }

/* ── TIER CARD ── */
.tier-header {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 8px;
}
.tier-price { font-size: 38px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.tier-price-note { font-size: 12px; color: var(--muted); margin-bottom: 16px; }

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(135deg, rgba(16,185,129,0.07), rgba(59,130,246,0.04));
  border: 1px solid var(--green-b);
  border-radius: 16px;
  padding: 64px 5%;
  text-align: center;
}
.cta-box h2 { margin-bottom: 14px; }
.cta-box p  { font-size: 17px; color: var(--muted); max-width: 580px; margin: 0 auto 36px; line-height: 1.7; }

/* ── STAT STRIP ── */
.stat-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 28px;
}
.stat-cell {
  flex: 1;
  padding: 14px 18px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-cell:last-child { border-right: none; }
.stat-n { font-size: 22px; font-weight: 900; color: var(--green); }
.stat-l { font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--dim); margin-top: 2px; }

/* ── STANDALONE LEGAL PAGES ── */
.standalone-section {
  padding: 72px 5% 88px;
  min-height: calc(100vh - 64px - 148px);
}
.standalone-section .max-w { max-width: 720px; }
.standalone-section .section-label { margin-bottom: 8px; }
.standalone-section h2 { margin-bottom: 8px; }
.standalone-section h3 {
  font-size: 17px; font-weight: 700; color: var(--white);
  margin-top: 40px; margin-bottom: 8px;
}
.standalone-section p  { font-size: 15px; color: var(--muted); margin-bottom: 12px; line-height: 1.72; }
.standalone-section a  { color: var(--green); }

/* ── FOOTER ── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 52px 5% 32px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 32px;
}
.footer-brand { max-width: 260px; }
.footer-brand-name {
  font-size: 18px; font-weight: 800; color: var(--white);
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.footer-brand-name span { color: var(--green); }
.footer-tagline { font-size: 13px; color: var(--dim); line-height: 1.6; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-legal {
  font-size: 11.5px; color: var(--dim); text-align: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  max-width: 1100px; margin: 0 auto;
}

/* ── DIAGNOSTIC EMBED ── */
.diag-frame-wrap {
  width: 100%;
  height: calc(100vh - 64px);
  border: none;
  display: block;
}
.diag-intro {
  padding: 64px 5% 52px;
  background: var(--bg);
}
.diag-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 36px; }
.diag-feature {
  padding: 20px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.diag-feature h3 { font-size: 15px; margin-bottom: 6px; }
.diag-feature p  { font-size: 13px; color: var(--muted); }

/* ── TOOL CARDS (tools.html hub) ── */
.tool-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.18s;
}
.tool-card:hover { transform: translateY(-2px); }
.tool-card-green  { border-color: var(--green-b);  background: linear-gradient(145deg, var(--bg-card2), var(--green-d)); }
.tool-card-green:hover  { border-color: var(--green); }
.tool-card-blue   { border-color: var(--blue-b);   background: linear-gradient(145deg, var(--bg-card2), var(--blue-d)); }
.tool-card-blue:hover   { border-color: var(--blue); }
.tool-card-gold   { border-color: var(--gold-b);   background: linear-gradient(145deg, var(--bg-card2), var(--gold-d)); }
.tool-card-gold:hover   { border-color: var(--gold); }
.tool-card-purple { border-color: var(--purple-b); background: linear-gradient(145deg, var(--bg-card2), var(--purple-d)); }
.tool-card-purple:hover { border-color: var(--purple); }

.tool-badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.tool-spec  { font-size: 11px; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.tool-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; }
.tools-grid { margin-top: 40px; }

.tool-launch {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  padding: 9px 20px;
  border-radius: 6px;
  border: 1px solid var(--green-b);
  color: var(--green);
  background: transparent;
  transition: all 0.2s;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 8px;
}
.tool-launch:hover { background: var(--green-d); text-decoration: none; }
.tool-launch-blue   { color: var(--blue);   border-color: var(--blue-b); }
.tool-launch-blue:hover   { background: var(--blue-d); }
.tool-launch-gold   { color: var(--gold);   border-color: var(--gold-b); }
.tool-launch-gold:hover   { background: var(--gold-d); }
.tool-launch-purple { color: var(--purple); border-color: var(--purple-b); }
.tool-launch-purple:hover { background: var(--purple-d); }

/* ── COMPACT TOOL CARDS (audience pages) ── */
.ctool-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 40px; }
.ctool-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}
.ctool-card:hover { border-color: var(--border-hi); }
.ctool-name { font-size: 15px; font-weight: 700; color: var(--white); }
.ctool-spec { font-size: 11px; color: var(--dim); letter-spacing: 0.05em; text-transform: uppercase; }
.ctool-desc { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.ctool-link { font-size: 13px; font-weight: 700; color: var(--green); text-decoration: none; }
.ctool-link:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 920px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 12px 24px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 200;
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a  { display: block; padding: 14px 0; font-size: 15px; }
  .nav.nav-open .nav-links { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-right { position: relative; }

  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .ctool-grid { grid-template-columns: 1fr; }
  .dual-door { grid-template-columns: 1fr; }
  .cycle-strip { flex-direction: column; }
  .cycle-phase { border-right: none; border-bottom: 1px solid var(--border); flex: 1; }
  .cycle-phase:last-child { border-bottom: none; }
  .hero h1 { font-size: 32px; }
  .hero-kpi-row { gap: 24px; }
  .stat-strip { flex-wrap: wrap; }
  .stat-cell { min-width: 50%; border-bottom: 1px solid var(--border); }
  .diag-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero     { padding: 64px 5% 56px; }
  .section, .section-alt { padding: 60px 5%; }
  .cta-box  { padding: 48px 24px; }
  .door-card { padding: 32px 24px; }
  .footer-main { flex-direction: column; }
  .footer-links { gap: 16px; }
}
