/* ============================
   ZettaHub — style.css
   ============================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-deep:    #0A0F25;
  --bg-card:    #0A1530;
  --bg-card-2:  #0D1A38;
  --accent:     #00FFA3;
  --accent-dim: #00C982;
  --accent-faint: rgba(0, 255, 163, 0.08);
  --text-main:  #E0E0E8;
  --text-muted: #8B90A8;
  --text-dim:   #5A5F78;
  --border:     rgba(0, 255, 163, 0.3);
  --border-faint: rgba(0, 255, 163, 0.12);
  --blue-test:  #1E3A8A;
  --blue-accent:#3B82F6;
  --font-main: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme overrides */
[data-theme="light"] {
  --bg-deep:    #F0F4FF;
  --bg-card:    #FFFFFF;
  --bg-card-2:  #EEF2FF;
  --text-main:  #0A0F25;
  --text-muted: #4A5068;
  --text-dim:   #8B90A8;
  --border:     rgba(0, 180, 120, 0.4);
  --border-faint: rgba(0, 180, 120, 0.15);
  --accent-faint: rgba(0, 180, 120, 0.06);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { cursor: pointer; font-family: inherit; }

/* --- Particle canvas background --- */
#particles-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px; height: 2px;
  background: #ffffff;
  border-radius: 50%;
  animation: twinkle linear infinite;
}

.star.green {
  background: var(--accent);
  box-shadow: 0 0 4px var(--accent);
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; z-index: 1; }

/* --- NAV --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 15, 37, 0.8);
  border-bottom: 1px solid var(--border-faint);
  transition: background var(--transition);
}

[data-theme="light"] .navbar {
  background: rgba(240, 244, 255, 0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Full nav button — hidden on mobile */
.btn-nav-full {
  display: inline-flex;
}

/* Icon-only nav button — hidden on desktop, shown on mobile */
.btn-nav-icon {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #0A0F25;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-nav-icon:hover {
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.5);
  transform: scale(1.08);
}

/* Mobile breakpoint: swap full ↔ icon, hide theme toggle label */
@media (max-width: 600px) {
  .btn-nav-full  { display: none; }
  .btn-nav-icon  { display: inline-flex; }
  .theme-toggle  { width: 44px; height: 24px; }
  .theme-toggle-ball { width: 16px; height: 16px; font-size: 9px; }
  .nav-inner { gap: 8px; }
}

/* --- Theme toggle --- */
.theme-toggle {
  position: relative;
  width: 52px; height: 28px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition);
}

.theme-toggle-ball {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

[data-theme="light"] .theme-toggle-ball {
  transform: translateX(24px);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #0A0F25;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--accent-faint);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-card {
  width: 100%;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.btn-card:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #0A0F25;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.4);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 163, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 163, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-scroll 6s linear infinite;
  pointer-events: none;
}

/* Radial spotlight */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 255, 163, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo-wrap {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-logo {
  width: 240px;
  height: auto;
  animation: logo-glow 2.5s ease-in-out infinite, logo-breathe 3s ease-in-out infinite;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--accent-faint);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 760px;
  animation: slide-up 0.8s ease-out 0.2s both;
}

.hero h1 .accent { color: var(--accent); }

.hero p.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 20px auto 40px;
  animation: slide-up 0.8s ease-out 0.4s both;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: slide-up 0.8s ease-out 0.6s both;
}

@media (max-width: 520px) {
  .hero-cta-group { flex-direction: column; width: 100%; padding: 0 16px; }
  .hero-cta-group a { width: 100%; justify-content: center; font-size: 15px !important; padding: 13px 20px !important; }
}

.hero-cta-group .btn-primary {
  font-size: 17px;
  padding: 15px 36px;
  border-radius: var(--radius-lg);
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  animation: fade-in 1.2s ease 0.9s both;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce-down 1.5s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
}

/* --- FEATURES SECTION --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dim));
  animation: underline-grow 1s ease both;
  width: 80px;
}

.section-subtitle {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border-faint);
  transition:
    transform    0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s ease;
}

.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 255, 163, 0.1);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-faint);
  border: 1px solid var(--border-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- PRICING SECTION --- */
.pricing-section {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 0;
}

/* Responsive grid breakpoints */
@media (min-width: 640px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* Pricing card base */
.pricing-card {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border-faint);
  /* Плавный переход ВСЕХ визуальных свойств */
  transition:
    transform      0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow     0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color   0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background     0.45s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.2), 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--border);
}

.pricing-card:hover::before { opacity: 1; }

/* Test plan card */
.pricing-card.test-plan {
  background: linear-gradient(145deg, #0D1A40, #1A2B5A);
  border-color: rgba(59, 130, 246, 0.25);
}

.pricing-card.test-plan:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.55);
}

.pricing-card.test-plan::before {
  background: linear-gradient(90deg, transparent, #3B82F6, transparent);
}

/* Popular / hit card */
.pricing-card.popular {
  border-color: rgba(0, 255, 163, 0.35);
  background: linear-gradient(145deg, #0A1A30, #0D2040);
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.08);
  transition:
    transform    0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.45s ease;
}

.pricing-card.popular:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(0, 255, 163, 0.25), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Card badges */
.card-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-popular {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #0A0F25;
  animation: badge-glow 2s ease-in-out infinite;
}

.badge-test {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  color: #ffffff;
  animation: test-badge-pulse 2s ease-in-out infinite;
}

/* Plan name */
.plan-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plan-period {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

/* Speed indicator */
.speed-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-faint);
  border: 1px solid var(--border-faint);
}

.speed-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.speed-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* Plan features list */
.plan-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.plan-features li .check {
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

/* Price display */
.price-block {
  margin-bottom: 20px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-period {
  font-size: 12px;
  color: var(--text-dim);
}

.price-weekly {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-weekly-val {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Pulse dot for popular indicator */
.pulse-dot {
  position: relative;
  width: 8px; height: 8px;
  display: inline-flex;
  margin-left: 4px;
}

.pulse-dot-inner {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pulse-dot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}

/* Test plan special pulse */
.pulse-dot.blue .pulse-dot-inner { background: #3B82F6; }
.pulse-dot.blue .pulse-dot-ring { background: #3B82F6; }

/* --- DNS COMING SOON SECTION --- */
.coming-section {
  padding: 80px 0;
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.coming-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  /* Плавный переход без резкой анимации рамки */
  transition:
    transform    0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   0.4s ease,
    border-color 0.6s ease;
}

.coming-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 255, 163, 0.08);
  border-color: var(--border);
}

.coming-spinner {
  position: relative;
  width: 64px; height: 64px;
}

.coming-spinner svg {
  animation: spinner-rotate 1.5s linear infinite;
}

.coming-spinner circle {
  animation: spinner-dash 1.5s ease-in-out infinite;
  stroke: var(--accent);
  stroke-linecap: round;
}

.coming-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.coming-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

/* DNS addresses preview */
.dns-preview {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  text-align: left;
  opacity: 0.5;
}

.dns-preview .dns-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.dns-preview .dns-row:last-child { border-bottom: none; }

.dns-preview .dns-label { color: var(--text-muted); }
.dns-preview .dns-val { color: var(--accent); font-size: 11px; }

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border-faint);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-faint);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 900px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-bot-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  transition: all var(--transition);
}

.footer-bot-link:hover {
  text-shadow: 0 0 12px rgba(0, 255, 163, 0.6);
}

/* --- SECTION spacing --- */
.section-pad { padding: 100px 0; }

/* --- Dividers --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-faint), transparent);
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .coming-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-cta-group { flex-direction: column; width: 100%; padding: 0 12px; }
  .hero-cta-group a { width: 100%; justify-content: center; }
}

/* --- Hero CTA mobile text --- */
.hero-cta-bot-text { display: inline; }
@media (max-width: 600px) {
  .hero-cta-bot-text { display: none; }
  .hero-cta-group .btn-primary { font-size: 15px !important; padding: 13px 20px !important; }
  .hero-cta-group .btn-secondary { font-size: 14px !important; padding: 12px 20px !important; }
}

/* --- Utility --- */
.text-accent { color: var(--accent); }
.font-mono { font-family: var(--font-mono); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION — полный блок стилей (в style.css, не animations)
   ═══════════════════════════════════════════════════════════ */
.faq-item {
  border-radius: var(--radius-md);
  background: #0A1530;                               /* явный цвет, не переменная */
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border-faint);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .faq-item {
  background: #ffffff;
  background: linear-gradient(135deg, #ffffff, #f4f6ff);
  border-color: rgba(0, 150, 100, 0.15);
}

.faq-item.open {
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 255, 163, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.2s;
  line-height: 1.4;
}

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

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

/* CSS grid-rows trick — smooth height animation without fixed height */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-body {
  grid-template-rows: 1fr;
}

.faq-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-content {
  padding: 0 22px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
