/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg-primary:    #0B0F14;
  --bg-secondary:  #0D1117;
  --bg-card:       #131920;
  --bg-card-hover: #1A2230;
  --surface-dark:  #060810;

  /* Accents */
  --accent-cyan:       #06B6D4;
  --accent-cyan-glow:  #06B6D420;
  --accent-cyan-light: #06B6D415;
  --accent-red:        #DC2626;
  --accent-red-glow:   #DC262630;
  --accent-red-light:  #DC262618;

  /* Glass */
  --bg-glass:       #FFFFFF0A;
  --bg-glass-hover: #FFFFFF12;
  --glass-bg:       #0B0F1499;
  --glass-border:   #FFFFFF15;

  /* Borders */
  --border-light:  #1E293B;
  --border-cyan:   #06B6D430;
  --border-glow:   #DC262640;

  /* Glow */
  --glow-cyan: #06B6D425;
  --glow-red:  #DC262625;

  /* Derived */
  --accent-red-hover: #ef4444;
  --overlay-bg:       #0B0F14E6;
  --nav-mobile-bg:    #0B0F14F7;

  /* Text */
  --text-primary:   #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;

  /* Layout */
  --container: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════════════════ */
.section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  text-align: center;
}

.section__redline {
  width: 48px;
  height: 4px;
  background: var(--accent-red);
  border-radius: 2px;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section__sub {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════
   TAG / BADGE
═══════════════════════════════════════════════════════ */
.tag {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent-red);
  color: #fff;
  padding: 14px 32px;
  font-size: 0.9375rem;
  box-shadow: 0 0 24px var(--accent-red-glow);
}
.btn--primary:hover {
  background: var(--accent-red-hover);
  box-shadow: 0 0 32px var(--accent-red-glow), 0 0 60px var(--accent-red-glow);
  transform: translateY(-1px);
}

.btn--sm { padding: 12px 24px; font-size: 0.8125rem; }

.btn--outline {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-cyan);
  padding: 14px 24px;
  font-size: 0.9375rem;
}
.btn--outline:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-cyan);
}

.btn--glass {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 500;
}
.btn--glass:hover {
  background: var(--bg-glass-hover);
}

.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════
   ICONS
═══════════════════════════════════════════════════════ */
.icon-red  { color: var(--accent-red);  width: 1em; height: 1em; }
.icon-cyan { color: var(--accent-cyan); width: 1em; height: 1em; }
.icon-muted{ color: var(--text-muted);  width: 1em; height: 1em; }

/* Lucide global sizing */
[data-lucide] { display: inline-block; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   LOGO
═══════════════════════════════════════════════════════ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

.logo__kz { color: var(--accent-cyan); }

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--text-primary); }

.burger {
  display: none;
  color: var(--text-primary);
  padding: 4px;
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  background: radial-gradient(ellipse 120% 120% at 50% 40%, var(--bg-card) 0%, var(--bg-primary) 60%, var(--bg-primary) 100%);
  padding: 80px 0;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 8px 16px;
  width: fit-content;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
  flex-shrink: 0;
}

.badge__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-red);
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
  color: var(--text-primary);
}

.hero__sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero visual */
.hero__visual {
  position: relative;
  width: 560px;
  height: 520px;
  flex-shrink: 0;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__glow--cyan {
  width: 300px; height: 300px;
  background: var(--glow-cyan);
  top: 150px; left: 200px;
  opacity: 0.6;
}
.hero__glow--red {
  width: 250px; height: 250px;
  background: var(--glow-red);
  top: 250px; left: 350px;
  opacity: 0.5;
}

.hero__img-wrap {
  position: absolute;
  top: 20px; left: 40px;
  width: 480px; height: 480px;
}

.hero__img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--bg-card) 0%, #0F1923 50%, var(--bg-primary) 100%);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__img-deco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__img-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 40px var(--glow-cyan);
  position: relative;
}

.hero__img-circle::after {
  content: '</>';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.hero__code-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 200px;
}

.hero__code-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--border-light);
}
.hero__code-lines span:nth-child(1) { width: 100%; }
.hero__code-lines span:nth-child(2) { width: 75%; background: var(--accent-cyan); opacity: 0.4; }
.hero__code-lines span:nth-child(3) { width: 90%; }
.hero__code-lines span:nth-child(4) { width: 60%; background: var(--accent-red); opacity: 0.4; }
.hero__code-lines span:nth-child(5) { width: 80%; }

/* Glass cards */
.glass-card {
  position: absolute;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.glass-card--stats {
  left: 0; top: 60px;
  width: 180px;
  border-color: var(--border-cyan);
}

.glass-card--speed {
  right: -20px; bottom: 40px;
  width: 160px;
  border-color: var(--border-glow);
}

.glass-card__num {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.glass-card__num--red { color: var(--accent-red); }

.glass-card__label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════
   ADVANTAGES
═══════════════════════════════════════════════════════ */
.advantages { background: var(--bg-primary); }

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 24px #00000040;
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px #00000050;
}

.adv-card--accent {
  border-color: var(--border-glow);
  box-shadow: 0 0 20px var(--glow-red), 0 4px 24px #00000040;
}

.adv-card__icon-bg {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.adv-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.adv-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════ */
.services { background: var(--bg-secondary); }

.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 24px #00000040;
  transition: transform 0.25s ease;
  position: relative;
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card--featured {
  border-color: var(--accent-red);
  border-width: 2px;
  box-shadow: 0 0 24px var(--glow-red), 0 4px 24px #00000040;
}

.pricing-card__badge {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.pricing-card__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-card__divider {
  border: none;
  border-top: 1px solid var(--border-light);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-card__features li [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.pricing-card__time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-card__time [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.pricing-card__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-red);
}

/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
.about {
  background: linear-gradient(160deg, var(--bg-primary) 0%, #0F1923 50%, var(--bg-primary) 100%);
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.about__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
}

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

.stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat__num {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent-red);
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.stats-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
  flex-shrink: 0;
}

.about__img-wrap {
  width: 503px;
  height: 443px;
  flex-shrink: 0;
}

.about__img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--bg-card) 0%, #0F1923 100%);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 40px var(--accent-cyan-light), 0 20px 80px #DC262612;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
}

.about__img-icon {
  width: 64px !important;
  height: 64px !important;
  color: var(--accent-cyan);
  opacity: 0.4;
}

.about__img-inner span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════════════ */
.reviews {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 60%, #0D1219 100%);
  padding: 80px 0 100px;
}

.slider-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.reviews-slider {
  flex: 1;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  flex: 1;
  box-shadow: 0 8px 30px #06B6D408;
  transition: transform 0.25s ease;
}

.review-card:hover { transform: translateY(-4px); }

.review-card--cyan {
  border-color: var(--glow-cyan);
  box-shadow: 0 8px 40px #06B6D412;
}

.review-card__quote {
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent-red);
  line-height: 0.5;
}

.review-card__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.review-card__divider {
  border: none;
  border-top: 1px solid var(--border-light);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.review-card__avatar--red  { background: var(--accent-red); }
.review-card__avatar--cyan { background: var(--accent-cyan); }
.review-card__avatar--gray { background: var(--text-muted); }

.review-card__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

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

/* Slider buttons */
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all 0.2s;
  box-shadow: 0 4px 20px #06B6D410;
}

.slider-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

.slider-btn [data-lucide] { width: 22px; height: 22px; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.slider-dot--active {
  background: var(--accent-cyan);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════════════════════ */
.contact {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #111827 50%, var(--bg-primary) 100%);
}

.form-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: 0 16px 60px #00000040;
  max-width: 960px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 180px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0 16px;
  height: 48px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-light);
}

.form-textarea {
  height: auto;
  padding: 12px 16px;
  resize: vertical;
}

.form-submit {
  height: 48px;
  white-space: nowrap;
  flex-shrink: 0;
}

.form-privacy {
  margin-top: 16px;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* Validation states */
.form-input.is-invalid { border-color: var(--accent-red); }

/* ═══════════════════════════════════════════════════════
   STEPS
═══════════════════════════════════════════════════════ */
.steps {
  background: linear-gradient(170deg, var(--bg-primary) 0%, #0D1219 50%, var(--bg-primary) 100%);
}

.steps-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.step {
  flex: 1;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform 0.25s ease;
}

.step:hover { transform: translateY(-4px); }

.step--active {
  border-color: var(--border-glow);
  box-shadow: 0 4px 24px #DC262615;
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-cyan-glow);
}

.step__num--red {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.step__icon {
  width: 24px !important;
  height: 24px !important;
  color: var(--accent-cyan);
}

.step--active .step__icon { color: var(--accent-red); }

.step__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.step__desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step__arrow {
  width: 20px !important;
  height: 20px !important;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin: 0 4px;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--bg-primary) 100%);
  padding: 64px 0;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
}

.footer__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer__contacts li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.footer__contacts li [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

.footer__contacts a:hover { color: var(--text-primary); }

.footer__divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  color: var(--text-muted);
  display: flex;
  transition: color 0.2s;
}

.footer__socials a:hover { color: var(--text-primary); }

.footer__socials [data-lucide] { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal__close {
  display: flex;
  color: var(--text-muted);
  transition: color 0.2s;
}
.modal__close:hover { color: var(--text-primary); }
.modal__close [data-lucide] { width: 20px; height: 20px; }

.modal__sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: -12px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px #00000050;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 300;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
}

/* ═══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .steps-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .step__arrow { display: none; }
  .step { min-width: calc(50% - 6px); }
}

/* Планшет: 2 колонки (768–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .cards-row   { grid-template-columns: repeat(2, 1fr); }
  .pricing-row { grid-template-columns: repeat(2, 1fr); max-width: none; }
  /* Третья карточка (Премиум) — во всю ширину */
  .pricing-card:last-child { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 1024px) {
  .hero__inner { gap: 40px; }
  .hero__visual { width: 420px; height: 420px; }
  .hero__img-wrap { width: 380px; height: 380px; }
  .about__inner { gap: 40px; flex-direction: column; }
  .about__img-wrap { width: 100%; height: 300px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__right { align-items: flex-start; }
  .footer__contacts { align-items: flex-start; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }

  /* Header */
  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(20px);
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
  }

  .nav.is-open {
    display: flex;
    transform: translateX(0);
  }

  .nav__link { font-size: 1.125rem; }

  .burger { display: flex; z-index: 200; position: relative; }

  /* Hero */
  .hero__inner {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .hero__visual {
    width: 100%;
    height: 300px;
    align-self: stretch;
  }

  .hero__img-wrap {
    left: 0; top: 10px;
    width: 100%;
    height: 280px;
  }

  .glass-card--stats { left: 0; top: 20px; }
  .glass-card--speed { right: 0; bottom: 10px; }

  /* Steps */
  .steps-row { flex-direction: column; }
  .step { min-width: unset; width: 100%; }

  /* Form */
  .form-row { flex-direction: column; }
  .form-row .form-group { width: 100%; }

  /* Cards & Pricing — одна колонка */
  .cards-row   { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card:last-child { grid-column: auto; max-width: none; }

  /* Slider */
  .slider-btn { display: none; }
  .reviews-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .review-card { scroll-snap-align: start; min-width: 85vw; }

  /* Footer */
  .footer__bottom { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.875rem; }
  .stats-row { flex-direction: column; gap: 16px; align-items: flex-start; }
  .stats-divider { width: 48px; height: 1px; }
}

/* ═══════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════════════════════════════════ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

.theme-toggle [data-lucide] { width: 18px; height: 18px; }

/* Show/hide sun & moon based on current theme */
[data-theme="dark"]  .icon-sun  { display: inline-block; }
[data-theme="dark"]  .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: inline-block; }

/* Smooth theme transition */
body,
#header,
.adv-card,
.pricing-card,
.review-card,
.step,
.form-card,
.modal,
.footer {
  transition: background 0.35s ease, background-color 0.35s ease,
              color 0.35s ease, border-color 0.35s ease,
              box-shadow 0.35s ease;
}

/* ═══════════════════════════════════════════════════════
   LIGHT THEME — from "Landing Page light - Web-master.kz"
═══════════════════════════════════════════════════════ */
[data-theme="light"] {
  --overlay-bg:    rgba(15, 23, 42, 0.5);
  --nav-mobile-bg: rgba(255, 255, 255, 0.97);
  --accent-red-hover: #ef4444;

  --bg-primary:    #FFFFFF;
  --bg-secondary:  #F8FAFC;
  --bg-card:       #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --surface-dark:  #F1F5F9;

  --bg-glass:       #0000000A;
  --bg-glass-hover: #00000012;
  --glass-bg:       #FFFFFF99;
  --glass-border:   #E2E8F0;

  --border-light:  #E2E8F0;
  --border-cyan:   #06B6D430;
  --border-glow:   #DC262640;

  --glow-cyan: #06B6D420;
  --glow-red:  #DC262620;

  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #64748B;
}

/* Light theme section backgrounds */
[data-theme="light"] body { background: #FFFFFF; }

[data-theme="light"] .hero {
  background: radial-gradient(ellipse 120% 120% at 50% 40%, #F1F5F9 0%, #FFFFFF 60%, #FFFFFF 100%);
}

[data-theme="light"] .advantages { background: #FFFFFF; }

[data-theme="light"] .services { background: #F8FAFC; }

[data-theme="light"] .about {
  background: linear-gradient(160deg, #F8FAFC 0%, #FFFFFF 50%, #F8FAFC 100%);
}

[data-theme="light"] .reviews {
  background: linear-gradient(180deg, #F1F5F9 0%, #FFFFFF 60%, #F1F5F9 100%);
}

[data-theme="light"] .contact {
  background: linear-gradient(180deg, #F1F5F9 0%, #FFFFFF 50%, #F1F5F9 100%);
}

[data-theme="light"] .steps {
  background: linear-gradient(170deg, #F8FAFC 0%, #FFFFFF 50%, #F8FAFC 100%);
}

[data-theme="light"] .footer {
  background: linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 100%);
}

/* Light: hero image placeholder */
[data-theme="light"] .hero__img-placeholder {
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 50%, #F8FAFC 100%);
  border-color: #E2E8F0;
}

[data-theme="light"] .hero__code-lines span {
  background: #E2E8F0;
}

/* Light: slider buttons */
[data-theme="light"] .slider-btn {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #475569;
}

[data-theme="light"] .slider-btn:hover {
  background: #F8FAFC;
}

/* Light: about image placeholder */
[data-theme="light"] .about__img-placeholder {
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
  border-color: #E2E8F0;
}

/* Light: modal overlay */
[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.5);
}

/* Light: step cards */
[data-theme="light"] .step {
  background: #0000000A;
  border-color: #00000015;
}

[data-theme="light"] .step--active {
  border-color: var(--border-glow);
}

/* Light: adv card accent */
[data-theme="light"] .adv-card {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

[data-theme="light"] .adv-card--accent {
  box-shadow: 0 0 20px var(--glow-red), 0 4px 24px rgba(0,0,0,0.08);
}

/* Light: hero code circle */
[data-theme="light"] .hero__img-circle {
  border-color: var(--accent-cyan);
}

/* Light: toast */
[data-theme="light"] .toast {
  background: #FFFFFF;
  border-color: var(--border-cyan);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  color: var(--text-primary);
}

/* Light: footer divider */
[data-theme="light"] .footer__divider {
  border-color: #E2E8F0;
}

/* Light: form card */
[data-theme="light"] .form-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}

/* Light: form elements */
[data-theme="light"] .form-label {
  color: #334155;
  font-weight: 600;
}

[data-theme="light"] .form-input {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .form-input::placeholder {
  color: #94A3B8;
}

[data-theme="light"] .form-input:focus {
  background: #FFFFFF;
  border-color: var(--accent-cyan);
}

[data-theme="light"] .form-privacy {
  color: #64748B;
}

/* Light: modal form */
[data-theme="light"] .modal {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

[data-theme="light"] .modal__title {
  color: #0F172A;
}

[data-theme="light"] .modal__sub {
  color: #475569;
}

[data-theme="light"] .modal__close {
  color: #64748B;
}

/* Light: dot inactive */
[data-theme="light"] .slider-dot { background: #CBD5E1; }

/* Light: header */
[data-theme="light"] #header {
  background: rgba(255,255,255,0.85);
  border-bottom-color: #E2E8F0;
}
