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

:root {
  --red: #E31E24;
  --red-dark: #B8161B;
  --red-glow: rgba(227, 30, 36, 0.35);
  --bg: #0a0a0a;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --text: #ffffff;
  --text-mute: #b5b5b5;
  --line: rgba(255,255,255,0.08);
}

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

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, padding .3s ease;
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(10,10,10,0.95); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(227,30,36,0.4)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: 'Barlow', sans-serif;
  font-weight: 900; font-size: 20px; letter-spacing: 1px; color: #fff;
}
.brand__sub {
  font-family: 'Barlow', sans-serif;
  font-weight: 700; font-size: 12px; letter-spacing: 3px; color: #fff;
  border-bottom: 2px solid var(--red); padding-bottom: 3px; margin-top: 2px;
  display: inline-block; width: max-content;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-weight: 500; font-size: 14px; color: #e9e9e9;
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta {
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .25s, box-shadow .25s, background .25s;
  box-shadow: 0 8px 24px var(--red-glow);
}
.nav__cta:hover { transform: translateY(-2px); background: var(--red-dark); box-shadow: 0 12px 28px var(--red-glow); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid var(--line); flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; transition: background .2s;
}
.burger:hover { background: rgba(255,255,255,0.05); }
.burger span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; padding-top: 88px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.15); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 55%, rgba(10,10,10,0.98) 100%),
    radial-gradient(ellipse at 20% 40%, rgba(227,30,36,0.15) 0%, transparent 50%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-top: 64px; padding-bottom: 40px; flex: 1;
  display: flex; align-items: center;
}
.hero__content { max-width: 720px; }
.hero__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 900; line-height: 0.95; letter-spacing: -1px;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  color: #fff; text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span { display: inline-block; }
.hero__title .line-3 { color: var(--red); text-shadow: 0 0 40px rgba(227,30,36,0.35); }

.hero__divider {
  width: 100px; height: 4px; background: var(--red);
  margin: 24px 0; border-radius: 2px;
  box-shadow: 0 0 16px var(--red-glow);
}
.hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #e0e0e0; max-width: 560px; margin-bottom: 32px;
}
.hero__lead strong { color: #fff; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; font-weight: 700; font-size: 14px; letter-spacing: 0.5px;
  border-radius: 4px; text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease;
  border: 2px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px var(--red-glow); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 14px 34px var(--red-glow); }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: #0a0a0a; }
.btn--sm { padding: 12px 20px; font-size: 13px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn i { font-size: 1.15em; }

/* Features row */
.features {
  position: relative; z-index: 2; padding: 32px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.feature { padding: 12px; }
.feature__icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  background: rgba(227,30,36,0.12); border: 1px solid rgba(227,30,36,0.3);
  border-radius: 50%; display: grid; place-items: center;
  color: var(--red); font-size: 22px;
  transition: transform .3s, background .3s;
}
.feature:hover .feature__icon { transform: translateY(-4px) scale(1.05); background: rgba(227,30,36,0.2); }
.feature__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800; font-size: 20px; color: #fff; letter-spacing: 0.5px;
}
.feature__sub { font-size: 13px; color: var(--text-mute); }

/* ============ SEGMENTS ============ */
.segments {
  background: #f5f5f5; color: #111;
  padding: 96px 0;
}
.segments__head {
  display: flex; align-items: end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 48px;
}
.eyebrow {
  color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; display: inline-block; margin-bottom: 12px;
}
.eyebrow--red { color: var(--red); }
.section__title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1; color: #111;
}
.section__title--light { color: #fff; }

.segments__nav { display: flex; gap: 12px; }
.seg-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1.5px solid #ddd; color: #333;
  display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.seg-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.segments__viewport { overflow: hidden; }
.segments__track {
  display: flex; gap: 20px; transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.seg-card {
  flex: 0 0 calc((100% - 60px) / 4);
  background: #fff; border-radius: 16px; padding: 40px 20px;
  text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform .3s, box-shadow .3s;
  border: 2px solid transparent;
}
.seg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
  border-color: rgba(227,30,36,0.2);
}
.seg-card__icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  color: var(--red); font-size: 32px;
  display: grid; place-items: center;
  border: 2px solid rgba(227,30,36,0.2);
  border-radius: 50%;
  transition: background .3s, color .3s;
}
.seg-card:hover .seg-card__icon { background: var(--red); color: #fff; border-color: var(--red); }
.seg-card h3 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700; font-size: 18px; color: #111;
}

/* ============ WHY ============ */
.why {
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
  padding: 96px 0;
  position: relative;
}
.why::before {
  content: ''; position: absolute; top: 0; left: 20%; width: 400px; height: 400px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.why__grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start;
  position: relative;
}
.why__lead { color: var(--text-mute); font-size: 1.05rem; margin: 20px 0 28px; }
.why__lead strong { color: #fff; }

.why__right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 22px;
  transition: transform .3s, border-color .3s, background .3s;
  position: relative;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227,30,36,0.4);
  background: rgba(227,30,36,0.05);
}
.why-card__num {
  font-family: 'Barlow', sans-serif;
  font-weight: 900; font-size: 40px; color: var(--red);
  line-height: 1; margin-bottom: 12px; opacity: 0.9;
}
.why-card h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.why-card p { color: var(--text-mute); font-size: 14px; line-height: 1.6; }

/* ============ CLIENTS ============ */
.clients {
  padding: 96px 0 80px;
  background: #f5f5f5;
  color: #111;
  overflow: hidden;
}
.clients__head { text-align: center; margin-bottom: 40px; }
.clients__head .section__title { color: #111; }

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 20px; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; background: #fff; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06); font-weight: 600; color: #222;
  white-space: nowrap; font-size: 14px;
  border: 1px solid rgba(0,0,0,0.04);
}
.client-chip i { color: var(--red); font-size: 16px; }

/* ============ CTA ============ */
.cta {
  background: #0a0a0a;
  border-top: 3px solid var(--red);
  padding: 40px 0;
}
.cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta__text .eyebrow { margin-bottom: 6px; }
.cta__text h2 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: #fff;
}

/* ============ FOOTER ============ */
.footer {
  background: #050505;
  color: #b5b5b5;
  padding: 64px 0 0;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
}
.brand--footer { margin-bottom: 16px; }
.footer__desc { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer__col h4 {
  color: #fff; font-family: 'Barlow', sans-serif; font-weight: 700;
  font-size: 16px; margin-bottom: 18px; letter-spacing: 0.5px;
}
.footer__list li {
  margin-bottom: 12px; font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.footer__list li i { color: var(--red); width: 18px; }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid var(--line); padding: 20px 0;
  font-size: 13px; text-align: center; color: #777;
}

/* ============ WA FLOAT ============ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 30px;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid #25D366; animation: pulse 2s infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Hero title stagger */
.hero__title .line { transform: translateY(100%); opacity: 0; transition: transform .9s cubic-bezier(.22,.61,.36,1), opacity .9s ease; }
.hero__content.in .line-1 { transform: translateY(0); opacity: 1; transition-delay: .1s; }
.hero__content.in .line-2 { transform: translateY(0); opacity: 1; transition-delay: .25s; }
.hero__content.in .line-3 { transform: translateY(0); opacity: 1; transition-delay: .4s; }
.hero__content .hero__divider { transform: scaleX(0); transform-origin: left; transition: transform .8s ease .55s; }
.hero__content.in .hero__divider { transform: scaleX(1); }
.hero__content .hero__lead, .hero__content .hero__cta { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.hero__content.in .hero__lead { opacity: 1; transform: translateY(0); transition-delay: .7s; }
.hero__content.in .hero__cta { opacity: 1; transform: translateY(0); transition-delay: .85s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav {
    position: fixed; top: 76px; left: 0; right: 0;
    background: rgba(10,10,10,0.98); backdrop-filter: blur(14px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px 24px; transform: translateY(-120%);
    transition: transform .35s ease;
    border-bottom: 1px solid var(--line); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 14px; justify-content: center; }
  .burger { display: flex; }

  .why__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .features__grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .feature__icon { width: 48px; height: 48px; font-size: 18px; }
  .feature__title { font-size: 16px; }
  .feature__sub { font-size: 11px; }

  .seg-card { flex: 0 0 calc((100% - 40px) / 3); }
}

@media (max-width: 720px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .feature { padding: 6px; }
  .feature__title { font-size: 14px; }
  .feature__sub { font-size: 10px; }
  .why__right { grid-template-columns: 1fr; }
  .seg-card { flex: 0 0 calc((100% - 20px) / 2); }
  .segments, .why, .clients { padding: 72px 0; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .btn--lg { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

@media (max-width: 480px) {
  .brand__logo { width: 38px; height: 38px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 10px; letter-spacing: 2px; }
  .seg-card { flex: 0 0 calc((100% - 20px) / 2); padding: 28px 14px; }
  .wa-float { width: 54px; height: 54px; font-size: 26px; bottom: 18px; right: 18px; }
}
