/* ============ Fonts ============ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --accent-primary:   #6366f1;
  --accent-secondary: #818cf8;
  --accent-light:     #c7d2fe;

  --text-primary:   #e0e0f0;
  --text-secondary: #8888a0;
  --text-muted:     #6a6a90;

  --card-bg:          #fff;
  --card-shadow:      0 8px 32px rgba(0, 0, 0, 0.12);
  --card-radius:      18px;
  --card-dark-bg:     rgba(99, 102, 241, 0.08);
  --card-dark-border: rgba(99, 102, 241, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(165deg, #0f0f1a 0%, #1a1a2e 40%, #16213e 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ============ Topbar ============ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}
.topbar-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.topbar-tg {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--accent-light);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--card-dark-border);
  background: var(--card-dark-bg);
  transition: background 180ms ease;
}
.topbar-tg:hover { background: rgba(99, 102, 241, 0.16); }

/* ============ Container ============ */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

/* ============ Hero ============ */

.hero { padding: 24px 0 56px; max-width: 760px; }

.micro-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-secondary);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.gradient-title {
  font-weight: 800;
  font-size: 52px;
  background: linear-gradient(135deg, #c7d2fe 0%, #818cf8 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 640px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ============ Buttons ============ */

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-secondary);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 200ms ease;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--accent-light); }

/* ============ Focus ============ */

:focus { outline: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============ Section ============ */

.block { padding: 56px 0; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-secondary);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.block-title {
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.block-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.55;
}

/* ============ Services ============ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.card-dark {
  background: var(--card-dark-bg);
  border: 1px solid var(--card-dark-border);
  border-radius: var(--card-radius);
  padding: 28px 26px;
  color: var(--text-primary);
}

.service-icon {
  font-size: 26px;
  margin-bottom: 14px;
  line-height: 1;
}
.service-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============ Checklists ============ */

.checklists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.card-light {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 24px 22px;
  color: #1a1a2e;
}

.checklist {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.checklist:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.checklist-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4f46e5;
  margin-bottom: 12px;
}
.checklist-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: #1a1a2e;
}
.checklist-desc {
  font-size: 14px;
  color: #4a4a6a;
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 18px;
}
.checklist-cta {
  font-size: 14px;
  font-weight: 600;
  color: #4f46e5;
  transition: transform 180ms ease;
}
.checklist:hover .checklist-cta { transform: translateX(2px); }

.checklist.locked {
  background: linear-gradient(180deg, #fff 0%, #f6f7fb 100%);
}
.lock-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
}
.locked-cta { color: #4f46e5; }

.checklist.coming {
  background: transparent;
  box-shadow: none;
  border: 1.5px dashed rgba(99, 102, 241, 0.25);
  color: var(--text-secondary);
}
.checklist.coming .checklist-tag { color: var(--text-muted); }
.checklist.coming .checklist-title { color: var(--text-primary); }
.checklist.coming .checklist-desc { color: var(--text-secondary); }
.coming-cta { color: var(--text-muted); }

/* ============ Channel ============ */

.channel {
  padding: 40px 36px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.channel .micro-label { margin-bottom: 14px; }
.channel-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.channel-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.55;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ Footer ============ */

.footer {
  border-top: 1px solid rgba(99, 102, 241, 0.12);
  padding: 24px 20px;
  margin-top: 24px;
}
.footer-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}
.footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--text-secondary); transition: color 180ms ease; }
.footer a:hover { color: var(--accent-light); }

/* ============ Animations ============ */

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero, .block { animation: fadeSlide 380ms ease both; }

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .checklists-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 740px) {
  .container { padding: 32px 18px 24px; }
  .gradient-title { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .block { padding: 40px 0; }
  .block-title { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .checklists-grid { grid-template-columns: 1fr; }
  .channel { padding: 32px 22px; }
  .channel-title { font-size: 24px; }
  .footer-inner { flex-direction: column; gap: 6px; }
}

@media (max-width: 400px) {
  .gradient-title { font-size: 30px; }
  .btn-primary { padding: 14px 22px; font-size: 15px; }
}

/* ============ Cookie banner ============ */

#cc-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  width: 340px;
  max-width: calc(100vw - 40px);
  padding: 16px 18px;
  background: rgba(20, 20, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-dark-border);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  transition: opacity 280ms ease, transform 280ms ease;
}
#cc-banner p { margin: 0; flex: 1; }
#cc-banner button {
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  min-height: 44px;
  padding: 9px 18px;
  font: 600 13px 'Inter', system-ui, sans-serif;
  cursor: pointer;
  flex-shrink: 0;
}
#cc-banner.cc-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

@media (max-width: 480px) {
  #cc-banner { bottom: 12px; left: 12px; right: 12px; width: auto; max-width: none; }
}
