/* --- VARIABLES --- */
:root {
  --bg-primary: #06061a;
  --bg-secondary: #0c0c24;
  --bg-tertiary: #12122e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --surface-glass: rgba(12, 12, 36, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);

  --color-primary: #f0b35b;
  --color-primary-light: #ffd699;
  --color-primary-dark: #c88a2e;
  --color-accent: #8b5cf6;
  --color-accent-light: #a78bfa;
  --color-teal: #14b8a6;
  --color-coral: #ff6b6b;

  --text-primary: #f0f0f8;
  --text-secondary: #9898b0;
  --text-muted: #5a5a78;

  --gradient-primary: linear-gradient(135deg, #f0b35b 0%, #e8963e 100%);
  --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  --gradient-text: linear-gradient(135deg, #f0b35b 0%, #ff8c42 50%, #e8963e 100%);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(240, 179, 91, 0.1);
  --shadow-glow-strong: 0 0 80px rgba(240, 179, 91, 0.2);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);

  --container-width: 1200px;
  --container-padding: 24px;
  --header-height: 72px;

  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 179, 91, 0.4) var(--bg-tertiary);
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(18, 18, 46, 0.6) 0%, transparent 50%),
              radial-gradient(ellipse 80% 50% at 80% 100%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
              radial-gradient(ellipse 60% 40% at 20% 80%, rgba(240, 179, 91, 0.03) 0%, transparent 45%);
}

/* --- SCROLLBAR (WebKit) --- */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(240, 179, 91, 0.35);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-tertiary);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(240, 179, 91, 0.55);
}

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

section[id] {
  scroll-margin-top: var(--header-height);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

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

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

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(240, 179, 91, 0.3);
  color: var(--text-primary);
}

/* --- UTILITIES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-medium);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition-fast);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.1);
}

.btn--primary {
  background: var(--gradient-primary);
  color: #06061a;
  box-shadow: 0 4px 24px rgba(240, 179, 91, 0.3);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.15) 45%, transparent 55%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: 0;
}

.btn--primary:hover {
  box-shadow: 0 8px 40px rgba(240, 179, 91, 0.45);
  transform: translateY(-2px);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn--outline {
  border: 1.5px solid var(--border-glass);
  color: var(--text-primary);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 32px rgba(240, 179, 91, 0.1);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

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

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-medium);
}

.header.scrolled {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.header__logo-icon {
  flex-shrink: 0;
}

.header__logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: width var(--transition-medium);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--text-primary);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  width: 100%;
}

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

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lang-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
  transform-origin: center;
}

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

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

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

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #12122e 0%, var(--bg-primary) 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 179, 91, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 0 80px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(240, 179, 91, 0.25);
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgba(240, 179, 91, 0.08);
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  animation: float 2.5s ease-in-out infinite;
  opacity: 0.8;
}

.hero__scroll:hover {
  color: var(--color-primary);
  opacity: 1;
}

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

/* --- STATS --- */
.stats {
  position: relative;
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stats__item {
  text-align: center;
  flex: 1;
  min-width: 180px;
}

.stats__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 0 40px rgba(240, 179, 91, 0.15);
}

.stats__label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: var(--border-glass);
  flex-shrink: 0;
}

/* --- SECTIONS COMMON --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(240, 179, 91, 0.08);
  border: 1px solid rgba(240, 179, 91, 0.15);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(240, 179, 91, 0.06);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- FEATURES --- */
.features {
  padding: 120px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.feature-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-medium);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(240, 179, 91, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  transition: color var(--transition-medium), transform var(--transition-medium);
}

.feature-card:hover .feature-card__icon {
  color: var(--color-primary);
  transform: scale(1.05);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- INTEGRATIONS --- */
.integrations {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.integrations__group {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
}

.integrations__group-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.integrations__subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 24px;
  margin-bottom: 12px;
  opacity: 0.85;
}

.integrations__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.integration-chip {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.integration-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(240, 179, 91, 0.05);
  transform: scale(1.03);
}

/* --- CLIENTS --- */
.clients {
  padding: 120px 0;
  overflow: hidden;
}

.clients__marquee {
  margin: 48px 0;
  padding: 28px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients__track {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-badge {
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.client-badge:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(240, 179, 91, 0.08);
}

.clients__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.city-tag {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.12);
  font-size: 0.8rem;
  color: var(--color-accent-light);
  font-weight: 500;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.city-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.15);
}

/* --- PARTNER --- */
.partner {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.partner__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(240, 179, 91, 0.04) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.partner__card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 179, 91, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.partner__content {
  position: relative;
  z-index: 1;
}

.partner__content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.partner__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.partner__benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.partner__benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.partner__benefit svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.partner__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  z-index: 1;
}

.partner__rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  animation: pulse-ring 4s ease-in-out infinite;
}

.partner__ring--1 {
  width: 160px;
  height: 160px;
  animation-delay: 0s;
}

.partner__ring--2 {
  width: 240px;
  height: 240px;
  animation-delay: 0.6s;
}

.partner__ring--3 {
  width: 320px;
  height: 320px;
  animation-delay: 1.2s;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.partner__icon {
  position: relative;
  z-index: 1;
}

.partner__icon svg {
  width: 80px;
  height: 80px;
}

/* --- CONTACTS --- */
.contacts {
  padding: 120px 0;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
  max-width: 640px;
  margin: 0 auto;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(240, 179, 91, 0.08);
  color: var(--color-primary);
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

a.contact-item__value:hover {
  color: var(--color-primary);
}

.contact-item__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}


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

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

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer__reg {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
  opacity: 0.9;
}

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

.footer__link {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }
.reveal:nth-child(7) { transition-delay: 0.6s; }
.reveal:nth-child(8) { transition-delay: 0.7s; }
.reveal:nth-child(9) { transition-delay: 0.8s; }

/* Staggered feature cards */
.features__grid .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features__grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features__grid .feature-card:nth-child(3) { transition-delay: 0.15s; }
.features__grid .feature-card:nth-child(4) { transition-delay: 0.2s; }
.features__grid .feature-card:nth-child(5) { transition-delay: 0.25s; }
.features__grid .feature-card:nth-child(6) { transition-delay: 0.3s; }
.features__grid .feature-card:nth-child(7) { transition-delay: 0.35s; }
.features__grid .feature-card:nth-child(8) { transition-delay: 0.4s; }
.features__grid .feature-card:nth-child(9) { transition-delay: 0.45s; }
.features__grid .feature-card:nth-child(10) { transition-delay: 0.5s; }
.features__grid .feature-card:nth-child(11) { transition-delay: 0.55s; }
.features__grid .feature-card:nth-child(12) { transition-delay: 0.6s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .partner__visual {
    height: 200px;
  }

}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
    --header-height: 64px;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 26, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--transition-medium);
    z-index: 1000;
  }

  .header__nav.open {
    transform: translateX(0);
  }

  .header__nav-link {
    font-size: 1.3rem;
  }

  .header__burger {
    display: flex;
  }

  .header__actions .btn {
    display: none;
  }

  .hero__content {
    padding: 100px 0 60px;
  }

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

  .hero__cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .stats__grid {
    gap: 24px;
  }

  .stats__divider {
    display: none;
  }

  .stats__item {
    min-width: 140px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .partner__card {
    padding: 28px;
  }

  .partner__visual {
    height: 160px;
  }

  .partner__ring--3 {
    width: 240px;
    height: 240px;
  }


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

  .footer__links {
    justify-content: center;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .stats__grid {
    flex-direction: column;
    gap: 20px;
  }

  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .clients__cities {
    gap: 8px;
  }
}

/* --- SPECIAL EFFECTS --- */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-gradient {
  background-size: 200% auto;
  animation: shimmer 5s linear infinite;
}

/* Noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}
