/* ═══════════════════════════════════════════════════
   LearningLust — Main Stylesheet
   Theme: dark #09070f, accent #C840FF (purple)
   Fonts: Fraunces (serif headings), Inter (UI/body)
   Rule: NO grey. All text is white (#f0eaf8) on dark bg.
═══════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  background: #09070f;
  color: #f0eaf8;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --purple: #C840FF;
  --purple-dim: rgba(200, 64, 255, 0.10);
  --purple-border: rgba(200, 64, 255, 0.20);
  --text: #f0eaf8;
  --border: rgba(255, 255, 255, 0.07);
  --surface: #0f0c1a;
}

/* ── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav.scrolled {
  background: rgba(9, 7, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--text);
  letter-spacing: -0.3px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo span { color: var(--purple); font-style: normal; }
.nav-logo-img {
  height: 80px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 28px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 45% at 50% 28%,
    rgba(200, 64, 255, 0.07) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(52px, 8.5vw, 92px);
  font-weight: 700;
  line-height: 1.03;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-title em {
  color: var(--purple);
  font-style: italic;
}
.hero-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 16px;
}
.hero-body {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  max-width: 420px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: inline-block;
  border: 0.5px solid var(--purple-border);
  color: var(--purple);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 30px;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--purple-dim); }
.hero-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 1px;
  background: rgba(200, 64, 255, 0.22);
}

/* ── STRIP ──────────────────────────────────────────── */
.strip {
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 14px 28px;
}
.strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
}
.strip-dot {
  color: var(--purple);
  font-size: 18px;
  line-height: 1;
}

/* ── SHARED SECTION ─────────────────────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.13;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 14px;
  color: var(--text);
  line-height: 1.78;
  max-width: 560px;
  margin-bottom: 40px;
}

/* ── PLATFORMS (4+2 block cards) ────────────────────── */
.platforms { padding: 80px 0; }

.eco-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.eco-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: calc(50% - 8px);
  margin: 0 auto;
}
.eco-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.eco-card:hover {
  border-color: var(--purple-border);
  transform: translateY(-3px);
}
.eco-card-self {
  border-color: rgba(200, 64, 255, 0.15);
}
.eco-logo {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
.eco-logo-text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text);
}
.eco-logo-text span { color: var(--purple); font-style: normal; }
[data-track="eco-parucka"] .eco-logo {
  filter: brightness(0) invert(1);
  height: 64px;
}
[data-track="eco-aijr"] .eco-logo {
  filter: invert(1);
}

.eco-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

/* ── PHILOSOPHY ─────────────────────────────────────── */
.philosophy {
  padding: 80px 0;
  border-top: 0.5px solid var(--border);
}
.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.philosophy-body {
  font-size: 14px;
  color: var(--text);
  line-height: 1.82;
  margin-bottom: 18px;
}
.philosophy-body:last-child { margin-bottom: 0; }
.philosophy-quote {
  border-left: 1px solid var(--purple-border);
  padding-left: 36px;
}
.quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 72px;
  color: var(--purple);
  opacity: 0.25;
  line-height: 0.75;
  margin-bottom: 20px;
  user-select: none;
}
.quote-text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--text);
  line-height: 1.65;
}

/* ── SUBSCRIBE ──────────────────────────────────────── */
.subscribe {
  padding: 80px 0;
  border-top: 0.5px solid var(--border);
  text-align: center;
}
.subscribe-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.subscribe-sub {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  max-width: 460px;
  margin: 0 auto 32px;
}
.subscribe-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
}
.subscribe-form input {
  flex: 1;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-right: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 13px 18px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.subscribe-form input::placeholder { color: rgba(240, 234, 248, 0.35); }
.subscribe-form input:focus { border-color: var(--purple-border); }
.subscribe-form button {
  background: none;
  border: 0.5px solid var(--purple-border);
  color: var(--purple);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 22px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.subscribe-form button:hover { background: var(--purple-dim); }
.subscribe-msg {
  font-size: 13px;
  color: var(--text);
  margin-top: 14px;
  min-height: 20px;
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  border-top: 0.5px solid var(--border);
  padding: 56px 0 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { font-size: 18px; }
.footer-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text);
  margin-top: 8px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--purple); }
.footer-bottom {
  border-top: 0.5px solid var(--border);
  padding: 18px 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text);
}
.footer-bottom a {
  color: var(--text);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--purple); }

/* ── MOBILE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 7, 15, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links.open a { font-size: 24px; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { padding: 100px 20px 64px; }
  .hero-glow {
    background: radial-gradient(
      ellipse 100% 40% at 50% 25%,
      rgba(200, 64, 255, 0.06) 0%,
      transparent 60%
    );
  }

  /* Ecosystem */
  .eco-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .eco-row-2 { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 12px; }

  /* Philosophy */
  .philosophy-inner { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-quote { padding-left: 24px; }

  /* Subscribe */
  .subscribe-form { flex-direction: column; max-width: 320px; }
  .subscribe-form input { border-right: 0.5px solid var(--border); border-bottom: none; }
  .subscribe-form button { border-top: none; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .eco-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .eco-card { padding: 20px 12px 18px; }
  .strip-inner { gap: 14px; }
}
