/* ============================================
   The Brain Economy Network — Styles
   Brand: Dark #060D1A / Cyan #00B4D8 / Violet #7B61FF
   Fonts: Inter (UI) + Space Grotesk (Headlines)
   ============================================ */

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

:root {
  --bg-deep: #060D1A;
  --bg-card: #0C1829;
  --bg-card-hover: #111F35;
  --border: #1A2A42;
  --border-light: #243550;
  --cyan: #00B4D8;
  --cyan-dim: rgba(0, 180, 216, 0.15);
  --violet: #7B61FF;
  --violet-dim: rgba(123, 97, 255, 0.15);
  --green: #00D68F;
  --green-dim: rgba(0, 214, 143, 0.15);
  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --text: #F0F4FF;
  --text-secondary: #8899B4;
  --text-muted: #5A6D8A;
  --max-width: 1200px;
  --gradient-brand: linear-gradient(135deg, #00B4D8 0%, #7B61FF 100%);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: #33CCEE; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.logo .accent { color: var(--cyan); }

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

.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--cyan);
  color: var(--bg-deep) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: #33CCEE;
  color: var(--bg-deep) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--bg-deep);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 24px rgba(0, 180, 216, 0.2);
}

.btn-primary:hover {
  background: #33CCEE;
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 180, 216, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cyan);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn-violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 0 24px rgba(123, 97, 255, 0.2);
}

.btn-violet:hover {
  background: #9580FF;
  box-shadow: 0 0 32px rgba(123, 97, 255, 0.35);
}

/* --- Hero --- */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 20px;
  background: var(--cyan-dim);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

/* --- Email Capture --- */
.email-capture {
  max-width: 480px;
  margin: 0 auto 48px;
  display: flex;
  gap: 8px;
}

.email-capture input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.email-capture input::placeholder { color: var(--text-muted); }
.email-capture input:focus { border-color: var(--cyan); }

/* --- Video Embed --- */
.video-section { padding: 0 0 80px; }

.video-wrapper {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 180, 216, 0.06);
  aspect-ratio: 16/9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Sections --- */
.section { padding: 96px 0; }
.section-border { border-top: 1px solid var(--border); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 48px;
}

.section-center { text-align: center; }
.section-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Verticals Grid --- */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vertical-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.vertical-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.vc-neuro::before { background: var(--cyan); }
.vc-tech::before { background: var(--violet); }
.vc-ai::before { background: var(--green); }
.vc-perf::before { background: var(--amber); }

.vertical-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.vt-cyan { color: var(--cyan); background: var(--cyan-dim); }
.vt-violet { color: var(--violet); background: var(--violet-dim); }
.vt-green { color: var(--green); background: var(--green-dim); }
.vt-amber { color: var(--amber); background: var(--amber-dim); }

.vertical-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

.vertical-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --- What We Publish --- */
.publish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.publish-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s;
}

.publish-card:hover { transform: translateY(-3px); }

.publish-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.pi-cyan { background: var(--cyan-dim); color: var(--cyan); }
.pi-violet { background: var(--violet-dim); color: var(--violet); }
.pi-green { background: var(--green-dim); color: var(--green); }

.publish-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.publish-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* --- Personas --- */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.2s;
}

.persona-card:hover { transform: translateY(-2px); }

.persona-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.persona-card h3 { font-size: 1.1rem; margin-bottom: 8px; }

.persona-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --- Stats --- */
.stats-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Partner Section --- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
}

.partner-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 4px;
}

.partner-term {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.partner-card h3 { font-size: 1.2rem; margin-bottom: 12px; }

.partner-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.partner-deliverables {
  list-style: none;
  margin-bottom: 28px;
}

.partner-deliverables li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0 6px 20px;
  position: relative;
}

.partner-deliverables li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
  font-family: monospace;
}

/* --- Final CTA --- */
.final-cta {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta .container { position: relative; z-index: 1; }

.final-cta .section-title {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 4px 0;
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--text); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .publish-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 56px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }
  .hamburger { display: flex; }
  .verticals-grid { grid-template-columns: 1fr; }
  .publish-grid { grid-template-columns: 1fr; }
  .personas-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: center; }
  .email-capture { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
