/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0A1628;
  color: #E8EEF5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

:root {
  --bg-deep: #0A1628;
  --bg-night: #050B14;
  --bg-card: #111E33;
  --orange: #FF6B35;
  --orange-soft: #FF8A5C;
  --yellow: #FFD500;
  --text: #E8EEF5;
  --text-muted: #8A9AAE;
  --line: rgba(232,238,245,0.12);
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== TYPE ===== */
.section__eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.32em;
  font-size: 13px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__eyebrow.light { color: var(--yellow); }

.section__title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.section__title em {
  font-style: normal;
  color: var(--orange);
}
.section__lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 56px;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--bg-night);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: var(--text-muted);
}
.topbar__link { transition: color .2s; }
.topbar__link:hover { color: var(--orange); }
.topbar__sep { color: var(--line); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.header.is-scrolled {
  background: rgba(5, 11, 20, 0.92);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: #fff;
  font-family: 'Bebas Neue';
  font-size: 22px;
  border-radius: 4px;
}
.logo__word {
  font-family: 'Bebas Neue';
  font-size: 22px;
  letter-spacing: 0.18em;
}
.nav ul {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 0;
  transition: color .2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .3s;
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  transition: all .2s;
}
.icon-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--bg-night);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__layer {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero__layer--back {
  opacity: 0.45;
  filter: contrast(1.1) brightness(0.7);
}
.hero__layer--mid {
  opacity: 0.25;
  filter: blur(2px) brightness(0.8);
  mix-blend-mode: screen;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,107,53,0.18), transparent 60%),
    linear-gradient(180deg, rgba(10,22,40,0.4) 0%, rgba(10,22,40,0.85) 100%);
}
.hero__pin {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 32px 80px;
  max-width: 1320px;
  margin: 0 auto;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue';
  letter-spacing: 0.32em;
  font-size: 13px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__stage {
  position: relative;
  min-height: 360px;
  margin-bottom: 32px;
}
.hero__title {
  position: absolute;
  top: 0; left: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.hero__title.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .accent { color: var(--orange); }

.hero__lead {
  max-width: 580px;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__brands {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-family: 'Bebas Neue';
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__brands span:first-child { color: var(--yellow); }

.hero__scrollhint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue';
  letter-spacing: 0.32em;
  font-size: 11px;
  color: var(--text-muted);
}
.scrollhint__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--orange), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  font-family: 'Bebas Neue';
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.btn--sm { padding: 14px 24px; font-size: 14px; }
.btn--primary {
  background: var(--orange);
  color: #fff;
}
.btn--primary:hover {
  background: var(--orange-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,107,53,0.35);
}
.btn--ghost {
  border: 1px solid var(--text);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--text);
  color: var(--bg-deep);
}

/* ===== KPI ===== */
.kpi {
  padding: 160px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-night) 100%);
}
.kpi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.kpi__item {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.kpi__num {
  font-family: 'Bebas Neue';
  font-size: clamp(72px, 8vw, 128px);
  line-height: 1;
  color: var(--orange);
}
.kpi__suffix {
  font-family: 'Bebas Neue';
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.kpi__item p { color: var(--text-muted); font-size: 15px; }

/* ===== PRODUCTS / HSCROLL ===== */
.products {
  background: var(--bg-night);
  padding: 160px 0 0;
}
.products__intro {
  margin-bottom: 80px;
}
.hscroll {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}
.hscroll__track {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  gap: 32px;
  padding: 0 80px;
  will-change: transform;
}
.pcard {
  flex: 0 0 420px;
  height: 540px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .4s, border-color .4s;
}
.pcard:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
}
.pcard__num {
  font-family: 'Bebas Neue';
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--orange);
  margin-bottom: 20px;
}
.pcard__img {
  flex: 1;
  background-size: cover;
  background-position: center;
  margin-bottom: 24px;
  position: relative;
  border-radius: 2px;
}
.pcard__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.6) 100%);
}
.pcard h3 {
  font-family: 'Bebas Neue';
  font-size: 32px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.pcard p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pcard__link {
  font-family: 'Bebas Neue';
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--orange);
  text-transform: uppercase;
  position: relative;
  align-self: flex-start;
}
.pcard__link::after {
  content: '→';
  margin-left: 8px;
  transition: transform .3s;
  display: inline-block;
}
.pcard__link:hover::after { transform: translateX(6px); }

/* ===== RESELLERS ===== */
.resellers {
  padding: 160px 0;
  background: var(--bg-deep);
}
.resellers__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.reseller {
  border: 1px solid var(--line);
  padding: 40px 24px;
  text-align: center;
  font-family: 'Bebas Neue';
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  transition: all .3s;
}
.reseller:hover {
  color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-4px);
}

/* ===== SERVICE ===== */
.service {
  padding: 160px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-night) 100%);
}
.service__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.service__col h3 {
  font-family: 'Bebas Neue';
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.service__col p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
}
.ticks {
  margin-bottom: 32px;
}
.ticks li {
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 15px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 16px;
  height: 1px;
  background: var(--orange);
}

/* ===== PARTNERSHIP ===== */
.partnership {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 160px 0;
}
.partnership__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.partnership__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.55) 100%);
}
.partnership__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
.partnership__title {
  font-family: 'Bebas Neue';
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.partnership__title .line { display: block; }
.partnership__title .accent { color: var(--yellow); }
.partnership__lead {
  font-size: 19px;
  color: var(--text);
  max-width: 720px;
}

/* ===== EVENTS ===== */
.events {
  padding: 160px 0;
  background: var(--bg-night);
}
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.event {
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: all .3s;
  background: var(--bg-card);
}
.event:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.event__date {
  flex: 0 0 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background: var(--bg-deep);
  border-left: 3px solid var(--orange);
  font-family: 'Bebas Neue';
}
.event__day {
  font-size: 48px;
  line-height: 1;
  color: var(--orange);
}
.event__month {
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--text);
}
.event__year {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  margin-top: 6px;
}
.event__body h3 {
  font-family: 'Bebas Neue';
  font-size: 28px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.event__body p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

/* ===== VALUES ===== */
.values {
  padding: 160px 0;
  background: var(--bg-deep);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.value:hover {
  background: var(--bg-card);
}
.value__num {
  font-family: 'Bebas Neue';
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--orange);
  display: block;
  margin-bottom: 24px;
}
.value h3 {
  font-family: 'Bebas Neue';
  font-size: 28px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.value p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 200px 0;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,107,53,0.25) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10,22,40,0.55) 0%, rgba(10,22,40,0.92) 100%);
}
.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  text-align: left;
}
.cta__title {
  font-family: 'Bebas Neue';
  font-size: clamp(52px, 8vw, 128px);
  line-height: 0.93;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.cta__title .line { display: block; }
.cta__title .accent { color: var(--orange); }
.cta__lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}
.cta__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-night);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.footer__brand .logo__mark,
.footer__brand .logo__word {
  display: inline-flex;
}
.footer__tagline {
  font-family: 'Bebas Neue';
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-top: 8px;
}
.footer__offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.office h4 {
  font-family: 'Bebas Neue';
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.office p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.office a {
  font-family: 'Bebas Neue';
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: color .2s;
}
.office a:hover { color: var(--orange); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__bottom a:hover { color: var(--orange); }
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.footer__social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ===== ANIMATION HELPERS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}
.split-line {
  display: inline-block;
  overflow: hidden;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav.is-open {
    display: block;
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    background: var(--bg-night);
    padding: 32px;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open ul {
    flex-direction: column;
    gap: 24px;
  }
  .kpi__grid { grid-template-columns: repeat(2, 1fr); }
  .resellers__row { grid-template-columns: repeat(3, 1fr); }
  .service__grid { grid-template-columns: 1fr; gap: 64px; }
  .events__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__offices { grid-template-columns: 1fr; gap: 32px; }
  .pcard { flex: 0 0 340px; height: 480px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .topbar__inner { font-size: 12px; }
  .header__inner { height: 64px; }
  .logo__word { font-size: 18px; }
  .hero { min-height: 640px; }
  .hero__pin { padding: 100px 20px 40px; }
  .hero__lead { font-size: 16px; }
  .hero__brands { gap: 16px; font-size: 12px; }
  .hero__brands span { display: inline-block; }
  .kpi { padding: 100px 0; }
  .kpi__grid { grid-template-columns: 1fr; gap: 24px; }
  .products { padding: 100px 0 0; }
  .hscroll { height: auto; min-height: 0; overflow-x: auto; overflow-y: hidden; padding-bottom: 32px; }
  .hscroll__track { position: static; transform: none; padding: 0 20px; }
  .pcard { flex: 0 0 280px; height: 420px; }
  .resellers, .service, .events, .values { padding: 100px 0; }
  .resellers__row { grid-template-columns: 1fr 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .partnership { padding: 100px 0; min-height: 0; }
  .cta { padding: 120px 0; }
  .event { flex-direction: column; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .btn { padding: 16px 24px; font-size: 14px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__layer, .partnership__bg, .cta__bg { transform: none !important; }
  .scrollhint__line { animation: none; }
  .hero__eyebrow .dot { animation: none; }
}
