/* ============================================================
   Amethyst Community Project — Shared Stylesheet
   Used by: index.html, about.html, downloads.html, donate.html,
            other-versions.html, releases.html
   ============================================================ */

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

:root {
  --bg: #080c14;
  --surface: #0b0f1a;
  --surface2: #111823;
  --border: #1a2133;
  --accent: #a855f7;
  --accent2: #c4b5fd;
  --text: #94a3b8;
  --text-dim: #4b5a72;
  --white: #e2e8f0;

  --radius-card: 12px;
  --radius-btn: 14px;
  --radius-img: 16px;
  --shadow-raised: 0 1px 3px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.28);
  --shadow-lifted: 0 1px 2px rgba(0,0,0,0.22);
  --shadow-elevated: 0 25px 50px -12px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}

html.light {
  --bg: #f0f4f8;
  --surface: #ffffff;
  --surface2: #e8edf5;
  --border: #d0d8e8;
  --accent: #7c3aed;
  --accent2: #6d28d9;
  --text: #475569;
  --text-dim: #94a3b8;
  --white: #1e293b;
}

/* ─── LIGHT MODE OVERRIDES ─── */
html.light nav { background: rgba(255,255,255,0.85); }

html.light .hero-content h1,
html.light .hero-content p {
  color: var(--white);
  text-shadow: none;
}
html.light .hero-content h1 span { color: #6d28d9; }
html.light .btn-ghost { color: var(--white); border-color: rgba(30,41,59,0.25); }

html.light .card,
html.light .feature-card,
html.light .review-bubble,
html.light .faq-item,
html.light .edition-card,
html.light .principle-card,
html.light .edition-row,
html.light .closing,
html.light .desc-card,
html.light .momo-card {
  background: #ffffff;
  border-color: #d0d8e8;
}

html.light .news-link { color: var(--accent); }
html.light footer { background: #e8edf5; }

html.light .notice { background: rgba(124,58,237,0.05); border-color: rgba(124,58,237,0.2); }
html.light .notice.neutral { background: rgba(148,163,184,0.08); border-color: #d0d8e8; }
html.light .btn-dl { background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.2); }
html.light .btn-dl:hover { background: rgba(124,58,237,0.18); border-color: var(--accent); color: #1e293b; }
html.light .warn-note { background: rgba(239,68,68,0.05); }

/* ─── THEME TOGGLE ─── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-moon { display: block; }
.icon-sun  { display: none; }
html.light .icon-moon { display: none; }
html.light .icon-sun  { display: block; }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }

/* ─── BASE ─── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 40px);
  max-width: 1100px;
  background: rgba(13,17,23,0.82);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.6rem 0 1.4rem;
  height: 56px;
  transition: width 0.25s ease, box-shadow 0.2s;
}

@media (max-width: 700px) {
  nav { width: calc(100% - 24px); padding: 0 0.5rem 0 1.1rem; }
  .nav-links { display: none; }
}

.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .brand {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.logo-text .sub {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 0.2rem; list-style: none; }
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: rgba(168,85,247,0.08);
}

/* ─── HERO (index.html) ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 128px 2rem 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168,85,247,0.16) 0%, transparent 60%),
    linear-gradient(180deg, #080c14 0%, #0b1120 55%, #080c14 100%);
}

html.light .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.10) 0%, transparent 60%),
    linear-gradient(180deg, #eef2f8 0%, #e4eaf5 55%, #eef2f8 100%);
  filter: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 2rem;
  animation: fadeUp 1s ease both;
}

.hero-content h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-content h1 span { color: #6d28d9; }

.hero-content p {
  font-size: 1rem;
  color: rgba(200, 208, 224, 0.85);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border-radius: var(--radius-btn);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(168,85,247,0.3);
}
.btn-primary:hover {
  background: #c084fc;
  box-shadow: 0 0 30px rgba(168,85,247,0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(200,208,224,0.3);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ─── HERO MOCKUP (product screenshot frame) ─── */
.hero-mockup-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 64px auto 0;
  padding: 0 2rem;
  animation: fadeUp 1s ease 0.15s both;
}

.hero-mockup {
  position: relative;
  border-radius: var(--radius-img);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
  aspect-ratio: 1280 / 1024;
}
.hero-mockup::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(168,85,247,0.35) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}
.hero-mockup img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ─── PAGE HERO (about / downloads / other-versions / releases) ─── */
.page-hero {
  padding: 110px 2rem 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0%, rgba(168,85,247,0.07) 0%, transparent 65%);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

.page-hero .label {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 20px;
}

.page-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text);
}

/* ─── CONTAINER / LAYOUT ─── */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
  flex: 1;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 4rem;
}

/* ─── SECTION (about.html) ─── */
.section {
  margin-bottom: 4rem;
  animation: fadeUp 0.6s ease both;
}

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.section p {
  color: var(--text);
  font-size: 0.97rem;
  margin-bottom: 0.85rem;
}

.subhead {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 2rem 0 0.25rem;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0;
}

/* ─── SECTION HEADER (downloads / other-versions) ─── */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.5s ease both;
}
.section-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-header .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── PRINCIPLES GRID (about.html) ─── */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .principles-grid { grid-template-columns: 1fr; }
}

.principle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  padding: 1.25rem 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.principle-card:hover { border-color: rgba(168,85,247,0.4); box-shadow: var(--shadow-lifted); }

.principle-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.principle-card h3 .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.principle-card p {
  font-size: 0.88rem;
  color: var(--text);
  margin: 0;
}

/* ─── EDITIONS LIST (about.html — row layout) ─── */
.editions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.edition-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  padding: 1.1rem 1.4rem;
  align-items: start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.edition-row:hover { border-color: rgba(168,85,247,0.4); box-shadow: var(--shadow-lifted); }

.edition-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.edition-desc {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
.edition-row.experimental .edition-name { color: #f59e0b; }

@media (max-width: 600px) {
  .edition-row { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ─── WHO IT'S FOR (about.html) ─── */
.for-list {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.for-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}
.for-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── CLOSING QUOTE (about.html) ─── */
.closing {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: var(--shadow-raised);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}
.closing p {
  font-size: 1rem;
  color: var(--white);
  font-style: italic;
  margin: 0;
}

/* ─── EDITIONS GRID (downloads / other-versions — card layout) ─── */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 750px) {
  .editions-grid { grid-template-columns: 1fr; }
}

.edition-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.5s ease both;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.edition-card:hover {
  border-color: rgba(168,85,247,0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lifted);
}
.edition-card:nth-child(2) { animation-delay: 0.05s; }
.edition-card:nth-child(3) { animation-delay: 0.1s; }
.edition-card:nth-child(4) { animation-delay: 0.15s; }
.edition-card:nth-child(5) { animation-delay: 0.2s; }
.edition-card:nth-child(6) { animation-delay: 0.25s; }

.card-header {
  padding: 1rem 1.25rem 0.85rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}
.badge-stable { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.badge-lts    { background: rgba(168,85,247,0.15); color: #c4b5fd; border: 1px solid rgba(168,85,247,0.25); }
.badge-exp    { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }
.badge-warn   { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.25); }
.badge-legacy { background: rgba(148,163,184,0.12); color: #94a3b8; border: 1px solid rgba(148,163,184,0.2); }

.card-body { padding: 1rem 1.25rem; flex: 1; }
.card-body p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.card-body .warn-note {
  font-size: 0.78rem;
  color: #f87171;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 5px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

/* ─── VERSION BLOCK (other-versions.html) ─── */
.version-block {
  margin-bottom: 3rem;
  animation: fadeUp 0.5s ease both;
}
.version-block:nth-child(2) { animation-delay: 0.1s; }

.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .cards-row { grid-template-columns: 1fr; }
}

/* ─── DOWNLOAD BUTTONS ─── */
.btn-group { display: flex; flex-direction: column; gap: 0.5rem; }

.btn-dl {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
  background: rgba(168,85,247,0.12);
  color: var(--accent2);
  border: 1px solid rgba(168,85,247,0.25);
}
.btn-dl:hover {
  background: rgba(168,85,247,0.22);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(2px);
}
.btn-dl svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.8; }
.btn-dl .btn-label { flex: 1; }
.btn-dl .btn-sub {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0.03em;
  text-transform: none;
}

/* ─── NOTICE ─── */
.notice {
  background: rgba(168,85,247,0.06);
  border: 1px solid rgba(168,85,247,0.18);
  border-radius: var(--radius-card);
  padding: 1rem 1.4rem;
  font-size: 0.87rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.4s ease both;
}
.notice strong { color: var(--accent2); }

.notice.neutral {
  background: rgba(148,163,184,0.05);
  border-color: rgba(148,163,184,0.15);
  color: var(--text-dim);
}
.notice.neutral strong { color: var(--text); }

/* ─── DONATE PAGE ─── */
.donate-wrap {
  max-width: 620px;
  width: 100%;
  animation: fadeUp 0.7s ease both;
}

.donate-header { text-align: center; margin-bottom: 2.5rem; }
.donate-header .heart {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 12px rgba(168,85,247,0.4));
}
.donate-header h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.donate-header h1 span { color: var(--accent2); }

.desc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.desc-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.desc-card p:last-child { margin-bottom: 0; }
.desc-card .highlight { color: var(--white); font-weight: 600; }

/* Centered label with horizontal divider lines (donate.html only) */
.divider-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.divider-label::before,
.divider-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.momo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.momo-card:hover { border-color: rgba(168,85,247,0.4); box-shadow: var(--shadow-lifted); }

.momo-logo { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.momo-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.momo-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.qr-frame {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 30px rgba(168,85,247,0.15);
}
.qr-frame img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.btn-momo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 2rem;
  border-radius: var(--radius-btn);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(168,85,247,0.25);
}
.btn-momo:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(168,85,247,0.45);
}

.thankyou {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ─── CARD / NEWS LIST (index.html, releases.html) ─── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 700px) {
  .content-grid { grid-template-columns: 1fr; }
}

.card {
  background: #0b0f1a;
  border: 1px solid #1a2133;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  padding: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.card:nth-child(2) { animation-delay: 0.1s; }

.card-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.card-title .icon { font-size: 1.1rem; }

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-list .placeholder {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.65rem 0;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(42,47,63,0.6);
}
.news-item:last-child { border-bottom: none; }

.news-item-head {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  cursor: pointer;
}

.news-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  min-width: 80px;
  flex-shrink: 0;
}

.news-link {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  text-align: left;
  font-size: 0.88rem;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s;
}
.news-item-head:hover .news-link { color: var(--accent2); text-decoration: underline; }

.news-item-head::after {
  content: '+';
  margin-left: auto;
  color: var(--text-dim);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.news-item.open .news-item-head::after { content: '–'; color: var(--accent); }

.news-body {
  display: none;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.6;
  padding-left: calc(80px + 0.75rem);
  animation: fadeUp 0.25s ease both;
}
.news-body.empty { color: var(--text-dim); font-style: italic; }
.news-item.open .news-body { display: block; }

@media (max-width: 480px) {
  .news-body { padding-left: 0; }
}

/* ─── FEATURES SECTION (index.html) ─── */
.features {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}
.features-inner { max-width: 1000px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 3rem; }
.features-header .label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.features-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
}
.features-header p {
  font-size: 0.97rem;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #0b0f1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  padding: 1.5rem 1.6rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.6s ease both;
}
.feature-card:hover {
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lifted);
}
.feature-card:nth-child(2) { animation-delay: 0.05s; }
.feature-card:nth-child(3) { animation-delay: 0.1s; }
.feature-card:nth-child(4) { animation-delay: 0.15s; }

.feature-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-card h3 .icon { font-size: 1rem; opacity: 0.85; }
.feature-card p { font-size: 0.88rem; color: var(--text); line-height: 1.65; }

/* ─── LEARN FROM SECTION (index.html) ─── */
.learn-from {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  overflow: hidden;
}
.learn-from-inner { max-width: 1000px; margin: 0 auto; }
.learn-from-header { text-align: center; margin-bottom: 2.5rem; padding: 0 2rem; }
.learn-from-header .label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.learn-from-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-track img {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(20%);
  transition: opacity 0.2s, filter 0.2s;
  flex-shrink: 0;
}
.marquee-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── FAQ SECTION (index.html) ─── */
.faq { max-width: 1000px; margin: 0 auto; padding: 4rem 2rem; }
.faq-header { text-align: center; margin-bottom: 2.5rem; }
.faq-header .label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.faq-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }

.faq-item {
  background: #0b0f1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(168,85,247,0.35); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}
.faq-question span {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--white);
  line-height: 1.4;
}

.faq-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.3s ease, color 0.2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.4rem;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 1.4rem 1.2rem; }
.faq-answer p { font-size: 0.9rem; color: var(--text); line-height: 1.7; }

.faq-answer ul {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.faq-answer ul li {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq-answer ul li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── USER REVIEWS (index.html) ─── */
.reviews { padding: 4rem 2rem; border-top: 1px solid var(--border); overflow: hidden; }
.reviews-inner { max-width: 1000px; margin: 0 auto; }
.reviews-header { text-align: center; margin-bottom: 3rem; }
.reviews-header .label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.reviews-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 650px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-bubble {
  background: #0b0f1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  padding: 1.4rem 1.6rem;
  position: relative;
  animation: fadeUp 0.5s ease both;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.review-bubble:hover {
  border-color: rgba(168,85,247,0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lifted);
}
.review-bubble:nth-child(2) { animation-delay: 0.05s; }
.review-bubble:nth-child(3) { animation-delay: 0.10s; }
.review-bubble:nth-child(4) { animation-delay: 0.15s; }

.review-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.review-name .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-text { font-size: 0.92rem; color: var(--text); line-height: 1.65; font-style: italic; }
.review-text::before { content: '"'; color: var(--accent); font-style: normal; font-size: 1.1rem; }
.review-text::after  { content: '"'; color: var(--accent); font-style: normal; font-size: 1.1rem; }

/* ─── FOOTER (all pages) ─── */
footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  letter-spacing: 0.05em;
}

.footer-disclaimer {
  display: block;
  margin-top: 0.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.72rem;
  line-height: 1.6;
  opacity: 0.75;
  letter-spacing: 0.01em;
  text-transform: none;
}
