/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #04040a;
  --bg-alt: #080812;
  --fg: #ffffff;
  --fg-2: rgba(255,255,255,0.55);
  --fg-3: rgba(255,255,255,0.25);
  --accent: #00F5FF;
  --accent-2: #7B2FBE;
  --accent-3: #CC39FF;
  --border: rgba(255,255,255,0.08);
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(4,4,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 280px;
  width: 100%;
  max-width: 900px;
  opacity: 0.12;
}

.bar {
  flex: 1;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  animation: wave 1.4s ease-in-out infinite;
}

.bar:nth-child(odd)  { animation-duration: 1.0s; }
.bar:nth-child(3n)  { animation-duration: 1.8s; }
.bar:nth-child(5n)  { animation-duration: 0.7s; }
.bar:nth-child(7n)  { animation-duration: 2.2s; }
.bar:nth-child(11n) { animation-duration: 1.3s; }
.bar:nth-child(13n) { animation-duration: 0.9s; }
.bar:nth-child(17n) { animation-duration: 1.6s; }

@keyframes wave {
  0%, 100% { height: 20%; }
  50%       { height: 90%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-headline br { display: block; }

.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-2);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat { display: flex; flex-direction: column; gap: 0.25rem; }

.stat-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === MANIFESTO === */
.manifesto {
  padding: 8rem 3rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner { max-width: 760px; }

.manifesto-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.manifesto-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
}

.manifesto-body {
  font-size: 1.125rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 600px;
}

/* === PILLARS === */
.pillar {
  padding: 8rem 3rem;
  border-bottom: 1px solid var(--border);
}

.pillar-alt { background: var(--bg-alt); }

.pillar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
}

.pillar-right .pillar-content { order: 2; }
.pillar-right .pillar-visual  { order: 1; }

.pillar-tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.pillar-headline {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.pillar-body {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.pillar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-features li {
  font-size: 0.9rem;
  color: var(--fg-2);
  padding-left: 1.5rem;
  position: relative;
}

.pillar-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* === BEAT DISPLAY (visual mockup) === */
.beat-display {
  background: #0c0c18;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  font-family: var(--font-head);
}

.beat-label {
  font-size: 0.7rem;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.beat-waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.bw-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 1px 1px 0 0;
  animation: bw-wave 1.5s ease-in-out infinite;
}

.bw-bar:nth-child(3n)  { animation-duration: 1.0s; }
.bw-bar:nth-child(5n)  { animation-duration: 1.8s; }
.bw-bar:nth-child(7n)  { animation-duration: 0.8s; }
.bw-bar:nth-child(11n) { animation-duration: 2.0s; }

@keyframes bw-wave {
  0%, 100% { height: 15%; }
  50%       { height: 95%; }
}

.beat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.beat-tag {
  background: rgba(0,245,255,0.08);
  border: 1px solid rgba(0,245,255,0.2);
  color: var(--accent);
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* === COACH DISPLAY === */
.coach-display {
  background: #0c0c18;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  font-family: var(--font-body);
}

.coach-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.coach-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: #000;
}

.coach-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
}

.coach-status {
  font-size: 0.7rem;
  color: var(--accent);
}

.coach-message {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 0.875rem;
  font-size: 0.8rem;
  color: var(--fg-2);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.coach-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.coach-action {
  background: rgba(0,245,255,0.07);
  border: 1px solid rgba(0,245,255,0.15);
  border-radius: 6px;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  color: var(--accent);
  text-align: left;
  cursor: default;
}

/* === COMMERCE GRID === */
.commerce-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.commerce-card {
  background: #0c0c18;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.commerce-card-icon {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.commerce-card-title {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.commerce-card-desc {
  font-size: 0.75rem;
  color: var(--fg-2);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 10rem 3rem;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,245,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.closing-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.1rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-2);
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--fg-3);
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-sep { opacity: 0.4; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .site-header { padding: 1rem 1.5rem; }
  .nav-links { display: none; }

  .hero { padding: 0 1.5rem 2.5rem; }
  .hero-headline { font-size: clamp(2.5rem, 10vw, 4rem); }

  .manifesto, .pillar { padding: 5rem 1.5rem; }

  .pillar-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pillar-right .pillar-content { order: 1; }
  .pillar-right .pillar-visual  { order: 2; }

  .commerce-grid { grid-template-columns: 1fr; }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .hero-divider { display: none; }

  .closing { padding: 6rem 1.5rem; }
}
