/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #0f172a;
  --color-primary-light: #1e293b;
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
  --color-accent-light: #06b6d4;
  --color-violet: #8b5cf6;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;
  --color-rose: #f43f5e;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-surface: rgba(255, 255, 255, 0.7);
  --color-text: #1e293b;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-border: rgba(0, 0, 0, 0.06);
  --color-border-hover: rgba(59, 130, 246, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 16px;
  color: var(--color-primary);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-violet));
  border-radius: 2px;
  margin: 16px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  margin-bottom: 56px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-violet) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--color-accent), var(--color-violet));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.3);
}

.btn-large {
  padding: 20px 48px;
  font-size: 1.15rem;
  border-radius: var(--radius);
}

/* Hero outline button (white on dark bg) */
.btn-outline-hero {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  color: #fff;
  padding: 100px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Animated gradient mesh */
.hero-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%);
  animation: heroMesh 20s ease-in-out infinite alternate;
}

@keyframes heroMesh {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(3%, -2%) rotate(2deg) scale(1.05); }
  66%  { transform: translate(-2%, 3%) rotate(-1deg) scale(0.98); }
  100% { transform: translate(1%, -1%) rotate(1deg) scale(1.02); }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

.particle:nth-child(1)  { left: 10%; top: 20%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2)  { left: 25%; top: 60%; width: 5px; height: 5px; animation-duration: 22s; animation-delay: -3s; }
.particle:nth-child(3)  { left: 40%; top: 30%; width: 2px; height: 2px; animation-duration: 16s; animation-delay: -7s; }
.particle:nth-child(4)  { left: 55%; top: 70%; width: 4px; height: 4px; animation-duration: 24s; animation-delay: -2s; }
.particle:nth-child(5)  { left: 70%; top: 15%; width: 3px; height: 3px; animation-duration: 20s; animation-delay: -5s; }
.particle:nth-child(6)  { left: 85%; top: 45%; width: 6px; height: 6px; animation-duration: 26s; animation-delay: -9s; }
.particle:nth-child(7)  { left: 15%; top: 80%; width: 2px; height: 2px; animation-duration: 15s; animation-delay: -4s; }
.particle:nth-child(8)  { left: 60%; top: 50%; width: 3px; height: 3px; animation-duration: 19s; animation-delay: -8s; }
.particle:nth-child(9)  { left: 90%; top: 75%; width: 4px; height: 4px; animation-duration: 23s; animation-delay: -6s; }
.particle:nth-child(10) { left: 35%; top: 10%; width: 5px; height: 5px; animation-duration: 21s; animation-delay: -11s; }
.particle:nth-child(11) { left: 75%; top: 85%; width: 2px; height: 2px; animation-duration: 17s; animation-delay: -1s; }
.particle:nth-child(12) { left: 50%; top: 40%; width: 3px; height: 3px; animation-duration: 25s; animation-delay: -13s; }

@keyframes particleFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-120vh) translateX(30px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
  max-width: 620px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-price {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-stat-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.2rem;
}

/* Hero price badge */
.hero-price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.price-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.price-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-visual img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 80px rgba(59, 130, 246, 0.1);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-center {
  text-align: center;
  margin-top: 48px;
}

/* Section dividers */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  border: none;
}

/* ===== GLASSMORPHISM CARD ===== */
.card-glass {
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-violet));
  opacity: 0;
  transition: opacity var(--transition);
}

.card-glass:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-border-hover);
}

.card-glass:hover::before {
  opacity: 1;
}

/* ===== CARDS GRID ===== */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Audience cards */
.card-audience .card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.card-audience .card-icon svg {
  width: 100%;
  height: 100%;
}

.card-audience h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.card-audience p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Module cards */
.card-module {
  display: flex;
  flex-direction: column;
}

.card-module img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.card-module h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-module h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.card-module p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.topic-list {
  list-style: none;
  padding: 0;
}

.topic-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.topic-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

/* Module color accents */
.card-module:nth-child(1) h3 { color: var(--color-accent); }
.card-module:nth-child(2) h3 { color: var(--color-violet); }
.card-module:nth-child(3) h3 { color: var(--color-emerald); }
.card-module:nth-child(4) h3 { color: var(--color-amber); }
.card-module:nth-child(5) h3 { color: var(--color-rose); }

/* ===== SKILLS GRID ===== */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.skill-item {
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.skill-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-violet));
}

.skill-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-border-hover);
}

.skill-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent), var(--color-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.skill-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.skill-item p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== ADVANTAGES ===== */
.advantages-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.advantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.advantage-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.advantage-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-violet));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.advantage-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.advantage-item p {
  color: var(--color-text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ===== ACCORDION ===== */
.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  font-family: inherit;
}

.accordion-header:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-sm);
}

.accordion-header[aria-expanded="true"] {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom-color: transparent;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  color: var(--color-accent);
  border-color: var(--color-border-hover);
  border-bottom-color: transparent;
}

.accordion-arrow {
  font-size: 0.8rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.accordion-header[aria-expanded="true"] .accordion-arrow {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.accordion-body {
  padding: 0 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-body.open {
  max-height: 1200px;
  padding: 24px 28px;
}

.detail-list,
.accordion-body ul {
  list-style: none;
  padding: 0;
}

.detail-list li,
.accordion-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.detail-list li::before,
.accordion-body ul li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2em;
}

/* ===== PHILOSOPHY ===== */
.philosophy-block {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.philosophy-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 32px;
  border-radius: var(--radius);
  background: var(--color-surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.philosophy-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.philosophy-emoji {
  flex-shrink: 0;
  font-size: 1.8rem;
  line-height: 1;
  margin-top: 2px;
}

.philosophy-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-weight: 700;
}

.philosophy-item p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--color-text-secondary);
  line-height: 1.85;
  text-align: left;
}

.philosophy-text {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin-bottom: 28px;
  text-align: center;
  padding: 24px 32px;
  border-radius: var(--radius);
  background: var(--color-surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.philosophy-text:last-child {
  margin-bottom: 0;
}

/* Highlight text */
.highlight {
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--color-primary);
}

/* ===== FORMAT — СРАВНЕНИЕ ВАРИАНТОВ (2 колонки) ===== */
.format-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.format-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.format-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-violet));
  opacity: 0;
  transition: opacity var(--transition);
}

.format-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-border-hover);
}

.format-card:hover::before {
  opacity: 1;
}

.format-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: 20px;
  margin-bottom: 16px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.format-card-badge-corp {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
  color: var(--color-violet);
  border-color: rgba(139, 92, 246, 0.2);
}

.format-card-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  line-height: 1;
}

.format-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.format-card-desc {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.format-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.format-card-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.93rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.format-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-emerald);
  font-weight: 700;
  font-size: 1em;
}

.format-card-price {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-accent), var(--color-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ===== FORMAT — вертикальный стек карточек ===== */
.format-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.format-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.format-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-border-hover);
}

.format-icon {
  flex-shrink: 0;
  font-size: 2.6rem;
  line-height: 1;
}

.format-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.format-item p {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ===== AUTHOR ===== */
.author-block {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
}

.author-photo {
  flex-shrink: 0;
}

.author-photo img {
  width: 320px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(59, 130, 246, 0.1);
  object-fit: cover;
  transition: transform var(--transition);
}

.author-photo img:hover {
  transform: scale(1.02);
}

.author-info {
  max-width: 580px;
  text-align: left;
}

.author-info h3 {
  font-size: 2rem;
  margin-bottom: 4px;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.author-role {
  font-size: 1.05rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Author stats block */
.author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.06));
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent);
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-accent), var(--color-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* Author expertise */
.author-expertise {
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  padding-top: 4px;
}

/* Key projects */
.author-key-projects {
  margin-bottom: 20px;
  padding-top: 4px;
}

.author-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.key-projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  transition: all var(--transition);
}

.project-tag:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

.author-bio {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.author-consulting {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.author-consulting a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ===== FAQ ===== */
#faq .accordion-item {
  margin-bottom: 8px;
}

.accordion-body p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CTA SECTION (program-cta) ===== */
.program-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e1b4b 50%, var(--color-primary-light) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.program-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.program-cta > .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.program-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0;
  letter-spacing: -0.02em;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.5);
  padding: 48px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-copy {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-consulting {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-consulting a {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color var(--transition);
}

.navbar-brand:hover {
  color: var(--color-accent);
}

/* Burger button */
.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.navbar-burger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

/* Burger → X animation */
.navbar-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.navbar-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Desktop menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.navbar-link:hover {
  color: var(--color-accent);
  background: rgba(59, 130, 246, 0.06);
}

/* Nav CTA button */
.btn-nav {
  padding: 10px 24px;
  font-size: 0.95rem;
  margin-left: 8px;
}

/* ===== RESPONSIVE ===== */

/* Mobile (≤767px) — burger menu */
@media (max-width: 767px) {
  .navbar-burger {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 64px;
    right: 0;
    width: min(320px, 85vw);
    height: calc(100vh - 64px);
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .navbar-menu.open {
    transform: translateX(0);
  }

  .navbar-menu li {
    width: 100%;
  }

  .navbar-link {
    display: block;
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--color-border);
  }

  .navbar-link:last-of-type {
    border-bottom: none;
  }

  .btn-nav {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    padding: 14px 24px;
  }

  /* Overlay */
  .navbar::after {
    content: "";
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 998;
  }

  .navbar.burger-open::after {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Tablet (≥768px) */
@media (min-width: 768px) {
  .hero {
    padding: 120px 0 100px;
  }

  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .author-block {
    gap: 64px;
  }

  .author-photo img {
    width: 360px;
  }
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.3fr 1fr;
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 120px 0;
  }

  .advantages-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large desktop (≥1440px) */
@media (min-width: 1440px) {
  .container {
    padding: 0 48px;
  }
}

/* Mobile tweaks (≤480px) */
@media (max-width: 480px) {
  .hero {
    padding: 72px 0 48px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero-stat-divider {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .card-glass,
  .card {
    padding: 28px 22px;
  }

  .advantage-item {
    flex-direction: column;
    gap: 12px;
  }

  .cta-group-final {
    gap: 12px;
  }

  .btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
  }

  .author-block {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .author-photo img {
    width: 220px;
  }

  .author-info {
    text-align: center;
  }

  .philosophy-text {
    padding: 20px 16px;
  }
}

/* ===== КОРПОРАТИВНЫЙ ФОРМАТ ===== */
.corporate-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.corporate-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.corporate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-border-hover);
}

.corporate-icon {
  flex-shrink: 0;
  font-size: 2.6rem;
  line-height: 1;
}

.corporate-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.corporate-card p {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ===== ДЛИТЕЛЬНОСТЬ И ПРОХОЖДЕНИЕ ===== */
.duration-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.duration-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.duration-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-border-hover);
}

.duration-icon {
  flex-shrink: 0;
  font-size: 2.6rem;
  line-height: 1;
}

.duration-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.duration-card p {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ===== ОБНОВЛЕНИЯ И ДОСТУП ===== */
.updates-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.update-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-border-hover);
}

.update-icon {
  flex-shrink: 0;
  font-size: 2.6rem;
  line-height: 1;
}

.update-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.update-card p {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ===== FOOTER (program-footer) ===== */
.program-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  text-align: center;
}

/* Focus styles for accessibility */
.btn:focus-visible,
.accordion-header:focus-visible,
a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== RESPONSIVE — DESKTOP (format-compare 2 колонки) ===== */
@media (min-width: 768px) {
  .format-compare {
    grid-template-columns: 1fr 1fr;
  }
}
