/* ===========================
   BullX — Тёмная тема / Оранжево-красный агрессивный стиль
   =========================== */

:root {
  --bg-primary: #0a0602;
  --bg-secondary: #100c04;
  --bg-card: #181008;
  --bg-card-hover: #201408;
  --border: #2a1c08;
  --border-bright: #4a3010;
  --accent: #f97316;
  --accent-dim: #dc4f0a;
  --accent-glow: rgba(249, 115, 22, 0.12);
  --accent-2: #fbbf24;
  --accent-3: #ef4444;
  --text-primary: #f5ede0;
  --text-secondary: #a08060;
  --text-muted: #5a4030;
  --red: #ef4444;
  --green: #22c55e;
  --yellow: #fbbf24;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 32px rgba(0,0,0,0.6);
  --shadow-accent: 0 0 48px rgba(249, 115, 22, 0.15);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-secondary); }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(249, 115, 22, 0.5); }

.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-glow); transform: translateY(-2px); }

.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text-primary); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 6, 2, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav { display: flex; align-items: center; gap: 32px; height: 68px; }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }

.logo-badge {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo-text { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
.logo-dot { color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-link { padding: 8px 14px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; border-radius: 8px; transition: var(--transition); cursor: pointer; }
.nav-link:hover, .nav-link.active { color: var(--accent); background: var(--accent-glow); }

.nav-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; min-width: 180px; list-style: none; box-shadow: var(--shadow); z-index: 200; }
.dropdown-menu li a { display: block; padding: 10px 16px; color: var(--text-secondary); text-decoration: none; border-radius: 8px; font-size: 0.9rem; transition: var(--transition); }
.dropdown-menu li a:hover { color: var(--accent); background: var(--accent-glow); }
.nav-dropdown:hover .dropdown-menu { display: block; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 100px 0 60px; position: relative; overflow: hidden; }

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(249, 115, 22, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 45% at 10% 80%, rgba(239, 68, 68, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249,115,22,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
.hero-badge .fire { animation: flicker 1.5s ease-in-out infinite alternate; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
@keyframes flicker { from { opacity: 0.8; } to { opacity: 1; transform: scale(1.1); } }

.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 1.15rem; margin-bottom: 36px; color: var(--text-secondary); max-width: 580px; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }

.stat-item .stat-num { font-size: 1.8rem; font-weight: 800; color: var(--accent); font-family: 'JetBrains Mono', monospace; letter-spacing: -1px; }
.stat-item .stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

/* SECTIONS */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

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

.section-header { margin-bottom: 60px; }
.section-header p { max-width: 600px; font-size: 1.05rem; margin-top: 12px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 12px auto 0; }

/* CARDS */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); }
.card:hover { border-color: var(--border-bright); box-shadow: var(--shadow-accent); transform: translateY(-4px); }
.card-icon { width: 52px; height: 52px; background: var(--accent-glow); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: 0.93rem; line-height: 1.65; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: 0.95rem; }
.feature-list li:last-child { border-bottom: none; }
.feature-list .check { color: var(--accent); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* COMPARE TABLE */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.compare-table th { background: var(--bg-card); padding: 20px 24px; font-size: 1rem; font-weight: 700; text-align: center; border-bottom: 2px solid var(--border); }
.compare-table th:first-child { text-align: left; }
.compare-table th.highlight { background: linear-gradient(135deg, rgba(249,115,22,0.2), rgba(239,68,68,0.1)); color: var(--accent); border-bottom-color: var(--accent); }
.compare-table td { padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 0.93rem; color: var(--text-secondary); text-align: center; background: var(--bg-secondary); }
.compare-table td:first-child { text-align: left; color: var(--text-primary); font-weight: 500; }
.compare-table td.highlight { background: rgba(249,115,22,0.05); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--green); font-weight: 600; }
.compare-table .no { color: var(--text-muted); }
.compare-table .partial { color: var(--yellow); }

/* STEPS */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent); }
.step { display: flex; gap: 28px; padding: 32px 0; position: relative; }
.step-num { width: 48px; height: 48px; background: var(--bg-card); border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; color: var(--accent); flex-shrink: 0; position: relative; z-index: 1; }
.step-content { padding-top: 8px; }
.step-content h3 { margin-bottom: 8px; }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; transition: var(--transition); }
.faq-item:hover { border-color: var(--border-bright); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--text-primary); background: var(--bg-card); user-select: none; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--accent); transition: var(--transition); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 24px 20px; color: var(--text-secondary); background: var(--bg-secondary); font-size: 0.95rem; line-height: 1.75; }

/* CTA */
.cta-banner { background: linear-gradient(135deg, rgba(249,115,22,0.12) 0%, rgba(239,68,68,0.06) 100%); border: 1px solid rgba(249,115,22,0.22); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 60%); pointer-events: none; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* PROS CONS */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pros-card { border-color: rgba(249,115,22,0.25); }
.cons-card { border-color: rgba(239,68,68,0.25); }
.pros-card h3 { color: var(--accent); }
.cons-card h3 { color: var(--red); }
.pros-list, .cons-list { list-style: none; margin-top: 16px; }
.pros-list li, .cons-list li { display: flex; gap: 10px; padding: 8px 0; color: var(--text-secondary); font-size: 0.93rem; border-bottom: 1px solid var(--border); }
.pros-list li:last-child, .cons-list li:last-child { border-bottom: none; }
.pros-list .icon { color: var(--accent); }
.cons-list .icon { color: var(--red); }

/* BADGES */
.badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px; }
.badge-orange { background: rgba(249,115,22,0.15); color: var(--accent); }
.badge-red { background: rgba(239,68,68,0.15); color: var(--red); }
.badge-green { background: rgba(34,197,94,0.15); color: var(--green); }
.badge-yellow { background: rgba(251,191,36,0.15); color: var(--yellow); }

/* HIGHLIGHT BOX */
.highlight-box { background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(239,68,68,0.04)); border: 1px solid rgba(249,115,22,0.2); border-radius: var(--radius); padding: 24px 28px; }
.highlight-box p { color: var(--text-primary); }

/* NEO CARD */
.neo-card {
  background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(239,68,68,0.08));
  border: 2px solid rgba(249,115,22,0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.neo-card::before {
  content: 'NEO';
  position: absolute;
  top: 16px; right: 20px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--accent);
  opacity: 0.4;
}

/* TICKER */
.ticker { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-secondary); padding: 14px 0; }
.ticker-inner { display: flex; gap: 60px; animation: ticker 30s linear infinite; width: max-content; }
.ticker-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--text-secondary); }
.ticker-item .token { color: var(--text-primary); font-weight: 600; }
.ticker-item .up { color: var(--green); }
.ticker-item .down { color: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* FOOTER */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 0.83rem; color: var(--text-muted); }

/* SCROLL */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--bg-secondary); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 4px; z-index: 99; }
  .nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; }
}
