/* =============================================================================
   Technorazum Ironclad — общий стиль (_shared/style.css)
   Версия: 4.0 (2026-07-10)
   ============================================================================= */

:root {
  /* Базовые цвета */
  --tz-bg-primary: #0B0B1A;
  --tz-bg-secondary: #14142B;
  --tz-bg-tertiary: #1E1E3F;
  --tz-surface: rgba(255,255,255,0.04);
  --tz-surface-hover: rgba(255,255,255,0.08);

  /* Текст */
  --tz-ink: #F5F3FF;
  --tz-ink-muted: #C4B5FD;
  --tz-ink-dim: #8B80A8;

  /* Акценты */
  --accent-cyan: #06B6D4;
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  --accent-violet: #7C3AED;
  --accent-pink: #EC4899;
  --accent-teal: #14B8A6;
  --accent-gold: #FBBF24;
  --accent-green: #10B981;
  --accent-red: #EF4444;

  /* Градиенты */
  --grad-primary: linear-gradient(135deg, #06B6D4 0%, #3B82F6 50%, #8B5CF6 100%);
  --grad-purple: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
  --grad-cyber: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 50%, #EC4899 100%);
  --grad-glass: linear-gradient(135deg, rgba(139,92,246,0.18) 0%, rgba(6,182,212,0.12) 100%);

  /* Тени */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(139,92,246,0.4);
  --shadow-glow-cyan: 0 0 40px rgba(6,182,212,0.4);

  /* Радиусы */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Скорости */
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 500ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Курсор */
  --cursor-dot: 30px;
  --cursor-follower: 50px;

  /* Шрифты */
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", monospace;
}

/* =============================================================================
   Reset + базовая типографика
   ============================================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100vw; }

body {
  font-family: var(--font-sans);
  background: var(--tz-bg-primary);
  color: var(--tz-ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  cursor: none; /* кастомный курсор */
}

@media (max-width: 768px) { body { cursor: auto; } }

a { color: var(--accent-cyan); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--accent-purple); }

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

/* =============================================================================
   Layout helpers
   ============================================================================= */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; overflow: hidden; }
.section::before { content: ""; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(139,92,246,0.22) 0%, transparent 65%); pointer-events: none; z-index: 0; filter: blur(50px); animation: float 8s ease-in-out infinite; }
.section::after { content: ""; position: absolute; bottom: -100px; left: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(6,182,212,0.18) 0%, transparent 65%); pointer-events: none; z-index: 0; filter: blur(50px); animation: float 10s ease-in-out infinite reverse; }
.section > .container { position: relative; z-index: 1; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 30px); } }
.section--hero { min-height: 90vh; display: flex; align-items: center; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } .section { padding: 48px 0; } }

/* =============================================================================
   Custom cursor
   ============================================================================= */
.cursor-dot, .cursor-follower {
  position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); mix-blend-mode: difference;
}
.cursor-dot { width: var(--cursor-dot); height: var(--cursor-dot); background: var(--accent-cyan); opacity: 0.7; transition: width var(--t-fast), height var(--t-fast), opacity var(--t-fast); }
.cursor-follower { width: var(--cursor-follower); height: var(--cursor-follower); background: var(--accent-purple); opacity: 0.25; transition: width var(--t-base) var(--ease), height var(--t-base) var(--ease), opacity var(--t-base); }
.cursor-hover .cursor-dot { width: 50px; height: 50px; opacity: 1; }
.cursor-hover .cursor-follower { width: 80px; height: 80px; opacity: 0.5; }
@media (max-width: 768px) { .cursor-dot, .cursor-follower { display: none; } }

/* =============================================================================
   Nav (header + hover-dropdown)
   ============================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,26,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139,92,246,0.18);
  isolation: isolate;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1400px; margin: 0 auto; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--tz-ink); }
.nav__logo img { width: 36px; height: 36px; }

.nav__list { display: flex; align-items: center; gap: 8px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: var(--radius-pill);
  color: var(--tz-ink-muted); font-weight: 500;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  position: relative;
}
.nav__link:hover, .nav__link.is-active { color: var(--tz-ink); background: var(--tz-surface-hover); }
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px;
  background: var(--grad-primary); transition: width 0.5s var(--ease), left 0.5s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 60%; left: 20%; }
.nav__caret { font-size: 0.7em; transition: transform var(--t-fast) var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

/* =============================================================================
   Hover-dropdown (МТС-style circular glassmorphism) — DES-3 (2026-07-10)
   ============================================================================= */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 280px;
  height: 280px;
  padding: 1.6rem 1.4rem;
  border-radius: 50%;
  background: rgba(20, 20, 43, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 60px rgba(139, 92, 246, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.7);
  transform-origin: top center;
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown,
.nav__item.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition-delay: 150ms; /* hover-intent per prompt #11 */
}
/* Subtle conic gradient ring inside the disc for premium feel */
.nav__dropdown::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    rgba(6, 182, 212, 0.0) 0deg,
    rgba(139, 92, 246, 0.35) 90deg,
    rgba(236, 72, 153, 0.0) 180deg,
    rgba(6, 182, 212, 0.35) 270deg,
    rgba(6, 182, 212, 0.0) 360deg
  );
  filter: blur(14px);
  opacity: 0.55;
  z-index: -1;
  animation: navDropdownSpin 16s linear infinite;
}
@keyframes navDropdownSpin { to { transform: rotate(360deg); } }

.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--tz-ink-muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .nav__dropdown-item:hover { background: rgba(255, 255, 255, 0.08);
  color: var(--tz-ink);
  transform: scale(1.08); } }
.nav__dropdown-item__icon {
  font-size: 1.1rem;
  opacity: 0.65;
  transition: opacity var(--t-fast) var(--ease);
}
.nav__dropdown-item:hover .nav__dropdown-item__icon { opacity: 1; }

/* =============================================================================
   Mega-menu (Продукты) — rectangular glassmorphism, 2 cols — DES-3 v2 (2026-07-10)
   Активируется на .nav__dropdown--mega (выбирается JS для разделов ≥7 пунктов)
   ============================================================================= */
.nav__dropdown--mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 560px;
  padding: 1.4rem 1.5rem;
  border-radius: 20px;
  background: rgba(20, 20, 43, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 80px rgba(139, 92, 246, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.96);
  transform-origin: top center;
  transition:
    opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.32s;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.6rem;
  overflow: hidden;
}
.nav__item:hover .nav__dropdown--mega,
.nav__item:focus-within .nav__dropdown--mega,
.nav__item.is-open .nav__dropdown--mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition-delay: 150ms;
}
.nav__megacol { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nav__megacol-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tz-ink-muted);
  opacity: 0.6;
  padding: 0 0.5rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}
.nav__mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  color: var(--tz-ink-muted);
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  min-width: 0;
}
@media (hover: hover) and (pointer: fine) { .nav__mega-item:hover { background: rgba(255, 255, 255, 0.08);
  color: var(--tz-ink);
  transform: translateX(2px); } }
.nav__mega-item__icon {
  font-size: 1.1rem;
  opacity: 0.7;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  line-height: 1.4;
}
.nav__mega-item:hover .nav__mega-item__icon { opacity: 1; }
.nav__mega-item__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.nav__mega-item__title {
  font-size: 0.92rem;
  font-weight: 500;
  color: inherit;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav__mega-item__desc {
  font-size: 0.74rem;
  color: var(--tz-ink-muted);
  opacity: 0.7;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.nav__mega-item:hover .nav__mega-item__title { color: var(--tz-ink); }
@media (max-width: 1024px) {
  .nav__dropdown--mega {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0.4rem 0 0.4rem 1rem;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .nav__megacol-title { font-size: 0.66rem; }
  .nav__mega-item { padding: 0.5rem 0.6rem; }
  .nav__mega-item__desc { display: none; }
}

/* Backdrop overlay (затемнение фона) — DES-3 */
.nav__dropdown-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
  z-index: 150;
}
body.nav-dropdown-open .nav__dropdown-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Burger (mobile) */
.nav__burger { display: none; padding: 8px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--tz-ink); margin: 5px 0; transition: transform var(--t-base) var(--ease), opacity var(--t-base); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__burger { display: block; }
  .nav__list {
    position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 360px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,11,26,0.98); backdrop-filter: blur(20px);
    padding: 80px 24px 24px;
    transform: translateX(100%); transition: transform var(--t-base) var(--ease);
    overflow-y: auto;
  }
  .nav__list.is-open { transform: translateX(0); }
  .nav__item { width: 100%; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 16px; border-radius: var(--radius-md); }
  /* Mobile: dropdown = аккордеон */
  .nav__dropdown {
    position: static; transform: none; min-width: 0; width: 100%;
    background: transparent; border: none; box-shadow: none; backdrop-filter: none;
    padding: 0 0 0 16px; opacity: 0; max-height: 0; visibility: hidden; pointer-events: none;
    transition: max-height var(--t-base) var(--ease), opacity var(--t-base) var(--ease), visibility var(--t-base), padding 0s;
  }
  .nav__item.is-open .nav__dropdown { opacity: 1; max-height: 800px; visibility: visible; pointer-events: auto; padding: 8px 0 8px 16px; transition-delay: 0s; }
  /* Hide conic ring + backdrop on mobile (DES-3) */
  .nav__dropdown::before { display: none; }
  .nav__dropdown-backdrop { display: none; }
  body.nav-dropdown-open .nav__dropdown-backdrop { display: none; }
}

/* =============================================================================
   Кнопки
   ============================================================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; position: relative; overflow: hidden; isolation: isolate; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.btn > * { position: relative; z-index: 2; }
.btn--primary { background: var(--grad-primary); color: white; box-shadow: var(--shadow-glow); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: var(--grad-cyber); opacity: 0; transition: opacity 0.45s var(--ease); z-index: 1; }
@media (hover: hover) and (pointer: fine) { .btn--primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(139,92,246,0.6), 0 0 80px rgba(34,211,238,0.3); } }
.btn--primary:hover::before { opacity: 1; }
.btn--secondary { background: var(--tz-surface); color: var(--tz-ink); border: 1px solid rgba(139,92,246,0.3); }
@media (hover: hover) and (pointer: fine) { .btn--secondary:hover { background: var(--tz-surface-hover); border-color: var(--accent-purple); transform: translateY(-2px); box-shadow: 0 0 30px rgba(139,92,246,0.35); } }

/* =============================================================================
   Карточки
   ============================================================================= */
.card {
  background: rgba(20,20,43,0.45);
  border: 1px solid rgba(139,92,246,0.28);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
  position: relative; overflow: hidden;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}
.card::before { content: ""; position: absolute; inset: 0; background: var(--grad-glass); opacity: 0; transition: opacity var(--t-base) var(--ease); z-index: 0; pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(139,92,246,0.18), transparent 60%); opacity: 0; transition: opacity var(--t-base) var(--ease); z-index: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-15px) rotateX(5deg) rotateY(5deg); border-color: var(--accent-purple); background: rgba(20,20,43,0.7); box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 60px rgba(139,92,246,0.3), inset 0 1px 0 rgba(255,255,255,0.12); } }
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card__icon { font-size: 2.5rem; margin-bottom: 16px; display: inline-block; width: 48px; height: 48px; color: var(--accent-cyan); transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.card:hover .card__icon { transform: scale(1.15) rotate(-6deg); color: var(--accent-purple); }
.card__title { font-size: 1.3rem; margin-bottom: 12px; color: var(--tz-ink); }
.card__text { color: var(--tz-ink-muted); line-height: 1.7; }

/* Stat cards (counters) */
.stats-grid { gap: 24px; margin-top: 48px; }
.stat-card { text-align: center; padding: 36px 24px; position: relative; }
.stat-card__value { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: var(--stat-color, var(--accent-cyan)); line-height: 1; margin-bottom: 12px; background: var(--grad-cyber); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 20px var(--stat-color, var(--accent-cyan))); }
.stat-card__label { font-size: 0.95rem; color: var(--tz-ink-muted); font-weight: 500; }
.stat-card__icon { position: absolute; top: 16px; right: 16px; color: var(--stat-color, var(--accent-cyan)); opacity: 0.4; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.stat-card:hover .stat-card__icon { opacity: 0.9; transform: scale(1.2) rotate(10deg); }

/* =============================================================================
   Hero
   ============================================================================= */
.hero { text-align: center; padding: 100px 0 60px; }
.hero__atom { width: 220px; height: 220px; margin: 0 auto 32px; animation: float 6s var(--ease) infinite; }
.hero__title { background: var(--grad-cyber); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.3rem); color: var(--tz-ink-muted); max-width: 720px; margin: 0 auto 24px; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero__cta .btn { min-width: 180px; }
.hero__news { margin-top: 56px; padding: 20px 28px; background: var(--tz-bg-secondary); border: 1px solid rgba(6,182,212,0.25); border-radius: var(--radius-md); display: flex; align-items: center; gap: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero__news-label { background: var(--accent-cyan); color: var(--tz-bg-primary); padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; flex-shrink: 0; }
.hero__news-text { color: var(--tz-ink-muted); font-size: 0.95rem; }

/* =============================================================================
   Particles (фон)
   ============================================================================= */
.particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.particles__item { position: absolute; width: 4px; height: 4px; background: var(--accent-purple); border-radius: 50%; opacity: 0.3; animation: floatParticle var(--dur, 12s) var(--delay, 0s) infinite linear; }
@keyframes floatParticle { 0% { transform: translateY(100vh) translateX(0); opacity: 0; } 10% { opacity: 0.4; } 90% { opacity: 0.4; } 100% { transform: translateY(-100px) translateX(var(--drift, 30px)); opacity: 0; } }

/* =============================================================================
   Логотип / Atom-анимация в ЛК
   ============================================================================= */
.atom-orbit { position: relative; width: 240px; height: 240px; margin: 0 auto 32px; filter: drop-shadow(0 0 30px rgba(139,92,246,0.35)); }
.atom-orbit__ring { position: absolute; border: 2px solid transparent; border-radius: 50%; }
.atom-orbit__ring--1 { inset: 0; border: 2px solid var(--accent-cyan); animation: atomRotate 4s linear infinite; opacity: 0.85; }
.atom-orbit__ring--2 { inset: 12%; border: 2px solid var(--accent-purple); animation: atomRotate 6s linear infinite reverse; opacity: 0.75; }
.atom-orbit__ring--3 { inset: 24%; border: 2px dashed var(--accent-pink); animation: atomRotate 8s linear infinite; opacity: 0.65; }
.atom-orbit__nucleus { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; transform: translate(-50%, -50%); background: var(--grad-primary); border-radius: 50%; box-shadow: 0 0 40px var(--accent-purple); animation: atomPulse 2.4s var(--ease) infinite; }
.atom-orbit__electron { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%; transform-origin: 0 0; }
.atom-orbit__electron--1 { margin: -6px 0 0 -6px; background: var(--accent-cyan); box-shadow: 0 0 16px var(--accent-cyan); animation: atomOrbit1 4s linear infinite; }
.atom-orbit__electron--2 { margin: -5px 0 0 -5px; background: var(--accent-pink); box-shadow: 0 0 16px var(--accent-pink); animation: atomOrbit2 6s linear infinite; }
.atom-orbit__electron--3 { margin: -5px 0 0 -5px; background: var(--accent-teal); box-shadow: 0 0 16px var(--accent-teal); animation: atomOrbit3 8s linear infinite; }
@keyframes atomOrbit1 { from { transform: rotate(0deg) translateX(110px) rotate(0deg); } to { transform: rotate(360deg) translateX(110px) rotate(-360deg); } }
@keyframes atomOrbit2 { from { transform: rotate(60deg) translateX(99px) rotate(-60deg); } to { transform: rotate(420deg) translateX(99px) rotate(-420deg); } }
@keyframes atomOrbit3 { from { transform: rotate(-60deg) translateX(88px) rotate(60deg); } to { transform: rotate(300deg) translateX(88px) rotate(-300deg); } }

/* =============================================================================
   Footer
   ============================================================================= */
.footer { padding: 60px 0 32px; border-top: 1px solid rgba(139,92,246,0.18); background: var(--tz-bg-secondary); margin-top: 80px; }
.footer__inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { color: var(--tz-ink-dim); margin-top: 12px; max-width: 320px; }
.footer__col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--tz-ink); text-transform: uppercase; letter-spacing: 0.05em; }
.footer__col a { display: block; color: var(--tz-ink-dim); padding: 6px 0; font-size: 0.9rem; transition: color 0.2s var(--ease), transform 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent-cyan); transform: translateX(4px); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(139,92,246,0.12); color: var(--tz-ink-dim); font-size: 0.85rem; text-align: center; }
.footer__socials { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.footer__socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: var(--tz-surface); color: var(--tz-ink-dim); border: 1px solid rgba(139,92,246,0.2); transition: background 200ms cubic-bezier(0.32, 0.72, 0, 1), color 200ms cubic-bezier(0.32, 0.72, 0, 1), transform 200ms cubic-bezier(0.32, 0.72, 0, 1), border-color 200ms cubic-bezier(0.32, 0.72, 0, 1); }
.footer__socials a:hover { color: white; background: var(--accent-purple); border-color: var(--accent-purple); transform: translateY(-3px) scale(1.08); box-shadow: 0 0 20px rgba(139,92,246,0.5); }
.footer__col--social { display: flex; flex-direction: column; }
.footer__tg-cta { display: inline-block; margin-top: 8px; color: var(--accent-cyan) !important; font-weight: 600; font-size: 0.95rem !important; }
@media (hover: hover) and (pointer: fine) { .footer__tg-cta:hover { color: var(--accent-purple) !important; } }

@media (max-width: 1024px) { .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer__col--social { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 24px; } .footer__col--social h4 { width: 100%; } }
@media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; } .footer__col--social { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__inner { grid-template-columns: 1fr; } }

/* Hero / Atom responsive */
@media (max-width: 768px) {
  .section--hero { min-height: auto; padding: 40px 0 32px; }
  .hero { padding: 0; }
  .atom-orbit { width: 180px; height: 180px; margin-bottom: 24px; }
  .atom-orbit__nucleus { width: 44px; height: 44px; }
  .atom-orbit__electron { width: 10px; height: 10px; }
  .atom-orbit__electron--1 { margin: -5px 0 0 -5px; }
  .atom-orbit__electron--2 { margin: -5px 0 0 -5px; }
  .atom-orbit__electron--3 { margin: -5px 0 0 -5px; }
  @keyframes atomOrbit1 { from { transform: rotate(0deg) translateX(82px) rotate(0deg); } to { transform: rotate(360deg) translateX(82px) rotate(-360deg); } }
  @keyframes atomOrbit2 { from { transform: rotate(60deg) translateX(74px) rotate(-60deg); } to { transform: rotate(420deg) translateX(74px) rotate(-420deg); } }
  @keyframes atomOrbit3 { from { transform: rotate(-60deg) translateX(66px) rotate(60deg); } to { transform: rotate(300deg) translateX(66px) rotate(-300deg); } }
  .hero__title { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; line-height: 1.15; }
  .hero__subtitle { font-size: 0.95rem !important; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn { width: 100%; min-width: 0; padding: 14px 20px; }
  .hero__news { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px; text-align: left; }
  .news-ticker { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px; border-radius: var(--radius-md); }
  .news-ticker__track { gap: 24px; }
}

/* =============================================================================
   Forms
   ============================================================================= */
.form { max-width: 480px; margin: 0 auto; }
.form__group { margin-bottom: 20px; }
.form__label { display: block; font-size: 0.9rem; color: var(--tz-ink-muted); margin-bottom: 8px; }
.form__input { width: 100%; padding: 14px 18px; background: var(--tz-bg-secondary); border: 1px solid rgba(139,92,246,0.2); border-radius: var(--radius-md); color: var(--tz-ink); font-size: 1rem; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.form__input:focus { outline: none; border-color: var(--accent-purple); box-shadow: 0 0 0 3px rgba(139,92,246,0.18); }
.form__submit { width: 100%; margin-top: 8px; justify-content: center; }
.form__divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--tz-ink-dim); font-size: 0.85rem; }
.form__divider::before, .form__divider::after { content: ""; flex: 1; height: 1px; background: rgba(139,92,246,0.18); }

/* Telegram widget wrapper */
.tg-widget { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 16px 0; }
.tg-widget iframe { display: block; }
.tg-widget__fallback { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.tg-widget__hint { color: var(--tz-ink-dim); font-size: 0.8rem; text-align: center; margin: 0; max-width: 360px; line-height: 1.4; }

/* Telegram-branded button (fallback) */
.btn--tg { background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%); color: #fff; border: 1px solid rgba(42,171,238,0.5); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; font-weight: 600; min-width: 280px; }
@media (hover: hover) and (pointer: fine) { .btn--tg:hover { background: linear-gradient(135deg, #229ED9 0%, #1B7FB5 100%); border-color: #229ED9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(42,171,238,0.4); } }
.btn--tg svg { flex-shrink: 0; }

/* =============================================================================
   Animations (15 @keyframes)
   ============================================================================= */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes atomPulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 40px var(--accent-purple); } 50% { transform: translate(-50%, -50%) scale(1.15); box-shadow: 0 0 60px var(--accent-cyan); } }
@keyframes atomRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes atomOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.85; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px var(--accent-purple); } 50% { box-shadow: 0 0 50px var(--accent-cyan); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes reveal { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes countUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

[data-animate] { opacity: 0; }
[data-animate].is-visible { animation: fadeInUp 0.7s var(--ease) forwards; }
[data-animate-delay="100"].is-visible { animation-delay: 100ms; }
[data-animate-delay="200"].is-visible { animation-delay: 200ms; }
[data-animate-delay="300"].is-visible { animation-delay: 300ms; }
[data-animate-delay="400"].is-visible { animation-delay: 400ms; }

/* =============================================================================
   Chat-stub (cards.technorazum.ru)
   ============================================================================= */
.chat-stub { margin-top: 60px; padding: 24px; background: var(--tz-bg-secondary); border: 1px solid rgba(139,92,246,0.25); border-radius: var(--radius-lg); }
.chat-stub__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.chat-stub__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.chat-stub__title { font-weight: 600; color: var(--tz-ink); }
.chat-stub__subtitle { font-size: 0.8rem; color: var(--tz-ink-dim); }
.chat-stub__messages { max-height: 240px; overflow-y: auto; margin-bottom: 16px; padding: 12px; background: rgba(11,11,26,0.6); border-radius: var(--radius-md); }
.chat-msg { padding: 10px 14px; margin-bottom: 8px; border-radius: var(--radius-md); max-width: 80%; }
.chat-msg--bot { background: var(--tz-surface); color: var(--tz-ink); }
.chat-msg--user { background: var(--grad-primary); color: white; margin-left: auto; }
.chat-stub__form { display: flex; gap: 8px; }
.chat-stub__form input { flex: 1; padding: 12px 16px; background: var(--tz-bg-primary); border: 1px solid rgba(139,92,246,0.25); border-radius: var(--radius-pill); color: var(--tz-ink); }
.chat-stub__form button { padding: 12px 24px; background: var(--grad-primary); border-radius: var(--radius-pill); color: white; font-weight: 600; }

/* =============================================================================
   News ticker
   ============================================================================= */
.news-ticker { display: flex; align-items: center; gap: 16px; padding: 14px 24px; background: rgba(20,20,43,0.6); border: 1px solid rgba(6,182,212,0.2); border-radius: var(--radius-pill); overflow: hidden; }
.news-ticker__label { background: var(--accent-cyan); color: var(--tz-bg-primary); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; flex-shrink: 0; }
.news-ticker__track { display: flex; gap: 48px; animation: tickerScroll 40s linear infinite; white-space: nowrap; }
.news-ticker__item { color: var(--tz-ink-muted); font-size: 0.95rem; }
.news-ticker:hover .news-ticker__track { animation-play-state: paused; }

/* =============================================================================
   Reduced motion
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .news-ticker__track { animation: none; }
  .atom-orbit__ring, .atom-orbit__nucleus, .hero__atom { animation: none; }
  .nav__dropdown::before { animation: none; }
}

/* =============================================================================
   Utility
   ============================================================================= */
.text-center { text-align: center; }
.text-muted { color: var(--tz-ink-muted); }
.text-accent { color: var(--accent-purple); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; } .mb-6 { margin-bottom: 64px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }


/* Legal pages (privacy, terms, offer) */
.legal-content { color: var(--tz-ink-muted); line-height: 1.8; font-size: 1rem; }
.legal-content h2 { color: var(--tz-ink); margin-top: 32px; margin-bottom: 12px; font-size: 1.25rem; }
.legal-content p, .legal-content ul, .legal-content ol { margin-bottom: 16px; }
.legal-content ul, .legal-content ol { padding-left: 24px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent-cyan); text-decoration: underline; }
.legal-content a:hover { color: var(--accent-purple); }

/* ============================================================
   PAGE BLOCKS — hero / metrics / features / problems / comparison
   pricing / transformation / demo / cta / footer (extended)
   ============================================================ */

/* HERO */
.hero__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero__copy { display: flex; flex-direction: column; gap: 18px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--grad-glass); border: 1px solid rgba(139,92,246,0.3); border-radius: 999px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; color: var(--tz-ink); width: fit-content; backdrop-filter: blur(8px); }
.hero__eyebrow-spark { display: inline-block; animation: twinkle 2.5s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.3) rotate(20deg); } }
.hero__title { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.05; margin: 0; background: var(--grad-cyber); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.hero__subtitle { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--tz-ink-muted); margin: 0; font-weight: 500; }
.hero__thesis { font-size: 1.05rem; color: var(--tz-ink-dim); max-width: 540px; line-height: 1.5; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero__signature { font-size: 0.85rem; color: var(--tz-ink-dim); margin-top: 4px; font-style: italic; }
.hero__metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.metric { padding: 24px 16px; text-align: center; background: var(--tz-surface); border: 1px solid rgba(139,92,246,0.18); border-radius: 16px; backdrop-filter: blur(12px); transition: transform var(--t-base) var(--ease), border-color var(--t-base); }
@media (hover: hover) and (pointer: fine) { .metric:hover { transform: translateY(-4px); border-color: var(--accent-purple); } }
.metric__value { font-size: 2rem; font-weight: 800; background: var(--grad-cyber); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.metric__label { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--tz-ink-dim); margin-top: 4px; font-weight: 600; }

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

/* SECTION HEADER */
.section__header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; margin: 0 0 12px; color: var(--tz-ink); }
.section__subtitle { font-size: 1.1rem; color: var(--tz-ink-dim); margin: 0; line-height: 1.5; }

/* PROBLEMS */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem { padding: 28px 24px; background: var(--tz-surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; transition: transform var(--t-base), border-color var(--t-base); position: relative; overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .problem:hover { transform: translateY(-4px); border-color: var(--accent-purple); } }
.problem__num { font-size: 1.6rem; font-weight: 800; background: var(--grad-cyber); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.problem__text { color: var(--tz-ink-muted); line-height: 1.5; font-size: 0.95rem; }
.problems__stat { text-align: center; margin-top: 40px; font-size: 1.1rem; color: var(--tz-ink); padding: 24px; background: var(--grad-glass); border: 1px solid rgba(139,92,246,0.25); border-radius: 16px; }
.problems__stat strong { color: var(--accent-cyan); font-weight: 700; }
@media (max-width: 900px) { .problems { grid-template-columns: 1fr; } }

/* FEATURES */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.features--three { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 28px 22px; background: var(--tz-surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; transition: transform var(--t-base), border-color var(--t-base), background var(--t-base); position: relative; overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .feature:hover { transform: translateY(-6px); border-color: var(--accent-purple); background: rgba(139,92,246,0.06); } }
.feature__icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature__title { font-size: 1.1rem; font-weight: 700; color: var(--tz-ink); margin: 0 0 8px; }
.feature__text { font-size: 0.92rem; color: var(--tz-ink-muted); line-height: 1.5; margin: 0; }
@media (max-width: 1100px) { .features { grid-template-columns: repeat(2, 1fr); } .features--three { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .features, .features--three { grid-template-columns: 1fr; } }

/* COMPARISON */
.comparison { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: stretch; }
.comparison__col { padding: 32px 28px; background: var(--tz-surface); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; position: relative; overflow: hidden; }
.comparison__col--ai { border-color: var(--accent-purple); background: linear-gradient(135deg, rgba(139,92,246,0.12) 0%, rgba(6,182,212,0.06) 100%); box-shadow: var(--shadow-glow); }
.comparison__badge { display: inline-block; padding: 6px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; color: var(--tz-ink-muted); margin-bottom: 20px; }
.comparison__badge--ai { background: var(--grad-cyber); color: var(--tz-bg-primary); border-color: transparent; }
.comparison__name { font-size: 1.2rem; font-weight: 700; color: var(--tz-ink); margin: 0 0 20px; }
.comparison__steps { list-style: none; padding: 0; margin: 0 0 24px; }
.comparison__steps li { padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); color: var(--tz-ink-muted); font-size: 0.95rem; }
.comparison__steps li:last-child { border-bottom: none; }
.comparison__total { font-size: 2rem; font-weight: 800; color: var(--tz-ink-muted); text-align: center; padding: 16px; background: rgba(0,0,0,0.25); border-radius: 12px; }
.comparison__total--ai { background: var(--grad-cyber); color: var(--tz-bg-primary); }
.comparison__arrow { align-self: center; font-size: 2.5rem; color: var(--accent-purple); font-weight: 700; }
.comparison__legend { text-align: center; margin-top: 32px; font-size: 1.1rem; color: var(--tz-ink-muted); }
.comparison__legend strong { color: var(--accent-cyan); }
@media (max-width: 900px) { .comparison { grid-template-columns: 1fr; } .comparison__arrow { transform: rotate(90deg); justify-self: center; } }

/* DEMO */
.section--demo { background: linear-gradient(180deg, var(--tz-bg-primary) 0%, var(--tz-bg-secondary) 100%); }
.demo { max-width: 720px; margin: 0 auto; }
.demo__player { display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--tz-surface); border: 1px solid rgba(139,92,246,0.2); border-radius: 20px; backdrop-filter: blur(12px); }
.demo__player-icon { font-size: 2.4rem; flex-shrink: 0; }
.demo__player-info { flex: 1; min-width: 0; }
.demo__player-title { font-size: 1rem; font-weight: 600; color: var(--tz-ink); margin-bottom: 4px; }
.demo__player-meta { font-size: 0.8rem; color: var(--tz-ink-dim); }
.demo__player-play { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--accent-purple); background: var(--grad-cyber); color: var(--tz-bg-primary); font-size: 1.2rem; cursor: pointer; flex-shrink: 0; transition: transform var(--t-base); }
@media (hover: hover) and (pointer: fine) { .demo__player-play:hover { transform: scale(1.1); } }
.demo__note { text-align: center; margin-top: 20px; color: var(--tz-ink-dim); font-size: 0.95rem; }

/* PRICING */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.pricing__card { padding: 32px 24px; background: var(--tz-surface); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; display: flex; flex-direction: column; transition: transform var(--t-base), border-color var(--t-base); position: relative; }
@media (hover: hover) and (pointer: fine) { .pricing__card:hover { transform: translateY(-6px); border-color: var(--accent-purple); } }
.pricing__card--featured { border-color: var(--accent-cyan); background: linear-gradient(180deg, rgba(6,182,212,0.1) 0%, var(--tz-surface) 100%); box-shadow: 0 0 30px rgba(6,182,212,0.25); }
.pricing__badge { position: absolute; top: -12px; right: 20px; padding: 4px 12px; background: var(--grad-cyber); color: var(--tz-bg-primary); font-size: 0.7rem; font-weight: 700; border-radius: 999px; letter-spacing: 0.05em; }
.pricing__name { font-size: 1.1rem; font-weight: 700; color: var(--tz-ink-muted); letter-spacing: 0.05em; margin-bottom: 12px; }
.pricing__amount { font-size: 1.8rem; font-weight: 800; color: var(--tz-ink); margin-bottom: 4px; white-space: nowrap; }
.pricing__amount span { background: var(--grad-cyber); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2.4rem; }
.pricing__card--featured { padding-top: 40px; }
.pricing__meta { font-size: 0.85rem; color: var(--tz-ink-dim); margin-bottom: 24px; }
.pricing__features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.pricing__features li { padding: 8px 0; padding-left: 24px; position: relative; color: var(--tz-ink-muted); font-size: 0.9rem; }
.pricing__features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-cyan); font-weight: 700; }
.btn--block { display: block; width: 100%; text-align: center; }
@media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } }

/* TRANSFORMATION */
.section--alt { background: linear-gradient(180deg, var(--tz-bg-secondary) 0%, var(--tz-bg-primary) 100%); }
.transformation { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.transformation__col { padding: 32px 28px; background: var(--tz-surface); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; }
.transformation__col--after { border-color: var(--accent-purple); background: linear-gradient(135deg, rgba(139,92,246,0.1) 0%, rgba(6,182,212,0.05) 100%); }
.transformation__title { font-size: 1.15rem; font-weight: 700; color: var(--tz-ink-muted); margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.transformation__col--after .transformation__title { color: var(--accent-cyan); }
.transformation__list { padding-left: 24px; margin: 0; color: var(--tz-ink-muted); }
.transformation__list li { margin-bottom: 14px; line-height: 1.5; }
@media (max-width: 900px) { .transformation { grid-template-columns: 1fr; } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base), background var(--t-base); border: none; line-height: 1; }
.btn--primary { background: var(--grad-cyber); color: var(--tz-bg-primary); box-shadow: 0 4px 20px rgba(139,92,246,0.4); }
@media (hover: hover) and (pointer: fine) { .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,0.6); } }
.btn--ghost { background: var(--tz-surface); color: var(--tz-ink); border: 1px solid rgba(255,255,255,0.12); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent-purple); background: rgba(139,92,246,0.08); } }
.btn--large { padding: 18px 36px; font-size: 1.05rem; }

/* CTA */
.section--cta { background: var(--tz-bg-secondary); position: relative; }
.cta { max-width: 760px; margin: 0 auto; text-align: center; padding: 40px 24px; background: var(--tz-surface); border: 1px solid rgba(139,92,246,0.2); border-radius: 24px; backdrop-filter: blur(16px); position: relative; z-index: 1; }
.cta__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 16px; color: var(--tz-ink); }
.cta__text { font-size: 1.05rem; color: var(--tz-ink-muted); line-height: 1.6; margin: 0 0 20px; }
.cta__hint { font-size: 0.9rem; color: var(--tz-ink-dim); font-style: italic; margin: 0 0 28px; }
.cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER (extended) */
.footer { padding: 60px 0 30px; background: var(--tz-bg-secondary); border-top: 1px solid rgba(139,92,246,0.12); margin-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--tz-ink); text-decoration: none; }
.footer__logo img { width: 40px; height: 40px; }
.footer__tagline { font-size: 0.9rem; color: var(--tz-ink-dim); margin: 0; }
.footer__legal { font-size: 0.75rem; color: var(--tz-ink-dim); margin: 0; }
.footer__col h4 { font-size: 0.85rem; font-weight: 700; color: var(--tz-ink); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer__col a { display: block; color: var(--tz-ink-muted); text-decoration: none; font-size: 0.9rem; padding: 4px 0; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--accent-cyan); }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__inner { grid-template-columns: 1fr; } }







/* =====================================================
   APPLE/EMIL STANDARDS — feedback + hover gating
   Добавлено для соответствия Emil Kowalski's design standards
   ===================================================== */

/* === Hover gating (touch devices не триггерят hover на тап) === */
@media (hover: hover) and (pointer: fine) {
  /* Все существующие :hover уже обёрнуты в media (см. выше) */
}

/* === Press feedback: scale(0.97) на :active (Apple HIG + Emil's #1) === */
.btn--primary,
.btn--secondary,
.btn--ghost,
.btn,
button,
a.btn {
  transition: transform 160ms var(--ease-out, cubic-bezier(0.32, 0.72, 0, 1));
}

.btn--primary:active,
.btn--secondary:active,
.btn--ghost:active,
.btn:active,
button:active,
a.btn:active {
  transform: scale(0.97);
}

/* === Focus-visible ring (a11y — keyboard navigation) === */
.btn--primary:focus-visible,
.btn--secondary:focus-visible,
.btn--ghost:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--mm-color-accent, #ff0032);
}

/* === Typography tracking — Vercel-pattern (Apple) === */
h1.display,
.hero__title {
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
}

h2 {
  letter-spacing: -0.018em;
}

h3 {
  letter-spacing: -0.01em;
}

/* === Reduced motion — extended === */
@media (prefers-reduced-motion: reduce) {
  .btn--primary,
  .btn--secondary,
  .btn,
  button,
  a.btn {
    transition-duration: 0.01ms !important;
  }
  .btn--primary:active,
  .btn--secondary:active,
  .btn:active,
  button:active,
  a.btn:active {
    transform: none !important;
  }
}
