/* NetQuiet — тёмная неоновая тема, glassmorphism */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --container: 1100px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: clamp(1.5rem, 2.5vw, 2rem);

  /* Дизайн из landing/src (Figma): theme.css */
  --bg: #0a0118;
  --bg-deep: #060610;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-solid: rgba(255, 255, 255, 0.08);
  --bg-muted: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(124, 58, 237, 0.4);
  --border-focus: rgba(124, 58, 237, 0.5);
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  --accent: #7c3aed;
  --accent-hover: #8b5cf6;
  --accent-purple: #7c3aed;
  --accent-soft: rgba(124, 58, 237, 0.2);
  --primary: #7c3aed;
  --secondary: #2563eb;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --blur: 12px;
  --blur-lg: 24px;
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);
  --shadow-glow-purple: 0 4px 24px rgba(124, 58, 237, 0.35);
  --gradient-primary: linear-gradient(90deg, #7c3aed 0%, #2563eb 100%);
  --gradient-primary-hover: linear-gradient(90deg, #8b5cf6 0%, #3b82f6 100%);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Фоновые орбы только на главной (в .nq-orbs) */

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

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

button, input, select, textarea {
  font: inherit;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* Layout */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .wrap { padding: 0 var(--space-4); }
}

/* Topbar — как Navbar.tsx: fixed, backdrop-blur */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 1, 24, 0.5);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 64px;
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.topbar__brand:hover {
  color: var(--accent);
}

.topbar__brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.topbar__link {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.topbar__link:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.topbar__logout-form {
  display: inline-block;
  margin: 0;
}

.topbar__drawer-logout {
  margin: 0;
}

.topbar__drawer-logout-btn {
  display: block;
  width: 100%;
  padding: var(--space-4);
  text-align: left;
  font: inherit;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.topbar__drawer-logout-btn:hover {
  background: var(--bg-muted);
  color: var(--accent);
}

.topbar__lang {
  display: inline-flex;
  padding: 2px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.topbar__lang a {
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
}

.topbar__lang a.is-active {
  background: var(--bg-card-solid);
  color: var(--accent);
  border: 1px solid var(--border-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35);
}

.btn--primary:hover {
  background: var(--gradient-primary-hover);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.45);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn--ghost:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.btn--sm {
  min-height: 36px;
  padding: 0 var(--space-4);
  font-size: var(--text-xs);
}

.btn--lg {
  min-height: 52px;
  padding: 0 var(--space-8);
  font-size: var(--text-base);
}

/* Footer */
.footer {
  margin-top: var(--space-24);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-8);
}

@media (max-width: 767px) {
  .footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: "brand brand" "product legal";
    gap: var(--space-6) var(--space-8);
  }
  .footer__brand {
    grid-area: brand;
    max-width: none;
    margin-bottom: var(--space-4);
    text-align: center;
  }
  .footer__brand .footer__logo {
    justify-content: center;
  }
  .footer__col--product {
    grid-area: product;
  }
  .footer__col--legal {
    grid-area: legal;
  }
}

@media (min-width: 768px) {
  .footer__brand {
    max-width: 240px;
  }
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}

.footer__logo:hover {
  color: var(--text);
}

.footer__logo img {
  width: 32px;
  height: 32px;
}

.footer__desc {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.footer__col {
  min-width: 0;
}

.footer__heading {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: var(--space-3);
}

.footer__list a {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer__list a:hover {
  color: var(--text);
}

.footer__support {
  margin: 0 0 var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__legal {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.main {
  min-height: 100vh;
  padding-top: 72px;
  position: relative;
  z-index: 1;
}

/* Hero — двухколоночный layout как в макете */
.hero {
  padding: var(--space-20) var(--space-6);
  text-align: left;
}

.hero__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__content {
  min-width: 0;
}

.hero__title {
  margin: 0;
  font-size: clamp(1.875rem, 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero__sub {
  margin: var(--space-5) 0 0;
  max-width: 42ch;
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* Правая колонка hero: Live Status Card как в Home.tsx */
.hero__live {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  min-width: 0;
}

.hero__live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  gap: var(--space-2);
}

.hero__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.6; }
}

.hero__live-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.hero__live-count {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.hero__live-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero__live-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: var(--text-sm);
  gap: var(--space-3);
}

.hero__live-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.hero__live-badge--ok {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.hero__live-badge--warn {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.hero__live-badge--err {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Sections */
.section {
  padding: var(--space-20) 0;
}

.section--card {
  background: var(--bg-card);
}

.section__title {
  margin: 0;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.02em;
}

.section__sub {
  margin: var(--space-4) auto 0;
  max-width: 44ch;
  font-size: var(--text-base);
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

.section__inner {
  margin-top: var(--space-12);
}

/* Cards — glass */
.card {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition: background var(--transition), border-color var(--transition);
}

.card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.card__title {
  margin: 0 0 var(--space-3);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.card__desc {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Plan cards */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.plan-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.plan-card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.3);
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .plan-card--featured {
    transform: scale(1.05);
  }
}

.plan-card--featured:hover {
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.4);
}

.plan-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.plan-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.plan-card__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.plan-card__price small {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
}

.plan-card__summary {
  margin: 0 0 var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.plan-card__list {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  width: 100%;
  text-align: left;
}

.plan-card__list li {
  padding: 4px 0;
  padding-left: 1.2em;
  position: relative;
}

.plan-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.plan-card__btn {
  width: 100%;
  margin-bottom: var(--space-3);
}

.plan-card__refund {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.plan-card__refund a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.step-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.step-card__num {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-5);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-card__title {
  margin: 0 0 var(--space-2);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.step-card__text {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Downloads preview */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-4);
  max-width: 700px;
  margin: 0 auto;
}

.dl-item {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.dl-item:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.dl-item__name {
  font-weight: 600;
  color: var(--text);
  display: block;
}

.dl-item__meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

.dl-item__badge {
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
}

.dl-item__badge--ok { color: var(--success); }
.dl-item__badge--soon { color: var(--warning); }

/* Status preview */
.status-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.status-chip__name { font-weight: 600; color: var(--text); }
.status-chip__label { font-size: var(--text-xs); font-weight: 600; }
.status-chip--ok .status-chip__label { color: var(--success); }
.status-chip--warn .status-chip__label { color: var(--warning); }
.status-chip--err .status-chip__label { color: var(--danger); }

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  display: block;
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary:hover {
  background: var(--bg-muted);
}

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

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA box */
.cta-box {
  max-width: 520px;
  margin: 0 auto;
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  text-align: center;
  box-shadow: var(--shadow-glow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.cta-box__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.cta-box__sub {
  margin: var(--space-4) 0 var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
}

/* Legal cards */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  display: block;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.legal-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.legal-card__title {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.legal-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.section__note {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

.section__note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* Auth pages */
.page--auth .main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-4);
}

.auth-page {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.auth-card {
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 0 40px rgba(0, 212, 255, 0.08);
}

.auth-card__title {
  margin: 0 0 var(--space-2);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.auth-card__sub {
  margin: 0 0 var(--space-6);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.5;
}

.auth-card__footer {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.auth-card__footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form */
.field {
  margin-top: var(--space-5);
}

.field:first-of-type {
  margin-top: var(--space-6);
}

.field label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: var(--text-base);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.input::placeholder {
  color: var(--text-muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.errorlist {
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  color: var(--danger);
}

.form-success {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
  font-size: var(--text-sm);
}

.tele-widget {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.tele-widget-label {
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.btn--telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: #229ED9;
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  transition: background var(--transition);
}
.btn--telegram:hover {
  background: #1c8cc7;
  color: #fff;
}

.tele-app-link {
  margin-top: var(--space-3);
}

.tele-app-btn {
  color: var(--accent);
}

.stub-note {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: var(--warning);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Page content (status, downloads, dashboard) */
.page-content {
  padding: var(--space-16) 0 var(--space-20);
}

.page-title {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
}

.page-sub {
  margin: 0 0 var(--space-8);
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.5;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.content-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  margin-bottom: var(--space-8);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.content-card__heading {
  margin: 0 0 var(--space-3);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.content-card__sub {
  margin: 0 0 var(--space-6);
  font-size: var(--text-base);
  color: var(--text-muted);
}

.content-card__subheading {
  margin: var(--space-8) 0 var(--space-4);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.list-main {
  flex: 1;
  min-width: 0;
}

.list-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  flex-shrink: 0;
}

.list-meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 2px;
}

.list-empty {
  padding: var(--space-5) 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.pill.ok { color: var(--success); }
.pill.warn { color: var(--warning); }
.pill.error { color: var(--danger); }

.status-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.status-tag.active {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.status-tag.pending {
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.4);
}
.status-tag.error,
.status-tag.expired,
.status-tag.cancelled {
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.4);
}

.location-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.location-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-muted);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.location-item:last-child {
  margin-bottom: 0;
}

.location-name {
  font-weight: 600;
  color: var(--text);
}

.location-code {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-left: 6px;
  font-family: ui-monospace, monospace;
}

.kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.kpi-box {
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  min-width: 120px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.kpi-box__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
}

.kpi-box__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-muted);
  margin-bottom: var(--space-3);
}

.platform-item:last-child {
  margin-bottom: 0;
}

.downloads-note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.dashboard-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

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

.inline-form {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.inline-form select {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: var(--text-sm);
}

.form-block {
  margin-top: var(--space-4);
}

.content-card .form-block > .btn {
  width: 100%;
  margin-top: var(--space-6);
}

.legal-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.legal-body {
  margin-top: var(--space-8);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-body h2 {
  margin: var(--space-8) 0 var(--space-4);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.legal-body p,
.legal-body ul {
  margin: 0 0 var(--space-5);
}

.legal-body ul {
  padding-left: var(--space-6);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  padding: 0 var(--space-2);
  overflow: hidden;
  text-overflow: ellipsis;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin: var(--space-3) 0 0;
  line-height: 1.5;
}

.small {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Mobile: topbar burger */
.topbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  color: var(--text);
}

.topbar__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  margin: 0 auto;
}

.topbar__drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 18, 0.98);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
}

.topbar__drawer[aria-hidden="false"] {
  display: block;
}

.topbar__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.topbar__drawer-nav a {
  display: block;
  padding: var(--space-4);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text-secondary);
}

.topbar__drawer-nav a:hover {
  background: var(--bg-muted);
  color: var(--accent);
}

@media (max-width: 880px) {
  .topbar__nav {
    display: none;
  }
  .topbar__actions .btn {
    display: none;
  }
  .topbar__burger {
    display: flex;
  }
}

@media (min-width: 881px) {
  .topbar__drawer {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .hero__row {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .hero__live {
    order: -1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-12) var(--space-4);
  }
  .section {
    padding: var(--space-12) 0;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .plan-card--featured {
    transform: none;
  }
  .form-actions .btn {
    width: 100%;
  }
  .page-actions .btn {
    width: 100%;
  }
}

.btn:focus-visible,
.input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========== Главная 1:1 с landing/src Home.tsx ========== */
.nq-page { position: relative; min-height: 100vh; overflow: hidden; }
.nq-content { position: relative; z-index: 1; }

.nq-orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.nq-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.3;
}
.nq-orb--1 { top: 0; left: -10rem; width: 16rem; height: 16rem; background: #9333ea; }
.nq-orb--2 { top: 10rem; right: 0; width: 16rem; height: 16rem; background: #2563eb; }
.nq-orb--3 { bottom: 0; left: 50%; transform: translateX(-50%); width: 16rem; height: 16rem; background: #7c3aed; }
@media (min-width: 768px) {
  .nq-orb--1, .nq-orb--2, .nq-orb--3 { width: 24rem; height: 24rem; }
}

.nq-container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .nq-container { padding: 0 1.5rem; } }

/* Hero: отступ от верха = pt-24 (6rem) / md:pt-32 (8rem), main уже даёт 72px */
.nq-hero {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .nq-hero { padding-top: 3.5rem; padding-bottom: 5rem; }
}

.nq-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .nq-hero__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.nq-hero__title {
  margin: 0 0 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.nq-hero__title-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .nq-hero__title-line {
    white-space: normal;
  }
}
@media (min-width: 640px) { .nq-hero__title { font-size: 2.25rem; } }
@media (min-width: 768px) { .nq-hero__title { font-size: 3rem; margin-bottom: 1.5rem; } }
@media (min-width: 1024px) { .nq-hero__title { font-size: 3.75rem; } }

.nq-hero__sub {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.6);
}
@media (min-width: 640px) { .nq-hero__sub { font-size: 1.125rem; } }
@media (min-width: 768px) { .nq-hero__sub { font-size: 1.25rem; margin-bottom: 2rem; } }

.nq-hero__cta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (min-width: 640px) { .nq-hero__cta { flex-direction: row; gap: 1rem; } }

@media (max-width: 767px) {
  .nq-hero__left {
    text-align: center;
  }
  .nq-hero__cta {
    align-items: center;
  }
}

.nq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.2s;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
}
.nq-btn--primary {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(90deg, #9333ea 0%, #2563eb 100%);
  color: #fff;
  border: none;
}
@media (min-width: 768px) { .nq-btn--primary { padding: 1rem 2rem; } }
.nq-btn--primary:hover { box-shadow: 0 10px 40px rgba(147, 51, 234, 0.5); }
.nq-btn--outline {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (min-width: 768px) { .nq-btn--outline { padding: 1rem 2rem; } }
.nq-btn--outline:hover { background: rgba(255, 255, 255, 0.2); }

/* Live card */
.nq-live-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) { .nq-live-card { padding: 2rem; border-radius: 1.5rem; } }

.nq-live-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .nq-live-card__head { margin-bottom: 1.5rem; } }

.nq-live-card__label-wrap { display: flex; align-items: center; gap: 0.5rem; }
.nq-live-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: nq-pulse 2s ease-in-out infinite;
}
@media (min-width: 768px) { .nq-live-card__dot { width: 12px; height: 12px; } }
@keyframes nq-pulse { 50% { opacity: 0.6; } }
.nq-live-card__label { font-size: 0.75rem; font-weight: 600; color: #fff; }
@media (min-width: 768px) { .nq-live-card__label { font-size: 0.875rem; } }
.nq-live-card__count { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 768px) { .nq-live-card__count { font-size: 0.875rem; } }

.nq-live-card__list { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 768px) { .nq-live-card__list { gap: 0.75rem; } }

.nq-live-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  gap: 0.75rem;
}
@media (min-width: 768px) { .nq-live-row { padding: 1rem; border-radius: 1rem; } }
.nq-live-row__name { font-size: 0.875rem; font-weight: 500; color: #fff; }
@media (min-width: 768px) { .nq-live-row__name { font-size: 1rem; } }
.nq-live-row__badge {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 9999px;
  font-weight: 600;
  flex-shrink: 0;
}
@media (min-width: 768px) { .nq-live-row__badge { padding: 6px 12px; } }
.nq-live-row__badge--on { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.nq-live-row__badge--maint { background: rgba(234, 179, 8, 0.2); color: #eab308; }

/* Section */
.nq-section { padding: 3rem 1rem; }
@media (min-width: 768px) { .nq-section { padding: 5rem 1.5rem; } }
.nq-section--card { background: transparent; }

.nq-section__title {
  margin: 0 0 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
@media (min-width: 640px) { .nq-section__title { font-size: 1.875rem; } }
@media (min-width: 768px) { .nq-section__title { font-size: 2.25rem; margin-bottom: 4rem; } }

/* Features */
.nq-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .nq-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .nq-feature-grid { grid-template-columns: repeat(4, 1fr); } }

.nq-feature-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.2s;
}
@media (min-width: 768px) { .nq-feature-card { padding: 2rem; border-radius: 1.5rem; } }
.nq-feature-card:hover { background: rgba(255, 255, 255, 0.1); }

.nq-feature-card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nq-feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 768px) { .nq-feature-card__icon { width: 3.5rem; height: 3.5rem; margin-bottom: 1.5rem; border-radius: 1rem; } }

.nq-feature-card__title { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 700; color: #fff; }
@media (min-width: 768px) { .nq-feature-card__title { font-size: 1.25rem; margin-bottom: 0.75rem; } }
.nq-feature-card__desc { margin: 0; font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) { .nq-feature-card__desc { font-size: 1rem; } }

/* Pricing */
.nq-pricing-header { text-align: center; margin-bottom: 2rem; }
@media (min-width: 768px) { .nq-pricing-header { margin-bottom: 4rem; } }
.nq-pricing-header .nq-section__title { margin-bottom: 0.75rem; }
@media (min-width: 768px) { .nq-pricing-header .nq-section__title { margin-bottom: 1rem; } }
.nq-pricing-sub { margin: 0; font-size: 1rem; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 640px) { .nq-pricing-sub { font-size: 1.125rem; } }
@media (min-width: 768px) { .nq-pricing-sub { font-size: 1.25rem; } }

.nq-pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .nq-pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

.nq-plan-card {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.2s;
}
@media (min-width: 768px) { .nq-plan-card { padding: 2rem; border-radius: 1.5rem; } }
.nq-plan-card:hover { background: rgba(255, 255, 255, 0.1); }
.nq-plan-card--popular {
  border-color: #a855f7;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.3);
}
@media (min-width: 768px) { .nq-plan-card--popular { transform: scale(1.05); } }

.nq-plan-card__badge-wrap {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 768px) { .nq-plan-card__badge-wrap { top: -1rem; } }
.nq-plan-card__badge {
  display: inline-block;
  padding: 6px 1rem;
  background: linear-gradient(90deg, #9333ea 0%, #db2777 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) { .nq-plan-card__badge { padding: 8px 1.25rem; font-size: 0.875rem; } }

.nq-plan-card__top { margin-bottom: 1.5rem; }
@media (min-width: 768px) { .nq-plan-card__top { margin-bottom: 2rem; } }
.nq-plan-card__name { margin: 0 0 0.5rem; font-size: 1.25rem; font-weight: 700; color: #fff; }
@media (min-width: 768px) { .nq-plan-card__name { font-size: 1.5rem; } }
.nq-plan-card__price-wrap { display: flex; align-items: baseline; gap: 0.5rem; }
.nq-plan-card__price { font-size: 1.875rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .nq-plan-card__price { font-size: 2.25rem; } }
@media (min-width: 768px) { .nq-plan-card__price { font-size: 3rem; } }
.nq-plan-card__period { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 768px) { .nq-plan-card__period { font-size: 1rem; } }

.nq-plan-card__list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
@media (min-width: 768px) { .nq-plan-card__list { margin-bottom: 2rem; } }
.nq-plan-card__li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 768px) { .nq-plan-card__li { gap: 0.75rem; margin-bottom: 1rem; font-size: 1rem; } }
.nq-plan-card__li:last-child { margin-bottom: 0; }
.nq-plan-card__check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234ade80'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}
@media (min-width: 768px) { .nq-plan-card__check { width: 1.25rem; height: 1.25rem; } }

.nq-plan-card__btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .nq-plan-card__btn { padding: 1rem 1.5rem; font-size: 1rem; } }
.nq-plan-card__btn--primary {
  background: linear-gradient(90deg, #9333ea 0%, #2563eb 100%);
  color: #fff;
  border: none;
}
.nq-plan-card__btn--primary:hover { box-shadow: 0 10px 40px rgba(147, 51, 234, 0.5); }
.nq-plan-card__btn--outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nq-plan-card__btn--outline:hover { background: rgba(255, 255, 255, 0.2); }

.nq-plan-card__refund { margin-top: 0.75rem; text-align: center; }
@media (min-width: 768px) { .nq-plan-card__refund { margin-top: 1rem; } }
.nq-plan-card__refund a { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); text-decoration: underline; }
.nq-plan-card__refund a:hover { color: rgba(255, 255, 255, 0.8); }

.nq-pricing-legal {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 0 1rem;
}
@media (min-width: 768px) { .nq-pricing-legal { margin-top: 2rem; font-size: 0.875rem; } }
.nq-pricing-legal a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; }

/* Steps */
.nq-steps-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .nq-steps-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.nq-step-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}
@media (min-width: 768px) { .nq-step-card { padding: 2rem; border-radius: 1.5rem; } }

.nq-step-card__num {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #9333ea 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) { .nq-step-card__num { font-size: 3.75rem; margin-bottom: 1.5rem; } }
.nq-step-card__title { margin: 0 0 0.75rem; font-size: 1.25rem; font-weight: 700; color: #fff; }
@media (min-width: 768px) { .nq-step-card__title { font-size: 1.5rem; margin-bottom: 1rem; } }
.nq-step-card__desc { margin: 0; font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) { .nq-step-card__desc { font-size: 1rem; } }

/* Legal */
.nq-legal-header { text-align: center; margin-bottom: 2rem; }
@media (min-width: 768px) { .nq-legal-header { margin-bottom: 3rem; } }
.nq-legal-header .nq-section__title { margin-bottom: 0.75rem; }
@media (min-width: 768px) { .nq-legal-header .nq-section__title { margin-bottom: 1rem; } }
.nq-legal-sub { margin: 0; font-size: 1rem; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 768px) { .nq-legal-sub { font-size: 1.125rem; } }

.nq-legal-grid {
  display: grid;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .nq-legal-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.nq-legal-card {
  display: block;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}
@media (min-width: 768px) { .nq-legal-card { padding: 2rem; border-radius: 1.5rem; } }
.nq-legal-card:hover { background: rgba(255, 255, 255, 0.1); border-color: #a855f7; }
.nq-legal-card__title { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 700; color: #fff; }
@media (min-width: 768px) { .nq-legal-card__title { font-size: 1.25rem; margin-bottom: 0.75rem; } }
.nq-legal-card:hover .nq-legal-card__title { color: #c4b5fd; }
.nq-legal-card__desc { margin: 0 0 0.75rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) { .nq-legal-card__desc { margin-bottom: 1rem; font-size: 1rem; } }
.nq-legal-card__link { font-size: 0.875rem; font-weight: 600; color: #a78bfa; }
@media (min-width: 768px) { .nq-legal-card__link { font-size: 1rem; } }

@media (max-width: 1023px) {
  .nq-hero__grid { grid-template-columns: 1fr; }
  .nq-live-card { order: -1; }
}
