/* =========================================================
   Quantrum Viral — styles.css
   Vanilla CSS · CSS Variables · Mobile First
   ========================================================= */

:root {
  /* Color */
  --bg-deep: #0B0C10;
  --bg-surface: #1F2833;
  --neon-primary: #45A29E;
  --neon-secondary: #66FCF1;
  --text-main: #C5C6C7;
  --text-bright: #FFFFFF;
  --danger: #FF4D6D;
  --ok: #66FCF1;

  /* Derived */
  --border-soft: rgba(102, 252, 241, 0.12);
  --border-active: rgba(102, 252, 241, 0.45);
  --surface-glass: rgba(31, 40, 51, 0.55);
  --glow-sm: 0 0 12px rgba(69, 162, 158, 0.35);
  --glow-md: 0 0 28px rgba(69, 162, 158, 0.45);
  --glow-lg: 0 0 60px rgba(102, 252, 241, 0.35);

  /* Typography */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --space: clamp(1rem, 2.5vw, 1.5rem);
}

/* ===================== Reset ===================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 2px solid var(--neon-secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--neon-primary); color: var(--bg-deep); }

/* ===================== Helpers ===================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space);
}

.container--narrow { max-width: 780px; }

.accent { color: var(--neon-secondary); }

.text-neon {
  color: var(--neon-secondary);
  text-shadow: 0 0 24px rgba(102, 252, 241, 0.45);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-secondary);
  margin-bottom: 0.75rem;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.btn--primary {
  background: linear-gradient(135deg, var(--neon-primary), #2f7c78);
  color: #04100f;
  box-shadow: var(--glow-sm);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--neon-secondary), var(--neon-primary));
  box-shadow: var(--glow-lg);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(102, 252, 241, 0.04);
  color: var(--text-bright);
  border: 1px solid var(--border-active);
}

.btn--ghost:hover {
  border-color: var(--neon-secondary);
  color: var(--neon-secondary);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

.btn--lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ===================== Nav ===================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 12, 16, 0.72);
  border-bottom: 1px solid var(--border-soft);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.nav__brand { display: flex; align-items: center; gap: 0.6rem; }

.nav__logo {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--neon-secondary), var(--neon-primary));
  box-shadow: var(--glow-sm);
}

.nav__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-bright);
  letter-spacing: -0.01em;
}

.nav__links { display: none; gap: 1.6rem; }

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.nav__links a:hover { color: var(--neon-secondary); }

.nav__cta { display: none; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(102, 252, 241, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 252, 241, 0.6) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.05;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero__glow {
  position: absolute;
  width: 60vmax; height: 60vmax;
  top: -20vmax; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(69, 162, 158, 0.22), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--surface-glass);
  color: var(--text-main);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.6rem;
}

.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-secondary);
  box-shadow: 0 0 10px var(--neon-secondary);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(2.1rem, 7vw, 4.1rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.3vw, 1.28rem);
  font-weight: 400;
  color: var(--text-main);
  max-width: 720px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}

.hero__subtitle strong { color: var(--text-bright); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  max-width: 620px;
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.8rem;
}

.hero__stats li { display: flex; flex-direction: column; gap: 0.15rem; }

.hero__stats strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--neon-secondary);
}

.hero__stats span { font-size: 0.78rem; color: var(--text-main); }

/* ===================== Sections ===================== */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.section--surface {
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(69, 162, 158, 0.08), transparent 70%),
    var(--bg-deep);
  border-block: 1px solid var(--border-soft);
}

.section__head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }

.section__title {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.section__lead { color: var(--text-main); font-size: 1.05rem; }

/* ===================== Cards (generic) ===================== */
.card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover { transform: translateY(-4px); }

.card--problem { border-left: 3px solid var(--danger); }
.card--problem:hover { box-shadow: 0 0 30px rgba(255, 77, 109, 0.25); }

.card--solution { border-left: 3px solid var(--neon-secondary); }
.card--solution:hover { box-shadow: var(--glow-md); }

.card__title { margin-bottom: 0.9rem; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.badge--danger { color: var(--danger); border: 1px solid rgba(255, 77, 109, 0.45); }
.badge--ok { color: var(--neon-secondary); border: 1px solid var(--border-active); }

/* Duo layout */
.duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.steps__item {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(31, 40, 51, 0.6), rgba(11, 12, 16, 0.4));
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.steps__item:hover { border-color: var(--border-active); box-shadow: var(--glow-sm); transform: translateY(-4px); }

.steps__num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--neon-secondary);
  margin-bottom: 0.6rem;
}

.steps__item h4 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.steps__item p { font-size: 0.92rem; }

/* ===================== Pricing ===================== */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 4vw, 2.2rem);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(31, 40, 51, 0.75), rgba(11, 12, 16, 0.65));
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--glow-md);
}

.price-card--featured {
  border-color: var(--neon-primary);
  box-shadow: var(--glow-md);
  background: linear-gradient(180deg, rgba(69, 162, 158, 0.16), rgba(11, 12, 16, 0.75));
}

.price-card--featured:hover { box-shadow: var(--glow-lg); }

.price-card__badge {
  position: absolute;
  top: -0.75rem;
  left: clamp(1.6rem, 4vw, 2.2rem);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  color: var(--neon-secondary);
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
}

.price-card__badge--featured {
  color: #04100f;
  background: linear-gradient(135deg, var(--neon-secondary), var(--neon-primary));
  border-color: transparent;
  box-shadow: var(--glow-sm);
}

.price-card__name { font-size: 1.35rem; margin-bottom: 0.5rem; }

.price-card__desc { font-size: 0.92rem; min-height: 2.6em; margin-bottom: 1.2rem; }

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}

.price-card__price .amount {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
}

.price-card__price .currency {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--neon-secondary);
}

.price-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.price-card__features li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
}

.price-card__features li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--neon-secondary);
}

.price-card__cta { width: 100%; }

.price-card__note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-main);
  text-align: center;
}

.spots { color: var(--neon-secondary); font-weight: 600; }

/* ===================== Payments ===================== */
.pay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.pay-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-glass);
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pay-card:hover { border-color: var(--border-active); box-shadow: var(--glow-sm); transform: translateY(-4px); }

.pay-card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-secondary);
  background: rgba(69, 162, 158, 0.12);
  border: 1px solid var(--border-soft);
}

.pay-card__icon--binance { color: #F0B90B; }

.pay-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pay-card p { font-size: 0.9rem; }

.pay-flow {
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(31, 40, 51, 0.75), rgba(11, 12, 16, 0.5));
}

.pay-flow h3 { margin-bottom: 1rem; font-size: 1.1rem; }

.pay-flow ol {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pay-flow li {
  position: relative;
  padding-left: 2.2rem;
  font-size: 0.92rem;
}

.pay-flow li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: var(--neon-primary);
}

/* ===================== FAQ ===================== */
.faq { display: flex; flex-direction: column; gap: 0.9rem; }

.faq__item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq__item[open] { border-color: var(--border-active); box-shadow: var(--glow-sm); }

.faq__item summary {
  position: relative;
  padding: 1.15rem 3rem 1.15rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-bright);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--neon-secondary);
  transition: transform 0.25s ease;
}

.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq__body {
  padding: 0 1.3rem 1.3rem;
  font-size: 0.94rem;
  color: var(--text-main);
  border-top: 1px solid var(--border-soft);
  margin-top: -1px;
  padding-top: 1rem;
  animation: fadeIn 0.3s ease;
}

/* ===================== CTA band ===================== */
.cta-band { padding: clamp(4rem, 9vw, 6rem) 0; }

.cta-band__inner {
  text-align: center;
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.4rem, 4vw, 3rem);
  border-radius: var(--radius);
  border: 1px solid var(--border-active);
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(69, 162, 158, 0.2), transparent 70%),
    var(--bg-surface);
  box-shadow: var(--glow-md);
}

.cta-band h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin-bottom: 0.8rem; }
.cta-band p { margin-bottom: 1.8rem; color: var(--text-main); }

/* ===================== Footer ===================== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-deep);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer__legal { font-size: 0.8rem; color: rgba(197, 198, 199, 0.7); max-width: 620px; }

/* ===================== Modal ===================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 8, 0.75);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.25s ease;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.6rem, 5vw, 2.4rem);
  border-radius: var(--radius);
  border: 1px solid var(--border-active);
  background: linear-gradient(180deg, rgba(31, 40, 51, 0.98), rgba(11, 12, 16, 0.98));
  box-shadow: var(--glow-lg);
  animation: popIn 0.28s ease;
}

.modal__close {
  position: absolute;
  top: 0.6rem; right: 0.9rem;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-main);
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal__close:hover { color: var(--neon-secondary); transform: rotate(90deg); }

.modal__title { font-size: 1.5rem; margin-bottom: 0.6rem; }

.modal__summary {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text-bright);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(69, 162, 158, 0.12);
  border: 1px solid var(--border-soft);
  margin-bottom: 1.1rem;
}

.modal__summary strong { color: var(--neon-secondary); }

.modal__hint { font-size: 0.9rem; margin-bottom: 1.1rem; }

.modal__actions { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1rem; }

.modal__actions .btn { width: 100%; }

.modal__fine { font-size: 0.76rem; color: rgba(197, 198, 199, 0.7); text-align: center; }

/* ===================== Animations ===================== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Scroll reveal (IntersectionObserver adds .visible) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Media queries ===================== */
@media (min-width: 640px) {
  .modal__actions { flex-direction: row; }
  .modal__actions .btn { width: auto; flex: 1; }
}

@media (min-width: 768px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pay-grid { grid-template-columns: repeat(3, 1fr); }
  .ladder { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .price-card--featured { transform: scale(1.04); }
  .price-card--featured:hover { transform: scale(1.04) translateY(-6px); }
}

@media (min-width: 1024px) {
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer__legal { text-align: right; }
}

/* ===================== Pricing note ===================== */
.pricing__note {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(197, 198, 199, 0.85);
}

.pricing__note strong { color: var(--neon-secondary); }

/* ===================== Círculo / Ladder ===================== */
.ladder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: none;
}

.ladder__item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--surface-glass);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ladder__item:hover { transform: translateY(-4px); border-color: var(--border-active); box-shadow: var(--glow-sm); }

.ladder__item--hit {
  border-color: var(--neon-primary);
  background: linear-gradient(180deg, rgba(69, 162, 158, 0.16), rgba(11, 12, 16, 0.5));
  box-shadow: var(--glow-sm);
}

.ladder__n {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  padding: 0 0.5rem;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--neon-secondary), var(--neon-primary));
}

.ladder__item div h4 { font-size: 1.05rem; margin-bottom: 0.15rem; color: var(--neon-secondary); }
.ladder__item div p { font-size: 0.88rem; }

.gratis {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--neon-secondary), var(--neon-primary));
  box-shadow: var(--glow-sm);
  vertical-align: middle;
}

.ladder__fine {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: rgba(197, 198, 199, 0.8);
  border-left: 2px solid var(--border-active);
  padding-left: 1rem;
}

/* ===================== Form fields ===================== */
.field { display: block; margin-bottom: 1rem; }

.field__label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-bright);
  background: rgba(11, 12, 16, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(197, 198, 199, 0.45); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--neon-secondary);
  box-shadow: 0 0 0 3px rgba(102, 252, 241, 0.14);
}

.field input:invalid:not(:placeholder-shown) { border-color: var(--danger); }

.field__hint { display: block; margin-top: 0.35rem; font-size: 0.76rem; color: rgba(197, 198, 199, 0.7); }

.modal__submit { width: 100%; margin-top: 0.4rem; }

/* ===================== Order / payment box ===================== */
.order-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-active);
  background: rgba(102, 252, 241, 0.06);
  font-size: 0.9rem;
}

.order-code strong {
  font-family: var(--font-head);
  color: var(--neon-secondary);
  letter-spacing: 0.06em;
}

.pay-box {
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(11, 12, 16, 0.6);
  font-size: 0.9rem;
}

.pay-box__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.pay-box__row:last-child { border-bottom: none; }

.pay-box__row span { color: rgba(197, 198, 199, 0.85); }

.pay-box__row strong {
  color: var(--text-bright);
  font-family: var(--font-head);
  text-align: right;
  word-break: break-all;
}

.pay-box__amount { color: var(--neon-secondary) !important; font-size: 1.05rem; }

.pay-box__credit {
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.72rem;
  color: rgba(197, 198, 199, 0.6);
  text-align: center;
}

/* ===================== Proof / confirm payment ===================== */
.proof {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-soft);
}

.proof input[type="file"] {
  width: 100%;
  font-size: 0.82rem;
  color: var(--text-main);
}

.proof input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border-active);
  border-radius: 999px;
  background: rgba(102, 252, 241, 0.06);
  color: var(--neon-secondary);
  font-family: var(--font-head);
  font-weight: 500;
  cursor: pointer;
}

.proof input[type="file"]::file-selector-button:hover { border-color: var(--neon-secondary); }

.proof__status { margin-top: 0.7rem; font-size: 0.82rem; color: var(--neon-secondary); }

/* ===================== Invite / referral share ===================== */
.ref-share {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-active);
  background: rgba(102, 252, 241, 0.05);
}

.ref-share__title {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--neon-secondary);
}

.ref-share__text { font-size: 0.82rem; margin-bottom: 0.8rem; color: var(--text-main); }

.ref-share__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.ref-share__code strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--text-bright);
}

.ref-share__code .btn { padding: 0.5rem 1rem; font-size: 0.82rem; }

/* ===================== Footer links ===================== */
.footer__links { display: flex; gap: 1.2rem; font-size: 0.85rem; }
.footer__links a { color: var(--text-main); transition: color 0.2s ease; }
.footer__links a:hover { color: var(--neon-secondary); }

/* ===================== Legal pages ===================== */
.legal { padding: clamp(7rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem); }

.legal h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 0.4rem; }

.legal h2 {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  margin: 2rem 0 0.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-soft);
}

.legal p, .legal li { font-size: 0.96rem; color: var(--text-main); }

.legal p { margin-bottom: 0.9rem; }

.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; }

.legal strong { color: var(--text-bright); }

.legal__updated { font-size: 0.82rem; color: rgba(197, 198, 199, 0.7); margin-bottom: 1.5rem; }

.legal__back { margin-top: 2.5rem; }

/* ===================== Admin panel ===================== */
.panel { padding: clamp(6rem, 10vw, 8rem) 0 4rem; }

.panel__login { max-width: 420px; margin-inline: auto; }

.panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat {
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--surface-glass);
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--neon-secondary);
}

.stat span { font-size: 0.8rem; color: var(--text-main); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(11, 12, 16, 0.5);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 860px;
}

.orders-table th,
.orders-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.orders-table th {
  font-family: var(--font-head);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-secondary);
  background: rgba(69, 162, 158, 0.08);
  position: sticky;
  top: 0;
}

.orders-table tbody tr:hover { background: rgba(102, 252, 241, 0.04); }

.orders-table .mono { font-family: var(--font-head); color: var(--neon-secondary); white-space: nowrap; }
.orders-table .nowrap { white-space: nowrap; }
.orders-table a { color: var(--neon-secondary); text-decoration: underline; }

.table-empty { text-align: center; color: var(--text-main); padding: 2rem !important; }

.status-select {
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-bright);
  background: rgba(11, 12, 16, 0.8);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

/* ===================== Accessibility ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
