/* NekoPass — главная (палитра как в личном кабинете) */
.page-home {
  --np-bg: #0a0b10;
  --np-surface: #1c1d26;
  --np-elevated: #252631;
  --np-border: rgba(255, 255, 255, 0.1);
  --np-text: #ffffff;
  --np-muted: #a0a0a0;
  --np-accent: #d0d0d0;
  --np-accent-dim: rgba(255, 255, 255, 0.08);
  --np-warm: #a0a0a0;
  --np-warm-dim: rgba(255, 255, 255, 0.06);
  --np-radius: 18px;
  --np-radius-sm: 14px;
  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  background: var(--np-bg);
  color: var(--np-text);
  font-family: var(--font-body);
}

.page-home a {
  color: var(--np-accent);
}
.page-home a:hover {
  color: #ffffff;
}

/* фон: лёгкие нейтральные блики как в ЛК */
.page-home::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -15%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 40%, rgba(255, 255, 255, 0.03), transparent 50%),
    radial-gradient(ellipse 45% 30% at 0% 85%, rgba(255, 255, 255, 0.025), transparent 45%);
}

.page-home > * {
  position: relative;
  z-index: 1;
}

/* Header */
.np-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--np-border);
  background: rgba(10, 11, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.np-header .np-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.np-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--np-text) !important;
  text-decoration: none;
}
.np-logo span {
  color: #a0a0a0;
}
.np-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.np-nav a:not(.np-btn) {
  color: var(--np-muted);
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.np-nav a:not(.np-btn):hover {
  color: var(--np-text);
  background: rgba(255, 255, 255, 0.04);
}
.np-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.np-btn:active {
  transform: scale(0.98);
}
.np-btn--ghost {
  background: transparent;
  color: var(--np-muted) !important;
  border: 1px solid var(--np-border);
}
.np-btn--ghost:hover {
  color: var(--np-text) !important;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}
.np-btn--primary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--np-text) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.np-btn--primary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff !important;
}
.np-btn--lk {
  background: linear-gradient(135deg, #4f6ef7 0%, #6366f1 100%);
  color: var(--np-text) !important;
  border: 1px solid rgba(99, 102, 241, 0.55);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.28);
}
.np-btn--lk:hover {
  background: linear-gradient(135deg, #5a77ff 0%, #6f73ff 100%);
  border-color: rgba(120, 130, 255, 0.75);
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.36);
  color: #ffffff !important;
}
.np-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.np-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--np-text);
  border-radius: 2px;
}

/* Hero */
.np-main {
  padding-bottom: 64px;
}
.np-hero {
  padding: clamp(48px, 10vw, 88px) 20px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.np-hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--np-muted);
  background: var(--np-accent-dim);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid var(--np-border);
}
.np-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.np-hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--np-muted);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 36px;
}

/* Три главных действия */
.np-actions {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.np-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 24px 22px;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius);
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.np-action:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}
.np-action--featured {
  background: linear-gradient(145deg, var(--np-elevated), var(--np-surface));
  border-color: rgba(255, 255, 255, 0.14);
}
.np-action-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--np-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.np-action--featured .np-action-icon {
  background: rgba(255, 255, 255, 0.1);
}
.np-action:not(.np-action--featured):nth-child(2) .np-action-icon {
  background: rgba(255, 255, 255, 0.07);
}
.np-action:not(.np-action--featured):nth-child(3) .np-action-icon {
  background: rgba(255, 255, 255, 0.06);
}
.np-action h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--np-text);
}
.np-action p {
  font-size: 0.875rem;
  color: var(--np-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}
.np-action-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.np-action:hover .np-action-cta {
  color: #ffffff !important;
}
.np-action-cta::after {
  content: "→";
  transition: transform 0.2s ease;
}
.np-action:hover .np-action-cta::after {
  transform: translateX(4px);
}

/* Коротко: шаги */
.np-strip {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 56px;
}
.np-strip-inner {
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius);
  padding: clamp(24px, 4vw, 36px);
}
.np-strip h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: var(--np-text);
}
.np-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: npstep;
}
.np-step {
  text-align: center;
}
.np-step::before {
  counter-increment: npstep;
  content: counter(npstep);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  background: var(--np-elevated);
  color: #ffffff;
  border: 1px solid var(--np-border);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.np-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--np-text);
}
.np-step span {
  font-size: 0.85rem;
  color: var(--np-muted);
  line-height: 1.5;
}

/* FAQ */
.np-faq-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 56px;
}
.np-faq-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.np-faq-intro {
  text-align: center;
  color: var(--np-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.np-faq-intro a {
  font-weight: 600;
}
.page-home .faq-list {
  max-width: 100%;
}
.page-home .faq-item {
  border-color: var(--np-border);
}
.page-home .faq-question {
  color: var(--np-text);
}
.page-home .faq-question::after {
  color: var(--np-muted);
}
.page-home .faq-answer {
  color: var(--np-muted);
}

/* Footer */
.np-footer {
  border-top: 1px solid var(--np-border);
  padding: 32px 20px;
  background: rgba(0, 0, 0, 0.25);
}
.np-footer .np-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.np-footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--np-text) !important;
  text-decoration: none !important;
}
.np-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.np-footer-links a {
  color: var(--np-muted) !important;
  font-size: 0.875rem;
  text-decoration: none !important;
}
.np-footer-links a:hover {
  color: #ffffff !important;
}
.np-footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--np-muted);
  opacity: 0.85;
  margin-top: 8px;
}

/* Внутренние страницы (pages/) */
.page-home .np-nav a[aria-current="page"] {
  color: #ffffff;
}
.np-breadcrumb {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 20px 0;
  font-size: 0.875rem;
  color: var(--np-muted);
}
.np-breadcrumb a {
  color: var(--np-muted) !important;
  text-decoration: none !important;
}
.np-breadcrumb a:hover {
  color: #ffffff !important;
}
.np-breadcrumb span {
  margin: 0 0.35em;
  opacity: 0.5;
}
.np-page {
  padding-bottom: 48px;
}
.np-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 48px;
}
.np-prose h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
  color: var(--np-text);
}
.np-prose .np-meta {
  font-size: 0.875rem;
  color: var(--np-muted);
  margin-bottom: 28px;
}
.np-prose h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--np-text);
}
.np-prose p {
  color: var(--np-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.np-prose ul,
.np-prose ol {
  margin: 0 0 18px 1.25rem;
  padding: 0;
  color: var(--np-muted);
}
.np-prose li {
  margin-bottom: 8px;
  line-height: 1.65;
}
.np-prose strong {
  color: var(--np-text);
  font-weight: 600;
}
.np-prose a {
  font-weight: 600;
}
.np-faq-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--np-text);
}
.np-faq-page-lead {
  text-align: center;
  color: var(--np-muted);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
  padding: 0 20px;
}
.np-faq-page-lead a {
  font-weight: 600;
}
.np-cta-box {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 20px;
}
.np-cta-box-inner {
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius);
  padding: 28px 24px;
  text-align: center;
}
.np-cta-box-inner h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--np-text);
}
.np-cta-box-inner p {
  color: var(--np-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.np-cta-box-inner .np-btn {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .np-actions {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .np-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .np-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
    background: var(--np-bg);
    border-bottom: 1px solid var(--np-border);
    display: none;
    gap: 4px;
  }
  .np-nav.is-open {
    display: flex;
  }
  .np-nav .np-btn {
    justify-content: center;
    width: 100%;
  }
  .np-burger {
    display: flex;
  }
}
