/* ══════════════════════════════════════
   Нейростудия — Global Styles
   Dark premium theme
   ══════════════════════════════════════ */

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

:root {
  --bg: #06060e;
  --accent: #a78bfa;
  --accent-bright: #c4b5fd;
  --glow: #7c3aed;
  --pink: #ec4899;
  --orange: #f97316;
  --text: #f0eef6;
  --text-dim: #9896a8;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(167, 139, 250, 0.12);
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  font-size: 17px;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-bright); }
img { max-width: 100%; height: auto; display: block; }

/* ── Animated Background ── */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.bg-orbs .orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.35;
  animation: float 20s ease-in-out infinite;
}

.orb--1 { width: 500px; height: 500px; background: radial-gradient(circle, #7c3aed, transparent 70%); top: -10%; left: -5%; }
.orb--2 { width: 400px; height: 400px; background: radial-gradient(circle, #ec4899, transparent 70%); bottom: -10%; right: -8%; animation-delay: -7s; }
.orb--3 { width: 300px; height: 300px; background: radial-gradient(circle, #3b82f6, transparent 70%); top: 40%; left: 60%; animation-delay: -14s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Noise ── */
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 200px;
}

/* ── Wrapper ── */
.wrapper {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  min-height: 100vh;
}

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ── Header / Nav ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,6,14,.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

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

.logo {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 0;
}

.logo span {
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--text-dim); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav-mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-dim); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px;
  font-size: 17px; font-weight: 600; border: none; cursor: pointer;
  font-family: 'Onest', sans-serif;
  transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #a855f7, #ec4899);
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover { box-shadow: 0 0 50px rgba(124, 58, 237, 0.45); color: #fff; }

.btn-outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--card-border);
}
.btn-outline:hover { background: var(--card-bg); color: var(--text); }

/* ── Hero ── */
.hero {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 100vh; min-height: 100dvh; width: 100%;
  gap: 28px; padding: 80px 24px 40px;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  background: var(--card-bg); border: 1px solid var(--card-border);
  font-size: 13px; font-weight: 500; color: var(--accent-bright);
  letter-spacing: 0.02em; backdrop-filter: blur(12px);
  animation: fadeDown .8s ease-out both;
}
.badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 8px #34d399;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero h1 {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(1.6rem, 7vw, 4.2rem); line-height: 1.1;
  letter-spacing: -0.02em; animation: fadeDown .8s ease-out .15s both;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #f97316 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero > .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem); line-height: 1.7;
  color: var(--text-dim); max-width: 520px; font-weight: 300;
  animation: fadeDown .8s ease-out .3s both;
}

/* ── Carousel ── */
.carousel-section {
  width: 100vw; overflow: hidden; padding: 8px 0 4px;
  animation: fadeDown .8s ease-out .4s both;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.carousel-track {
  display: flex; gap: 16px; width: max-content;
  animation: scroll 35s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-item {
  flex-shrink: 0; width: 210px; height: 290px;
  border-radius: 18px; overflow: hidden; position: relative;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.carousel-item:hover {
  transform: scale(1.05);
  border-color: rgba(167,139,250,.35);
  box-shadow: 0 8px 40px rgba(124,58,237,.2);
}
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.carousel-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,14,.45), transparent 40%);
  pointer-events: none;
}

.carousel-label {
  text-align: center; font-size: 13px; color: var(--text-dim);
  font-weight: 300; margin-top: 10px;
  animation: fadeDown .8s ease-out .48s both;
}

/* ── CTA Button ── */
.cta-wrap { animation: fadeDown .8s ease-out .55s both; margin-top: 8px; }

.cta {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 22px 52px; border: none; border-radius: 60px;
  background: linear-gradient(135deg, #7c3aed, #a855f7, #ec4899);
  color: #fff; font-family: 'Unbounded', sans-serif;
  font-weight: 600; font-size: clamp(1rem, 2.5vw, 1.15rem);
  text-decoration: none; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 0 40px rgba(124,58,237,.3), 0 0 80px rgba(124,58,237,.15);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.cta::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 60px rgba(124,58,237,.45), 0 0 120px rgba(236,72,153,.2);
  color: #fff;
}
.cta:hover::before { opacity: 1; }
.cta:active { transform: translateY(0) scale(.98); }
.cta svg { width: 24px; height: 24px; flex-shrink: 0; transition: transform .3s ease; }
.cta:hover svg { transform: translateX(3px); }
.cta::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* ── Feature Pills (hero) ── */
.hero-features {
  display: flex; gap: 32px; justify-content: center;
  margin-top: 6px; animation: fadeDown .8s ease-out .65s both;
}
.feature-pill {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-dim); font-weight: 400;
}
.feature-pill span { font-size: 18px; }

/* ── Sections ── */
.section { padding: 100px 0; width: 100%; }

.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 800;
  text-align: center; margin-bottom: 12px;
}

.section-subtitle {
  text-align: center; color: var(--text-dim); font-weight: 300;
  font-size: 1.05rem; margin-bottom: 48px;
}

/* ── Feature Cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 32px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  backdrop-filter: blur(8px);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167,139,250,.3);
  box-shadow: 0 8px 40px rgba(124,58,237,.12);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(167,139,250,.08); border: 1px solid rgba(167,139,250,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.feature-card h3 { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 14px; line-height: 1.65; font-weight: 300; }

/* ── Plans ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.plan-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  position: relative; transition: transform .3s, border-color .3s;
  backdrop-filter: blur(8px);
}
.plan-card:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.3); }

.plan-card--popular {
  border-color: rgba(167,139,250,.4);
  box-shadow: 0 0 40px rgba(124,58,237,.12);
}

.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 18px; border-radius: 50px;
  font-family: 'Unbounded', sans-serif;
}

.plan-card h3 {
  font-family: 'Unbounded', sans-serif; font-size: 18px;
  font-weight: 600; margin-bottom: 12px;
}

.plan-price {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px; font-weight: 800; margin-bottom: 4px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.plan-old-price {
  font-size: 18px; font-weight: 500; color: var(--text-dim);
  text-decoration: line-through; opacity: 0.5;
  display: none; margin-bottom: -2px;
}

.plan-period { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; font-weight: 300; }

.plan-features-list {
  list-style: none; text-align: left; margin-bottom: 28px;
}
.plan-features-list li {
  padding: 7px 0; font-size: 14px; color: var(--text-dim); font-weight: 400;
}
.plan-features-list li::before {
  content: '\2713'; color: var(--accent); font-weight: 700; margin-right: 10px;
}

.plan-btn {
  display: block; width: 100%; padding: 14px; border-radius: 50px;
  font-size: 15px; font-weight: 600; text-align: center;
  background: var(--card-bg); color: var(--accent);
  border: 1px solid var(--card-border);
  transition: background .2s, border-color .2s, transform .15s;
  font-family: 'Onest', sans-serif;
}
.plan-btn:hover {
  background: rgba(167,139,250,.08); border-color: var(--accent);
  transform: translateY(-2px); color: var(--accent);
}

.plan-btn--accent {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff; border-color: transparent;
  box-shadow: 0 0 24px rgba(124,58,237,.25);
}
.plan-btn--accent:hover {
  box-shadow: 0 0 40px rgba(124,58,237,.4);
  color: #fff;
}

/* ── Token Packs ── */
.tokens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 24px;
}

.token-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 24px; text-align: center;
  transition: border-color .2s, transform .2s;
}
.token-card:hover { border-color: rgba(167,139,250,.3); transform: translateY(-2px); }

.token-amount { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.token-old-price {
  font-size: 14px; color: var(--text-dim);
  text-decoration: line-through; opacity: 0.5;
  display: none;
}
.token-price { font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 700; color: var(--accent); }

/* ── CTA Section ── */
.section--cta { padding: 80px 0 100px; }

/* ── Footer ── */
.site-footer {
  width: 100%;
  background: rgba(0,0,0,.4);
  border-top: 1px solid var(--card-border);
  padding: 48px 0 32px;
  color: var(--text-dim);
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 32px;
}
.site-footer h4 { color: var(--text); margin-bottom: 16px; font-size: 16px; font-family: 'Unbounded', sans-serif; font-weight: 600; }
.site-footer p { font-size: 14px; line-height: 1.7; font-weight: 300; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-dim); font-size: 14px; font-weight: 400; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; font-size: 13px; text-align: center; font-weight: 300; }

/* OLD footer class compat */
.footer { composes: site-footer; }

/* ── Breadcrumbs ── */
.breadcrumbs { padding: 16px 0; font-size: 14px; color: var(--text-dim); }
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; }

/* ══════════════════════════════════════
   Articles List Page
   ══════════════════════════════════════ */

.articles-section { padding: 80px 0; width: 100%; }
.articles-section h1, .articles-section h2 {
  font-family: 'Unbounded', sans-serif;
  text-align: center; font-weight: 800; margin-bottom: 16px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  color: var(--text);
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167,139,250,.3);
  box-shadow: 0 8px 40px rgba(124,58,237,.12);
  color: var(--text);
}
.article-card-body { padding: 24px; }

.article-tag {
  display: inline-block;
  background: rgba(167,139,250,.08); color: var(--accent);
  border: 1px solid rgba(167,139,250,.2);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 12px;
}
.article-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; color: var(--text); }
.article-card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; font-weight: 300; }
.article-card-footer {
  padding: 16px 24px; border-top: 1px solid var(--card-border);
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-dim); font-weight: 300;
}

/* ══════════════════════════════════════
   Article Page
   ══════════════════════════════════════ */

.article-page { padding: 100px 0 80px; width: 100%; }

.article-header { text-align: center; margin-bottom: 40px; }
.article-header h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 800;
  line-height: 1.25; margin-bottom: 16px;
}
.article-meta {
  color: var(--text-dim); font-size: 14px; font-weight: 300;
  display: flex; justify-content: center; gap: 20px;
}

.article-hero-img {
  width: 100%; max-width: 780px; margin: 0 auto 40px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--card-border);
}
.article-hero-img img { width: 100%; height: auto; }

.article-content { max-width: 780px; margin: 0 auto; }
.article-content h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px; font-weight: 700; margin: 44px 0 16px;
}
.article-content h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px; font-weight: 600; margin: 36px 0 12px;
}
.article-content p { margin-bottom: 18px; color: var(--text); font-weight: 400; }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; color: var(--text); }
.article-content li { margin-bottom: 8px; }

.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px; margin: 24px 0;
  background: rgba(167,139,250,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text-dim);
}

.article-content .content-img {
  width: 100%; margin: 32px 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--card-border);
}
.article-content .content-img img { width: 100%; height: auto; }
.article-content .content-img figcaption {
  padding: 10px 16px; font-size: 13px; color: var(--text-dim);
  text-align: center; background: rgba(255,255,255,.02); font-weight: 300;
}

.article-cta {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 40px; text-align: center; margin-top: 48px;
}
.article-cta h3 { font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.article-cta p { color: var(--text-dim); margin-bottom: 20px; font-weight: 300; }

/* ── Modal ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  justify-content: center; align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: linear-gradient(160deg, #1a1630 0%, #12101f 100%);
  border: 1px solid rgba(167,139,250,.2);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 420px; width: 92%;
  box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 60px rgba(124,58,237,.1);
  animation: modalIn .35s cubic-bezier(.16,1,.3,1) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px; font-weight: 700;
  text-align: center; margin-bottom: 12px;
  color: var(--text);
}

.modal-card > p {
  color: var(--text-dim);
  font-size: 14px; text-align: center;
  margin-bottom: 28px; line-height: 1.7;
}

.modal-card input[type="email"] {
  width: 100%; padding: 15px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(167,139,250,.15);
  background: rgba(255,255,255,.03);
  color: var(--text); font-size: 15px;
  font-family: 'Onest', sans-serif;
  outline: none; margin-bottom: 16px;
  transition: border-color .2s, box-shadow .2s;
}

.modal-card input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(167,139,250,.12);
}

.modal-card input[type="email"]::placeholder {
  color: rgba(152,150,168,.5);
}

.modal-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 18px; cursor: pointer;
  font-size: 13px; color: var(--text-dim); line-height: 1.5;
}

.modal-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 2px; cursor: pointer;
  accent-color: var(--accent);
}

.modal-checkbox a {
  color: var(--accent); text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-checkbox a:hover { color: var(--accent-bright); }

.modal-card #modal-submit {
  width: 100%; padding: 15px;
  border-radius: 50px; border: none;
  background: linear-gradient(135deg, #7c3aed, #a855f7, #ec4899);
  color: #fff; font-family: 'Unbounded', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(124,58,237,.3);
  transition: transform .15s, box-shadow .2s;
}

.modal-card #modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(124,58,237,.45);
}

.modal-card #modal-submit:disabled {
  opacity: .6; cursor: default; transform: none;
}

.modal-cancel {
  width: 100%; padding: 13px;
  border-radius: 50px;
  border: 1px solid rgba(167,139,250,.12);
  background: transparent;
  color: var(--text-dim); font-size: 14px;
  cursor: pointer; margin-top: 10px;
  font-family: 'Onest', sans-serif;
  transition: border-color .2s, color .2s;
}

.modal-cancel:hover {
  border-color: rgba(167,139,250,.3);
  color: var(--text);
}

/* ── Animations ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(6,6,14,.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 20px; border-bottom: 1px solid var(--card-border);
  }
  .nav-mobile-toggle { display: block; }
  .hero { gap: 24px; padding: 80px 20px 36px; }
  .carousel-item { width: 180px; height: 250px; }
  .hero-features { gap: 24px; }
  .section { padding: 60px 0; }
  .articles-section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .articles-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .tokens-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .orb--1 { width: 280px; height: 280px; filter: blur(80px); }
  .orb--2 { width: 220px; height: 220px; filter: blur(80px); }
  .orb--3 { width: 180px; height: 180px; filter: blur(70px); }
  .hero { gap: 20px; padding: 72px 16px 28px; }
  .carousel-item { width: 140px; height: 195px; border-radius: 12px; }
  .carousel-track { gap: 10px; }
  .carousel-label { font-size: 11px; }
  .cta { padding: 16px 36px; font-size: .9rem; gap: 10px; }
  .cta svg { width: 20px; height: 20px; }
  .hero-features { flex-wrap: wrap; gap: 8px 20px; }
  .feature-pill { font-size: 12px; gap: 5px; }
  .feature-pill span { font-size: 15px; }
}

@media (max-width: 375px) {
  .hero > .subtitle { font-size: .82rem; }
  .carousel-item { width: 120px; height: 168px; border-radius: 10px; }
  .cta { padding: 14px 30px; font-size: .85rem; }
}

@supports (padding: env(safe-area-inset-top)) {
  .hero {
    padding-top: max(72px, calc(env(safe-area-inset-top) + 64px));
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
}
