/* =========================================
        1. БАЗОВЫЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ
        ========================================= */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #f59e0b;
  --accent-glow: rgb(245 158 11 / 30%);
  --success: #10b981;
  --danger: #ef3030;
  --warning: #f59e0b;
  --purple: #8b5cf6;
  --cyan: #06b6d4;
  --bg-dark: #0a0f1a;
  --bg-page: #0d1117;
  --bg-card: #111827;
  --bg-surface: #1f2937;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-subtle: rgb(255 255 255 / 8%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-display: "Play", georgia, serif;
  --nav-height: 56px;

  /* Legacy variables for backward compatibility */
  --primary-color: #0f172a;
  --secondary-color: #64748b;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --purple-color: #8b5cf6;
  --border-light: rgb(255 255 255 / 8%);
  --text-serif: "Play", georgia, serif;
  --text-sans: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  box-sizing: border-box;
}

/* Глобальный сброс box-sizing для всех элементов */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

@media (width <= 768px) {
  .container {
    padding: 0 1rem;
  }
}

@media (width <= 576px) {
  .container {
    padding: 0 0.75rem;
  }
}

@media (width >= 1400px) {
  .container {
    max-width: 1320px;
  }
}

@media (width >= 1600px) {
  .container {
    max-width: 1680px;
  }
}

@media (width >= 1920px) {
  .container {
    max-width: 1800px;
  }
}

/* =========================================
        2. HEADER: KINETIC GRADIENT
        ========================================= */
.teaser-header {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e3a5f 25%,
    #0f172a 50%,
    #1a365d 75%,
    #0f172a 100%
  );
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.header-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgb(245 158 11 / 12%) 0%, transparent 60%);
  animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.header-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 60px 60px;
}

.header-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgb(245 158 11 / 12%);
  border: 1px solid rgb(245 158 11 / 25%);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fade-slide-in 0.6s ease-out;
}

.header-badge svg {
  width: 14px;
  height: 14px;
}

.header-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fade-slide-in 0.6s ease-out 0.1s both;
}

.header-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 900px;
  animation: fade-slide-in 0.6s ease-out 0.2s both;
}

@media (width >= 1600px) {
  .header-tagline {
    max-width: 1100px;
  }
}

@media (width >= 1920px) {
  .header-tagline {
    max-width: 1400px;
  }
}

.header-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  animation: fade-slide-in 0.6s ease-out 0.3s both;
}

@media (width >= 768px) {
  .header-meta {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width >= 1920px) {
  .header-meta {
    gap: 2rem;
  }
}

.header-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.header-meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.header-meta-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.header-meta-value.accent {
  color: var(--accent);
}

@media (width <= 576px) {
  .header-meta {
    grid-template-columns: 1fr;
  }
}

/* Широкие экраны (32 дюйма и более) */
@media (width >= 1600px) {
  .header-title {
    white-space: nowrap;
  }
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
        3. NAVIGATION: STICKY
        ========================================= */
.teaser-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(10 15 26 / 85%);
  backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.teaser-nav .container {
  position: relative;
}

/* Индикаторы прокрутки */
.nav-scroll-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-scroll-left {
  left: 0;
  background: linear-gradient(
    to right,
    rgb(10 15 26 / 100%) 0%,
    rgb(10 15 26 / 90%) 30%,
    rgb(10 15 26 / 70%) 60%,
    transparent 100%
  );
}

.nav-scroll-right {
  right: 0;
  background: linear-gradient(
    to left,
    rgb(10 15 26 / 100%) 0%,
    rgb(10 15 26 / 90%) 30%,
    rgb(10 15 26 / 70%) 60%,
    transparent 100%
  );
}

/* Показываем индикаторы */
.teaser-nav.has-overflow-right .nav-scroll-right {
  opacity: 1;
}

.teaser-nav.has-overflow-left .nav-scroll-left {
  opacity: 1;
}

/* Для отладки - всегда показываем индикаторы на узких экранах */
@media (width <= 768px) {
  .nav-scroll-indicator {
    width: 50px;
  }

  .nav-scroll-left {
    background: linear-gradient(
      to right,
      rgb(10 15 26 / 100%) 0%,
      rgb(10 15 26 / 95%) 40%,
      transparent 100%
    );
  }

  .nav-scroll-right {
    background: linear-gradient(
      to left,
      rgb(10 15 26 / 100%) 0%,
      rgb(10 15 26 / 95%) 40%,
      transparent 100%
    );
  }
}

.teaser-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  /* Добавляем padding для индикаторов */
  padding-left: 0;
  padding-right: 0;
}

.teaser-nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-link-teaser {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-link-teaser:hover {
  background: rgb(255 255 255 / 5%);
  color: var(--text-primary);
}

.nav-link-teaser.active {
  background: var(--accent);
  color: var(--primary);
}

.nav-link-teaser .num {
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.7;
}

.nav-link-teaser:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* =========================================
        4. HIGHLIGHTS: BENTO GRID
        ========================================= */
.section-highlights {
  padding: 3rem 0 4rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), #d97706);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  margin-right: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* =========================================
        4. BENTO GRID & PROBLEM CARDS (Unified)
        ========================================= */

/* Base card styles for both bento and problem cards */
.bento-grid,
.problems-grid {
  display: grid;
  gap: 1rem;
}

.bento-grid {
  grid-template-columns: repeat(6, 1fr);
}

.bento-card,
.p-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover,
.p-card:hover {
  border-color: var(--card-accent, var(--accent));
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgb(0 0 0 / 40%);
}

/* Card sizes */
.bento-card.large {
  grid-column: span 3;
}

.bento-card.medium {
  grid-column: span 2;
}

/* Top accent bar (for p-card) */
.p-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--card-accent);
  border-radius: 0 0 2px 2px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.p-card:hover::before {
  opacity: 1;
  left: 8px;
  right: 8px;
}

/* Header layouts - unified */
.bento-header,
.p-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.p-card-header {
  align-items: center;
}

/* Badge */
.bento-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--card-accent, var(--accent));
  padding: 0.35rem 0.75rem;
  background: rgb(255 255 255 / 4%);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-badge {
  background: rgb(255 255 255 / 10%);
}

/* Icon box - unified */
.bento-icon,
.p-icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 4%);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-icon,
.p-card:hover .p-icon-box {
  background: rgb(255 255 255 / 8%);
  transform: scale(1.1);
}

.bento-icon i,
.p-icon-box i {
  font-size: 18px;
  color: var(--card-accent, var(--accent));
  transition: all 0.3s ease;
}

.bento-card:hover .bento-icon i,
.p-card:hover .p-icon-box i {
  transform: scale(1.1);
  filter: brightness(1.2);
  text-shadow: 0 0 12px var(--card-accent, var(--accent));
}

/* Title - unified with variations */
.bento-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.p-card-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--card-accent, var(--accent));
  padding: 0.35rem 0.75rem;
  background: rgb(255 255 255 / 4%);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

/* Value/Metric */
.bento-value,
.p-metric {
  font-size: 2.25rem;
  font-weight: 800;
  color: rgb(255 255 255 / 95%);
  line-height: 1;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.bento-value {
  font-size: 3rem;
  font-weight: 700;
}

.bento-card.medium .bento-value {
  font-size: 2.25rem;
}

.bento-card:hover .bento-value,
.p-card:hover .p-metric {
  transform: scale(1.02);
  color: var(--card-accent, var(--accent));
  text-shadow: 0 0 20px var(--card-accent);
}

.p-metric small {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.3s ease;
}

.p-card:hover .p-metric small {
  color: var(--card-accent);
}

/* Description */
.bento-desc,
.p-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Progress bar */
.bento-progress {
  margin-top: 1.25rem;
  height: 4px;
  background: rgb(255 255 255 / 8%);
  border-radius: 2px;
  overflow: hidden;
}

.bento-progress-fill {
  height: 100%;
  background: var(--card-accent, var(--accent));
  border-radius: 2px;
  animation: progress-grow 1.5s ease-out forwards;
}

@keyframes progress-grow {
  from {
    width: 0;
  }
}

/* Card accent colors - Bento */
.bento-card:nth-child(1) {
  --card-accent: #f59e0b;
}

.bento-card:nth-child(2) {
  --card-accent: #10b981;
}

.bento-card:nth-child(3) {
  --card-accent: #8b5cf6;
}

.bento-card:nth-child(4) {
  --card-accent: #06b6d4;
}

.bento-card:nth-child(5) {
  --card-accent: #fbbf24;
}

/* Card accent colors - Problem cards */

@media (width <= 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.large,
  .bento-card.medium {
    grid-column: span 1;
  }

  .bento-card {
    padding: 1.25rem;
  }

  .bento-header {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .bento-icon {
    /* align-self removed */
  }

  .bento-value {
    font-size: 2rem;
  }

  .bento-card.medium .bento-value {
    font-size: 1.75rem;
  }

  .bento-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

@media (width <= 576px) {
  .bento-card {
    padding: 1rem;
  }

  .bento-value {
    font-size: 1.75rem;
  }

  .bento-card.medium .bento-value {
    font-size: 1.5rem;
  }

  .bento-desc {
    font-size: 0.75rem;
  }
}

.p-card:nth-child(1) {
  --card-accent: #f59e0b;
}

.p-card:nth-child(2) {
  --card-accent: #10b981;
}

.p-card:nth-child(3) {
  --card-accent: #8b5cf6;
}

.p-card:nth-child(4) {
  --card-accent: #06b6d4;
}

/* =========================================
        5. SECTION STYLES (LEGACY)
        ========================================= */
.section-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.section-block:last-child {
  border-bottom: none;
}

@media (width <= 768px) {
  .section-block {
    padding: 2rem 0;
  }
}

@media (width <= 576px) {
  .section-block {
    padding: 1.5rem 0;
  }
}

/* =========================================
        6. PROBLEM SECTION
        ========================================= */

/* Специфичные переменные для секции проблем */
.section-problem-mono {
  --opportunity-color: #94a3b8;
  --opportunity-soft-bg: rgb(148 163 184 / 5%);
  --opportunity-border: rgb(148 163 184 / 15%);

  background-color: #0d1117;
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
}

/* Сетка карточек проблем */
.problems-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

/* На широких экранах — сетка 2×2 */
@media (width >= 1024px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Блок инсайта (Совокупный эффект) */
.insight-block {
  background: linear-gradient(90deg, rgb(245 158 11 / 5%) 0%, transparent 100%);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 3rem;
}

.insight-block.insight-block--success {
  border-left-color: var(--success);
  background: linear-gradient(90deg, rgb(16 185 129 / 5%) 0%, transparent 100%);
}

.insight-block.insight-block--warning {
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgb(245 158 11 / 5%) 0%, transparent 100%);
}

.insight-block.insight-block--accent {
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgb(245 158 11 / 5%) 0%, transparent 100%);
}

.insight-block.insight-block--purple {
  border-left-color: var(--purple);
  background: linear-gradient(90deg, rgb(139 92 246 / 5%) 0%, transparent 100%);
}

.insight-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.insight-block--success .insight-label {
  color: var(--success);
}

.insight-block--accent .insight-label {
  color: var(--accent);
}

.insight-block--warning .insight-label {
  color: var(--accent);
}

.insight-block--purple .insight-label {
  color: var(--purple);
}

.insight-block:not(
    .insight-block--success,
    .insight-block--accent,
    .insight-block--warning,
    .insight-block--purple
  )
  .insight-label {
  color: var(--accent);
}

.insight-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.insight-text strong {
  color: var(--text-primary);
}

/* Заголовок возможностей */
.why-now-title {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-primary); /* Белый для контраста с серыми карточками */
  font-weight: 700;
}

/* Сетка возможностей */
.why-now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.wn-card {
  background: rgb(255 255 255 / 2%);
  border: 1px solid var(--opportunity-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
}

.wn-card:hover {
  background: var(--opportunity-soft-bg);
  border-color: var(--opportunity-color);
}

.wn-icon-box {
  width: 64px;
  height: 64px;
  background: var(--opportunity-soft-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.75rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.wn-icon-box svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

/* Цветные иконки для карточек "Почему сейчас" */
.wn-card .wn-icon-box {
  background: rgb(13 110 253 / 10%);
}

.wn-card:nth-child(1) .wn-icon-box {
  color: var(--accent-color);
}

.wn-card:nth-child(1) .wn-icon-box svg {
  stroke: var(--accent-color);
}

.wn-card:nth-child(2) .wn-icon-box {
  color: var(--success-color);
}

.wn-card:nth-child(2) .wn-icon-box svg {
  stroke: var(--success-color);
}

.wn-card:nth-child(3) .wn-icon-box {
  color: var(--purple-color);
}

.wn-card:nth-child(3) .wn-icon-box svg {
  stroke: var(--purple-color);
}

.wn-card:nth-child(4) .wn-icon-box {
  color: var(--warning-color);
}

.wn-card:nth-child(4) .wn-icon-box svg {
  stroke: var(--warning-color);
}

/* Font Awesome иконки наследуют цвет от родителя */
.wn-icon-box i {
  color: inherit;
  transition: transform 0.3s ease;
}

/* Hover-эффекты для иконок */
.wn-card:hover .wn-icon-box {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgb(13 110 253 / 25%);
}

.wn-card:hover .wn-icon-box svg,
.wn-card:hover .wn-icon-box i {
  transform: scale(1.1);
}

.wn-content h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.wn-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Hover-эффекты для заголовков в карточках "Почему сейчас" */
.wn-card:hover .wn-content h5 {
  color: var(--accent);
}

/* Адаптивность для секции проблемы */
@media (width <= 768px) {
  .section-problem-mono {
    padding: 3rem 0;
  }

  .section-subtitle {
    margin-left: 0;
    margin-top: 0.75rem;
  }
}

/* =========================================
        9. SOLUTION BLOCK
        ========================================= */

/* 1. HERO CARD (Из Bento) */
.solution-hero {
  background: linear-gradient(135deg, rgb(245 158 11 / 5%) 0%, var(--bg-card) 100%);
  border: 1px solid rgb(245 158 11 / 30%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

/* 1. HERO CARD - Увеличенная иконка (стиль как в wn-icon-box) */
.hero-icon {
  width: 100px;
  height: 100px;
  background: rgb(13 110 253 / 10%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-icon i {
  font-size: 48px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.solution-hero:hover .hero-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgb(245 158 11 / 25%);
}

.solution-hero:hover .hero-icon i {
  transform: scale(1.1);
}

.hero-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.hero-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================
        10. MODULES SECTION
        ========================================= */
.modules-section {
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modules-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

/* modules-grid для обратной совместимости с другими страницами */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

/* 2. MODULE CARDS - с анимацией и цветными иконками */
.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
  animation: module-fade-in 0.4s ease-out both;
}

@keyframes module-fade-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.module-card:hover {
  border-color: var(--accent);
  background: rgb(255 255 255 / 2%);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgb(245 158 11 / 20%);
}

/* Цветные иконки для каждого модуля */
.module-card:nth-child(1) .module-icon {
  background: linear-gradient(135deg, rgb(16 185 129 / 15%) 0%, rgb(16 185 129 / 25%) 100%);
}

.module-card:nth-child(1) .module-icon i {
  color: #10b981;
}

.module-card:nth-child(2) .module-icon {
  background: linear-gradient(135deg, rgb(6 182 212 / 15%) 0%, rgb(6 182 212 / 25%) 100%);
}

.module-card:nth-child(2) .module-icon i {
  color: #06b6d4;
}

.module-card:nth-child(3) .module-icon {
  background: linear-gradient(135deg, rgb(139 92 246 / 15%) 0%, rgb(139 92 246 / 25%) 100%);
}

.module-card:nth-child(3) .module-icon i {
  color: #8b5cf6;
}

.module-card:nth-child(4) .module-icon {
  background: linear-gradient(135deg, rgb(234 179 8 / 15%) 0%, rgb(234 179 8 / 25%) 100%);
}

.module-card:nth-child(4) .module-icon i {
  color: #ea580c;
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.module-icon i {
  font-size: 22px;
  transition: all 0.3s ease;
}

.module-card:hover .module-icon {
  transform: scale(1.1);
}

.module-card:hover .module-icon i {
  transform: scale(1.15);
  filter: brightness(1.2);
}

.module-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

/* module-title для обратной совместимости с другими страницами */
.module-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.module-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================
        11. UVP SECTION
        ========================================= */
.uvp-section {
  margin-top: 2rem;
}

.uvp-title {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.uvp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.uvp-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.uvp-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.uvp-num {
  width: 48px;
  height: 48px;
  background: rgb(13 110 253 / 10%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.uvp-item:hover .uvp-num {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgb(13 110 253 / 25%);
}

.uvp-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.uvp-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Адаптивность для секции решения */
@media (width <= 768px) {
  .solution-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-icon {
    margin: 0 auto;
  }

  .section-subtitle {
    margin-left: 0;
  }
}

/* Сетка 2×2 для больших экранов */
@media (width >= 1024px) {
  .modules-list,
  .uvp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
        17. RISKS ACCORDION
        ========================================= */
.risks-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Top accent bar like p-card */
.accordion-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  border-radius: 0 0 2px 2px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.accordion-item.risk-high::before {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.accordion-item.risk-medium::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 35%);
}

.accordion-item.risk-high:hover {
  border-color: rgb(239 68 68 / 50%);
}

.accordion-item.risk-medium:hover {
  border-color: rgb(245 158 11 / 50%);
}

.accordion-item:hover::before {
  opacity: 1;
  left: 8px;
  right: 8px;
}

.accordion-item.active {
  border-color: var(--accent);
  box-shadow: 0 8px 32px -8px rgb(245 158 11 / 25%);
}

.accordion-item.active::before {
  opacity: 1;
  left: 4px;
  right: 4px;
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.accordion-header:hover {
  background: rgb(255 255 255 / 2%);
}

.accordion-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-icon i {
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.accordion-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accordion-item.risk-high .accordion-icon {
  background: linear-gradient(135deg, rgb(239 68 68 / 15%) 0%, rgb(239 68 68 / 25%) 100%);
}

.accordion-item.risk-high .accordion-icon i {
  color: #f87171;
}

.accordion-item.risk-high .accordion-icon svg {
  stroke: var(--danger);
}

.accordion-item.risk-medium .accordion-icon {
  background: linear-gradient(135deg, rgb(245 158 11 / 15%) 0%, rgb(245 158 11 / 25%) 100%);
}

.accordion-item.risk-medium .accordion-icon i {
  color: #fbbf24;
}

.accordion-item.risk-medium .accordion-icon svg {
  stroke: var(--warning);
}

/* Hover animation for icon */
.accordion-item:hover .accordion-icon {
  transform: scale(1.08);
}

.accordion-item:hover .accordion-icon i {
  transform: scale(1.1);
}

.accordion-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.accordion-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-right: 1rem;
}

.badge-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.risk-badge-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-right: 0.35rem;
  font-weight: 600;
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.risk-badge--high {
  background: rgb(239 68 68 / 15%);
  color: #f87171;
}

.risk-badge--medium {
  background: rgb(245 158 11 / 15%);
  color: #fbbf24;
}

.accordion-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: rgb(255 255 255 / 4%);
  border-radius: 50%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: auto;
  flex-shrink: 0;
}

.accordion-toggle:hover {
  background: rgb(255 255 255 / 10%);
  transform: scale(1.1);
}

.accordion-toggle svg {
  width: 14px;
  height: 14px;
  stroke: currentcolor;
  stroke-width: 2.5;
  fill: none;
  transition: all 0.3s ease;
}

.accordion-item.risk-high .accordion-toggle:hover {
  background: rgb(239 68 68 / 15%);
  color: #f87171;
}

.accordion-item.risk-medium .accordion-toggle:hover {
  background: rgb(245 158 11 / 15%);
  color: #fbbf24;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(180deg);
  background: rgb(245 158 11 / 15%);
  color: var(--accent);
}

.accordion-item.active .accordion-toggle:hover {
  background: rgb(245 158 11 / 25%);
}

.accordion-item.risk-high.active .accordion-toggle {
  background: rgb(239 68 68 / 15%);
  color: #f87171;
}

.accordion-item.risk-high.active .accordion-toggle:hover {
  background: rgb(239 68 68 / 25%);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 300px;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem 4.25rem;
}

.accordion-mitigation {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
}

.accordion-item.risk-high .accordion-mitigation {
  background: rgb(239 68 68 / 5%);
  border-left: 3px solid var(--danger);
}

.accordion-item.risk-medium .accordion-mitigation {
  background: rgb(245 158 11 / 5%);
  border-left: 3px solid var(--warning);
}

.accordion-mitigation-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.accordion-item.risk-high .accordion-mitigation-label {
  color: var(--danger);
}

.accordion-item.risk-medium .accordion-mitigation-label {
  color: var(--warning);
}

.accordion-mitigation-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.accordion-mitigation-text strong {
  color: var(--text-primary);
}

/* Risks Accordion Responsive */

/* Планшет (до 992px) - badges в одну строку */
@media (width <= 992px) {
  .accordion-header {
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  /* Иконка крупная и заметная */
  .accordion-icon {
    width: 44px;
    height: 44px;
  }

  .accordion-icon i {
    font-size: 1.1rem;
  }

  /* Заголовок занимает доступное пространство */
  .accordion-title {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
  }

  /* Toggle справа на первой строке */
  .accordion-toggle {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgb(255 255 255 / 10%);
    flex-shrink: 0;
    margin-left: auto;
  }

  .accordion-toggle:hover {
    background: rgb(255 255 255 / 5%);
    border-color: rgb(255 255 255 / 20%);
  }

  .accordion-toggle svg {
    width: 14px;
    height: 14px;
  }

  /* Badges в одну строку на планшете - на второй строке */
  .accordion-badges {
    width: 100%;
    margin-left: 60px;
    margin-right: 0;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    order: 3;
  }

  .badge-group {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }

  .accordion-body {
    padding: 0 1.25rem 1.25rem;
  }
}

/* Смартфон (до 576px) - компактный layout */
@media (width <= 576px) {
  .accordion-header {
    padding: 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  /* Иконка остается крупной для визуального акцента */
  .accordion-icon {
    width: 42px;
    height: 42px;
  }

  .accordion-icon i {
    font-size: 1rem;
  }

  /* Заголовок на одной строке с toggle */
  .accordion-title {
    flex: 1;
    min-width: 0;
    font-size: 0.85rem;
  }

  /* Toggle справа на первой строке */
  .accordion-toggle {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgb(255 255 255 / 8%);
    margin-left: auto;
    flex-shrink: 0;
  }

  .accordion-toggle svg {
    width: 14px;
    height: 14px;
  }

  /* Badges столбиком на смартфоне под заголовком */
  .accordion-badges {
    width: 100%;
    margin-left: 54px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    order: 3;
  }

  .badge-group {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .risk-badge-label {
    font-size: 0.65rem;
  }

  .risk-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  .accordion-body {
    padding: 0 1rem 1rem;
  }

  .accordion-mitigation {
    padding: 0.75rem 1rem;
  }

  .accordion-mitigation-text {
    font-size: 0.85rem;
  }
}

/* =========================================
        19. TEAM SECTION (Section 8)
        ========================================= */

/* Team Horizontal Layout */
.team-horizontal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

.team-row:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.team-row.founder {
  border-color: rgb(245 158 11 / 30%);
  background: linear-gradient(135deg, rgb(245 158 11 / 5%) 0%, var(--bg-card) 100%);
}

.team-row.founder:hover {
  border-color: var(--accent);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.team-row.founder .team-avatar {
  background: linear-gradient(135deg, var(--accent), #d97706);
}

.team-row:not(.founder) .team-avatar {
  background: linear-gradient(135deg, var(--purple), #6366f1);
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.team-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #08c, #00a0dc);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-telegram:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgb(0 136 204 / 40%);
}

.team-telegram i {
  font-size: 16px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.team-highlight {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.team-highlight strong {
  color: var(--text-primary);
}

.team-experience {
  text-align: right;
}

.team-years {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}

.team-years-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* =========================================
        20. HIRING PLAN (Section 8)
        ========================================= */
.hiring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hiring-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
  animation: hiring-fade-in 0.4s ease-out both;
}

@keyframes hiring-fade-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hiring-card:nth-child(1) {
  animation-delay: 0.1s;
}

.hiring-card:nth-child(2) {
  animation-delay: 0.2s;
}

.hiring-card:nth-child(3) {
  animation-delay: 0.3s;
}

.hiring-card:hover {
  border-color: var(--accent);
  background: rgb(255 255 255 / 2%);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgb(245 158 11 / 20%);
}

/* Цветные иконки для каждой карточки найма */
.hiring-card:nth-child(1) .hiring-icon {
  background: linear-gradient(135deg, rgb(139 92 246 / 15%) 0%, rgb(139 92 246 / 25%) 100%);
}

.hiring-card:nth-child(1) .hiring-icon i {
  color: #8b5cf6;
}

.hiring-card:nth-child(2) .hiring-icon {
  background: linear-gradient(135deg, rgb(16 185 129 / 15%) 0%, rgb(16 185 129 / 25%) 100%);
}

.hiring-card:nth-child(2) .hiring-icon i {
  color: #10b981;
}

.hiring-card:nth-child(3) .hiring-icon {
  background: linear-gradient(135deg, rgb(245 158 11 / 15%) 0%, rgb(245 158 11 / 25%) 100%);
}

.hiring-card:nth-child(3) .hiring-icon i {
  color: #f59e0b;
}

.hiring-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.hiring-icon i {
  font-size: 22px;
  transition: all 0.3s ease;
}

.hiring-card:hover .hiring-icon {
  transform: scale(1.1);
}

.hiring-card:hover .hiring-icon i {
  transform: scale(1.15);
  filter: brightness(1.2);
}

.hiring-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.hiring-period {
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hiring-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================
        21. ASK TABLE (Section 8)
        ========================================= */
.ask-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.ask-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.ask-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.ask-table tr:last-child td {
  border-bottom: none;
}

.ask-table tr:hover td {
  background: rgb(255 255 255 / 2%);
}

.ask-table .label-cell {
  font-weight: 600;
  color: var(--text-secondary);
  width: 35%;
}

.ask-table .value-cell {
  color: var(--text-primary);
}

.ask-table .value-cell.highlight {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* =========================================
        22. CONTACT BLOCK (Section 8)
        ========================================= */
.contact-block {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.contact-block::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgb(255 255 255 / 10%) 0%, transparent 70%);
}

.contact-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgb(255 255 255 / 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  z-index: 1;
}

.contact-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.contact-role {
  font-size: 0.9rem;
  color: rgb(255 255 255 / 90%);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #fff;
}

.contact-link svg {
  width: 16px;
  height: 16px;
  stroke: currentcolor;
}

/* =========================================
        22.5 FOOTER CONTACT CARD
        ========================================= */
.footer-contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--purple) 0%, #6366f1 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  animation: footer-card-fade-in 0.5s ease-out both;
}

@keyframes footer-card-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-contact-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgb(255 255 255 / 15%) 0%, transparent 70%);
}

.footer-contact-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgb(255 255 255 / 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.footer-contact-card:hover .footer-contact-avatar {
  transform: scale(1.05);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  z-index: 1;
}

.footer-contact-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.footer-contact-role {
  font-size: 1rem;
  color: rgb(255 255 255 / 90%);
}

.footer-contact-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 15%);
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  background: rgb(255 255 255 / 30%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgb(0 0 0 / 20%);
}

.footer-contact-link i {
  font-size: 22px;
}

.contact-link a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.contact-link a:hover {
  text-decoration: underline;
}

/* =========================================
         24. TEAM SECTION RESPONSIVE
         ========================================= */
@media (width <= 900px) {
  .team-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .team-experience {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .team-years {
    font-size: 1.25rem;
  }

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

  .ask-table .label-cell {
    width: 40%;
  }

  .contact-block {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .contact-links {
    flex-flow: row wrap;
    justify-content: center;
  }
}

@media (width <= 576px) {
  .team-row {
    padding: 1.25rem;
  }

  .team-avatar {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .ask-table td {
    padding: 1rem;
    font-size: 0.85rem;
  }

  .ask-table .label-cell {
    width: 45%;
  }

  .contact-block {
    padding: 1.5rem;
  }

  .contact-avatar {
    width: 56px;
    height: 56px;
  }
}

/* =========================================
        25. CTA SECTION (Legacy)
        ========================================= */
.cta-block {
  background: linear-gradient(135deg, var(--success-color) 0%, #16a34a 100%);
  border-radius: 16px;
  padding: 2.5rem;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgb(255 255 255 / 10%) 0%, transparent 70%);
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.cta-subtitle {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.cta-contact svg {
  width: 18px;
  height: 18px;
  stroke: currentcolor;
  stroke-width: 2;
  fill: none;
}

.cta-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.cta-contact a:hover {
  text-decoration: underline;
}

/* =========================================
        21. FOOTER
        ========================================= */
.teaser-footer {
  background: #1e293b;
  padding: 2rem 0;
  color: rgb(255 255 255 / 70%);
  text-align: center;
}

.teaser-footer p {
  font-size: 0.85rem;
  margin: 0;
}

/* =========================================
        22. RESPONSIVE
        ========================================= */
@media (width <= 768px) {
  .teaser-hero {
    padding: 3rem 0 4rem;
  }

  .hero-meta {
    gap: 1rem;
  }

  .funding-amount {
    font-size: 2rem;
  }
}

@media (width <= 576px) {
  .section-block {
    padding: 1.5rem 0;
  }

  .highlights-grid,
  .modules-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
        23. BACK TO TOP
        ========================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgb(13 110 253 / 30%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

/* Animation */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fade-in-up 0.6s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  .animate-in {
    animation: none;
  }
}

/* =========================================
        24. TRACTION SECTION (Section 4)
        ========================================= */

/* Traction Metrics Grid */
.traction-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.traction-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.traction-metric-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Top row with icon and value */
.tm-top-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tm-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgb(255 255 255 / 4%);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.tm-icon i {
  font-size: 24px;
  color: var(--card-accent, var(--accent));
  transition: all 0.3s ease;
}

.traction-metric-card:hover .tm-icon {
  background: rgb(255 255 255 / 8%);
  transform: scale(1.1);
}

.traction-metric-card:hover .tm-icon i {
  transform: scale(1.1);
  filter: brightness(1.2);
  text-shadow: 0 0 12px var(--card-accent, var(--accent));
}

/* Color variants for traction metric icons */
.traction-metric-card.tm-economy .tm-icon i {
  color: var(--success);
}

.traction-metric-card.tm-economy:hover .tm-icon i {
  text-shadow: 0 0 12px var(--success);
}

.traction-metric-card.tm-speed .tm-icon i {
  color: var(--cyan);
}

.traction-metric-card.tm-speed:hover .tm-icon i {
  text-shadow: 0 0 12px var(--cyan);
}

.traction-metric-card.tm-quality .tm-icon i {
  color: var(--purple);
}

.traction-metric-card.tm-quality:hover .tm-icon i {
  text-shadow: 0 0 12px var(--purple);
}

.traction-metric-card.tm-pilot .tm-icon i {
  color: var(--accent);
}

.traction-metric-card.tm-pilot:hover .tm-icon i {
  text-shadow: 0 0 12px var(--accent);
}

.tm-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.tm-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 0.1rem;
}

.tm-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  padding-left: 0.1rem;
}

/* Marketing Card */
.marketing-card {
  background: linear-gradient(135deg, rgb(245 158 11 / 5%) 0%, var(--bg-card) 100%);
  border: 1px solid rgb(245 158 11 / 30%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.mc-content h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mc-content h4 i {
  font-size: 1rem;
}

.mc-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Marketing metrics grid */
.mc-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mc-metric-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgb(255 255 255 / 3%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.mc-metric-item:hover {
  background: rgb(255 255 255 / 6%);
  transform: translateY(-2px);
}

.mc-metric-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 4%);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.mc-metric-icon i {
  font-size: 18px;
  transition: all 0.3s ease;
}

.mc-metric-item:hover .mc-metric-icon {
  background: rgb(255 255 255 / 8%);
  transform: scale(1.1);
}

.mc-metric-item:hover .mc-metric-icon i {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.mc-metric-data {
  display: flex;
  flex-direction: column;
}

.mc-metric-value {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.mc-metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Color variants for marketing metrics */
.mc-metric-ctr .mc-metric-icon i {
  color: var(--success);
}

.mc-metric-ctr .mc-metric-value {
  color: var(--success);
}

.mc-metric-ctr:hover .mc-metric-icon i {
  text-shadow: 0 0 12px var(--success);
}

.mc-metric-views .mc-metric-icon i {
  color: var(--cyan);
}

.mc-metric-views .mc-metric-value {
  color: var(--cyan);
}

.mc-metric-views:hover .mc-metric-icon i {
  text-shadow: 0 0 12px var(--cyan);
}

.mc-metric-leads .mc-metric-icon i {
  color: var(--purple);
}

.mc-metric-leads .mc-metric-value {
  color: var(--purple);
}

.mc-metric-leads:hover .mc-metric-icon i {
  text-shadow: 0 0 12px var(--purple);
}

.mc-metric-convert .mc-metric-icon i {
  color: var(--accent);
}

.mc-metric-convert .mc-metric-value {
  color: var(--accent);
}

.mc-metric-convert:hover .mc-metric-icon i {
  text-shadow: 0 0 12px var(--accent);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-download:hover {
  background: var(--accent);
  color: var(--primary);
}

.btn-download svg {
  width: 14px;
  height: 14px;
  stroke: currentcolor;
  fill: none;
}

/* Validation Cases */
.traction-section-label {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.validation-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.case-card:hover {
  border-color: var(--accent);
}

/* Case status */
.case-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.status-done {
  background: rgb(245 158 11 / 10%);
  color: var(--accent);
}

.status-lost {
  background: rgb(255 255 255 / 5%);
  color: var(--text-muted);
}

.case-header {
  margin-bottom: 1rem;
  padding-right: 3rem;
}

.case-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.case-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.case-stats {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.cs-item {
  display: flex;
  flex-direction: column;
}

.cs-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

.cs-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.case-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* List inside card */
.case-list {
  list-style: none;
  margin-top: 1rem;
}

.case-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
}

.case-list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Roadmap Container */
.roadmap-container {
  position: relative;
  padding-left: 2rem;
  margin-top: 1rem;
}

.roadmap-container::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-subtle);
}

.rm-item {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.rm-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 2px solid var(--accent);
}

.rm-item:last-child {
  margin-bottom: 0;
}

.rm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.rm-item:hover .rm-card {
  border-color: var(--accent);
  transform: translateX(4px);
}

.rm-content {
  flex: 1;
}

.rm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.rm-period {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rm-goal {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.rm-result {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.rm-result strong {
  color: var(--accent);
}

/* Roadmap icons */
.rm-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 4%);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.rm-icon i {
  font-size: 20px;
  transition: all 0.3s ease;
}

.rm-item:hover .rm-icon {
  background: rgb(255 255 255 / 8%);
  transform: scale(1.1);
}

.rm-item:hover .rm-icon i {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Color variants for roadmap icons */
.rm-icon--purple i {
  color: var(--purple);
}

.rm-item:hover .rm-icon--purple i {
  text-shadow: 0 0 12px var(--purple);
}

.rm-icon--cyan i {
  color: var(--cyan);
}

.rm-item:hover .rm-icon--cyan i {
  text-shadow: 0 0 12px var(--cyan);
}

.rm-icon--accent i {
  color: var(--accent);
}

.rm-item:hover .rm-icon--accent i {
  text-shadow: 0 0 12px var(--accent);
}

.rm-icon--success i {
  color: var(--success);
}

.rm-item:hover .rm-icon--success i {
  text-shadow: 0 0 12px var(--success);
}

/* Responsive for Traction Section */
@media (width <= 900px) {
  .traction-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .validation-cases {
    grid-template-columns: 1fr;
  }

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

  .rm-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .rm-icon {
    align-self: flex-end;
    margin-top: -2.5rem;
  }

  /* Fix overlapping case status and header on tablet */
  .case-status {
    position: static;
    display: inline-block;
    margin-bottom: 0.5rem;
    margin-right: 0;
    font-size: 0.65rem;
  }

  .case-header {
    padding-right: 0;
  }
}

@media (width <= 600px) {
  .traction-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .mc-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Перенос длинных слов в карточках */
  .tm-label,
  .tm-sub,
  .case-title,
  .case-desc,
  .case-list li,
  .mc-content p,
  .mc-metric-value,
  .mc-metric-label {
    overflow-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* Уменьшение отступов для компактности */
  .traction-metric-card {
    padding: 1rem;
  }

  .case-card {
    padding: 1rem;
  }

  /* Уменьшение размеров шрифта для мобильных */
  .tm-value {
    font-size: 1.75rem;
  }

  .tm-label {
    font-size: 0.8rem;
  }

  .tm-sub {
    font-size: 0.7rem;
  }

  .mc-metric-value {
    font-size: 1.1rem;
  }

  .mc-metric-label {
    font-size: 0.65rem;
  }

  /* Fix overlapping case status and header on mobile */
  .case-status {
    position: static;
    display: inline-block;
    margin-bottom: 0.5rem;
    margin-right: 0;
    font-size: 0.6rem;
  }

  .case-header {
    padding-right: 0;
  }

  /* === ИСПРАВЛЕНИЕ АДАПТИВНОСТИ КАРТОЧЕК НА СМАРТФОНЕ === */

  /* Traction metric cards - равномерное распределение контента */
  .traction-metric-card {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Top row с иконкой и значением - равномерно по ширине */
  .tm-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }

  /* Иконка компактная слева */
  .tm-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .tm-icon i {
    font-size: 20px;
  }

  /* Значение справа от иконки, занимает оставшееся место */
  .tm-value {
    flex: 1;
    text-align: right;
    font-size: 1.5rem;
  }

  /* Label и sub на всю ширину */
  .tm-label {
    width: 100%;
    font-size: 0.8rem;
  }

  .tm-sub {
    width: 100%;
    font-size: 0.7rem;
  }

  /* Case cards - равномерное распределение контента */
  .case-card {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Case stats - равномерное распределение по ширине */
  .case-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
  }

  /* Элементы статистики равномерно распределяются */
  .cs-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cs-val {
    font-size: 1rem;
    text-align: center;
  }

  .cs-lbl {
    font-size: 0.65rem;
    text-align: center;
  }

  /* Marketing card metrics - равномерное распределение */
  .mc-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    gap: 0.5rem;
  }

  .mc-metric-icon {
    width: 36px;
    height: 36px;
  }

  .mc-metric-icon i {
    font-size: 16px;
  }

  .mc-metric-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mc-metric-value {
    font-size: 1rem;
    text-align: center;
  }

  .mc-metric-label {
    font-size: 0.6rem;
    text-align: center;
  }

  /* Roadmap cards - период и иконка на одной строке на смартфоне */
  .rm-card {
    position: relative;
    padding-top: 3.5rem;
  }

  .rm-content {
    padding-right: 0;
  }

  .rm-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }

  .rm-period {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .rm-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    margin-top: 0;
  }

  .rm-icon i {
    font-size: 18px;
  }

  .rm-goal {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
  }

  .rm-result {
    font-size: 0.85rem;
    color: var(--text-secondary);
  }

  .rm-result strong {
    color: var(--accent);
  }
}

@media (width <= 400px) {
  .traction-metrics-grid {
    grid-template-columns: 1fr;
  }

  .mc-metrics {
    grid-template-columns: 1fr;
  }

  /* На очень узких экранах - контент на всю ширину */
  .traction-metric-card {
    padding: 1rem;
  }

  .tm-top-row {
    justify-content: space-between;
    gap: 0.75rem;
  }

  .tm-icon {
    width: 48px;
    height: 48px;
  }

  .tm-value {
    font-size: 1.75rem;
  }

  .case-card {
    padding: 1rem;
  }

  .case-stats {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.25rem;
  }

  .cs-item {
    flex: 1;
  }

  .cs-val {
    font-size: 0.95rem;
  }

  .cs-lbl {
    font-size: 0.6rem;
  }

  .mc-metric-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .mc-metric-data {
    align-items: flex-start;
    text-align: left;
  }
}

/* =========================================
         MARKET BOXES (Variant A - Nested)
/* Исправ: предотвращение горизонтального скролла */
.market-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
  overflow-x: hidden;
}

/* Ограничение ширины для мобильных */
.nested-container {
  flex: 1;
  max-width: 600px;
  min-width: 0;
}

/* Базовые стили карточки с учетом box-sizing */
.market-box {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  position: relative;
  transition: all 0.3s ease;
  box-sizing: border-box;
  width: 100%;
}

.market-box--tam {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  border: 2px solid #3b82f6;
}

.market-box--sam {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a5f 100%);
  border: 2px solid #60a5fa;
  margin: 0.5rem;
}

.market-box--som {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  border: 2px solid #93c5fd;
  margin: 0.5rem;
}

.market-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px -8px rgb(59 130 246 / 30%);
}

.market-box-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.market-box--tam .market-box-label {
  color: #93c5fd;
}

.market-box--sam .market-box-label {
  color: #60a5fa;
}

.market-box--som .market-box-label {
  color: #dbeafe;
}

/* Имprove: reduce font size on mobile */
.market-box-value {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.market-box--tam .market-box-value {
  color: #93c5fd;
}

.market-box--sam .market-box-value {
  color: #60a5fa;
}

.market-box--som .market-box-value {
  color: #dbeafe;
}

/* Legend cards for market size */
.market-legend-boxes {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legend-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  transition: all 0.3s ease;
}

.legend-card:hover {
  border-color: var(--accent);
}

.legend-dot {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.legend-dot i {
  font-size: 1rem;
  color: #fff;
}

.legend-dot--tam {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 2px 8px rgb(59 130 246 / 30%);
}

.legend-dot--sam {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  box-shadow: 0 2px 8px rgb(96 165 250 / 30%);
}

.legend-dot--som {
  background: linear-gradient(135deg, #93c5fd, #60a5fa);
  box-shadow: 0 2px 8px rgb(147 197 253 / 30%);
}

.legend-card:hover .legend-dot {
  transform: scale(1.1);
}

.legend-card h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.legend-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================
         BUBBLE MATRIX (Variant B)
         ========================================= */
.bubble-matrix {
  position: relative;
  height: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bubble-grid-lines {
  position: absolute;
  inset: 0;
}

.bubble-axis-x,
.bubble-axis-y {
  position: absolute;
  background: var(--border-subtle);
}

.bubble-axis-x {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.bubble-axis-y {
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
}

.bubble-label {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bubble-label--left {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.bubble-label--right {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.bubble-label--top {
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.bubble-label--bottom {
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.bubble-point {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 1.2;
}

.bubble-point:hover {
  transform: scale(1.15);
  z-index: 10;
}

.bubble--pir {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgb(16 185 129 / 25%), rgb(16 185 129 / 10%));
  border: 2px solid var(--success);
  box-shadow: 0 0 24px -4px rgb(16 185 129 / 50%);
  color: var(--success);
  top: 15%;
  right: 15%;
  transform: translate(50%, 0);
}

.bubble--pir:hover {
  transform: translate(50%, 0) scale(1.1);
}

.bubble--nano {
  width: 60px;
  height: 60px;
  background: rgb(255 138 101 / 15%);
  border: 1px solid #ff8a65;
  color: #ff8a65;
  top: 20%;
  left: 35%;
}

.bubble--bim {
  width: 70px;
  height: 70px;
  background: rgb(255 183 77 / 15%);
  border: 1px solid #ffb74d;
  color: #ffb74d;
  bottom: 25%;
  right: 30%;
}

.bubble--tools {
  width: 50px;
  height: 50px;
  background: rgb(255 213 79 / 15%);
  border: 1px solid #ffd54f;
  color: #ffd54f;
  bottom: 30%;
  left: 30%;
}

/* =========================================
         COMPETITOR CARDS
         ========================================= */
.competitors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.competitor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.competitor-card:hover {
  border-color: var(--accent);
}

.competitor-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.competitor-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--purple), #6366f1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

.competitor-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.competitor-type {
  font-size: 0.75rem;
  color: var(--accent);
}

.competitor-features {
  list-style: none;
  margin-bottom: 1rem;
}

.competitor-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
}

.competitor-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.competitor-gaps {
  padding: 1rem;
  background: rgb(239 68 68 / 5%);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--danger);
}

.competitor-gaps-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--danger);
  margin-bottom: 0.5rem;
}

.competitor-gaps-list {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================
         RESPONSIVE FOR MARKET SECTION
         ========================================= */

@media (width <= 900px) {
  .market-boxes {
    flex-direction: column;
    align-items: stretch;
  }

  .market-legend-boxes {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .nested-container {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .bubble-matrix {
    height: 350px;
  }

  /* Метки осей на планшете */
  .bubble-label--top,
  .bubble-label--bottom {
    white-space: nowrap;
    font-size: 0.55rem;
  }

  .bubble-label--left,
  .bubble-label--right {
    width: 70px;
    font-size: 0.55rem;
    text-align: center;
    line-height: 1.3;
  }

  .bubble-label--left {
    left: 0.5rem;
  }

  .bubble-label--right {
    right: 0.5rem;
  }

  .bubble--pir {
    width: 80px;
    height: 80px;
    top: 12%;
    right: 10%;
  }

  .bubble--nano {
    width: 65px;
    height: 65px;
    top: 15%;
    left: 25%;
    font-size: 0.55rem;
  }

  .bubble--bim {
    width: 75px;
    height: 75px;
    bottom: 20%;
    right: 22%;
    font-size: 0.55rem;
  }

  .bubble--tools {
    width: 45px;
    height: 45px;
    bottom: 25%;
    left: 22%;
  }

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

@media (width <= 576px) {
  .market-box {
    padding: 1.5rem;
  }

  .market-box--sam {
    margin: 1rem;
  }

  .market-box--som {
    margin: 1rem;
  }

  .market-box-value {
    font-size: 1.5rem;
  }

  .market-legend-boxes {
    min-width: 0;
  }

  .legend-card {
    padding: 1rem;
    gap: 1rem;
  }

  .legend-dot {
    width: 32px;
    height: 32px;
  }

  .legend-card h5 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .legend-card p {
    font-size: 0.75rem;
  }

  .bubble-matrix {
    height: 300px;
    /* Растягиваем матрицу на всю ширину экрана смартфона */
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    border-radius: 0; /* Убираем скругления для полного охвата ширины */
  }

  /* Метки осей на мобильном */
  .bubble-label--top,
  .bubble-label--bottom {
    white-space: nowrap;
    font-size: 0.5rem;
  }

  .bubble-label--left,
  .bubble-label--right {
    width: 60px;
    font-size: 0.5rem;
    text-align: center;
    line-height: 1.2;
  }

  .bubble-label--left {
    left: 0.25rem;
  }

  .bubble-label--right {
    right: 0.25rem;
  }

  .bubble--nano {
    width: 60px;
    height: 60px;
    font-size: 0.5rem;
  }

  .bubble--bim {
    width: 70px;
    height: 70px;
    font-size: 0.5rem;
  }
}

/* =========================================
         BENTO FINANCE GRID (Section 6)
         ========================================= */
.bento-finance {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

/* Revenue Cards */
.bento-revenue {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: finance-card-fade-in 0.5s ease-out both;
  position: relative;
  overflow: hidden;
}

.bento-revenue:nth-child(1) {
  animation-delay: 0.1s;

  --card-accent: var(--accent);
}

.bento-revenue:nth-child(2) {
  animation-delay: 0.2s;

  --card-accent: var(--purple);
}

.bento-revenue:nth-child(3) {
  animation-delay: 0.3s;

  --card-accent: var(--cyan);
}

/* Top accent bar animation */
.bento-revenue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent);
  transition: all 0.3s ease;
}

.bento-revenue:nth-child(1)::before {
  background: var(--accent);
}

.bento-revenue:nth-child(2)::before {
  background: var(--purple);
}

.bento-revenue:nth-child(3)::before {
  background: var(--cyan);
}

.bento-revenue:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent);
  box-shadow: 0 24px 48px -12px rgb(0 0 0 / 40%);
}

.bento-revenue:hover::before {
  height: 4px;
}

@keyframes finance-card-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Phase Badge - стилизованный бейдж для ФАЗА 1/2/3 */
.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.phase-badge--accent {
  color: var(--accent);
  background: rgb(245 158 11 / 12%);
  border: 1px solid rgb(245 158 11 / 25%);
}

.phase-badge--purple {
  color: var(--purple);
  background: rgb(139 92 246 / 12%);
  border: 1px solid rgb(139 92 246 / 25%);
}

.phase-badge--cyan {
  color: var(--cyan);
  background: rgb(6 182 212 / 12%);
  border: 1px solid rgb(6 182 212 / 25%);
}

.bento-revenue:hover .phase-badge {
  transform: scale(1.02);
}

.bento-revenue:hover .phase-badge--accent {
  background: rgb(245 158 11 / 18%);
  box-shadow: 0 4px 12px rgb(245 158 11 / 20%);
}

.bento-revenue:hover .phase-badge--purple {
  background: rgb(139 92 246 / 18%);
  box-shadow: 0 4px 12px rgb(139 92 246 / 20%);
}

.bento-revenue:hover .phase-badge--cyan {
  background: rgb(6 182 212 / 18%);
  box-shadow: 0 4px 12px rgb(6 182 212 / 20%);
}

/* Unit Economics Main (LTV/CAC) */
.bento-unit-main {
  grid-column: span 6;
  background: linear-gradient(135deg, rgb(16 185 129 / 8%) 0%, var(--bg-card) 100%);
  border: 1px solid rgb(16 185 129 / 30%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: finance-card-fade-in 0.5s ease-out 0.4s both;
}

.bento-unit-main:hover {
  transform: translateY(-4px);
  border-color: var(--success);
  box-shadow: 0 24px 48px -12px rgb(16 185 129 / 25%);
}

/* Unit Badge - стилизованный бейдж для метрик */
.unit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  color: var(--success);
  background: rgb(16 185 129 / 12%);
  border: 1px solid rgb(16 185 129 / 25%);
  transition: all 0.3s ease;
}

.bento-unit-main:hover .unit-badge {
  background: rgb(16 185 129 / 18%);
  box-shadow: 0 4px 12px rgb(16 185 129 / 20%);
}

.unit-badge i {
  font-size: 0.75rem;
}

/* Unit Benchmark - сравнение с отраслью */
.unit-benchmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgb(255 255 255 / 3%);
  border-radius: var(--radius-sm);
}

.benchmark-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.benchmark-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Unit Metrics - блок с метриками CAC/LTV/Churn/EBITDA */
.unit-metrics {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.unit-metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.5rem;
  background: rgb(255 255 255 / 2%);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.bento-unit-side:hover .unit-metric {
  background: rgb(255 255 255 / 4%);
  border-color: rgb(255 255 255 / 6%);
}

.metric-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.metric-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.bento-unit-side:hover .metric-value {
  transform: scale(1.02);
}

.metric-value--success {
  color: var(--success);
}

.bento-unit-side:hover .metric-value--success {
  text-shadow: 0 0 12px rgb(16 185 129 / 50%);
}

.metric-value--accent {
  color: var(--accent);
}

.bento-unit-side:hover .metric-value--accent {
  text-shadow: 0 0 12px rgb(245 158 11 / 50%);
}

.metric-value--purple {
  color: var(--purple);
}

.bento-unit-side:hover .metric-value--purple {
  text-shadow: 0 0 12px rgb(139 92 246 / 50%);
}

/* Unit Economics Side */
.bento-unit-side {
  grid-column: span 3;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: finance-card-fade-in 0.5s ease-out both;
}

.bento-unit-side:nth-of-type(5) {
  animation-delay: 0.5s;
}

.bento-unit-side:nth-of-type(6) {
  animation-delay: 0.6s;
}

.bento-unit-side:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 32px -8px rgb(245 158 11 / 20%);
}

/* Financial Table */
.bento-table {
  grid-column: span 12;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow-x: auto;
  animation: finance-card-fade-in 0.5s ease-out 0.7s both;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-table:hover {
  border-color: rgb(255 255 255 / 15%);
  box-shadow: 0 16px 32px -8px rgb(0 0 0 / 30%);
}

/* Funding Block */
.bento-funding {
  grid-column: span 8;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  border: 1px solid rgb(59 130 246 / 30%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  animation: finance-card-fade-in 0.5s ease-out 0.8s both;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-funding:hover {
  border-color: rgb(59 130 246 / 50%);
  box-shadow: 0 24px 48px -12px rgb(59 130 246 / 20%);
}

/* Break-even Block */
.bento-breakdown {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  animation: finance-card-fade-in 0.5s ease-out 0.9s both;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-breakdown:hover {
  transform: translateY(-4px);
  border-color: rgb(255 255 255 / 15%);
  box-shadow: 0 16px 32px -8px rgb(0 0 0 / 30%);
}

/* Milestones Block */
.bento-milestones {
  grid-column: span 12;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  animation: finance-card-fade-in 0.5s ease-out 1s both;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-milestones:hover {
  border-color: rgb(255 255 255 / 15%);
  box-shadow: 0 16px 32px -8px rgb(0 0 0 / 30%);
}

/* Bento Labels & Values */
.bento-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.bento-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.bento-revenue:hover .bento-value {
  transform: scale(1.02);
  color: var(--card-accent);
  text-shadow: 0 0 20px var(--card-accent);
}

.bento-unit-main .bento-value {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.bento-unit-main:hover .bento-value {
  transform: scale(1.03);
  text-shadow: 0 0 30px rgb(16 185 129 / 50%);
}

.bento-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Progress Bar */
.progress-bar {
  height: 8px;
  background: rgb(255 255 255 / 10%);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-fill--accent {
  background: var(--accent);
}

.progress-fill--purple {
  background: var(--purple);
}

.progress-fill--cyan {
  background: var(--cyan);
}

/* =========================================
         FINANCIAL TABLE (Updated for Bento)
         ========================================= */
.finance-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
}

/* Предотвращение горизонтального скролла на мобильных */
@media (width <= 576px) {
  .finance-table-wrapper {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
  }

  .finance-table {
    min-width: 500px;
    font-size: 0.75rem;
  }

  .finance-table thead th,
  .finance-table tbody td {
    padding: 0.75rem 0.5rem;
    font-size: 0.7rem;
  }
}

.finance-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.finance-table thead th {
  padding: 1rem;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.finance-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.finance-table tbody tr:hover td {
  background: rgb(255 255 255 / 2%);
}

.finance-table .year-cell {
  font-weight: 700;
  color: var(--text-primary);
}

.finance-table .value-positive {
  color: var(--success);
  font-weight: 700;
}

.finance-table .value-negative {
  color: var(--danger);
  font-weight: 700;
}

/* =========================================
         FUNDING BLOCK (Updated for Bento)
         ========================================= */
.funding-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgb(251 191 36 / 12%);
  border: 1px solid rgb(251 191 36 / 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.bento-funding:hover .funding-icon {
  background: rgb(251 191 36 / 18%);
  box-shadow: 0 4px 12px rgb(251 191 36 / 20%);
  transform: scale(1.05);
}

.funding-icon i {
  font-size: 22px;
  color: #fbbf24;
  transition: all 0.3s ease;
}

.bento-funding:hover .funding-icon i {
  transform: scale(1.1);
  text-shadow: 0 0 16px rgb(251 191 36 / 60%);
}

.funding-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fbbf24;
  stroke-width: 2;
  fill: none;
}

.funding-item {
  background: rgb(255 255 255 / 5%);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.funding-item-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.funding-item-value {
  font-size: 1.1rem;
  font-weight: 700;
}

/* =========================================
         BREAK-EVEN BLOCK
         ========================================= */
.breakdown-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgb(255 255 255 / 2%);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.breakdown-item:last-child {
  margin-bottom: 0;
}

.breakdown-item:hover {
  background: rgb(255 255 255 / 4%);
}

.breakdown-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 4%);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.breakdown-icon i {
  font-size: 20px;
  transition: all 0.3s ease;
}

.breakdown-item:hover .breakdown-icon {
  background: rgb(255 255 255 / 8%);
  transform: scale(1.05);
}

.breakdown-item:hover .breakdown-icon i {
  transform: scale(1.1);
}

/* Color variants for breakdown icons */
.breakdown-icon--success {
  background: rgb(16 185 129 / 10%);
}

.breakdown-icon--success i {
  color: var(--success);
}

.breakdown-item:hover .breakdown-icon--success {
  background: rgb(16 185 129 / 15%);
  box-shadow: 0 4px 12px rgb(16 185 129 / 20%);
}

.breakdown-item:hover .breakdown-icon--success i {
  text-shadow: 0 0 12px var(--success);
}

.breakdown-icon--accent {
  background: rgb(245 158 11 / 10%);
}

.breakdown-icon--accent i {
  color: var(--accent);
}

.breakdown-item:hover .breakdown-icon--accent {
  background: rgb(245 158 11 / 15%);
  box-shadow: 0 4px 12px rgb(245 158 11 / 20%);
}

.breakdown-item:hover .breakdown-icon--accent i {
  text-shadow: 0 0 12px var(--accent);
}

.breakdown-content {
  flex: 1;
}

.breakdown-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.breakdown-value {
  font-size: 1.25rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.breakdown-item:hover .breakdown-value {
  transform: scale(1.02);
}

.breakdown-value--success {
  color: var(--success);
}

.breakdown-item:hover .breakdown-value--success {
  text-shadow: 0 0 20px rgb(16 185 129 / 50%);
}

.breakdown-value--accent {
  color: var(--accent);
}

.breakdown-item:hover .breakdown-value--accent {
  text-shadow: 0 0 20px rgb(245 158 11 / 50%);
}

.breakdown-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================
         MILESTONES GRID
         ========================================= */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.milestone-card {
  padding: 0.75rem;
  background: rgb(255 255 255 / 3%);
  border-radius: var(--radius-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: milestone-fade-in 0.4s ease-out both;
  position: relative;
  overflow: hidden;
}

.milestone-card:nth-child(1) {
  animation-delay: 1.1s;
}

.milestone-card:nth-child(2) {
  animation-delay: 1.15s;
}

.milestone-card:nth-child(3) {
  animation-delay: 1.2s;
}

.milestone-card:nth-child(4) {
  animation-delay: 1.25s;
}

.milestone-card:nth-child(5) {
  animation-delay: 1.3s;
}

@keyframes milestone-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.milestone-card:hover {
  background: rgb(255 255 255 / 6%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 16px -4px rgb(0 0 0 / 30%);
}

.milestone-card--optional {
  background: rgb(139 92 246 / 5%);
  border: 1px solid rgb(139 92 246 / 20%);
}

.milestone-card--optional:hover {
  background: rgb(139 92 246 / 10%);
  border-color: rgb(139 92 246 / 40%);
  box-shadow: 0 8px 16px -4px rgb(139 92 246 / 20%);
}

.milestone-period {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.milestone-card--optional .milestone-period {
  color: var(--purple);
}

.milestone-amount {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  transition: all 0.3s ease;
}

.milestone-card:hover .milestone-amount {
  transform: scale(1.05);
  text-shadow: 0 0 12px var(--accent);
}

.milestone-card--optional .milestone-amount {
  color: var(--purple);
}

.milestone-card--optional:hover .milestone-amount {
  text-shadow: 0 0 12px var(--purple);
}

.milestone-share {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* =========================================
         RESPONSIVE FOR BENTO FINANCE
         ========================================= */
@media (width <= 900px) {
  .bento-finance {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .bento-revenue,
  .bento-unit-main,
  .bento-unit-side,
  .bento-table,
  .bento-funding,
  .bento-breakdown,
  .bento-milestones {
    grid-column: span 1;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
  }

  .bento-revenue {
    min-width: 0;
    padding: 1.25rem;
  }

  .bento-revenue .bento-desc {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .bento-revenue .bento-value {
    font-size: 1.5rem;
  }

  .bento-revenue .phase-badge {
    font-size: 0.6rem;
    white-space: nowrap;
  }

  .bento-unit-main .bento-value {
    font-size: 2.5rem;
  }

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

@media (width <= 576px) {
  .bento-revenue,
  .bento-unit-side,
  .bento-unit-main,
  .bento-table,
  .bento-funding,
  .bento-breakdown,
  .bento-milestones {
    padding: 1.25rem;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
  }

  .bento-revenue {
    min-width: 0;
  }

  .bento-revenue .phase-badge {
    font-size: 0.55rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bento-revenue .bento-desc {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .bento-revenue .bento-value {
    font-size: 1.25rem;
  }

  .bento-unit-main {
    padding: 1.5rem;
  }

  .bento-unit-main .bento-value {
    font-size: 2rem;
  }

  .bento-funding {
    padding: 1.5rem;
  }

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

/* =========================================
         CROSS-LINKS TO MEMORANDUM
         ========================================= */

/* Header layout with side card */
.header-content {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  width: 100%;
}

.header-main {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

/* Header memo card - large side card on desktop */
.header-memo-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  min-width: 180px;
  max-width: 200px;
  background: linear-gradient(135deg, rgb(245 158 11 / 15%) 0%, rgb(245 158 11 / 5%) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  align-self: flex-start;
}

.header-memo-card:hover {
  background: linear-gradient(135deg, rgb(245 158 11 / 25%) 0%, rgb(245 158 11 / 10%) 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgb(245 158 11 / 20%);
}

.memo-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius-lg);
  font-size: 1.75rem;
  color: #0a0f1a;
}

.memo-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.125rem;
}

.memo-card-line1,
.memo-card-line2 {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.memo-card-sub {
  font-size: 0.75rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1;
  margin-top: 0.25rem;
}

.memo-card-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 10%);
  border-radius: 50%;
  font-size: 0.875rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.header-memo-card:hover .memo-card-arrow {
  background: var(--accent);
  color: #0a0f1a;
  transform: translateX(4px);
}

/* Mobile: stack vertically */
@media (width <= 991px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-memo-card {
    flex-direction: row;
    min-width: auto;
    max-width: none;
    width: 100%;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .memo-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .memo-card-text {
    flex: 1;
    align-items: flex-start;
    text-align: left;
  }

  .memo-card-line1,
  .memo-card-line2 {
    font-size: 0.875rem;
    display: inline-block;
  }

  .memo-card-line1 {
    margin-right: 0.25rem;
  }

  .memo-card-arrow {
    width: 28px;
    height: 28px;
    align-self: center;
  }
}

/* Small mobile */
@media (width <= 576px) {
  .header-memo-card {
    padding: 0.875rem 1rem;
  }

  .memo-card-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .memo-card-line1,
  .memo-card-line2 {
    font-size: 0.8125rem;
  }
}

/* Legacy header-memo-link for backward compatibility */
.header-memo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.header-memo-link:hover {
  background: rgb(255 255 255 / 15%);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.header-memo-link i:first-child {
  color: var(--accent);
}

.header-memo-link i:last-child {
  font-size: 0.75rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.header-memo-link:hover i:last-child {
  transform: translateX(4px);
}

/* Section more link */
.section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, rgb(15 23 42 / 80%) 0%, rgb(30 41 59 / 80%) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.section-more-link:hover {
  background: linear-gradient(135deg, rgb(15 23 42 / 100%) 0%, rgb(30 41 59 / 100%) 100%);
  border-color: var(--accent);
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgb(245 158 11 / 15%);
}

.section-more-link span {
  color: var(--text-secondary);
}

.section-more-link:hover span {
  color: var(--text-primary);
}

.section-more-link i {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.section-more-link:hover i {
  transform: translateX(4px);
}

/* Full memo card */
.full-memo-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgb(15 23 42 / 90%) 0%, rgb(30 41 59 / 90%) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}

.full-memo-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgb(245 158 11 / 10%);
}

.full-memo-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  border-radius: var(--radius-lg);
  font-size: 2rem;
  color: #0a0f1a;
}

.full-memo-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.full-memo-content p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.full-memo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #0a0f1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.full-memo-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgb(245 158 11 / 30%);
}

.full-memo-btn i:first-child {
  font-size: 1rem;
}

.full-memo-btn i:last-child {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.full-memo-btn:hover i:last-child {
  transform: translateX(4px);
}

/* Large desktop: bigger memo card */
@media (width >= 1200px) {
  .header-memo-card {
    min-width: 220px;
    max-width: 240px;
    padding: 2.5rem 2rem;
    margin-top: 2rem;
  }

  .memo-card-icon {
    width: 80px;
    height: 80px;
    font-size: 2.25rem;
  }

  .memo-card-line1,
  .memo-card-line2 {
    font-size: 1.125rem;
  }

  .memo-card-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Responsive for cross-links */
@media (width <= 768px) {
  .full-memo-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .full-memo-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }

  .section-more-link {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================
           МОБАЛЬНЫЕ ГЛОБАЛЬНЫЕ ИСПравления
           ========================================= */

/* Предотвращение горизонтального скролла на мобильных устройствах */
@media (width <= 576px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 0.75rem;
  }

  /* Убираем избыточные горизонтальные отступы для всех секций */
  .section-block {
    padding-left: 0;
    padding-right: 0;
  }

  /* Убеждаемся, что карточки в секции 6 имеют одинаковую ширину */
  .bento-finance > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Исправляем ширину карточки "Использование инвестиций" */
  .bento-funding {
    padding: 1.25rem;
  }

  .funding-item {
    padding: 0.75rem;
  }

  .funding-item-value {
    font-size: 1rem;
  }

  /* Убираем лишние отступы у вложенных контейнеров */
  .nested-container {
    padding: 0;
  }

  /* Уменьшаем отступы у market-box */
  .market-box {
    padding: 1rem;
  }

  .market-box--sam,
  .market-box--som {
    margin: 0.75rem;
  }
}
