:root {
  --bg-dark: #0b1120;
  --bg-light: #f1f5f9;
  --bg-white: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-inverted: #f8fafc;

  --accent-blue: #0052cc; /* Корпоративный синий */
  --accent-electric: #2563eb; /* Яркий акцент */
  --accent-cyan: #06b6d4;
  --accent-coral: #ef4444;

  --border-light: #e2e8f0;
  --border-dark: #334155;

  --container: 1240px;
  --font-main: "Manrope", sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
}

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

/* TYPOGRAPHY */
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}
.mb-60 {
  margin-bottom: 60px;
}
.mt-30 {
  margin-top: 30px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: white;
}

.btn-primary:hover {
  background-color: var(--bg-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

.btn-white {
  background: white;
  color: var(--text-primary);
}

.btn-white:hover {
  background: var(--bg-light);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}

.header-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 50px;
  height: 50px;
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-white);
  z-index: 2000;
  padding: 40px;
  transform: translateY(-100%);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-menu.active {
  transform: translateY(0);
}

.close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* HERO SECTION */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.badge-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.badge {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-electric);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-electric);
  border-radius: 50%;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-desc {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-footer-text {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-footer-text p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.hero-footer-text i {
  width: 16px;
  color: var(--accent-electric);
}

.hero-visual {
  flex: 1;
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.geometric-shape {
  width: 400px;
  height: 400px;
  background: var(--bg-dark);
  clip-path: polygon(
    20% 0%,
    80% 0%,
    100% 20%,
    100% 80%,
    80% 100%,
    20% 100%,
    0% 80%,
    0% 20%
  );
  position: absolute;
  opacity: 0.9;
}

.float-card {
  position: absolute;
  background: white;
  padding: 16px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 3px solid var(--accent-electric);
  min-width: 220px;
}

.card-1 {
  top: 20%;
  left: 0;
  animation: float 6s ease-in-out infinite;
}
.card-2 {
  bottom: 20%;
  right: 0;
  animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float-card i {
  color: var(--accent-electric);
  width: 32px;
  height: 32px;
}

.float-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.float-card span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* STATS STRIP */
.stats-strip {
  background: var(--bg-dark);
  padding: 60px 0;
  color: white;
}

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

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

/* SECTIONS COMMON */
section {
  padding: 100px 0;
}
.section-gray {
  background: var(--bg-light);
}
.section-solid {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}
.section-dark {
  background: var(--bg-dark);
  color: white;
}

/* BENTO GRID (ECOSYSTEM) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 24px;
  margin-top: 40px;
}

.bento-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent-electric);
}

.item-large {
  grid-column: span 2;
}

.item-tall {
  grid-row: span 2;
  background: var(--bg-dark);
  color: white;
  border: none;
}

.bento-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  color: var(--accent-electric);
}

.item-tall .bento-icon {
  color: var(--accent-cyan);
}
.item-tall p {
  color: rgba(255, 255, 255, 0.7);
}

.tech-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 8px;
}

.bento-bg {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.1;
  background: var(--accent-electric);
}

/* METHODOLOGY (Grid 2) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sub-title {
  color: var(--accent-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 16px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
}

.check-list i {
  color: var(--accent-electric);
  width: 20px;
}

.tech-illustration {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-light);
}

.c-1 {
  width: 400px;
  height: 400px;
  border-color: #f1f5f9;
}
.c-2 {
  width: 280px;
  height: 280px;
  border-color: #e2e8f0;
}

.glass-panel {
  width: 200px;
  height: 140px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
  padding: 16px;
}

.panel-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.red {
  background: #ef4444;
}
.yellow {
  background: #facc15;
}
.green {
  background: #22c55e;
}

.line {
  height: 6px;
  background: #e2e8f0;
  margin-bottom: 8px;
  border-radius: 3px;
}
.w-70 {
  width: 70%;
}
.w-50 {
  width: 50%;
}
.w-90 {
  width: 90%;
}
.w-40 {
  width: 40%;
}

/* SOLUTIONS (Dark Cards) */
.flex-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

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

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.arrow-btn:hover {
  background: var(--accent-electric);
  border-color: var(--accent-electric);
}

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

.tech-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: var(--radius-sm);
  transition: 0.3s;
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-electric);
}

.card-num {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.tech-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.card-link {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}

.card-link:hover {
  border-color: var(--accent-cyan);
}

/* STEPS (Timeline) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background: var(--border-light);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-1px);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.left {
  left: 0;
  text-align: right;
}
.right {
  left: 50%;
  text-align: left;
}

.timeline-content {
  padding: 24px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 10;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--accent-electric);
  border: 4px solid white;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 11;
  box-shadow: 0 0 0 1px var(--border-light);
}

.left::after {
  right: -8px;
}
.right::after {
  left: -8px;
}

.step-badge {
  font-size: 0.8rem;
  color: var(--accent-electric);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* BANNER */
.section-banner {
  padding: 0;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: white;
}

.section-steps {
  background-image: url("./image/5594016.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.banner-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  padding: 80px 24px;
  align-items: center;
  justify-content: space-between;
}

.banner-text p {
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ & CONTACT */
.faq-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-head {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: 0.3s;
}

.faq-item.active .faq-body {
  padding-bottom: 20px;
}
.faq-item.active .faq-head {
  color: var(--accent-electric);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.divider-line {
  width: 60px;
  height: 4px;
  background: var(--accent-electric);
  margin: 20px 0 30px;
}

.info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.icon-box {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--accent-blue);
}

.tech-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-md);
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}
.form-group input:focus {
  border-color: var(--accent-electric);
}

.captcha-block {
  background: white;
  padding: 16px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-electric);
}

.checkbox-block {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}
.checkbox-block input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

/* FOOTER */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  color: white;
  font-weight: 800;
}

.footer-socials a {
  color: #94a3b8;
  margin-left: 20px;
}
.footer-socials a:hover {
  color: white;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.f-col h4 {
  color: white;
  margin-bottom: 20px;
}
.f-col a {
  display: block;
  margin-bottom: 12px;
}
.f-col a:hover {
  color: var(--accent-electric);
}

/* FOOTER CONTACTS FIX */
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.f-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.4;
}

.f-contact-row i {
  width: 18px;
  height: 18px;
  color: var(--accent-electric);
  flex-shrink: 0;
  margin-top: 2px;
}

.f-contact-row.link {
  transition: 0.3s;
  text-decoration: none;
}

.f-contact-row.link:hover {
  color: white;
}

.copyright {
  font-size: 0.8rem;
  color: #475569;
  margin-top: auto;
}

/* COOKIES */
.cookie-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-dark);
  color: white;
  padding: 24px;
  border-radius: var(--radius-sm);
  width: 320px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 5000;
}

.cookie-text strong {
  display: block;
  margin-bottom: 8px;
  color: white;
}
.cookie-text p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: #94a3b8;
}

/* ADAPTIVE */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-footer-text {
    justify-content: center;
  }
  .hero-visual {
    width: 100%;
    height: 350px;
    margin-top: 40px;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }
  .stat-divider {
    display: none;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .item-large,
  .item-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
  .cards-scroller {
    grid-template-columns: 1fr;
  }

  .timeline::after {
    left: 24px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }
  .left::after,
  .right::after {
    left: 15px;
  }

  .banner-grid {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    max-width: 100%;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .desktop-nav,
  .header-right a {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-row {
    grid-template-columns: 1fr;
  }
  .faq-wrapper {
    grid-template-columns: 1fr;
  }
  .geometric-shape {
    display: none;
  }
  h1 {
    font-size: 2.5rem;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
}
