/* MoppyNodes — modern landing (network canvas aesthetic) */

:root {
  --bg-deep: #030508;
  --bg: #060a12;
  --bg-card: rgba(12, 20, 36, 0.65);
  --border: rgba(34, 184, 232, 0.14);
  --border-hover: rgba(34, 184, 232, 0.45);
  --text: #eef4fc;
  --text-muted: #8ba3bc;
  --accent: #1595ce;
  --accent-bright: #22b8e8;
  --gold: #e8b923;
  --gold-bright: #f5d04a;
  --gradient-hero: linear-gradient(135deg, #22b8e8 0%, #a8d4f0 45%, #ffffff 100%);
  --gradient-btn: linear-gradient(135deg, #0e6fa3, var(--accent), var(--accent-bright));
  --shadow-glow: 0 0 60px rgba(21, 149, 206, 0.15);
  --font: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --container: min(1140px, 92vw);
  --header-h: 72px;
  --section-pad: clamp(4rem, 8vw, 6rem);
  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

.network-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.page-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(21, 149, 206, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(107, 76, 230, 0.08), transparent),
    radial-gradient(ellipse 40% 30% at 0% 60%, rgba(21, 149, 206, 0.06), transparent),
    linear-gradient(180deg, transparent 0%, rgba(3, 5, 8, 0.4) 100%);
}

body.is-preview .preview-banner {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 200;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(6, 10, 18, 0.85);
  border: 1px solid var(--border);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

#main, .header, .footer { position: relative; z-index: 2; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

.container { width: var(--container); margin-inline: auto; padding-inline: 1rem; }
.container--narrow { width: min(720px, 92vw); margin-inline: auto; }

.section { padding-block: var(--section-pad); }
.section-header { margin-bottom: 2.5rem; }
.section-header--center { text-align: center; }
.section-header__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.section-header__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.5rem;
  background: var(--gold);
  border-radius: 2px;
}
.section-header--center .section-header__title::after {
  margin-inline: auto;
}
.section-header__subtitle {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 52ch;
}
.section-header--center .section-header__subtitle { margin-inline: auto; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal--stagger {
  transition-delay: calc(0.05s * var(--reveal-i, 0));
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .network-canvas { display: none; }
}

/* Header glass */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(6, 10, 18, 0.55);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.header--scrolled {
  background: rgba(6, 10, 18, 0.88);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.logo__img { border-radius: 10px; }
.logo__moppy { color: var(--gold-bright); font-weight: 700; }
.logo__nodes { color: var(--accent-bright); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--text); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}
.btn--primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 24px rgba(21, 149, 206, 0.35);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34, 184, 232, 0.45);
  filter: brightness(1.08);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(21, 149, 206, 0.12);
  color: #fff;
}
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2rem; }
.btn--block { width: 100%; }

/* Cards glass */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.card__title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.card__text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }

/* Hero */
.hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 3rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero__inner { max-width: 720px; }
.hero__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  background: rgba(232, 185, 35, 0.1);
  border: 1px solid rgba(232, 185, 35, 0.25);
  border-radius: 999px;
}
.hero__title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero__description {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 56ch;
  margin-bottom: 1.5rem;
}
.hero__highlights {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero__highlights li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.hero__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(232, 185, 35, 0.5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Metrics */
.metrics { padding-block: 2rem 3rem; }
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}
.metric-card {
  padding: 1.35rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}
.metric-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--accent-bright);
}
.metric-card__icon svg { width: 28px; height: 28px; }
.metric-card__title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.35rem; }
.metric-card__text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* Chains */
.chains__note {
  max-width: 62ch;
  margin: -1rem 0 2rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(21, 149, 206, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.chains__group-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
  margin: 0 0 1rem;
}
.chains__group-label--archive {
  margin-top: 2rem;
  color: var(--accent-bright);
}
.chains__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.chain-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.25rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.35s, border-color 0.3s, box-shadow 0.3s;
}
.chain-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(21, 149, 206, 0.2);
}
.chain-card--archive { border-style: dashed; }
.chain-card__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.chain-card__icon img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
.chain-card__fallback {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(232, 185, 35, 0.15);
  border: 1px solid rgba(232, 185, 35, 0.25);
  border-radius: 50%;
}
.chain-card__name { font-size: 0.78rem; font-weight: 600; text-align: center; }
.chain-card__symbol { font-size: 0.65rem; color: var(--text-muted); }

.chains-extended {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(12, 20, 36, 0.4);
  backdrop-filter: blur(12px);
}
.chains-extended__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.chains-extended__subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; max-width: 62ch; }
.chains-extended__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chains-extended__item {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card--main {
  display: flex;
  flex-direction: column;
}
.service-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
  background: rgba(232, 185, 35, 0.1);
  border: 1px solid rgba(232, 185, 35, 0.2);
  border-radius: 10px;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__points {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  flex: 1;
  list-style: none;
  padding-left: 0;
}
.service-card__points li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
  line-height: 1.4;
}
.service-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* Pricing */
.pricing__section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.pricing__section-label--offers { margin-top: 2.5rem; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pricing__offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.pricing-card--featured {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(34, 184, 232, 0.3), var(--shadow-glow);
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card__badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--gold);
  color: #0a0e1a;
  border-radius: 999px;
}
.pricing-card__meta, .pricing-card__type {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.pricing-card__price {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.5rem 0 1rem;
}
.pricing-card__price--offer { font-size: 1.75rem; }
.pricing-card__price--offer span { font-size: 0.9rem; -webkit-text-fill-color: var(--text-muted); }
.pricing-card__features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.pricing-card__features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.pricing-card__offer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}
.pricing__note { margin-top: 1.5rem; color: var(--text-muted); font-size: 0.9rem; }

/* Why */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.why-item {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform 0.35s, border-color 0.3s;
}
.why-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.why-item__title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.why-item__text { font-size: 0.9rem; color: var(--text-muted); }
.why__audience {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Reviews */
.reviews__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.review-card__quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 1rem;
  line-height: 1.6;
}
.review-card__author { font-size: 0.85rem; color: var(--accent-bright); }
.reviews__channel { text-align: center; margin-top: 1.5rem; }
.reviews__channel a { color: var(--gold-bright); font-weight: 600; }
.reviews__channel a:hover { color: var(--gold); }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.faq-item__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__panel {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item__panel p { margin: 0 0 0.75rem; }

/* Contact */
.contact__card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
}
.contact__handle, .contact__payment {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: rgba(6, 10, 18, 0.6);
  backdrop-filter: blur(12px);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer__payment, .footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Mobile */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .chains-extended__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    padding: 2rem;
    background: rgba(6, 10, 18, 0.97);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.35s;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: center; }
  .pricing__grid, .pricing__offers { grid-template-columns: 1fr; }
}
