/* ===================================================================
   DataParse — Premium B2B Data Landing Page
   Design: Editorial + Data-Tech Aesthetic
   =================================================================== */

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

:root {
  /* Palette — dark, serious, high-contrast */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #18181f;
  --bg-card: #141419;
  --bg-card-hover: #1a1a22;
  --bg-accent: #1c2a1e;

  --text-primary: #eaeaf0;
  --text-secondary: #9a9ab0;
  --text-tertiary: #5f5f78;
  --text-accent: #6ee7a0;

  --accent: #34d87a;
  --accent-dim: #2ab865;
  --accent-glow: rgba(52, 216, 122, 0.12);
  --accent-glow-strong: rgba(52, 216, 122, 0.25);

  --border: #22222e;
  --border-light: #2a2a38;
  --border-accent: #34d87a33;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --container: 1440px;
  --gap: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) var(--bg-secondary);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 1;
  transform: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

body.page-transition-enter,
body.page-transition-leave {
  opacity: 0;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
}

/* ---------- SCROLLBAR ---------- */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-dim), #1f8d4c);
  border: 2px solid var(--bg-secondary);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
}

*::-webkit-scrollbar-corner {
  background: var(--bg-secondary);
}

/* ---------- CONTAINER & SECTION SYSTEM ---------- */
.section__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section__header {
  margin-bottom: 64px;
}

.section__header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section__desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.65;
}

.section__desc--center {
  max-width: 560px;
  margin: 16px auto 0;
  text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0f;
}

.btn--primary:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 32px var(--accent-glow-strong);
  transform: translateY(-1px);
}

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

.btn--outline:hover {
  border-color: var(--text-secondary);
  background: var(--bg-tertiary);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--gap);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav--scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.nav__logo-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link--mobile-only {
  display: none;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

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

.nav__link--active {
  color: var(--text-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__mobile-actions {
  display: none;
}

.nav__help {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav__help--brand {
  white-space: nowrap;
}

.nav__help:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav__contact--active {
  border-color: var(--accent);
  color: var(--accent);
}

.nav__help--active {
  border-color: var(--accent);
  color: var(--accent);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===================================================================
   AUTH MODAL
   =================================================================== */
body.auth-modal-open {
  overflow: hidden;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 20px var(--gap);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.auth-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.44);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.auth-modal__panel {
  position: relative;
  width: min(460px, 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(20, 20, 28, 0.9), rgba(12, 12, 18, 0.86));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(52, 216, 122, 0.06) inset;
  padding: 30px 28px 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.auth-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.auth-modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.auth-modal__eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--text-accent);
  margin-bottom: 12px;
}

.auth-modal__title {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-modal__label {
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-modal__input {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: rgba(12, 12, 18, 0.82);
  color: var(--text-primary);
  padding: 12px 14px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-modal__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.auth-modal__form .btn {
  margin-top: 6px;
}

.auth-modal__error {
  margin: 6px 0 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 107, 107, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 107, 0.12);
  color: #ff9b9b;
  font-size: 13px;
  line-height: 1.35;
  white-space: pre-line;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero__title-accent {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.hero__tag:hover {
  border-color: var(--accent);
  color: var(--text-accent);
  background: var(--accent-glow);
}

/* Hero visual — data card */
.hero__content,
.hero__visual {
  min-width: 0;
  width: 100%;
}

.hero__visual {
  position: relative;
}

.hero__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__card--main {
  position: relative;
  z-index: 2;
}

.hero__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.hero__card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

.hero__card-dot--green {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow-strong);
}

.hero__card-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.hero__card-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-accent);
  background: var(--accent-glow);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.hero__card-table {
  padding: 0;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hero__card-row {
  display: grid;
  grid-template-columns: 50px 1fr 80px 100px 70px;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  border-bottom: 1px solid var(--border);
  min-width: 500px;
  /* allows scroll instead of squeezing completely */
}

.hero__card-row span {
  padding: 11px 16px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__card-row span:last-child {
  border-right: none;
}

.hero__card-row--header {
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__card-row--header span {
  padding: 9px 16px;
}

.hero__card-row:not(.hero__card-row--header) {
  color: var(--text-secondary);
}

.hero__card-row--fade {
  opacity: 0.4;
}

/* Floating cards */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes float-alt {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }

  100% {
    transform: translateY(0);
  }
}

.hero__card--float {
  position: absolute;
  z-index: 3;
}

.hero__card--metrics {
  top: -20px;
  right: -32px;
  display: flex;
  gap: 24px;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

.hero__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__metric-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-accent);
}

.hero__metric-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.hero__card--format {
  bottom: -16px;
  left: -20px;
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  animation: float-alt 7s ease-in-out infinite;
}

.hero__format-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  background: var(--bg-tertiary);
  transition: all 0.2s;
  cursor: pointer;
}

.hero__format-chip--active {
  color: var(--bg-primary);
  background: var(--accent);
}

.hero__format-chip:not(.hero__format-chip--active):hover {
  background: var(--border-light);
  color: var(--text-secondary);
}

.hero__card-code {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
}

.hero__card-code pre {
  margin: 0;
}

/* Hero grid lines (background decoration) */
.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  pointer-events: none;
}

.hero__grid-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg,
      transparent 0%,
      var(--border) 20%,
      var(--border) 80%,
      transparent 100%);
  opacity: 0.4;
}

/* ===================================================================
   DATA CATEGORIES
   =================================================================== */
.data {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.data__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.data__item {
  background: var(--bg-primary);
  padding: 40px 32px;
  transition: background 0.3s;
  position: relative;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.data__item:hover {
  background: var(--bg-card-hover);
}

.data__item-image-wrapper {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-tertiary);
  position: relative;
}

/* Base image styling */
.data__item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.data__item-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.data__item--large {
  grid-column: span 3;
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
}

.data__item--large .data__item-image-wrapper {
  width: 160px;
  height: 160px;
}

/* In large item, use grid for content layout */
.data__item--large .data__item-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: start;
  width: 100%;
}

.data__item--accent {
  background: var(--bg-accent);
}

.data__item--accent:hover {
  background: #1f3222;
}

.data__item-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.data__item--large .data__item-number {
  margin-bottom: 0;
  padding-top: 4px;
}

.data__item-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.data__item--large .data__item-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.data__item-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.data__item-sample {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  align-self: center;
}

.data__item-sample code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-accent);
  line-height: 1.6;
}

.data__item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-accent);
  transition: gap 0.2s;
}

.data__item-link:hover {
  gap: 10px;
}

/* ===================================================================
   DELIVERS (What client gets)
   =================================================================== */
.delivers {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.delivers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.delivers__card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  transition: border-color 0.3s, transform 0.3s;
}

.delivers__card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.delivers__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 24px;
}

.delivers__card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.delivers__card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.delivers__card-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.delivers__card-formats span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

/* ===================================================================
   USE CASES
   =================================================================== */
.usecases {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.usecases .section__header {
  text-align: center;
}

.usecases__list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.usecases__item {
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: background 0.2s;
}

.usecases__item:last-child {
  border-bottom: none;
}

.usecases__item:hover {
  background: var(--bg-card-hover);
}

.usecases__item-question {
  font-size: 18px;
  font-weight: 700;
  padding: 28px 36px 0;
  letter-spacing: -0.01em;
}

.usecases__item-answer {
  padding: 16px 36px 28px;
}

.usecases__item-solution {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.usecases__item-solution strong {
  color: var(--text-accent);
  font-weight: 600;
}

.usecases__item-result {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
}

.usecases__result-label {
  color: var(--text-tertiary);
}

.usecases__result-value {
  color: var(--text-primary);
  background: var(--bg-tertiary);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-right: 12px;
}

.usecases__item--cta {
  background: var(--bg-accent);
}

.usecases__item--cta:hover {
  background: #1f3222;
}

.usecases__item--cta .usecases__item-answer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.usecases__item--cta .btn {
  align-self: flex-start;
}

/* ===================================================================
   ADVANTAGES
   =================================================================== */
.advantages {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

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

.advantages__item {
  position: relative;
}

.advantages__item-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
}

.advantages__item-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.advantages__item-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===================================================================
   SOLUTIONS (Ready & Custom)
   =================================================================== */
.solutions {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.solutions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.solutions__card {
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}

.solutions__card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.solutions__card--accent {
  background: var(--bg-accent);
  border-color: rgba(52, 216, 122, 0.2);
}

.solutions__card--accent:hover {
  border-color: var(--accent);
}

.solutions__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
}

.solutions__card-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.solutions__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.solutions__badge--ready {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.solutions__badge--custom {
  background: var(--accent-glow);
  color: var(--text-accent);
  border: 1px solid var(--border-accent);
}

.solutions__card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.solutions__list {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.solutions__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}

.solutions__list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
  flex-shrink: 0;
}

.solutions__card .btn {
  margin-top: auto;
}

/* ===================================================================
   EXAMPLES
   =================================================================== */
.examples {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.examples .section__header {
  text-align: center;
}

.examples__tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 4px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.examples__tab {
  flex: 1;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.examples__tab--active {
  background: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.examples__tab:hover:not(.examples__tab--active) {
  color: var(--text-primary);
}

.examples__panel {
  display: none;
}

.examples__panel--active {
  display: block;
  animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Table */
.examples__table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-primary);
}

.examples__table-title {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.examples__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.examples__table th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  white-space: nowrap;
}

.examples__table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

.examples__table tbody tr:hover {
  background: var(--bg-card-hover);
}

.examples__table tbody tr:last-child td {
  border-bottom: none;
}

.examples__table-footer {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 12px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
  background: var(--bg-tertiary);
}

/* JSON code */
.examples__code-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-primary);
}

.examples__code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.examples__code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
}

.examples__code-dot:first-child {
  background: #ff5f57;
}

.examples__code-dot:nth-child(2) {
  background: #febc2e;
}

.examples__code-dot:nth-child(3) {
  background: #28c840;
}

.examples__code-filename {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.examples__code {
  padding: 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.json-key {
  color: #7dd3fc;
}

.json-str {
  color: var(--accent);
}

.json-num {
  color: #fbbf24;
}

/* Fields */
.examples__fields-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-primary);
}

.examples__fields-title {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.examples__fields-grid {
  display: flex;
  flex-direction: column;
}

.examples__field {
  display: grid;
  grid-template-columns: 180px 80px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.examples__field:last-child {
  border-bottom: none;
}

.examples__field:hover {
  background: var(--bg-card-hover);
}

.examples__field-name {
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  border-right: 1px solid var(--border);
}

.examples__field-type {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.examples__field-desc {
  padding: 14px 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.faq .section__header {
  text-align: center;
}

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.faq__question:hover {
  background: var(--bg-card-hover);
}

.faq__icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-tertiary);
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item--open .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 32px 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================================
   CONTACT / FINAL CTA
   =================================================================== */
.contact {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.contact__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact__trust {
  display: flex;
  gap: 40px;
}

.contact__trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__trust-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.contact__trust-label {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Form */
.contact__form {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact__form-group {
  margin-bottom: 24px;
}

.contact__form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact__form-input,
.contact__form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact__form-input::placeholder,
.contact__form-textarea::placeholder {
  color: var(--text-tertiary);
}

.contact__form-input:focus,
.contact__form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact__form-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__form .btn {
  margin-top: 8px;
}

.contact__form-status {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.4;
}

.contact__form-status--error {
  color: #dc2626;
}

.contact__form-status--success {
  color: #15803d;
}

.contact__form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
}

/* Success state */
.contact__form--success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  text-align: center;
}

.contact__form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.contact__form-success-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact__form-success-text {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

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

/* ===================================================================
   SCROLL ANIMATIONS
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* staggered children */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger--visible>*:nth-child(1) {
  transition-delay: 0ms;
}

.reveal-stagger--visible>*:nth-child(2) {
  transition-delay: 70ms;
}

.reveal-stagger--visible>*:nth-child(3) {
  transition-delay: 140ms;
}

.reveal-stagger--visible>*:nth-child(4) {
  transition-delay: 210ms;
}

.reveal-stagger--visible>*:nth-child(5) {
  transition-delay: 280ms;
}

.reveal-stagger--visible>*:nth-child(6) {
  transition-delay: 350ms;
}

.reveal-stagger--visible>*:nth-child(7) {
  transition-delay: 420ms;
}

.reveal-stagger--visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   DOCUMENTATION
   =================================================================== */
.docs-page {
  padding-top: 72px;
  /* Clears fixed navbar */
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.docs-page__layout {
  display: flex;
  flex-grow: 1;
  width: 100%;
  min-height: 0;
  /* allows shrinking below content size */
  background: var(--bg-primary);
}

.docs-page__sidebar {
  width: 320px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.docs-page__sidebar-title {
  padding: 0 32px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.docs__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.docs__nav li {
  margin: 0;
}

.docs__nav-item--api {
  display: none;
}

.docs__nav.docs__nav--api-open .docs__nav-item--api {
  display: block;
}

.docs__nav-link {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-left: 3px solid transparent;
  transition: all 0.2s;
  background: transparent;
}

.docs__nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.docs__nav-link--active {
  color: var(--accent);
  background: var(--accent-glow);
  border-left-color: var(--accent);
  font-weight: 600;
}

.docs__nav-link--group {
  justify-content: space-between;
}

.docs__nav-link--group::after {
  content: "▸";
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-tertiary);
  transition: transform 0.2s ease, color 0.2s ease;
}

.docs__nav.docs__nav--api-open .docs__nav-link--group::after {
  transform: rotate(90deg);
  color: var(--accent);
}

.docs__nav-link--sub {
  padding-left: 52px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.docs__nav-link--sub.docs__nav-link--active {
  color: var(--accent);
}

.docs-page__content {
  flex-grow: 1;
  background: var(--bg-primary);
  overflow-y: auto;
}

.docs__content {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 20px;
  padding-right: 40px;
  padding-left: 40px;
}

.docs__panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.docs__panel--active {
  display: block;
}

.log_in {
  background-color: var(--accent);
  color: black;
}

.log_in:hover {
  color: var(--accent);
  background-color: transparent;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.docs__panel-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.docs__panel p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.docs__panel p code,
.docs__panel li code {
  color: #97ffe0;
  background: rgba(51, 184, 130, 0.14);
  border: 1px solid rgba(98, 253, 190, 0.3);
  border-radius: 4px;
  padding: 1px 6px;
}

.docs__panel strong {
  color: var(--text-primary);
  font-weight: 600;
}

.docs__alert {
  background: var(--accent-glow);
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.docs__steps,
.docs__list {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.docs__steps li {
  margin-bottom: 20px;
  padding-left: 8px;
}

.docs__steps li::marker {
  font-weight: 700;
  color: var(--text-tertiary);
}

.docs__steps strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.docs__list li {
  margin-bottom: 16px;
}

.docs__code {
  margin: 16px 0 28px;
  padding: 52px 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.docs__code::before {
  content: attr(data-lang);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(132, 159, 255, 0.35);
  background: rgba(26, 34, 64, 0.62);
  color: #b9cdff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.docs__code code {
  display: block;
  white-space: pre;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #d7e3ff;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.docs__tok--keyword {
  color: #ff8ea3;
}

.docs__tok--prop {
  color: #8fb6ff;
}

.docs__tok--string {
  color: #9cf6c2;
}

.docs__tok--number {
  color: #ffd27d;
}

.docs__tok--comment {
  color: #6f7d9f;
}

.docs__tok--fn {
  color: #7de9ff;
}

.docs__tok--type {
  color: #dba8ff;
}

.docs__tok--var {
  color: #f8a7ff;
}

.docs__tok--path {
  color: #8ef0dc;
}

.docs__copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  height: 30px;
  min-width: 68px;
  padding: 0 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease,
    transform 0.2s ease;
}

.docs__copy-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  background: #1b1b23;
}

.docs__copy-btn:active {
  transform: translateY(1px);
}

.docs__copy-btn:disabled {
  opacity: 0.9;
  cursor: default;
}

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

@media (max-width: 1440px) {
  .hero {
    padding: 140px 0 100px;
  }

  .hero__title {
    font-size: clamp(34px, 4.5vw, 52px);
  }
}

@media (max-width: 1200px) {
  .hero__title {
    font-size: clamp(30px, 4vw, 44px);
  }

  .hero__grid {
    gap: 40px;
  }

  .hero__visual {
    max-width: 520px;
  }

  .hero__card--metrics {
    right: -16px;
  }

  .hero__card--format {
    left: -10px;
  }
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions,
  .hero__tags {
    justify-content: center;
  }

  .hero__visual {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .hero__card--metrics {
    right: -24px;
    top: -20px;
  }

  .hero__card--format {
    left: -16px;
    bottom: -16px;
  }

  .data__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .delivers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions__grid {
    grid-template-columns: 1fr;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .section__header--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --gap: 16px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--gap);
    gap: 0;
  }

  .nav__links--open {
    display: flex;
  }

  .nav__link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav__link--mobile-only {
    display: block;
  }

  .nav__actions {
    display: none;
  }

  .nav__help--brand {
    display: none;
  }

  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
  }

  .nav__mobile-actions .nav__help{
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .nav__burger {
    display: flex;
  }

  .nav__burger--open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__burger--open span:nth-child(2) {
    opacity: 0;
  }

  .nav__burger--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .auth-modal__panel {
    padding: 26px 20px 20px;
  }

  .auth-modal__title {
    font-size: 24px;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero__title {
    font-size: 36px;
    line-height: 1.15;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__card--metrics {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 24px;
    width: 100%;
    justify-content: space-around;
    box-shadow: none;
    border-color: var(--border);
  }

  .hero__card--format {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 12px;
    justify-content: center;
    box-shadow: none;
    border-color: var(--border);
  }

  .data {
    padding: 80px 0;
  }

  .data__grid {
    grid-template-columns: 1fr;
  }

  .data__item {
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
  }

  .data__item-image-wrapper {
    width: 100%;
    height: 200px;
  }

  .data__item--large {
    grid-column: span 1;
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
  }

  .data__item--large .data__item-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .data__item--large .data__item-image-wrapper {
    width: 100%;
    height: 220px;
  }

  .delivers {
    padding: 80px 0;
  }

  .delivers__grid {
    grid-template-columns: 1fr;
  }

  .usecases {
    padding: 80px 0;
  }

  .usecases__item-question {
    padding: 20px 24px 0;
    font-size: 16px;
  }

  .usecases__item-answer {
    padding: 12px 24px 20px;
  }

  .advantages {
    padding: 80px 0;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .solutions {
    padding: 80px 0;
  }

  .solutions__card {
    padding: 32px 24px;
  }

  .examples {
    padding: 80px 0;
  }

  .examples__table {
    font-size: 11px;
  }

  .docs-page {
    height: auto;
    display: block;
    padding-top: 72px;
    min-height: auto;
  }

  .docs-page__layout {
    flex-direction: column;
    height: auto;
  }

  .docs-page__sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    overflow-y: visible;
    position: static;
    height: auto;
  }

  .docs-page__sidebar-title {
    display: none;
  }

  .docs-page__content {
    overflow-y: visible;
    height: auto;
  }

  .docs__content {
    padding: 32px 24px;
  }

  .docs__nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .docs__nav-link {
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 12px 20px;
  }

  .docs__nav-link--sub {
    padding-left: 16px;
    font-size: 13px;
  }

  .docs__nav-link--active {
    border-left-color: transparent;
    border-bottom-color: var(--accent);
    background: transparent;
  }

  .examples__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .examples__table th,
  .examples__table td {
    white-space: nowrap;
    padding: 12px 16px;
  }

  .examples__field {
    grid-template-columns: 120px 60px 1fr;
  }

  .faq {
    padding: 80px 0;
  }

  .faq__question {
    padding: 20px 20px;
    font-size: 15px;
  }

  .faq__answer p {
    padding: 0 20px 20px;
  }

  .contact {
    padding: 80px 0;
  }

  .contact__trust {
    flex-direction: column;
    gap: 20px;
  }

  .contact__form {
    padding: 24px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section__title {
    font-size: 32px;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .section__desc {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .section__title {
    font-size: 28px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__tags {
    gap: 6px;
  }

  .hero__tag {
    padding: 4px 10px;
    font-size: 10px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__card-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero__card-row {
    min-width: 460px;
  }

  .data__item-image-wrapper {
    height: 160px;
  }

  .data__item--large .data__item-image-wrapper {
    height: 180px;
  }

  .data__item-title {
    font-size: 18px;
  }

  .examples__field {
    grid-template-columns: 1fr;
  }

  .examples__field-name,
  .examples__field-type,
  .examples__field-desc {
    border-right: none;
    padding: 8px 16px;
  }

  .examples__field-name {
    padding-top: 14px;
    padding-bottom: 2px;
  }

  .examples__field-type {
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .examples__field-desc {
    padding-top: 2px;
    padding-bottom: 14px;
  }
}

@media (max-width: 380px) {
  :root {
    --gap: 12px;
  }

  .section__title {
    font-size: 24px;
  }

  .hero__title {
    font-size: 26px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .data__item {
    padding: 24px 16px;
  }

  .data__item--large {
    padding: 24px 16px;
  }

  .data__item-image-wrapper {
    height: 140px;
  }

  .data__item--large .data__item-image-wrapper {
    height: 160px;
  }

  .delivers__card {
    padding: 24px 16px;
  }

  .solutions__card {
    padding: 24px 16px;
  }

  .hero__card-header {
    flex-wrap: wrap;
  }

  .hero__card-badge {
    margin-left: 0;
    margin-top: 4px;
  }

  .hero__metric-value {
    font-size: 18px;
  }
}


/* ===================================================================
   MOBILE FIXES — 2026-04-14
   =================================================================== */

html,
body {
  max-width: 100%;
}

.nav__inner,
.nav__brand,
.nav__logo,
.nav__links,
.docs-page__layout,
.docs-page__content,
.docs__content,
.docs__panel,
.hero__content,
.hero__visual,
.section__header,
.section__header--split,
.data__item,
.data__item-content,
.usecases__item,
.solutions__card,
.contact__layout,
.footer__inner {
  min-width: 0;
}

.hero__title,
.hero__subtitle,
.section__title,
.section__desc,
.data__item-title,
.data__item-desc,
.usecases__item-question,
.usecases__item-solution,
.solutions__card-title,
.solutions__card-text,
.docs__panel-title,
.docs__panel p,
.docs__steps li,
.docs__list li,
.docs__alert,
.footer__copy,
.nav__link,
.nav__help {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero__tag,
.btn,
.nav__help,
.nav__link {
  max-width: 100%;
}

.hero__tags {
  row-gap: 8px;
}

.hero__tag {
  white-space: normal;
  line-height: 1.35;
}

.examples__table-wrap {
  overflow: hidden;
}

.examples__table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.examples__table {
  min-width: 760px;
}

.examples__table-footer {
  gap: 16px;
}

.docs-page__mobile-toggle {
  display: none;
}

.docs__panel p code,
.docs__panel li code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.docs__code {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.docs__code code {
  display: block;
  min-width: max-content;
  white-space: pre;
}

@media (max-width: 768px) {
  .docs-page {
    padding-top: 72px;
    height: auto;
    display: block;
    min-height: auto;
  }

  .docs-page__layout {
    display: block;
    height: auto;
  }

  .docs-page__mobile-toggle {
    width: calc(100% - 32px);
    margin: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
  }

  .docs-page__mobile-toggle-icon {
    transition: transform 0.2s ease;
  }

  .docs-page__mobile-toggle[aria-expanded="true"] .docs-page__mobile-toggle-icon {
    transform: rotate(180deg);
  }

  .docs-page__sidebar {
    display: none;
    width: auto;
    margin: 0 16px 16px;
    border-right: none;
    border-bottom: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    padding: 0px 0;
    overflow: hidden;
  }

  .docs-page__sidebar.docs-page__sidebar--open {
    display: block;
  }

  .docs-page__sidebar-title {
    display: none;
  }

  .docs-page__content {
    overflow: visible;
    height: auto;
  }

  .docs__content {
    max-width: 100%;
    padding: 0 16px 32px;
  }

  .docs__nav {
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 0;
  }

  .docs__nav-link {
    width: 100%;
    white-space: normal;
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.45;
  }

  .docs__nav-link--group {
    justify-content: space-between;
  }

  .docs__nav-link--sub {
    padding-left: 28px;
    font-size: 13px;
  }

  .docs__nav-link--active {
    border-left-color: transparent;
    border-bottom-color: var(--border);
    background: var(--accent-glow);
    color: var(--accent);
  }

  .docs__panel-title {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 20px;
  }

  .docs__panel p,
  .docs__steps,
  .docs__list {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .docs__steps li,
  .docs__list li {
    margin-bottom: 12px;
  }

  .docs__steps strong {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .docs__alert {
    padding: 14px 16px;
    margin-bottom: 24px;
  }

  .docs__code {
    margin: 14px 0 22px;
    padding: 44px 12px 12px;
    border-radius: 8px;
  }

  .docs__code::before {
    top: 8px;
    left: 8px;
    font-size: 10px;
    padding: 3px 7px;
  }

  .docs__copy-btn {
    top: 8px;
    right: 8px;
    min-width: 56px;
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .docs__code code {
    font-size: 11px;
    line-height: 1.6;
  }

  .examples__table-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 18px;
  }

  .examples__table th,
  .examples__table td {
    white-space: nowrap;
    padding: 12px 14px;
  }

  .nav__links {
    top: 72px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
}

@media (max-width: 1050px) {
  .nav {
    padding: 0 18px;
  }

  .nav__inner {
    height: 72px;
    gap: 16px;
  }

  .nav__logo {
    gap: 9px;
    font-size: 17px;
  }

  .nav__logo-icon {
    width: 22px;
    height: 22px;
  }

  .nav__logo-text {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--gap);
    gap: 0;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }

  .nav__links--open {
    display: flex;
  }

  .nav__link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }

  .nav__link--mobile-only {
    display: block;
  }

  .nav__actions {
    display: none;
  }

  .nav__help--brand {
    display: none;
  }

  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
  }

  .nav__mobile-actions .nav__help {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .nav__burger {
    display: flex;
    margin-left: auto;
  }

  .nav__burger--open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__burger--open span:nth-child(2) {
    opacity: 0;
  }

  .nav__burger--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0 12px;
  }

  .nav__inner {
    height: 64px;
    gap: 12px;
  }

  .nav__logo {
    gap: 8px;
    font-size: 16px;
  }

  .nav__logo-icon {
    width: 20px;
    height: 20px;
  }

  .nav__logo-text {
    display: block;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav__links {
    top: 64px;
    padding: 12px;
    max-height: calc(100dvh - 64px);
  }

  .nav__link {
    padding: 12px 0;
    font-size: 14px;
  }

  .nav__mobile-actions .nav__help {
    padding: 11px 14px;
    font-size: 13px;
  }

  .docs-page {
    padding-top: 64px;
  }

  .docs-page__mobile-toggle {
    width: calc(100% - 24px);
    margin: 12px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .docs-page__sidebar {
    margin: 0 12px 12px;
  }

  .docs__content {
    padding: 0 12px 28px;
  }

  .docs__panel-title {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .docs__panel p,
  .docs__steps,
  .docs__list {
    font-size: 13px;
    line-height: 1.65;
  }

  .docs__nav-link {
    padding: 12px 14px;
    font-size: 13px;
  }

  .docs__nav-link--sub {
    padding-left: 24px;
    font-size: 12px;
  }

  .docs__alert {
    padding: 12px 14px;
    font-size: 13px;
  }

  .docs__code {
    padding: 40px 10px 10px;
  }

  .docs__code code {
    font-size: 10px;
    line-height: 1.55;
  }

  .examples__table-title {
    padding: 16px 18px;
    font-size: 13px;
  }

  .section__title {
    font-size: 26px;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.12;
  }

  .hero__subtitle {
    font-size: 14px;
    line-height: 1.65;
  }

  .hero__tag {
    font-size: 10px;
    padding: 5px 9px;
  }

  .data__item,
  .data__item--large,
  .delivers__card,
  .solutions__card,
  .contact__form {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 360px) {
  :root {
    --gap: 12px;
  }

  .nav__logo-text {
    max-width: 116px;
  }

  .docs__panel-title {
    font-size: 24px;
  }

  .docs__code code {
    font-size: 9.5px;
  }

  .section__title {
    font-size: 24px;
  }

  .hero__title {
    font-size: 25px;
  }
}
