/* ============================================
   АНТИ 67 — Styles
   ============================================ */

:root {
  --color-bg: #111113;
  --color-bg-secondary: #1a1a1d;
  --color-surface: #1e1e22;
  --color-surface-hover: #25252a;
  --color-text: #f3f3f5;
  --color-text-muted: #a0a0a8;
  --color-text-dim: #6e6e78;
  --color-accent: #dc2626;
  --color-accent-hover: #b91c1c;
  --color-accent-light: #ef4444;
  --color-border: rgba(255,255,255,0.06);
  --color-border-light: rgba(255,255,255,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(220,38,38,0.12);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 56px;
  color: var(--color-text);
}

.accent-line {
  position: relative;
}
.accent-line::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 16px rgba(220,38,38,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-sm { padding: 8px 16px; font-size: 0.75rem; }
.btn-lg { padding: 14px 32px; font-size: 0.9rem; }

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17,17,19,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.logo-accent {
  color: var(--color-accent);
  margin-left: 2px;
}

.logo-sub {
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-dim);
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(220,38,38,0.08) 0%, transparent 55%),
    var(--color-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
}

.title-line.accent,
.title-line .accent {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn svg {
  transition: transform var(--transition-fast);
}

.hero-actions .btn:hover svg {
  transform: translateY(2px);
}

/* Sign 67 */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign-67 {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: signFloat 6s ease-in-out infinite;
}

@keyframes signFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.sign-border {
  position: absolute;
  inset: 0;
  border: 14px solid var(--color-accent);
  border-radius: 50%;
  opacity: 0.9;
  box-shadow: 0 0 60px rgba(220,38,38,0.15), inset 0 0 60px rgba(220,38,38,0.05);
}

.sign-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(220,38,38,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sign-number {
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.04em;
  line-height: 1;
}

.sign-stripe {
  position: absolute;
  width: 120%;
  height: 12px;
  background: var(--color-accent);
  transform: rotate(-45deg);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(220,38,38,0.3);
  opacity: 0.95;
}

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

.why {
  padding: 100px 0;
  background: #f5f5f7;
  color: #111;
}

.why .section-title {
  color: #111;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 100%;
  height: 100%;
}

.why-heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: #111;
}

.why-text {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.65;
}

/* ============================================
   CTA Mid
   ============================================ */

.cta-mid {
  padding: 72px 0;
  background:
    linear-gradient(rgba(17,17,19,0.88), rgba(17,17,19,0.92)),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: #fff;
}

.cta-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  line-height: 1.4;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.cta-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.cta-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.cta-link:hover {
  color: var(--color-text);
}

.cta-link svg {
  color: var(--color-text-dim);
}

/* ============================================
   Facts
   ============================================ */

.facts {
  padding: 100px 0;
  background: #f5f5f7;
  color: #111;
}

.facts .section-title {
  color: #111;
}

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

.fact-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.fact-card:hover {
  background: rgba(0,0,0,0.03);
}

.fact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.fact-heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #111;
}

.fact-text {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.55;
}

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

.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 0;
}

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

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

.footer-about {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  color: var(--color-accent);
  border-color: rgba(220,38,38,0.3);
  background: rgba(220,38,38,0.06);
}

.footer-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 20px;
}

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

.footer-nav a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.footer-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-input {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast);
}

.subscribe-input::placeholder {
  color: var(--color-text-dim);
}

.subscribe-input:focus {
  border-color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.copyright {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-align: center;
}

/* ============================================
   Animations on scroll
   ============================================ */

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsiveness
   ============================================ */

@media (max-width: 1024px) {
  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .cta-actions {
    align-items: center;
  }

  .cta-links {
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17,17,19,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-desc {
    margin: 0 auto 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .sign-67 {
    width: 240px;
    height: 240px;
  }

  .sign-number {
    font-size: 5.5rem;
  }

  .sign-circle {
    width: 200px;
    height: 200px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .cta-links {
    grid-template-columns: 1fr;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .sign-67 {
    width: 200px;
    height: 200px;
  }

  .sign-number {
    font-size: 4.5rem;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 12px 22px;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sign-67 {
    animation: none;
  }
}
