/* ══════════════════════════════════════════
   CHECKER PLUS — Shared Styles
   ══════════════════════════════════════════ */

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

:root {
  --bg: #07080f;
  --surface: #0f1120;
  --card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --accent: #4f8ef7;
  --accent2: #8b5cf6;
  --accent3: #06d6a0;
  --text: #f0f2ff;
  --muted: #8892aa;
  --radius: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.blob-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; left: -200px; }
.blob-2 { width: 500px; height: 500px; background: var(--accent2); top: 40%; right: -180px; }
.blob-3 { width: 400px; height: 400px; background: var(--accent3); bottom: -100px; left: 30%; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,8,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.nav-logo .icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

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

.nav-links > li { position: relative; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--accent); }

/* Dropdown */
.nav-dropdown-btn {
  cursor: pointer;
  user-select: none;
}
.nav-dropdown-btn svg { transition: transform 0.2s; }
.nav-links li:hover .nav-dropdown-btn svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  min-width: 230px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.nav-links li:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
}
.nav-dropdown a {
  padding: 10px 14px;
  border-radius: 10px;
  display: block;
  font-size: 0.85rem;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s !important;
}
.nav-cta:hover { opacity: 0.9 !important; transform: translateY(-1px) !important; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 130px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

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

.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── CONTENT ─── */
.content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.content-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px 100px;
  position: relative;
  z-index: 1;
}

/* ─── CARDS ─── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.card:hover {
  border-color: rgba(79,142,247,0.25);
  transform: translateY(-3px);
}

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

/* ─── TYPOGRAPHY ─── */
.section-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 580px;
}

h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(79,142,247,0.3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(79,142,247,0.45); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
  background: none;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  position: relative;
  z-index: 1;
  margin: 60px 0;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.trust-item span { color: var(--accent3); }

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 56px 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand .nav-logo { margin-bottom: 14px; }

.footer-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6,214,160,0.1);
  border: 1px solid rgba(6,214,160,0.2);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent3);
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-contact { font-size: 0.85rem; color: var(--muted); display: flex; flex-direction: column; gap: 9px; }
.footer-contact a { color: var(--accent); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-requisites {
  margin-top: 30px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.9;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-links-bottom { display: flex; gap: 20px; }
.footer-links-bottom a { font-size: 0.78rem; color: var(--muted); text-decoration: none; }
.footer-links-bottom a:hover { color: var(--text); }

/* ─── CONSENT BANNER ─── */
.consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(20px);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.3);
}

.consent-text { font-size: 0.8rem; color: var(--muted); max-width: 700px; line-height: 1.6; }
.consent-text a { color: var(--accent); }

.consent-buttons { display: flex; gap: 10px; flex-shrink: 0; }

.consent-accept {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.consent-accept:hover { opacity: 0.9; }

.consent-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.consent-decline:hover { color: var(--text); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── LEGAL CONTENT ─── */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 1.15rem; font-weight: 700; margin: 40px 0 12px; color: var(--text); }
.legal-content h3 { font-size: 1rem; font-weight: 600; margin: 28px 0 10px; color: var(--text); }
.legal-content p { margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 12px 0 16px 24px; }
.legal-content li { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin-bottom: 6px; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.85rem; }
.legal-content th { background: rgba(255,255,255,0.06); padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text); border: 1px solid var(--border); }
.legal-content td { padding: 10px 16px; color: var(--muted); border: 1px solid var(--border); vertical-align: top; }
.legal-content .highlight-box {
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 20px 0;
}
.legal-content .highlight-box p { color: var(--text); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px; gap: 4px; }
  .nav-burger { display: flex; }
  .nav-dropdown { position: static; transform: none; opacity: 1; pointer-events: all; box-shadow: none; border: none; background: rgba(255,255,255,0.03); padding: 4px; }
  .page-hero { padding: 110px 24px 60px; }
  .content, .content-narrow { padding: 0 24px 80px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { padding: 14px 20px; gap: 20px; }
  .consent-banner { padding: 16px 20px; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
