
@font-face {
  font-family: "Inter";
  src:
    url("/static/vendor/fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src:
    url("/static/vendor/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Colors */
  --color-heading: #2F333D;
  --color-brand: #194BFB;
  --color-text: #6C707A;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray-light: #F5F6F8;
  --color-gray-medium: #E8E9ED;
  --color-gray-dark: #2F333D;
  --site-bg: #f2f7fd;
  
  /* Layout */
  --container-max: 1900px;
  --gutter: 24px;
  --gutter-sm: 16px;
  --header-height: 80px;
  --mobile-header-height: 60px;
  --header-bg-image: none;
  --overlay-offset: 250px;
  
  /* Spacing Scale */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-2xl: 24px;
  --spacing-3xl: 32px;
  --spacing-4xl: 40px;
  
  /* Section Spacing */
  --section-px: 24px;
  --section-py: 50px;
  --section-py-hero: 16px;
  
  /* Typography - Desktop */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8rem;
  --font-size-base: 1rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-hero: 3.6rem;
  --subtitle-size: 1.12rem;
  
    /* Semantic text sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-lg: 1rem;
  --text-xl: 1.125rem;
  --text-2xl: 1.25rem;
  --text-3xl: 1.5rem;
  --text-4xl: 2rem;
  --text-5xl: 2.5rem;
  --text-hero: 3.6rem;
  
  /* Heading sizes */
  --h1-size: 3.6rem;
  --h2-size: 2.5rem;
  --h3-size: 2rem;
  --h4-size: 1.35rem;
  --h5-size: 1.25rem;
  --h6-size: 1.125rem;
  
  /* Font Weights */
  --font-weight-normal: 300;
  --font-weight-medium: 400;
  --font-weight-semibold: 500;
  --font-weight-bold: 600;
  --font-weight-extrabold: 700;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-xxl: 24px;
  --radius-full: 999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-extra-slow: 0.4s ease;
  
  /* Z-Index */
  --z-low: 10;
  --z-medium: 50;
  --z-high: 100;
  --z-highest: 9999;
  
  /* Buttons */
  --btn-padding-sm: 8px 14px;
  --btn-padding-md: 12px 20px;
  --btn-padding-lg: 16px 24px;
  --btn-padding-xl: 20px 32px;
}

/* Responsive Variables */
@media (max-width: 900px) {
  :root {
    --header-height: var(--mobile-header-height);
  }
}

/* Tablet (769px - 900px) */
@media (max-width: 900px) {
  :root {
    --text-base: 1rem;
    --text-lg: 1rem;
    --text-xl: 1.125rem;
    --text-2xl: 1.25rem;
    --text-3xl: 1.75rem;
    --text-4xl: 2.25rem;
    --text-5xl: 2.75rem;
    --text-hero: 3rem;
    --h1-size: 3rem;
    --h2-size: 2.25rem;
    --h3-size: 1.75rem;
  }
}

/* Mobile (481px - 768px) */
@media (max-width: 768px) {
  :root {
    --text-xs: 0.6875rem;
    --text-sm: 0.75rem;
    --text-base: 1rem;
    --text-lg: 0.9375rem;
    --text-xl: 1rem;
    --text-2xl: 1.125rem;
    --text-3xl: 1.5rem;
    --text-4xl: 1.75rem;
    --text-5xl: 2rem;
    --text-hero: 2.5rem;
    --subtitle-size: 1rem;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --h4-size: 1.25rem;
    --h5-size: 1.125rem;
  }
}

/* Small mobile (361px - 480px) */
@media (max-width: 480px) {
  :root {
    --text-xs: 0.6875rem;
    --text-sm: 0.75rem;
    --text-base: 1rem;
    --text-lg: 0.875rem;
    --text-xl: 0.9375rem;
    --text-2xl: 1rem;
    --text-3xl: 1.25rem;
    --text-4xl: 1.5rem;
    --text-5xl: 1.75rem;
    --text-hero: 2rem;
    --subtitle-size: 1rem;
    --h1-size: 2rem;
    --h2-size: 1.75rem;
    --h3-size: 1.375rem;
    --h4-size: 1.125rem;
  }
}

/* Extra small mobile (≤360px) */
@media (max-width: 360px) {
  :root {
    --text-xs: 0.625rem;
    --text-sm: 0.6875rem;
    --text-base: 1rem;
    --text-lg: 0.875rem;
    --text-xl: 0.9375rem;
    --text-2xl: 1rem;
    --text-3xl: 1.125rem;
    --text-4xl: 1.375rem;
    --text-5xl: 1.625rem;
    --text-hero: 1.75rem;
    --subtitle-size: 1rem;
    --h1-size: 1.75rem;
    --h2-size: 1.5rem;
    --h3-size: 1.25rem;
  }
}

@media (min-width: 1200px) {
  :root {
    /* section-px управляется в responsive sections */
  }
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--site-bg);
  overflow-x: hidden;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--font-size-base);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  margin: 0 0 var(--spacing-2xl);
  line-height: 1.2;
  overflow-wrap: break-word;
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-size);
  font-weight: var(--font-weight-extrabold);
}

h2 {
  font-size: var(--h2-size);
  font-weight: var(--font-weight-extrabold);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

p {
  color: var(--color-text);
  margin: 0 0 var(--spacing-2xl);
  font-size: var(--text-base);
  overflow-wrap: break-word;
  line-height: 1.8;
}

a {
  color: var(--color-brand);
  text-decoration: none;
  overflow-wrap: break-word;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-10px); opacity: 1; }
}

@keyframes bounceRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

@keyframes hub-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(42, 171, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0); }
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  padding: var(--section-py) var(--section-px);
  width: 100%;
}

/* ============================================
   RESPONSIVE SECTIONS
   ============================================ */

/* Extra Large screens (1920px+) */
@media (min-width: 1920px) {
  section {
    --section-py: 70px;
    --section-px: 40px;
  }
}

/* Large tablets / Small desktops (901px - 1200px) */
@media (max-width: 1200px) {
  section {
    --section-py: 45px;
  }
}

/* Tablets (769px - 900px) */
@media (max-width: 900px) {
  section {
    --section-py: 40px;
    --section-px: 16px;
  }
}

/* Mobile devices (481px - 768px) */
@media (max-width: 768px) {
  section {
    --section-py: 32px;
    --section-px: 16px;
  }
}

/* Small mobile (361px - 480px) */
@media (max-width: 480px) {
  section {
    --section-py: 28px;
    --section-px: 14px;
  }
}

/* Extra small mobile (≤360px) */
@media (max-width: 360px) {
  section {
    --section-py: 24px;
    --section-px: 12px;
  }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
  section {
    --section-py: 20px;
  }
}

/* Grid System */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }

/* ============================================
   COMPONENTS
   ============================================ */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
   display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 22px;
      background: radial-gradient(117.855% 100% at 50.2146% 100%, rgb(110, 154, 255) 0%, rgb(25, 75, 251) 100%);
      color: var(--color-white);
      border-radius: calc(var(--radius-md) - 2px);
      box-shadow: rgba(0, 38, 128, 0.15) 0px 4px 12px 0px, rgba(0, 38, 128, 0.1) 0px 8px 24px 0px;
      border-color: rgba(0, 0, 0, 0);
      position: relative;
      overflow: hidden;
      transition: background .62s ease, box-shadow .92s ease, transform .88s ease, filter .62s ease;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 14px 40px rgba(25,75,251,0.16);
  background: radial-gradient(117.855% 100% at 50.2146% 100%, rgb(140, 185, 255) 0%, rgb(35, 95, 255) 100%);
  filter: brightness(1.03);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.998);
  transition: transform 0.06s ease;
}

.btn-primary .arrow {
  font-weight: 900;
  font-size: 1.4em;
  line-height: 1;
  margin-left: 6px;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 4px 10px rgba(25,75,251,.35));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  text-decoration: none;
  padding: var(--spacing-md) var(--spacing-xl);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  text-decoration: none;
  padding: 12px 22px;
  background: transparent;
  color: var(--color-brand);
  border: 1.2px solid var(--color-brand);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}

.btn-outline-brand:hover {
  background: var(--color-brand);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25,75,251,.18);
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-extrabold);
  background: linear-gradient(90deg, #5a2eeb 0%, #1a4bfb 100%);
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(25,75,251,.18);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(25,75,251,.20);
}
.button-premium::before {
      content: "";
      position: absolute;
      inset: 0;
      padding: 2px;
      border-radius: var(--radius-md);
      background: linear-gradient(90deg, #C08DFF 0%, #5A2EEB 100%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);-webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

/* --- Icons --- */
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--color-white) 0%, #f4f8ff 100%);
  border: 1px solid rgba(25,75,251,0.08);
  box-shadow: 0 8px 24px rgba(25,75,251,0.06), 0 2px 6px rgba(11,11,11,0.04);
  color: var(--color-brand);
  transition: all var(--transition-fast);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:hover {
  box-shadow: 0 14px 36px rgba(25,75,251,0.12);
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  transform: translateY(-1px);
}

.icon-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(25,75,251,0.10);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-heading);
  transition: all 0.18s ease;
}

.icon-btn:hover svg,
.icon-btn:focus-visible svg {
  color: var(--color-brand);
  transform: translateY(-1px) scale(1.02);
}

/* --- Login Modal --- */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-highest); /* Ensure it's on top */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-modal.active {
  opacity: 1;
  visibility: visible;
}

.login-modal-content {
  background: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  position: relative;
  max-width: 400px; /* Adjust as needed */
  width: 90%;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.login-modal.active .login-modal-content {
  transform: translateY(0);
}

.login-modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  font-size: var(--font-size-xl);
  cursor: pointer;
  color: var(--color-heading);
}

.login-form-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.login-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-heading);
  margin-bottom: var(--spacing-xs);
}

.login-id-input {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  border: 1px solid #e6eef6;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: var(--font-size-base);
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-text);
  transition: all 0.2s ease;
}

.login-id-input::placeholder {
  color: rgba(108, 112, 122, 0.5);
}

.login-id-input:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(25,75,251,0.12);
}

.login-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: radial-gradient(117.855% 100% at 50.2146% 100%, rgb(110, 154, 255) 0%, rgb(25, 75, 251) 100%);
  color: var(--color-white);
  border-radius: calc(var(--radius-md) - 2px);
  box-shadow: rgba(0, 38, 128, 0.15) 0px 4px 12px 0px, rgba(0, 38, 128, 0.1) 0px 8px 24px 0px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: background .62s ease, box-shadow .92s ease, transform .88s ease, filter .62s ease;
  cursor: pointer;
  font-family: inherit;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}

.login-submit-btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 14px 40px rgba(25,75,251,0.16);
  background: radial-gradient(117.855% 100% at 50.2146% 100%, rgb(140, 185, 255) 0%, rgb(35, 95, 255) 100%);
  filter: brightness(1.03);
}

.login-submit-btn:active {
  transform: translateY(-1px) scale(0.998);
  transition: transform 0.06s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
   display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 22px;
      background: radial-gradient(117.855% 100% at 50.2146% 100%, rgb(110, 154, 255) 0%, rgb(25, 75, 251) 100%);
      color: var(--color-white);
      border-radius: calc(var(--radius-md) - 2px);
      box-shadow: rgba(0, 38, 128, 0.15) 0px 4px 12px 0px, rgba(0, 38, 128, 0.1) 0px 8px 24px 0px;
      border-color: rgba(0, 0, 0, 0);
      position: relative;
      overflow: hidden;
      transition: background .62s ease, box-shadow .92s ease, transform .88s ease, filter .62s ease;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 14px 40px rgba(25,75,251,0.16);
  background: radial-gradient(117.855% 100% at 50.2146% 100%, rgb(140, 185, 255) 0%, rgb(35, 95, 255) 100%);
  filter: brightness(1.03);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.998);
  transition: transform 0.06s ease;
}

.btn-primary .arrow {
  font-weight: 900;
  font-size: 1.4em;
  line-height: 1;
  margin-left: 6px;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 4px 10px rgba(25,75,251,.35));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  text-decoration: none;
  padding: var(--spacing-md) var(--spacing-xl);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  text-decoration: none;
  padding: 12px 22px;
  background: transparent;
  color: var(--color-brand);
  border: 1.2px solid var(--color-brand);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}

.btn-outline-brand:hover {
  background: var(--color-brand);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25,75,251,.18);
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-normal);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-extrabold);
  background: linear-gradient(90deg, #5a2eeb 0%, #1a4bfb 100%);
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(25,75,251,.18);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(25,75,251,.20);
}
.button-premium::before {
      content: "";
      position: absolute;
      inset: 0;
      padding: 2px;
      border-radius: var(--radius-md);
      background: linear-gradient(90deg, #C08DFF 0%, #5A2EEB 100%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);-webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

/* --- Icons --- */
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--color-white) 0%, #f4f8ff 100%);
  border: 1px solid rgba(25,75,251,0.08);
  box-shadow: 0 8px 24px rgba(25,75,251,0.06), 0 2px 6px rgba(11,11,11,0.04);
  color: var(--color-brand);
  transition: all var(--transition-fast);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:hover {
  box-shadow: 0 14px 36px rgba(25,75,251,0.12);
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  transform: translateY(-1px);
}

.icon-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(25,75,251,0.10);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-heading);
  transition: all 0.18s ease;
}

.icon-btn:hover svg,
.icon-btn:focus-visible svg {
  color: var(--color-brand);
  transform: translateY(-1px) scale(1.02);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border: 1px solid #e6e9ef;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(25, 75, 251, 0.15);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: var(--spacing-lg);
}

.section-title-wrap .dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--color-white);
  color: var(--color-brand);
  border: 1px solid rgba(0, 38, 128, 0.1);
  box-shadow: var(--shadow-md);
}

.section-title-wrap .dot svg,
.section-title-wrap .dot img {
  width: 22px;
  height: 22px;
}

.section-title {
  font-size: var(--h2-size);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-heading);
  margin: 0;
  line-height: 1.2;
}

.section-title .accent {
  color: var(--color-brand);
}

.title-subtitle {
  margin: var(--spacing-lg) auto var(--spacing-2xl);
  color: var(--color-text);
  font-size: var(--subtitle-size);
  text-align: center;
  max-width: 700px;
  line-height: 1.6;
}
/* ============================================
   CEO SECTION
   ============================================ */
.ceo {
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.ceo-panel {
  display: block;
  border-radius: var(--radius-xl);
  position: relative;
  border: 0.5px solid rgba(0, 38, 128, 0.26);
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 0.636953px 1.4013px -0.6875px, 
              rgba(0, 0, 0, 0.07) 0px 1.9316px 4.24953px -1.375px, 
              rgba(0, 0, 0, 0.067) 0px 5.10612px 11.2335px -2.0625px, 
              rgba(0, 0, 0, 0.06) 0px 16px 35.2px -2.75px;
}

.ceo-grid {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.ceo-pre {
  font-size: var(--font-size-base);
  opacity: 0.95;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: rgba(255,255,255,0.95);
}

.ceo-headline {
  font-size: var(--text-hero);
  line-height: 1.02;
  font-weight: var(--font-weight-extrabold);
  margin: 0 0 var(--spacing-xl);
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.ceo-headline .accent {
  color: var(--color-brand);
}

.ceo-headline .accent--dim {
  color: var(--color-heading);
}

.ceo-desc {
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin: 0 0 var(--spacing-3xl);
}

.ceo-actions {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}
.ceo-content{
  padding: calc(var(--spacing-4xl) * 2 - 10px) var(--spacing-4xl) var(--spacing-4xl);
}
.ceo .btn-primary {
  padding: 14px calc(var(--spacing-xl) + 2px);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 24px 50px rgba(8, 33, 120, 0.18);
}

.ceo-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ceo-image-card {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.ceo-image-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  object-fit: cover;
  margin: 0 auto;
}

.ceo-attr {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.96);
  color: #0b1220;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.1;
  z-index: 5;
  box-shadow: 0 8px 20px rgba(2,12,43,0.12);
  min-width: 160px;
}

.ceo-attr .name {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: #07102a;
}

.ceo-attr .role {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(7,16,42,0.7);
  margin-top: 4px;
}


/* ============================================
   SERVICES (HIW) SECTION
   ============================================ */
.hiw-grid {
  display: grid;
  gap: 28px;
  align-items: flex-start;
}

.hiw-title {
  margin: 0;
}

.hiw-sub {
  margin: 33px 0;
  font-size: var(--subtitle-size);
}

.hiw-ill {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 340px;
}

.hiw-ill img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hiw-step {
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  border-bottom: 0.5px solid rgba(0, 38, 128, 0.26);
}

.hiw-step h4 {
  margin: 0;
}

.hiw-step p {
  margin: 4px 0 0;
}

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

.hiw-card {
  background: var(--color-white);
  border: 1px solid #e6e9ef;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  border: 1px solid rgba(0, 38, 128, 0.26);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  cursor: pointer;
}

.hiw-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 75, 251, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

.hiw-card.active .hiw-card-overlay {
  opacity: 1;
  visibility: visible;
}

.hiw-card-order-btn {
  background: var(--color-white);
  color: var(--color-brand);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hiw-card-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hiw-card h4 {
  margin: 0;
  color: var(--color-heading);
}

.hiw-card p {
  margin: 8px 0 0;
  color: var(--color-text);
}

.hiw-card-img {
  width: 100%;
    max-width: 200px;
    height: auto;
    margin-top: 12px;
    border-radius: 8px;
    object-fit: contain;
    align-self: center;
    justify-self: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   METHODOLOGY SECTION
   ============================================ */
.methodology {
  position: relative;
}

.methodology .container {
  max-width: 1140px;
}

.meth-title {
  margin: 0 0 33px;
  text-align: center;
}

.methodology-sub {
  margin: 0 auto 33px;
  text-align: center;
  font-size: var(--subtitle-size);
  max-width: 700px;
}

.meth-grid {
  position: relative;
  display: grid;
  gap: 22px;
  align-items: center;
  grid-template-areas:
    "card1 hub card2"
    "card3 hub card4";
  grid-template-columns: 1fr 320px 1fr;
}

.meth-card {
  background:var(--color-white); 
  border:1px solid #e6e9ef; 
  border-radius:18px; 
  box-shadow:rgba(0, 49, 87, 0.024) 0px 0.706592px 0.565274px -0.125px, rgba(0, 49, 87, 0.027) 0px 1.80656px 1.44525px -0.25px, rgba(0, 49, 87, 0.035) 0px 3.62176px 2.89741px -0.375px, rgba(0, 49, 87, 0.047) 0px 6.8656px 5.49248px -0.5px, rgba(0, 49, 87, 0.07) 0px 13.6468px 10.9174px -0.625px, rgba(0, 49, 87, 0.1) 0px 20px 24px -0.1px; 
  overflow:hidden; 
  position:relative; 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 

}

.meth-card:hover {
  box-shadow: 0 20px 50px rgba(25, 75, 251, 0.15), 0 8px 24px rgba(0, 49, 87, 0.1);
}

.meth-card .head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  position: relative;
}

.meth-card .head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand) 0%, #6e9aff 50%, var(--color-brand) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.meth-card:hover .head::before {
  opacity: 1;
}

.meth-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 44px;
  background: linear-gradient(135deg, #e9f0ff 0%, #dbe5ff 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(25, 75, 251, 0.15);
  transition: all 0.3s ease;
}

.meth-card:hover .avatar {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 6px 20px rgba(25, 75, 251, 0.2);
}

.meth-card .avatar svg {
  width: 24px;
  height: 24px;
  color: var(--color-brand);
}

.meth-card .title {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-heading);
}

.meth-card .body {
  padding: 20px;
  background: linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
  color: #1b263b;
  font-size: var(--font-size-base);
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.meth-card .body::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(25, 75, 251, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.meth-card .graphic-decor {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  opacity: 0.15;
  color: var(--color-brand);
  pointer-events: none;
  transition: all 0.3s ease;
}

.meth-card:hover .graphic-decor {
  opacity: 0.25;
  transform: scale(1.1) rotate(5deg);
}

.meth-card .graphic-decor svg {
  width: 100%;
  height: 100%;
}

.card1 { grid-area: card1; }
.card2 { grid-area: card2; }
.card3 { grid-area: card3; }
.card4 { grid-area: card4; }

.meth-hub {
  grid-area: hub;
  width: 160px;
  height: 160px;
  margin: auto;
  position: relative;
  display: grid;
  place-items: center;
}

.meth-hub::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: url('../images/method_tr.png') center/cover no-repeat;
  transform-origin: 50% 50%;
  z-index: 1;
  animation: hub-spin 22s linear infinite;
  will-change: transform;
}

.meth-hub .inner {
  width: 70%;
  height: 70%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

.meth-hub .inner .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e9f0ff;
  color: #2d5bff;
  margin-bottom: 8px;
}

.meth-hub .label {
  font-weight: 700;
  color: #1b2236;
}

/* Connector Wires */
.methodology .wire {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, rgba(151,184,255,.6) 50%, transparent 90%);
}

.methodology .wire::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -14px;
  width: 44px;
  height: 44px;
  background: url('{% static 'images/logo.png' %}') center / contain no-repeat;
}

.methodology .vwire {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent 10%, rgba(151,184,255,.6) 50%, transparent 90%);
  opacity: 0.6;
}

/* ============================================
   CASES SECTION
   ============================================ */
.case-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: var(--color-white);
  border: 1px solid #e6e9ef;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--color-white); 
  border:1px solid #e6e9ef; 
  border-radius:14px; 
  overflow:hidden; 
  display:flex; 
  flex-direction:column; 
  box-shadow: 0 12px 30px rgba(14,23,38,.06); 
  align-items:stretch;
  position: relative; 
  cursor: pointer; 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card--large {
  min-height: 300px;
}

.case-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--color-brand);
  background: linear-gradient(180deg, rgba(25,75,251,0.08), rgba(110,154,255,0.04));
  box-shadow: 0 6px 18px rgba(25,75,251,0.06);
  z-index: 6;
}

.case-card-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--site-bg);
}

.case-media {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f3f5f8;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-body {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(255,255,255,0.02));
  backdrop-filter: blur(8px) saturate(120%);
  z-index: 4;
}

.case-card-title {
  margin: 0;
  font-size: var(--font-size-md);
  color: var(--color-white);
  border-bottom: 1px solid rgb(255 255 255 / 42%);
  padding-bottom: 10px;
}

.case-excerpt {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: var(--font-size-base);
  text-shadow: 0 6px 16px rgba(0,0,0,0.55);
}

.case-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.case-footer .arrow-animated {
  width: 28px;
  height: 28px;
  color: var(--color-brand);
  animation: bounceRight 1.5s ease-in-out infinite;
}

/* Case Modal */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.case-modal.active {
  opacity: 1;
  visibility: visible;
}

.case-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.case-modal-content {
  position: relative;
  background: var(--color-white);
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.case-modal.active .case-modal-content {
  transform: scale(1) translateY(0);
}

.case-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.case-modal-close:hover {
  background: var(--color-white);
  transform: rotate(90deg);
}

.case-modal-header {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.case-modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.case-modal-title {
  position: absolute;
  bottom: 20px;
  left: 30px;
  right: 30px;
  color: var(--color-white);
  font-size: var(--h4-size);
  font-weight: 800;
  margin: 0;
  z-index: 2;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.case-modal-body {
  padding: 30px;
}

.case-modal-description {
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin-bottom: 28px;
}

.case-modal-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.case-metric {
  background: linear-gradient(135deg, #f8f9fc 0%, #eef2f7 100%);
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
}

.case-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 75, 251, 0.1);
}

.case-metric-value {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
  margin-bottom: 8px;
}

.case-metric-label {
  font-size: var(--font-size-base);
  color: var(--color-text);
  font-weight: 600;
}

.case-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.case-modal-tag {
  background: rgba(25, 75, 251, 0.08);
  color: var(--color-brand);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.case-modal-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.case-modal-cta .btn-primary {
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

/* ============================================
   JOURNAL SECTION
   ============================================ */
.journal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.journal-header .left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.journal-tags {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 6px;
  margin-bottom: 40px;
}

.journal-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--color-gray-medium);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(14,23,38,0.04);
  background: var(--color-white);
  white-space: nowrap;
}

.journal-tag svg {
  width: 18px;
  height: 18px;
  display: block;
  color: var(--color-text);
  flex: 0 0 18px;
}

.journal-tag:hover,
.journal-tag.active {
  color: var(--color-white);
  background: var(--color-brand);
  border-color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25,75,251,0.2);
}

.journal-tag:hover svg,
.journal-tag.active svg {
  color: var(--color-white);
}

.journal-link {
  color: var(--color-brand);
  font-weight: 700;
  white-space: nowrap;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.journal-card {
  background:var(--color-white);
  border:1px solid #e6e9ef;
  border-radius:12px;
  overflow:hidden;
  box-shadow: 0 12px 28px rgba(14,23,38,.06);
  transition: transform .18s ease, box-shadow .18s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.journal-card:hover {
  text-decoration: none;
}

.journal-media {
  position: relative;
  overflow: hidden;
}

.journal-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.journal-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 84px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 65%, rgba(255,255,255,1) 100%);
}

.journal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -44px;
  padding-top: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.7) 14%, rgba(255,255,255,1) 32%);
  position: relative;
  z-index: 2;
}

.journal-title {
  margin: 0;
  font-size: var(--h4-size);
  color: var(--color-heading);
  font-weight: 800;
}

.journal-title a {
  color: inherit;
  text-decoration: none;
}

.journal-excerpt {
  margin: 0;
  color: var(--color-text);
}

.journal-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.journal-chip {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.tags-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-container {
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 30px;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 40px;
  border-radius: 16px;
  max-width: var(--container-max);
}

.promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-label {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(25, 75, 251, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  width: fit-content;
}

.promo-title {
  font-size: var(--h2-size);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin: 0;
}

.promo-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  margin: 10px 0;
  font-weight: 500;
}

.promo-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 16px;
}

.promo-features li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.promo-features li:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Bento Grid Layout */
.promo-features li:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  justify-content: center;
}

.promo-features li:nth-child(2),
.promo-features li:nth-child(3) {
  grid-column: 3 / 5;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.bento-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--color-white);
  flex-shrink: 0;
}

.bento-icon svg {
  width: 24px;
  height: 24px;
}

.bento-large .bento-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.bento-large .bento-icon svg {
  width: 32px;
  height: 32px;
}

.bento-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-large {
  position: relative;
  overflow: visible;
}

.bento-gear-bg {
  position: absolute;
  right: -41%;
  top: 60%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  object-fit: contain;
}

.bento-large .bento-content {
  position: relative;
  z-index: 1;
}

.promo-feature-title {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 4px;
}

.promo-feature-text {
  display: block;
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.promo-button {
  display: inline-block;
  width: fit-content;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.promo-decor {
  position: relative;
  height: 100%;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #656973 0%, #3F434D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.elem-1 { width: 80px; height: 80px; top: 20%; left: 10%; }
.elem-2 { width: 60px; height: 60px; bottom: 15%; right: 20%; animation-delay: -2s; }
.elem-3 { width: 50px; height: 50px; top: 40%; right: 5%; animation-delay: -4s; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial{
  overflow: hidden;
}
.testimonial .container {
  position: relative;
}

.testimonial-nav {
  display: flex;
  gap: 12px;
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-text);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(11,11,11,0.12);
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonials-grid {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  background: linear-gradient(180deg, #fbfcfd, #f7f8fb);
  border: 1px solid #eceff3;
  border-radius: 18px;
  padding: 28px 28px 36px;
  position: relative;
  overflow: visible;
  min-height: 360px;
  flex: 0 0 calc((100% - 40px) / 3);
  cursor: grab;
  transition: all 0.3s ease;
}

.testimonial-card:active {
  cursor: grabbing;
}

.testimonial-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  border: 3px solid var(--color-white);
  box-shadow: 0 6px 18px rgba(14,23,38,0.06);
  position: absolute;
  left: 20px;
  top: 20px;
  background: #e9eef8;
}

.testimonial-card .quote-mark {
  display: block;
  color: var(--color-brand);
  font-size: var(--font-size-lg);
  margin-bottom: 12px;
}

.testimonial-card .quote {
  font-size: var(--h4-size);
  line-height: 1.08;
  font-weight: 700;
  color: var(--color-heading);
  margin: 36px 0 18px;
}

.testimonial-card .who {
  margin-top: auto;
  border-top: 1px solid rgba(20,24,35,0.04);
  padding-top: 14px;
  display: block;
}

.testimonial-card .who .name {
  font-weight: 800;
  color: var(--color-heading);
}

.testimonial-card .who .meta {
  color: var(--color-text);
  font-size: 0.85rem;
}

/* Contact Form */
.contact-field {
  display: block;
  margin-bottom: calc(var(--spacing-lg) - 2px);
}

.contact-field .label {
  display: block;
  font-size: calc(var(--font-size-sm) - 0.0625rem);
  font-weight: var(--font-weight-semibold);
  color: var(--color-heading);
  margin-bottom: var(--spacing-sm);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  border: 1px solid #e6eef6;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: var(--font-size-base);
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-text);
  transition: all 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(108, 112, 122, 0.5);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(25,75,251,0.12);
}

.contact-submit {
  composes: btn;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: calc(var(--radius-md) - 2px);
  background: var(--color-brand);
  color: var(--color-white);
  border: 0;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  box-shadow: 0 8px 24px rgba(25,75,251,0.24);
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(25,75,251,0.32);
}

.contact-submit:active {
  transform: translateY(-1px) scale(0.98);
  transition: transform 0.08s ease;
}

.contact-note {
  color: #059669;
  font-size: calc(var(--font-size-sm) - 0.0625rem);
  font-weight: var(--font-weight-semibold);
}

.required {
  color: #ef4444;
}

.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: calc(var(--spacing-lg) - 2px) 0;
}

.contact-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.contact-checkbox label {
  font-size: calc(var(--font-size-sm) - 0.0625rem);
  color: var(--color-text);
  line-height: 1.5;
  cursor: pointer;
}

.contact-checkbox a {
  color: var(--color-brand);
}

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

/* ============================================
   CHATBOTS SECTION
   ============================================ */
.chatbots {
  padding: var(--section-py) var(--section-px);
  position: relative;
}

.chatbots-container {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.chatbots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
  margin-bottom: var(--spacing-4xl);
}

.chatbots-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chatbots-mockup {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(145deg, #242a42 0%, #1a1f36 100%);
  border-radius: 24px;
  padding: var(--spacing-xl);
  border: 1px solid rgba(110, 154, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(110, 154, 255, 0.1);
}

.chatbots-phone {
  background: #0d1221;
  border-radius: 20px;
  padding: var(--spacing-lg);
  border: 2px solid rgba(110, 154, 255, 0.3);
}

.chatbots-phone-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-bottom: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(110, 154, 255, 0.1);
}

.chatbots-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand) 0%, #6e9aff 100%);
  display: grid;
  place-items: center;
}

.chatbots-avatar svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.chatbots-phone-info {
  flex: 1;
}

.chatbots-phone-info h4 {
  color: var(--color-white);
  font-size: var(--font-size-base);
  margin: 0;
  font-weight: var(--font-weight-semibold);
}

.chatbots-phone-info span {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-xs);
}

.chatbots-messages {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.chatbots-message {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-end;
}

.chatbots-message.bot {
  justify-content: flex-start;
}

.chatbots-message.user {
  justify-content: flex-end;
}

.chatbots-message-bubble {
  max-width: 80%;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 18px;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.chatbots-message.bot .chatbots-message-bubble {
  background: rgba(110, 154, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
}

.chatbots-message.user .chatbots-message-bubble {
  background: var(--color-brand);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

.chatbots-typing {
  display: flex;
  gap: 4px;
  padding: var(--spacing-md) var(--spacing-lg);
}

.chatbots-typing span {
  width: 8px;
  height: 8px;
  background: rgba(110, 154, 255, 0.5);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.chatbots-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbots-typing span:nth-child(3) { animation-delay: 0.4s; }

.chatbots-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.chatbots-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.chatbots-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(110, 154, 255, 0.1);
  transition: all 0.3s ease;
}

.chatbots-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(25, 75, 251, 0.12);
}

.chatbots-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand) 0%, #6e9aff 100%);
  display: grid;
  place-items: center;
  color: var(--color-white);
  border: 1px solid rgba(110, 154, 255, 0.2);
}

.chatbots-feature-icon svg {
  width: 24px;
  height: 24px;
}

.chatbots-feature-text h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--spacing-xs);
}

.chatbots-feature-text p {
  font-size: var(--font-size-base);
  margin: 0;
  line-height: 1.5;
}

.chatbots-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.chatbots-stat {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(110, 154, 255, 0.1);
}

.chatbots-stat-number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-brand);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.chatbots-stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.chatbots-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  text-align: center;
  padding: var(--spacing-3xl);
  backdrop-filter: blur(10px);
}

.chatbots-cta-text h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--spacing-sm);
  color: var(--color-white);
}

.chatbots-cta-text p {
  font-size: var(--font-size-base);
  margin: 0 auto var(--spacing-lg);
  color: var(--color-white);
}

.chatbots-buttons {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.chatbots-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--btn-padding-md);
  background: transparent;
  border: 2px solid rgba(110, 154, 255, 0.5);
  border-radius: var(--radius-full);
  color: #6e9aff;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  text-decoration: none;
  transition: all 0.3s ease;
}

.chatbots-btn-outline:hover {
  background: rgba(110, 154, 255, 0.1);
  border-color: #6e9aff;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ============================================
   CRM INTEGRATION
   ============================================ */
.crm-integration {
  padding: var(--section-py) var(--section-px);
  position: relative;
}

.crm-integration::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(25, 75, 251, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.crm-container {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.crm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: start;
}

.crm-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.crm-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.crm-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25, 75, 251, 0.1);
  box-shadow: 0 4px 20px rgba(25, 75, 251, 0.06);
  transition: all 0.3s ease;
}

.crm-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(25, 75, 251, 0.12);
}

.crm-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand) 0%, #5a8cff 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(25, 75, 251, 0.3);
}

.crm-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-white);
}

.crm-feature-text h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 var(--spacing-xs);
}

.crm-feature-text p {
  font-size: var(--font-size-base);
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

.crm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25, 75, 251, 0.1);
  box-shadow: 0 4px 20px rgba(25, 75, 251, 0.06);
}

.crm-stat {
  text-align: center;
  padding: var(--spacing-md);
}

.crm-stat-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-brand);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.crm-stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

.crm-cta {
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, var(--color-brand) 0%, #3d6fff 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
  box-shadow: 0 8px 30px rgba(25, 75, 251, 0.25);
}

.crm-cta-text h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin: 0 0 var(--spacing-xs);
}

.crm-cta-text p {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.crm-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-shrink: 0;
}

.crm-cta .btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  color: var(--color-brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.crm-cta .btn-primary:hover {
  background: linear-gradient(135deg, #f8faff 0%, #e8eeff 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.crm-cta .btn-primary .arrow {
  color: var(--color-brand);
  filter: drop-shadow(0 2px 4px rgba(25,75,251,.2));
}

.crm-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--btn-padding-md);
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: all 0.3s ease;
}

.crm-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.crm-visual {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.crm-mockup {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  border: 1px solid rgba(25, 75, 251, 0.1);
  box-shadow: 0 8px 40px rgba(25, 75, 251, 0.12);
}

.crm-card {
  background: linear-gradient(180deg, #f8faff 0%, #f0f4ff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25, 75, 251, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
}

.crm-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--color-white);
  border-bottom: 1px solid rgba(25, 75, 251, 0.1);
}

.crm-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand) 0%, #5a8cff 100%);
  display: grid;
  place-items: center;
}

.crm-card-avatar svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.crm-card-info h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 2px;
}

.crm-card-info span {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.crm-card-body {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.crm-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(25, 75, 251, 0.08);
}

.crm-field:last-child {
  border-bottom: none;
}

.crm-label {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
}

.crm-value {
  font-size: var(--font-size-sm);
  color: var(--color-heading);
  font-weight: var(--font-weight-semibold);
}

.crm-status {
  font-size: var(--font-size-xs);
  color: var(--color-brand);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
}

.crm-integrations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.crm-integration-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(25, 75, 251, 0.1);
  transition: all 0.3s ease;
}

.crm-integration-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 75, 251, 0.1);
}

.crm-integration-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  color: var(--color-white);
}

.crm-integration-icon.amocrm { background: linear-gradient(135deg, #0066cc 0%, #0088ff 100%); }
.crm-integration-icon.bitrix { background: linear-gradient(135deg, #3bc8f5 0%, #00d2ff 100%); }
.crm-integration-icon.zoho { background: linear-gradient(135deg, #f24c3d 0%, #ff6b5a 100%); }
.crm-integration-icon.salesforce { background: linear-gradient(135deg, #00a1e0 0%, #00d4ff 100%); }

.crm-integration-item span {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-heading);
  padding-left: 10px;
}

.crm-integration-logo {
  width: 100%;
  max-width: 50px;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
  display: block;
}

/* ============================================
   NEWSBOT SECTION
   ============================================ */
.newsbot {
  padding: var(--section-py) var(--section-px);
  position: relative;
  overflow: hidden;
}

.newsbot::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(25, 75, 251, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.newsbot_container {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsbot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: start;
  margin-bottom: var(--spacing-4xl);
}

.newsbot-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.newsbot-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: 0;
  padding: 0;
}

.newsbot-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25, 75, 251, 0.1);
  box-shadow: 0 4px 20px rgba(25, 75, 251, 0.06);
  transition: all 0.3s ease;
}

.newsbot-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(25, 75, 251, 0.12);
}

.newsbot-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand) 0%, #6e9aff 100%);
  display: grid;
  place-items: center;
  color: var(--color-white);
}

.newsbot-feature-icon svg {
  width: 24px;
  height: 24px;
}

.newsbot-feature-text h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 var(--spacing-xs);
}

.newsbot-feature-text p {
  font-size: var(--font-size-base);
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

.newsbot-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsbot-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(25, 75, 251, 0.15);
  overflow: hidden;
  border: 1px solid rgba(25, 75, 251, 0.1);
}

.newsbot-mockup-header {
  background: linear-gradient(135deg, var(--color-brand) 0%, #6e9aff 100%);
  padding: var(--spacing-lg) var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  color: var(--color-white);
}

.newsbot-mockup-header svg {
  width: 28px;
  height: 28px;
}

.newsbot-mockup-header span {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

.newsbot-mockup-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.newsbot-feed-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: #f8f9fc;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-brand);
}

.newsbot-feed-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--color-brand);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
}

.newsbot-feed-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

.newsbot-feed-text {
  flex: 1;
}

.newsbot-feed-text h5 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-heading);
  margin: 0 0 4px;
}

.newsbot-feed-text p {
  font-size: var(--font-size-xs);
  color: var(--color-text);
  margin: 0;
}

.newsbot-feed-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xs);
  font-size: 11px;
  color: rgba(108, 112, 122, 0.7);
}

.newsbot-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  text-align: center;
  padding: var(--spacing-3xl);
}

.newsbot-cta-text h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  margin: 0 0 var(--spacing-sm);
}

.newsbot-cta-text p {
  font-size: var(--font-size-base);
  color: var(--color-text);
  margin: 0;
}

.newsbot-buttons {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.newsbot-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--btn-padding-md);
  background: transparent;
  border: 2px solid var(--color-brand);
  border-radius: var(--radius-full);
  color: var(--color-brand);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  text-decoration: none;
  transition: all 0.3s ease;
}

.newsbot-btn-secondary:hover {
  background: var(--color-brand);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25, 75, 251, 0.3);
}

.newsbot-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 425px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(25, 75, 251, 0.2);
  border: 1px solid rgba(25, 75, 251, 0.15);
  background: var(--color-white);
}

.newsbot-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================
   YANDEX MAP & REVIEWS
   ============================================ */
.yandex-map-container {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  display: flex;
  padding: 0;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  z-index: 10;
}

.yandex-map-container iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.yandex-map-container a {
  box-sizing: border-box;
  text-decoration: none;
  color: #b3b3b3;
  font-size: 10px;
  font-family: 'YS Text', sans-serif;
  padding: 0 20px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  left: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-height: 14px;
  white-space: nowrap;
}

.review-placeholders-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 30%;
  min-width: 250px;
  height: auto;
  position: absolute;
  z-index: 0;
  top: 120px;
}

.review-placeholders-container::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.review-placeholders-container.left-side {
  left: 0;
}

.review-placeholders-container.right-side {
  right: 0;
  z-index: 0;
}

.review-placeholder-card {
  background: #f0f2f5;
  border-radius: 12px;
  padding: 18px;
  position: relative;
  transition: all 0.2s ease;
}

.review-placeholder-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(240,242,245,0.4) 100%);
  pointer-events: none;
  border-radius: 12px;
}

.placeholder-image {
  width: 50px;
  height: 50px;
  background: #e0e4eb;
  border-radius: 6px;
  margin-bottom: 12px;
}

.placeholder-title {
  width: 70%;
  height: 18px;
  background: #d0d5dd;
  border-radius: 4px;
  margin-bottom: 10px;
}

.placeholder-text {
  width: 100%;
  height: 10px;
  background: #e0e4eb;
  border-radius: 3px;
  margin-bottom: 6px;
}

.placeholder-text.short {
  width: 50%;
}

.placeholder-rating {
  display: flex;
  gap: 3px;
  margin: 12px 0;
  color: #e0e4eb;
}

.star {
  width: 20px;
  height: 20px;
  color: #e0e4eb;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.placeholder-tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  height: 20px;
  min-width: 36px;
  background: #dfe4ea;
  border-radius: 10px;
}

.tag:nth-child(1) { width: 40px; }
.tag:nth-child(2) { width: 55px; }
.tag:nth-child(3) { width: 40px; }

.yandex-iframe-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  width: 100%;
}

/* ============================================
   OVERLAY SLIDER
   ============================================ */
.overlay-slider {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  transform: translateY(calc(-1 * var(--overlay-offset)));
  margin-bottom: calc(-1 * var(--overlay-offset));
}

.overlay-slider .card {
  width: min(1120px, 92%);
  background: #E9EBF0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  overflow: hidden;
  max-height: 450px;
  display: grid;
  grid-template-rows: 1fr;
  position: relative;
}

.overlay-slider .viewport {
  overflow: hidden;
  min-height: 0;
}

.overlay-slider .slides {
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.45s ease;
}

.overlay-slider .slide {
  height: 100%;
  display: grid;
  place-items: center;
  background: #DDE1EA;
}

.overlay-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-slider .tabs {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 8px 24px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  pointer-events: auto;
}

.overlay-slider .tab {
  position: relative;
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(20,24,35,.8);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.overlay-slider .tab::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: all 0.2s ease;
}

.overlay-slider .tab[aria-selected="true"] {
  color: #121620;
  background: rgba(255,255,255,.18);
}

.overlay-slider .tab[aria-selected="true"]::after {
  background: #fff;
  transform: scaleX(1);
  box-shadow: 0 0 10px rgba(255,255,255,.5);
}

.overlay-slider .tab[disabled] {
  opacity: 0.55;
  cursor: default;
}



/* ============================================
   TELEGRAM FAB
   ============================================ */
.tg-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2AABEE 0%, #2AABEE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(42, 171, 238, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  overflow: hidden;
  animation: pulse 2s infinite;
}

.tg-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 25px rgba(42, 171, 238, 0.6);
  background: linear-gradient(135deg, #37bee5 0%, #37bee5 100%);
}

.tg-fab:active {
  transform: scale(0.95);
}

.tg-fab-icon {
  width: 30px;
  height: 30px;
  fill: var(--color-white);
  transition: all 0.3s ease;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
/* --- Scroll to Top Button --- */
.scroll-to-top-btn {
  position: fixed;
  bottom: 150px;
  right: 30px;
  background-color: var(--color-brand);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: var(--z-highest);
  transform: translateY(20px);
  box-shadow: var(--shadow-lg);
}

.scroll-to-top-btn svg {
  width: 24px;
  height: 24px;
}

.scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.scroll-to-top-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-lg);
}

/* Hide on mobile, show only on desktop */
@media (max-width: 900px) {
  .scroll-to-top-btn {
    display: none !important;
  }
}

.desktop-only {
  display: none !important;
}

@media (min-width: 901px) {
  .desktop-only {
    display: inline-flex !important;
  }
}

/* ============================================
   TABLES
   ============================================ */

/* Автоматическая горизонтальная прокрутка для всех таблиц */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  margin-bottom: var(--spacing-2xl);
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Восстанавливаем table-layout для содержимого */
table thead,
table tbody,
table tfoot {
  display: table;
  width: 100%;
  min-width: 600px; /* Минимальная ширина для прокрутки на мобильных */
}

table tr {
  display: table-row;
}

table thead th,
table tbody td {
  display: table-cell;
}

/* Дополнительные классы-обёртки (опционально) */
.table-wrapper,
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--spacing-2xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.table-wrapper table,
.table-responsive table {
  margin-bottom: 0;
  box-shadow: none;
  display: table;
  overflow-x: visible;
}

.table-wrapper thead,
.table-wrapper tbody,
.table-responsive thead,
.table-responsive tbody {
  display: table-header-group;
  display: table-row-group;
  width: 100%;
  min-width: auto;
}

table thead {
  background: linear-gradient(90deg, #5a2eeb 0%, #1a4bfb 100%);
  color: var(--color-white);
}

table thead th {
  padding: 16px 20px;
  font-weight: var(--font-weight-semibold);
  text-align: left;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
}

table tbody tr {
  border-bottom: 1px solid var(--color-gray-medium);
  transition: background var(--transition-fast);
}

table tbody tr:last-child {
  border-bottom: none;
}

table tbody tr:hover {
  background: var(--color-gray-light);
}

table tbody td {
  padding: 14px 20px;
  color: var(--color-text);
  vertical-align: middle;
}

/* Striped rows */
table tbody tr:nth-child(even) {
  background: #fafbfc;
}

table tbody tr:nth-child(even):hover {
  background: var(--color-gray-light);
}

/* Bordered table */
table[bordered],
table.bordered {
  border: 1px solid var(--color-gray-medium);
}

table[bordered] th,
table[bordered] td,
table.bordered th,
table.bordered td {
  border: 1px solid var(--color-gray-medium);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large screens */
@media (max-width: 1200px) {
  .grid-12 {
    grid-template-columns: repeat(8, 1fr);
  }
  
  .navbar {
    gap: 16px;
  }
  
  .nav-actions {
    gap: 10px;
  }
  
  .corner,
  .corner-grid {
    width: min(40vw, 280px);
    height: min(40vw, 280px);
  }
}

/* Medium-large screens */
@media (max-width: 1100px) {
  .case-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .journal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .navbar {
    gap: 14px;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .nav-menu {
    gap: 24px;
  }
     .promo-container {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 20px;
  }
}

/* Tablets */
@media (max-width: 980px) {
  .meth-grid {
    grid-template-areas:
      "card1"
      "card2"
      "hub"
      "card3"
      "card4";
    grid-template-columns: 1fr;
  }
  
  .meth-hub {
    width: 220px;
    height: 220px;
  }
  
  .meth-hub .inner {
    width: 160px;
    height: 160px;
  }
  
  .methodology .wire,
  .methodology .vwire {
    display: none;
  }
  
  .footer-grid {
    flex-direction: column;
    gap: 18px;
  }
  
  .footer-nav {
    gap: 20px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-menu {
    gap: 20px;
  }
  
  .crm-grid,
  .newsbot-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
  }
  
  .crm-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .crm-cta {
    flex-direction: column;
    text-align: center;
  }
  
  .crm-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .faq-right .faq-card {
    padding: 24px;
  }
   .promo-container {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 20px;
  }
}

/* Small tablets */
@media (max-width: 900px) {
  :root {
    --overlay-offset: 120px;
  }
  
  .grid-12 {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--gutter-sm);
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .chatbots-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
  }
  
  .chatbots-title {
    font-size: var(--font-size-3xl);
  }
  
  .chatbots-mockup {
    max-width: 100%;
  }
  
  .chatbots-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
  
  .newsbot-title {
    font-size: var(--font-size-3xl);
  }
  
  .newsbot-visual {
    order: -1;
  }
  
  .newsbot-mockup {
    max-width: 400px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .desktop-only {
    display: none !important;
  }
  
  .login-text,
  .telegram-text {
    display: none;
  }
  
  .navbar {
    gap: 12px;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .corner,
  .corner-grid {
    width: min(40vw, 280px);
    height: min(40vw, 280px);
  }
  
  .decor {
    transform: scale(0.9);
  }
  
  .decor.tl {
    top: calc(30% - 80px);
  }
  
  .decor.tr {
    top: calc(28% - 60px);
  }
  
  .decor.ml {
    top: calc(50% + 80px);
  }
  
  .decor.mr {
    top: calc(50% + 100px);
  }
  
  .overlay-slider .slide {
    aspect-ratio: 16 / 9.45;
  }
  
  .overlay-slider .tabs {
    bottom: 10px;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 10px;
  }
  
  .overlay-slider .tab {
    padding: 6px 10px;
    font-size: 13px;
  }
  
  .hiw-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .promo-container {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 20px;
  }
  
  .promo-content {
    align-items: center;
  }
  
  .promo-title {
    font-size: 2rem;
  }
  
  .promo-features {
    align-items: center;
  }
  
  .promo-decor {
    min-height: 200px;
    margin-top: 20px;
  }
  
  .promo-features {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .promo-features li:nth-child(1),
  .promo-features li:nth-child(2),
  .promo-features li:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .bento-large .bento-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  
  .bento-large .bento-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .bento-gear-bg {
    right: -20%;
    width: 60%;
    opacity: 0.1;
  }
  
  .testimonial-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
  
  .testimonial .test-title {
    font-size: 36px;
  }
  
  .yandex-map-container {
    height: auto;
    align-items: stretch;
    max-height: none;
  }
  
  .review-placeholders-container {
    width: 100%;
    flex-direction: row;
    min-height: 200px;
  }
  
  .review-placeholders-container.left-side,
  .review-placeholders-container.right-side {
    display: none;
  }
    
  .newsbot-video-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding-inline: 0;
  }
  
  .section-header {
    margin-bottom: var(--spacing-2xl);
  }
  
  .title-subtitle {
    margin: 1rem auto 2rem;
    font-size: var(--subtitle-size);
  }
  ..section-title-wrap{
    justify-content: left;
  }
  .section-title-wrap .dot {
    width: 36px;
    height: 36px;
  }
  
  .section-title-wrap .dot svg,
  .section-title-wrap .dot img {
    width: 20px;
    height: 20px;
  }
  
  .menu-content {
    padding: 0 24px;
  }
  
  .menu-header {
    top: 24px;
    right: 24px;
  }
  
  .menu-close {
    width: 44px;
    height: 44px;
  }
  
  .menu-close svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
  }
  .menu-close::before { 
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px; 
  }
  .menu-link {
    font-size: 20px;
    padding: 6px 0;
  }
  
  .menu-item.telegram-menu-item .menu-link {
    font-size: 20px;
  }
  
  .menu-list {
    gap: 5px;
    padding: 20px 0;
  }
  
  .menu-item {
    transform: translateY(16px);
  }
  
  .menu-actions .menu-login,
  .menu-actions .menu-cta {
    font-size: 20px;
  }
  
  .tg-fab {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
  
  .tg-fab-icon {
    width: 24px;
    height: 24px;
  }
  
  .testimonials-grid {
    gap: 16px;
  }
  
  .testimonial .test-title {
    font-size: 36px;
  }
  
  .testimonial-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
  
  .crm-feature {
    flex-direction: column;
    text-align: center;
  }
  
  .crm-feature-icon {
    margin: 0 auto;
  }
  
  .chatbots-feature {
    padding: var(--spacing-md);
  }
  
  .chatbots-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .chatbots-feature-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .newsbot-feature {
    padding: var(--spacing-md);
  }
  
  .newsbot-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .newsbot-feature-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .faq-question {
    font-size: var(--font-size-base);
    padding: 16px 18px;
  }
  
  .faq-answer {
    padding: 0 18px 16px;
    font-size: var(--font-size-base);
  }
  
  .case-modal-content {
    max-height: 95vh;
  }
  
  .case-modal-header {
    height: 200px;
  }
  
  .case-modal-title {
    font-size: 22px;
    left: 20px;
    right: 20px;
    bottom: 16px;
  }
  
  .case-modal-body {
    padding: 20px;
  }
  
  .case-modal-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-metric-value {
    font-size: 24px;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 4vw + 0.8rem, 3.6rem);
  }
  
  .hero p.lead {
    font-size: 0.95rem;
  }
  
  .hero .badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 36px;
  }
  
  .decor {
    transform: scale(0.8);
  }
  
  .decor.tl {
    top: calc(30% - 70px);
  }
  
  .decor.tr {
    top: calc(28% - 50px);
  }
  
  .decor.ml {
    top: calc(50% + 70px);
  }
  
  .decor.mr {
    top: calc(50% + 90px);
  }

  /* Tables - Mobile */
  table {
    font-size: var(--text-sm);
  }

  table thead,
  table tbody,
  table tfoot {
    min-width: 500px;
  }

  table thead th {
    padding: 12px 14px;
    font-size: var(--text-xs);
  }

  table tbody td {
    padding: 12px 14px;
  }

  /* Journal tags - Mobile */
  .journal-tags {
    gap: 8px;
    margin-bottom: 32px;
    padding: 12px 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .journal-tags::-webkit-scrollbar {
    height: 4px;
  }

  .journal-tags::-webkit-scrollbar-thumb {
    background: var(--color-gray-medium);
    border-radius: var(--radius-full);
  }

  .journal-tag {
    padding: 8px 14px;
    flex-shrink: 0;
  }

  .journal-tag svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }
}

/* Tablets (769px - 900px) */
@media (min-width: 769px) and (max-width: 900px) {
  .section-title-wrap .dot {
    width: 38px;
    height: 38px;
  }

  .section-title-wrap .dot svg,
  .section-title-wrap .dot img {
    width: 21px;
    height: 21px;
  }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .section-title-wrap .dot {
    width: 32px;
    height: 32px;
  }

  .section-title-wrap .dot svg,
  .section-title-wrap .dot img {
    width: 18px;
    height: 18px;
  }

  /* Tables - Small Mobile */
  table {
    font-size: var(--text-xs);
  }

  table thead,
  table tbody,
  table tfoot {
    min-width: 400px;
  }

  table thead th {
    padding: 10px 12px;
    font-size: 11px;
  }

  table tbody td {
    padding: 10px 12px;
  }

  /* Journal tags - Small Mobile */
  .journal-tags {
    gap: 6px;
    padding: 10px 14px;
    padding-bottom: 10px;
  }

  .journal-tag {
    padding: 7px 12px;
  }

  .journal-tag svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }
}

/* Small mobile */
@media (max-width: 700px) {
  .case-top {
    grid-template-columns: 1fr;
  }
  
  .case-bottom {
    display: none;
  }
  
  .journal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero .badges {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, auto);
  }
  
  .testimonials-grid {
    gap: 12px;
  }
  
  .testimonial .test-title {
    font-size: 28px;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
    min-height: 260px;
  }
  
  .crm-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .crm-stat {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(25, 75, 251, 0.1);
  }
  
  .crm-stat:last-child {
    border-bottom: none;
  }
  
  .crm-cta {
    padding: var(--spacing-lg);
  }
  
  .crm-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .crm-btn-outline {
    width: 100%;
    justify-content: center;
  }
  
  .crm-integrations {
    grid-template-columns: 1fr;
  }

  /* Tables - Small Mobile */
  table thead,
  table tbody,
  table tfoot {
    min-width: 450px;
  }

  table thead th {
    padding: 10px 12px;
    font-size: 11px;
  }

  table tbody td {
    padding: 10px 12px;
  }

  /* Journal tags - Small Mobile */
  .journal-tags {
    gap: 8px;
    padding: 10px 14px;
    padding-bottom: 10px;
  }

  .journal-tag {
    padding: 8px 14px;
  }

  .journal-tag svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }
}

/* Extra small mobile */
@media (max-width: 600px) {
  .chatbots-cta {
    padding: var(--spacing-xl);
  }
  .chatbots-feature {
    padding: var(--spacing-md);
  }
  .grid-12 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hiw-cards {
    grid-template-columns: 1fr;
  }
  
  .journal-grid {
    grid-template-columns: 1fr;
  }
  
  .journal-media img {
    height: 200px;
  }
  .section-title-wrap{
    text-align: left;
    justify-content: left;
  }

  .section-title {
    font-size: 22px;
  }
  .title-subtitle{
    text-align: left;;
  }
  .chatbots-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .chatbots-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .chatbots-btn-outline {
    width: 100%;
    justify-content: center;
  }
  
  .newsbot-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .newsbot-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .newsbot-video-wrapper {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }
  
  .review-placeholders-container {
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 4vw + 0.7rem, 3.6rem);
  }
  
  .hero {
    padding: 30px 10px 24px;
  }
  
  .hero .cta-wrap .btn-primary {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .decor {
    display: none;
  }
  
  .overlay-slider {
    transform: translateY(calc(-1 * var(--overlay-offset) * 0.7));
    margin-bottom: calc(-1 * var(--overlay-offset) * 0.7);
  }
  
  .overlay-slider .card {
    max-height: 300px;
  }
}

/* Very small mobile */
@media (max-width: 480px) {
  .navbar {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  
  .nav {
    display: none;
  }
  
  .nav-actions {
    order: 2;
    justify-self: end;
  }
  
  .menu-header {
    top: 20px;
    right: 20px;
  }
  
  .menu-close {
    width: 40px;
    height: 40px;
  }
  
  .menu-close svg {
    width: 18px;
    height: 18px;
  }
  
  .menu-link {
    font-size: 18px;
  }
  
  .menu-item-lang .menu-link {
    font-size: 18px;
  }
  
  .menu-actions .menu-login,
  .menu-actions .menu-cta {
    font-size: 18px;
  }
  
  .tg-fab {
    width: 48px;
    height: 48px;
    bottom: 15px;
    right: 15px;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .nav-toggle .menu-text {
    display: none;
  }
  
  .yandex-map-container {
    height: auto;
    padding: 0;
    gap: 8px;
  }
  
  .overlay-slider .tabs {
    bottom: 8px;
    gap: 6px;
    padding: 5px 8px;
  }
  
  .overlay-slider .tab {
    padding: 5px 8px;
    font-size: 12px;
  }
  
  .promo-banner {
    padding: 30px 15px;
  }
  
  .promo-title {
    font-size: 1.8rem;
  }
  
  .elem-1 {
    width: 60px;
    height: 60px;
  }
  
  .elem-2 {
    width: 50px;
    height: 50px;
  }
  
  .elem-3 {
    width: 40px;
    height: 40px;
  }
  
  .hero h1 {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 3.6rem);
  }
  
  .hero p.lead {
    font-size: 0.9rem;
  }
  
  .hero .badges {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Tiny screens */

@media (max-width: 360px) {
  body {
    margin: 0;
  }
  
  .nav-actions {
    gap: 8px;
  }
}

/* Landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 60px 10px 20px;
  }
  
  .hero .badges {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .tg-fab {
    animation: none;
  }
}
