* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --accent: #00c8ff;
  --accent-hover: #00a0d0;
  --text: #ffffff;
  --muted: #999;
  --success: #00ff88;
  --error: #ff4466;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1 { font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 32px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
p  { margin-bottom: 16px; color: var(--muted); }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 36px; margin-bottom: 12px; }
.section-title p { font-size: 18px; color: var(--muted); }

/* HEADER */
.header {
  position: sticky; top: 0;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100; padding: 16px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 24px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; font-weight: 900; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-size: 16px; font-weight: 700;
  border: none; border-radius: var(--radius); cursor: pointer;
  text-decoration: none; transition: all 0.2s; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-hover); color: #000; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 18px 36px; font-size: 18px; }
.btn-block { width: 100%; }

/* HERO */
.hero {
  min-height: 80vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.6));
}
.hero-content { max-width: 700px; }
.hero h1 { font-size: 56px; margin-bottom: 24px; }
.hero .lead { font-size: 20px; color: #ddd; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

.timer { display: flex; gap: 16px; margin-top: 32px; }
.timer-item { background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 20px; text-align: center; min-width: 80px; }
.timer-value { font-size: 28px; font-weight: 800; color: var(--accent); }
.timer-label { font-size: 12px; color: var(--muted); text-transform: uppercase; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all 0.3s; }
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 4px 24px rgba(0,200,255,0.15); }
.card-icon { font-size: 48px; margin-bottom: 16px; }
.card h3 { margin-bottom: 12px; color: var(--text); }
.card p { color: var(--muted); margin: 0; }
.card .price { font-size: 32px; font-weight: 800; color: var(--accent); margin: 16px 0; }
.card.featured { border-color: var(--accent); position: relative; }
.card.featured::before { content: 'Выбор большинства'; position: absolute; top: -12px; left: 24px; background: var(--accent); color: #000; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; }

/* RATING */
.rating-table { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.rating-row { display: grid; grid-template-columns: 60px 1fr 120px; padding: 16px 24px; border-bottom: 1px solid var(--border); align-items: center; }
.rating-row:last-child { border-bottom: none; }
.rating-row.header { background: var(--bg-2); color: var(--muted); font-size: 13px; text-transform: uppercase; font-weight: 600; }
.rating-row .rank { font-weight: 800; color: var(--accent); font-size: 20px; }
.rating-row .name { color: var(--text); }
.rating-row .score { text-align: right; font-weight: 700; color: var(--accent); }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.step { text-align: center; }
.step-num { width: 64px; height: 64px; background: var(--accent); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; margin: 0 auto 20px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* FAQ */
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 20px 24px; font-size: 17px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { background: var(--bg-2); }
.faq-question::after { content: '+'; font-size: 28px; color: var(--accent); transition: transform 0.2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--muted); }

/* FOOTER */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 0 32px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-size: 14px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: #bbb; font-size: 15px; }
.footer a:hover { color: var(--accent); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); font-size: 13px; }

/* UTILS */
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero h1 { font-size: 36px; }
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .rating-row { grid-template-columns: 40px 1fr 80px; padding: 12px 16px; font-size: 15px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }
}
