/* ==========================================
   OKX — Cabbage Minimalism
   Чистый минимализм + зелёная капуста
   ========================================== */

:root {
  --green-900: #1B5E20;
  --green-800: #2E7D32;
  --green-700: #388E3C;
  --green-600: #43A047;
  --green-500: #4CAF50;
  --green-400: #66BB6A;
  --green-300: #81C784;
  --green-200: #A5D6A7;
  --green-100: #C8E6C9;
  --green-50: #E8F5E9;

  --bg: #FBFDF8;
  --bg-card: #FFFFFF;
  --text: #1A2E1A;
  --text-secondary: #4A5E4A;
  --text-muted: #8A9C8A;
  --border: rgba(27, 94, 32, 0.08);
  --border-hover: rgba(27, 94, 32, 0.18);

  --font: 'Inter', sans-serif;
  --container: 1080px;
  --nav-height: 68px;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(27, 94, 32, 0.04);
  --shadow: 0 4px 20px rgba(27, 94, 32, 0.06);
  --shadow-lg: 0 12px 40px rgba(27, 94, 32, 0.08);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { color: var(--text-secondary); font-size: 0.95rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--nav-height); z-index: 100;
  display: flex; align-items: center;
  transition: all 0.4s var(--ease);
}
.header.scrolled {
  background: rgba(251, 253, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}

.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.1rem; font-weight: 800; color: var(--green-800);
  z-index: 101;
}
.logo-emoji { font-size: 1.3rem; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 7px 14px; border-radius: var(--r-full);
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  transition: all 0.3s;
}
.nav a:hover { color: var(--green-800); background: var(--green-50); }
.nav a.active { color: var(--green-800); background: var(--green-50); font-weight: 600; }
.nav-cta {
  background: var(--green-600) !important;
  color: #fff !important; font-weight: 600 !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--green-700) !important; }

.menu-btn {
  display: none; background: none; border: none;
  font-size: 1.5rem; color: var(--text); cursor: pointer; padding: 4px;
  z-index: 101;
}
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.3);
  z-index: 99; opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ==========================================
   CABBAGE HERO — Главная фишка
   ========================================== */
.cabbage-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: var(--nav-height) 24px 40px;
  position: relative;
}

.cabbage-hero h1 { color: var(--green-900); margin-bottom: 8px; }
.cabbage-hero .subtitle {
  font-size: 1.05rem; color: var(--text-muted); margin-bottom: 40px;
}

/* Контейнер капусты */
.cabbage {
  position: relative;
  width: 300px; height: 300px;
  cursor: pointer;
  margin: 0 auto 20px;
  transition: transform 0.3s var(--ease);
}
.cabbage:hover { transform: scale(1.04); }
.cabbage.opened { cursor: default; }
.cabbage.opened:hover { transform: none; }

/* Лист капусты */
.leaf {
  position: absolute;
  left: 50%; top: 50%;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translateY(var(--d, -8px));
  transition: all 1.3s var(--ease);
  box-shadow:
    inset -4px -4px 12px rgba(0,0,0,0.1),
    inset 2px 2px 8px rgba(255,255,255,0.12);
}

/* Внешние листья */
.leaf-outer {
  width: 145px; height: 185px; z-index: 1;
  border-radius: 46% 54% 48% 52% / 58% 42% 58% 42%;
}
/* Средние листья */
.leaf-mid {
  width: 108px; height: 138px; z-index: 2;
  border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%;
}
/* Внутренние листья */
.leaf-inner {
  width: 72px; height: 92px; z-index: 3;
  border-radius: 50% 50% 44% 56% / 54% 46% 54% 46%;
}

/* Ядро */
.cabbage-core {
  position: absolute; left: 50%; top: 50%;
  width: 44px; height: 44px;
  background: hsl(95, 50%, 78%);
  border-radius: 50%; z-index: 4;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.06);
  transition: all 0.8s var(--ease);
}

/* --- РАСКРЫТИЕ --- */
.cabbage.opened .leaf-outer {
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translateY(-260px) scale(0.5);
  opacity: 0;
}
.cabbage.opened .leaf-mid {
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translateY(-190px) scale(0.45);
  opacity: 0;
  transition-delay: 0.08s;
}
.cabbage.opened .leaf-inner {
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translateY(-130px) scale(0.4);
  opacity: 0;
  transition-delay: 0.16s;
}
.cabbage.opened .cabbage-core {
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition-delay: 0.2s;
}

/* Телефон внутри капусты */
.cabbage-phone {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0; z-index: 10;
  transition: all 0.9s var(--ease-spring);
  transition-delay: 0s;
}
.cabbage.opened .cabbage-phone {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition-delay: 0.5s;
}

/* Подсказка */
.cabbage-hint {
  font-size: 0.85rem; color: var(--text-muted);
  transition: all 0.4s var(--ease);
  margin-bottom: 28px;
}
.cabbage-hint.hidden { opacity: 0; transform: translateY(-8px); pointer-events: none; }

/* CTA после раскрытия */
.cabbage-cta {
  opacity: 0; transform: translateY(16px);
  transition: all 0.6s var(--ease);
  pointer-events: none;
}
.cabbage-cta.visible {
  opacity: 1; transform: translateY(0); pointer-events: all;
  transition-delay: 0.9s;
}

/* Стрелка вниз */
.scroll-indicator {
  opacity: 0; transform: translateY(8px);
  transition: all 0.6s var(--ease);
  margin-top: 36px; text-align: center;
}
.scroll-indicator.visible {
  opacity: 1; transform: translateY(0);
  transition-delay: 1.3s;
}
.scroll-indicator span {
  display: block; font-size: 0.72rem; color: var(--text-muted);
  margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase;
}
.scroll-arrow {
  width: 20px; height: 20px; margin: 0 auto;
  border-right: 2px solid var(--green-400);
  border-bottom: 2px solid var(--green-400);
  transform: rotate(45deg);
  animation: arrowBounce 2s ease infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ==========================================
   МИНИ-ТЕЛЕФОН (внутри капусты и showcase)
   ========================================== */
.mini-phone {
  width: 140px; height: 280px;
  background: #fff; border-radius: 24px;
  border: 3px solid #1A2E1A;
  overflow: hidden; position: relative;
  box-shadow: 0 12px 40px rgba(27, 94, 32, 0.15);
}
.mini-phone::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 14px; background: #1A2E1A;
  border-radius: 0 0 10px 10px; z-index: 2;
}
.mini-phone-screen {
  width: 100%; height: 100%; padding: 22px 8px 8px;
  background: linear-gradient(180deg, #F0FFF0 0%, #fff 40%, #F5FFF5 100%);
  display: flex; flex-direction: column; align-items: center;
  border-radius: 21px;
}
.mini-phone-screen .ph-title {
  font-size: 0.5rem; color: var(--text); font-weight: 700; margin-bottom: 2px;
}
.mini-phone-screen .ph-sub {
  font-size: 0.4rem; color: var(--text-muted); margin-bottom: 8px;
}
.mini-cal-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(var(--green-500) 0deg, var(--green-300) 140deg, var(--green-100) 230deg, #f0f0f0 230deg);
  display: flex; align-items: center; justify-content: center;
  position: relative; margin-bottom: 8px;
}
.mini-cal-circle::before {
  content: ''; position: absolute;
  width: 48px; height: 48px; border-radius: 50%; background: #fff;
}
.mini-cal-inner {
  position: relative; z-index: 1; text-align: center;
}
.mini-cal-inner .cal-num {
  font-size: 0.65rem; font-weight: 800; color: var(--text); display: block;
}
.mini-cal-inner .cal-lbl {
  font-size: 0.32rem; color: var(--text-muted); text-transform: uppercase;
}

.mini-macros { display: flex; gap: 3px; width: 100%; margin-bottom: 6px; }
.mini-macro {
  flex: 1; background: var(--green-50); border-radius: 6px;
  padding: 4px 2px; text-align: center;
}
.mini-macro .mv { font-size: 0.45rem; font-weight: 700; color: var(--text); display: block; }
.mini-macro .ml { font-size: 0.3rem; color: var(--text-muted); }

.mini-meals { width: 100%; }
.mini-meal {
  display: flex; align-items: center; gap: 4px;
  padding: 4px; background: var(--green-50);
  border-radius: 6px; margin-bottom: 3px;
  font-size: 0.4rem;
}
.mini-meal-icon { font-size: 0.6rem; }
.mini-meal-name { font-weight: 600; color: var(--text); }
.mini-meal-cal { color: var(--text-muted); margin-left: auto; }

/* ==========================================
   КНОПКИ
   ========================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r-full);
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn-primary {
  background: var(--green-600); color: #fff;
  box-shadow: 0 4px 16px rgba(67, 160, 71, 0.25);
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 160, 71, 0.3);
}
.btn-secondary {
  background: #fff; color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--green-700);
  border: 1.5px solid var(--green-300);
}
.btn-outline:hover {
  background: var(--green-50); border-color: var(--green-400);
}
.btn-lg { padding: 14px 32px; font-size: 0.95rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ==========================================
   СЕКЦИИ
   ========================================== */
.section-header {
  text-align: center; max-width: 560px; margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  padding: 4px 14px; background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--r-full);
  font-size: 0.72rem; font-weight: 600; color: var(--green-700);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 8px; }
.section-header p { font-size: 0.95rem; }

/* ==========================================
   КАРТОЧКИ — чистый минимализм
   ========================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-hover);
}

/* Сетки */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ==========================================
   FEATURE CARDS
   ========================================== */
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 16px;
  background: var(--green-50); color: var(--green-700);
}
.feature-icon.orange { background: #FFF3E0; color: #E65100; }
.feature-icon.blue { background: #E3F2FD; color: #1565C0; }
.feature-icon.purple { background: #F3E5F5; color: #7B1FA2; }
.feature-icon.pink { background: #FCE4EC; color: #C2185B; }
.feature-icon.yellow { background: #FFFDE7; color: #F9A825; }
.feature-icon.green { background: var(--green-50); color: var(--green-700); }
.card h3 { margin-bottom: 6px; }
.card p { font-size: 0.88rem; line-height: 1.7; }

/* ==========================================
   ШАГИ
   ========================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 36px;
  left: 12%; width: 76%; height: 2px;
  background: var(--green-100);
}
.step { text-align: center; padding: 20px 12px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-600); color: #fff;
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; position: relative; z-index: 1;
  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.2);
  transition: transform 0.3s var(--ease-spring);
}
.step:hover .step-num { transform: scale(1.15); }
.step h3 { font-size: 0.95rem; margin-bottom: 4px; }
.step p { font-size: 0.82rem; }

/* ==========================================
   СТАТИСТИКА
   ========================================== */
.stats {
  padding: 56px 0;
  background: var(--green-50);
  border-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 16px; }
.stat-number {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--green-800);
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

/* ==========================================
   ОТЗЫВЫ
   ========================================== */
.testimonial-card { padding: 24px; }
.testimonial-stars { color: #F9A825; font-size: 0.85rem; margin-bottom: 12px; }
.testimonial-text {
  font-size: 0.9rem; font-style: italic; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 16px;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem;
}
.testimonial-info h4 { font-size: 0.85rem; }
.testimonial-info p { font-size: 0.72rem; color: var(--text-muted); }
.testimonial-result {
  margin-top: 12px; padding: 6px 12px;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--r-sm); font-size: 0.72rem;
  color: var(--green-800); font-weight: 600;
}

/* ==========================================
   PRICING
   ========================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.pricing-card { text-align: center; padding: 32px 24px; }
.pricing-card.featured {
  border-color: var(--green-400);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--green-400);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.pricing-popular {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: var(--green-600); color: #fff;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; border-radius: var(--r-full); white-space: nowrap;
}
.pricing-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.pricing-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.pricing-price { margin-bottom: 24px; }
.pricing-price .amount { font-size: 2.8rem; font-weight: 800; color: var(--text); }
.pricing-price .period { font-size: 0.82rem; color: var(--text-muted); }
.pricing-features { text-align: left; margin-bottom: 24px; }
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: 0.85rem; color: var(--text-secondary);
}
.pricing-features li .check { color: var(--green-600); font-weight: 700; }
.pricing-features li .cross { color: #ccc; }

/* ==========================================
   FAQ
   ========================================== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); margin-bottom: 8px;
  overflow: hidden; transition: all 0.3s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.active { border-color: var(--green-400); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; font-weight: 600; font-size: 0.92rem;
  color: var(--text); cursor: pointer; user-select: none;
}
.faq-question:hover { color: var(--green-700); }
.faq-toggle {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-muted);
  transition: all 0.3s; flex-shrink: 0;
}
.faq-item.active .faq-toggle {
  background: var(--green-600); color: #fff; transform: rotate(45deg);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 20px 16px; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 400px; }

/* ==========================================
   BLOG
   ========================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card { padding: 0; overflow: hidden; }
.blog-card-image {
  height: 180px; display: flex; align-items: center; justify-content: center;
  background: var(--green-50); position: relative;
  transition: background 0.4s;
}
.blog-card:hover .blog-card-image { background: var(--green-100); }
.blog-card-image span:first-child { font-size: 3rem; }
.blog-card-category {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 10px; background: #fff;
  border-radius: var(--r-full); font-size: 0.6rem; font-weight: 700;
  color: var(--green-700); text-transform: uppercase;
}
.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-size: 0.95rem; margin-bottom: 6px; transition: color 0.3s; }
.blog-card:hover h3 { color: var(--green-700); }
.blog-card-body > p { font-size: 0.82rem; margin-bottom: 12px; line-height: 1.7; }
.blog-card-meta { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-muted); }

/* ==========================================
   КОНТАКТЫ
   ========================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 4px; font-size: 0.82rem; font-weight: 600; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 16px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); color: var(--text);
  font-family: var(--font); font-size: 0.88rem;
  transition: all 0.3s; outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.08);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

.contact-info-list { display: flex; flex-direction: column; gap: 12px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; }
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.88rem; margin-bottom: 2px; }
.contact-info-item p { font-size: 0.82rem; }

/* ==========================================
   TEAM
   ========================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card { text-align: center; padding: 28px 16px; }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
  margin: 0 auto 12px;
  transition: transform 0.3s var(--ease-spring);
}
.team-card:hover .team-avatar { transform: scale(1.1); }
.team-card h4 { font-size: 0.92rem; margin-bottom: 2px; }
.team-role { font-size: 0.75rem; color: var(--green-700); font-weight: 600; }
.team-bio { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ==========================================
   TIMELINE
   ========================================== */
.timeline { position: relative; max-width: 620px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--green-100); transform: translateX(-50%);
}
.timeline-item { display: flex; gap: 20px; margin-bottom: 28px; align-items: center; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.timeline-content { flex: 1; padding: 20px; }
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green-500); flex-shrink: 0; z-index: 1;
  box-shadow: 0 0 0 4px var(--green-100);
  transition: transform 0.3s var(--ease-spring);
}
.timeline-item:hover .timeline-dot { transform: scale(1.4); }
.timeline-date {
  font-size: 0.7rem; color: var(--green-700); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.timeline-content h4 { font-size: 0.92rem; margin-bottom: 4px; }
.timeline-content p { font-size: 0.82rem; }

/* ==========================================
   PAGE HERO (внутренние страницы)
   ========================================== */
.page-hero {
  padding: 140px 0 60px; text-align: center;
  background: var(--green-50);
  border-bottom: 1px solid var(--green-100);
}
.page-hero h1 { color: var(--green-900); margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; max-width: 500px; margin: 0 auto; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 16px; font-size: 0.78rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb .separator { color: var(--text-muted); }
.breadcrumb .current { color: var(--green-700); font-weight: 600; }

/* ==========================================
   DOWNLOAD HERO
   ========================================== */
.download-hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-height); text-align: center;
  background: var(--green-50);
}
.download-hero .container {
  display: flex; flex-direction: column; align-items: center;
}
.download-hero h1 { color: var(--green-900); }
.download-platforms { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.platform-card { text-align: center; min-width: 200px; padding: 24px; }
.platform-icon { font-size: 2rem; margin-bottom: 10px; }
.platform-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.platform-card p { font-size: 0.78rem; margin-bottom: 14px; }

/* ==========================================
   CTA
   ========================================== */
.cta-section {
  padding: 80px 0; text-align: center;
  background: var(--green-50);
  border-top: 1px solid var(--green-100);
}
.cta-section h2 { color: var(--green-900); margin-bottom: 8px; }
.cta-section p { font-size: 1rem; max-width: 460px; margin: 0 auto 28px; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Мотивация */
.motivation-section {
  padding: 72px 0; text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.motivation-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600; color: var(--text);
  max-width: 560px; margin: 0 auto; line-height: 1.6;
}
.motivation-quote .accent { color: var(--green-600); }
.motivation-author {
  margin-top: 12px; font-size: 0.82rem; color: var(--text-muted);
}

/* Comparison table */
.comparison-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.comparison-table th, .comparison-table td {
  padding: 12px 16px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--green-50); color: var(--green-800);
  font-weight: 700; font-size: 0.85rem;
}
.comparison-table td { font-size: 0.85rem; color: var(--text-secondary); }
.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--text); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--green-50); }

/* Success card */
.success-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 28px; align-items: center; }
.success-before-after { display: flex; gap: 14px; align-items: center; }
.success-photo {
  width: 100px; height: 150px; border-radius: var(--r-md);
  background: var(--green-50); display: flex; align-items: center;
  justify-content: center; font-size: 0.72rem; color: var(--text-muted);
  border: 1px solid var(--green-100);
}
.success-arrow { font-size: 1.2rem; color: var(--green-600); }
.success-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.success-stat .number { font-size: 1.2rem; font-weight: 800; color: var(--green-700); display: block; }
.success-stat .label { font-size: 0.65rem; color: var(--text-muted); }

/* What's new */
.whatsnew-list { max-width: 620px; margin: 0 auto; }
.whatsnew-item { padding: 20px; margin-bottom: 8px; display: flex; gap: 14px; align-items: flex-start; }
.whatsnew-version {
  padding: 4px 12px; background: var(--green-600); color: #fff;
  border-radius: var(--r-full); font-size: 0.7rem; font-weight: 700; white-space: nowrap;
}
.whatsnew-content h4 { font-size: 0.88rem; margin-bottom: 2px; }
.whatsnew-content p { font-size: 0.8rem; }

/* Feature detail */
.feature-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; }
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }
.feature-detail-content h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-detail-content p { margin-bottom: 16px; line-height: 1.8; }
.feature-detail-list { display: flex; flex-direction: column; gap: 6px; }
.feature-detail-list li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-secondary); }
.feature-detail-list li .check-icon { color: var(--green-600); font-weight: 700; }
.feature-detail-visual {
  height: 360px; display: flex; align-items: center; justify-content: center;
}

/* Phone mockup (bigger, for inner pages) */
.phone-mockup {
  width: 220px; height: 460px;
  background: #fff; border-radius: 36px;
  border: 4px solid #1A2E1A;
  overflow: hidden; position: relative;
  box-shadow: 0 16px 48px rgba(27, 94, 32, 0.12);
}
.phone-mockup::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 22px; background: #1A2E1A;
  border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; padding: 36px 14px 14px;
  background: linear-gradient(180deg, #F0FFF0 0%, #fff 30%);
  border-radius: 32px;
}

/* QR */
.qr-section { text-align: center; padding: 40px 0; }
.qr-code {
  width: 140px; height: 140px; background: #fff;
  border-radius: var(--r-md); margin: 0 auto 14px;
  padding: 10px; border: 1px solid var(--border);
}
.qr-code svg { width: 100%; height: 100%; }

/* Store badges */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  transition: all 0.3s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-hover); }
.store-icon { font-size: 1.3rem; }
.store-info { text-align: left; }
.store-info small { font-size: 0.6rem; color: var(--text-muted); display: block; }
.store-info strong { font-size: 0.88rem; color: var(--text); }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 56px 0 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-brand { max-width: 260px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.82rem; line-height: 1.8; margin-bottom: 14px; }
.footer-social { display: flex; gap: 6px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--green-50); border: 1px solid var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: var(--text-muted);
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--green-100); color: var(--green-800); }
.footer-column h4 { font-size: 0.85rem; margin-bottom: 12px; font-weight: 700; }
.footer-column ul li { margin-bottom: 6px; }
.footer-column ul li a { font-size: 0.82rem; color: var(--text-muted); }
.footer-column ul li a:hover { color: var(--green-700); }
.footer-bottom {
  padding: 16px 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--text-muted);
}
.footer-legal { display: flex; gap: 16px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--green-700); }

/* ==========================================
   АНИМАЦИИ
   ========================================== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.06s; }
.delay-2 { transition-delay: 0.12s; }
.delay-3 { transition-delay: 0.18s; }
.delay-4 { transition-delay: 0.24s; }
.delay-5 { transition-delay: 0.3s; }

/* Утилиты */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.green-text { color: var(--green-700); }

/* Скрытые элементы от старого дизайна */
.bg-glow, .animated-bg, .preloader, .cursor, .cursor-follower,
.noise, .scroll-progress, #particles-canvas { display: none !important; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .grid-3, .blog-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .feature-detail { grid-template-columns: 1fr; gap: 24px; }
  .feature-detail.reverse { direction: ltr; }
  .success-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav {
    position: fixed; top: 0; right: -100%; width: 75%; max-width: 300px;
    height: 100vh; background: rgba(251,253,248,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; padding: 80px 24px 24px; gap: 4px;
    transition: right 0.4s var(--ease);
    border-left: 1px solid var(--border);
    z-index: 100;
  }
  .nav.active { right: 0; }
  .nav a { width: 100%; padding: 10px 14px; font-size: 0.92rem; border-radius: var(--r-sm); }
  .menu-btn { display: block; }
  .grid-3, .grid-2, .blog-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cabbage { width: 260px; height: 260px; }
  .leaf-outer { width: 120px !important; height: 155px !important; }
  .leaf-mid { width: 90px !important; height: 115px !important; }
  .leaf-inner { width: 60px !important; height: 78px !important; }
  .cabbage.opened .leaf-outer { transform: translate(-50%, -50%) rotate(var(--r)) translateY(-200px) scale(0.4) !important; }
  .cabbage.opened .leaf-mid { transform: translate(-50%, -50%) rotate(var(--r)) translateY(-150px) scale(0.35) !important; }
  .cabbage.opened .leaf-inner { transform: translate(-50%, -50%) rotate(var(--r)) translateY(-100px) scale(0.3) !important; }
  .success-before-after { flex-direction: column; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; text-align: left; }
  .timeline::before { left: 6px; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 240px; justify-content: center; }
  .download-platforms { flex-direction: column; align-items: center; }
}
