:root {
  --primary-accent: #059669;
  --primary-light: #10b981;
  --primary-lighter: #34d399;
  --primary-gradient: linear-gradient(135deg, #064e3b 0%, #0b8a5d 55%, #10b981 100%);
  --success-gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --bg-primary: #ffffff;
  --bg-secondary: linear-gradient(180deg, #fafaff 0%, #f5f5ff 100%);
  --text-primary: #1a1a2e;
  --text-secondary: #5b6b66;
  --text-muted: #8a8aa3;
  --border-soft: rgba(5, 150, 105, 0.12);
  --shadow-soft: 0 8px 32px rgba(5, 150, 105, 0.12);
  --shadow-hover: 0 20px 40px rgba(5, 150, 105, 0.15);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --site-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.container,
.footer-container {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
}

.animated-bg {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  animation: none;
}

.gradient-blob-1 {
  width: 340px;
  height: 340px;
  top: -120px;
  left: -80px;
  background: rgba(16, 185, 129, 0.55);
}

.gradient-blob-2 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -60px;
  background: rgba(110, 231, 183, 0.5);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(5, 150, 105, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 150, 105, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid #e6efeb;
  backdrop-filter: saturate(180%) blur(12px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 26px rgba(6, 78, 59, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #064e3b;
}

.navbar-brand-img {
  height: 38px;
  width: auto;
  display: block;
}

.navbar-brand-icon,
.footer-brand-icon,
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: var(--primary-gradient);
}

/* Логотип в футере — на тёмном фоне: светлый бейдж с изумрудным значком */
.footer-brand-icon {
  background: #ffffff;
  color: #059669;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  color: #5b6b66;
  border-radius: 10px;
  font-weight: 600;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #047857;
  background: rgba(5, 150, 105, 0.1);
}

.d-flex {
  display: flex;
}

.gap-3 {
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--primary-gradient);
  box-shadow: 0 12px 26px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(5, 150, 105, 0.4);
  color: #fff;
}

.btn-outline {
  color: #047857;
  background: #fff;
  border: 1.5px solid #cfe9df;
}

.btn-outline:hover {
  background: rgba(5, 150, 105, 0.1);
  border-color: #059669;
}

.page-shell {
  padding: 132px 0 40px;
}

.hero-section,
.page-hero {
  padding: 32px 0 72px;
}

.mission-section,
.achievements-section {
  padding: 24px 0 72px;
}

.hero-layout,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.hero-title,
.page-title {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-subtitle,
.page-description,
.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.75;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.12);
  color: var(--primary-accent);
  font-size: 14px;
  font-weight: 600;
}

.hero-actions,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-panel,
.info-panel,
.pricing-card,
.news-card,
.feature-card,
.value-card,
.achievement-card,
.faq-card,
.job-card,
.contact-card,
.stat-card,
.process-step,
.support-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.hero-panel {
  padding: 28px;
}

.panel-list,
.check-list,
.simple-list,
.contact-list,
.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel-list li,
.check-list li,
.simple-list li,
.contact-list li,
.meta-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(5, 150, 105, 0.08);
  color: var(--text-secondary);
}

.panel-list li:last-child,
.check-list li:last-child,
.simple-list li:last-child,
.contact-list li:last-child,
.meta-list li:last-child {
  border-bottom: 0;
}

.section {
  padding: 40px 0 72px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.cards-grid,
.values-grid,
.achievements-grid,
.pricing-grid,
.news-grid,
.faq-grid,
.contact-grid,
.stats-grid,
.jobs-grid,
.support-grid,
.process-grid {
  display: grid;
  gap: 20px;
}

.cards-grid.two,
.contact-grid,
.support-grid,
.process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid.three,
.values-grid,
.achievements-grid,
.pricing-grid,
.news-grid,
.faq-grid,
.stats-grid,
.jobs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.value-card,
.achievement-card,
.faq-card,
.job-card,
.contact-card,
.stat-card,
.process-step,
.support-card,
.pricing-card,
.news-card {
  padding: 28px;
}

.card-title,
.value-title,
.achievement-value,
.pricing-title,
.news-title,
.job-title,
.faq-title {
  margin: 0 0 10px;
}

.value-icon,
.achievement-icon,
.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary-accent);
  font-size: 24px;
}

.cta-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.achievement-label,
.cta-feature span {
  color: var(--text-secondary);
}

.card-text,
.value-description,
.pricing-description,
.news-excerpt,
.job-copy,
.faq-answer,
.contact-copy,
.support-copy {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.achievement-value,
.price-value {
  font-size: 34px;
  font-weight: 700;
}

.price-period,
.muted {
  color: var(--text-muted);
}

.tag-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.08);
  color: var(--primary-accent);
  font-size: 14px;
  font-weight: 600;
}

.pricing-card.featured {
  position: relative;
  border-color: rgba(5, 150, 105, 0.24);
  transform: translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.cta-section {
  padding: 24px 0 88px;
}

.cta-container {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 40px;
  border-radius: 32px;
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.cta-title {
  margin: 14px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
}

.cta-subtitle,
.cta-feature {
  color: rgba(255, 255, 255, 0.88);
}

.cta-feature span {
  color: inherit;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.footer {
  position: relative;
  overflow: hidden;
  background: #064e3b;
  color: #cfe6dc;
  padding: 64px 0 0;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 0% 0%, rgba(16, 185, 129, 0.18), transparent 60%);
  pointer-events: none;
}

.footer-container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  margin: 0 0 14px;
}

.footer-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-brand p {
  color: #9fc4b6;
  line-height: 1.6;
  max-width: 300px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #cfe6dc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}

.footer-social a:hover {
  background: var(--primary-accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-column h4 {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 0 16px;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column li {
  margin-bottom: 0;
}

.footer-brand p,
.footer-column ul li a,
.footer-column a,
.footer-contact p,
.footer-links a {
  color: #9fc4b6;
  transition: 0.15s;
}

.footer-column ul li a:hover,
.footer-column a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  color: #9fc4b6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.ecosystem-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.ecosystem-card {
  min-width: 180px;
  padding: 20px;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.ecosystem-card.center {
  background: var(--primary-gradient);
  color: #fff;
}

.ecosystem-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
}

.ecosystem-title {
  font-weight: 700;
}

.scroll-animate {
  opacity: 1;
  transform: none;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.82);
}

.timeline-year {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-accent);
}

.navbar-toggler {
  display: none;
}

@media (max-width: 1024px) {
  .hero-layout,
  .page-hero-grid,
  .cards-grid.two,
  .cards-grid.three,
  .values-grid,
  .achievements-grid,
  .pricing-grid,
  .news-grid,
  .faq-grid,
  .contact-grid,
  .stats-grid,
  .jobs-grid,
  .support-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .navbar .container {
    flex-wrap: wrap;
  }

  .navbar-collapse {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .navbar-nav {
    flex-wrap: wrap;
  }

  /* группа кнопок «Войти / Начать бесплатно» — в столбик на всю ширину */
  .navbar-collapse .d-flex.gap-3 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px !important;
  }
  .navbar-collapse .d-flex.gap-3 .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 110px;
  }

  .hero-section,
  .page-hero,
  .section,
  .cta-section {
    padding-bottom: 56px;
  }

  .hero-panel,
  .feature-card,
  .value-card,
  .achievement-card,
  .faq-card,
  .job-card,
  .contact-card,
  .stat-card,
  .process-step,
  .support-card,
  .pricing-card,
  .news-card,
  .cta-container {
    padding: 22px;
  }

  .btn,
  .btn-outline,
  .btn-primary {
    width: 100%;
  }

  .hero-actions,
  .cta-buttons,
  .cta-features,
  .d-flex.gap-3 {
    flex-direction: column;
  }
}

/* убрать чёрную подсветку при тапе и тёмный фокус у бургера */
*{-webkit-tap-highlight-color:transparent;}
.navbar-toggler:focus,.navbar-toggler:active{box-shadow:none!important;outline:none;}
