/* ============ TOKENS ============ */
:root {
  --bg: #0A0A0A;
  --surface: #1A1A1A;
  --surface-2: #222;
  --border: #2a2a2a;
  --text: #ffffff;
  --muted: #b3b3b3;
  --muted-2: #8a8a8a;
  --red: #FF2D2D;
  --red-light: #FF6B6B;
  --green: #25D366;
  --green-dark: #128C7E;
  --maxw: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-red: 0 12px 36px rgba(255, 45, 45, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  color: var(--red-light); text-transform: uppercase;
  padding: 6px 12px; border: 1px solid rgba(255, 45, 45, 0.3);
  border-radius: 999px; background: rgba(255, 45, 45, 0.05);
  margin-bottom: 18px;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.5vw, 48px); }
h3 { font-size: 20px; }
.grad {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.section-head {
  text-align: center; max-width: 720px; margin: 0 auto 56px;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  z-index: 1000;
  box-shadow: 0 0 12px rgba(255, 45, 45, 0.6);
  transition: width 0.05s linear;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 8px 24px rgba(255, 45, 45, 0.35);
}
.btn-primary:hover {
  background: #ff4040;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 45, 45, 0.5);
}
.btn-primary .arr { transition: transform .2s ease; }
.btn-primary:hover .arr { transform: translateX(4px); }

.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }

.btn-block { width: 100%; padding: 16px; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(0px);
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease, padding .3s ease;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(255, 45, 45, 0.12), 0 1px 0 rgba(255, 45, 45, 0.18);
  padding: 12px 0;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 28px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: 0.04em; font-size: 15px;
  color: #fff;
}
.logo-img {
  height: 46px; width: auto; display: block;
  /* The logo is red+wine on white — drop white in dark UI, soften shadow */
  filter: drop-shadow(0 4px 14px rgba(255, 45, 45, 0.35));
  transition: transform .25s ease, filter .25s ease;
}
.logo:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 20px rgba(255, 45, 45, 0.55));
}
.navbar.scrolled .logo-img { height: 40px; }
.foot-brand .logo-img { height: 64px; margin-bottom: 6px; }
.logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), #d61f1f);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 45, 45, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.logo-icon svg { width: 18px; height: 18px; }
.logo-text strong { color: var(--red); font-weight: 800; }

.nav-menu {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto; margin-right: 8px;
}
.nav-menu > li > a {
  display: inline-block; padding: 10px 14px; font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, 0.8); border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-menu > li > a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-menu .chev { font-size: 10px; opacity: 0.7; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 260px;
  background: rgba(20, 20, 20, 0.97);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 45, 45, 0.1);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
}
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: rgba(255, 255, 255, 0.85);
  transition: background .15s, color .15s;
}
.dropdown li a:hover { background: rgba(255, 45, 45, 0.12); color: var(--red-light); }

.btn-cta { padding: 10px 18px; font-size: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

/* Cursor-reactive spotlight */
.hero-spotlight {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 45, 45, 0.12),
    transparent 60%
  );
  transition: background-position 0.3s ease;
}

/* Rotating word in headline */
.rotator {
  display: inline-block;
  height: 1.05em;
  line-height: 1;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
  margin-bottom: -0.05em;
}
.rotator-track {
  display: block;
  animation: rotateWord 10s cubic-bezier(.6, .05, .2, 1) infinite;
}
.rotator-track > span {
  display: block;
  height: 1.05em;
  line-height: 1;
  font-weight: 800;
}
@keyframes rotateWord {
  0%, 18%   { transform: translateY(0); }
  22%, 43%  { transform: translateY(-1.05em); }
  47%, 68%  { transform: translateY(-2.1em); }
  72%, 93%  { transform: translateY(-3.15em); }
  97%, 100% { transform: translateY(-4.2em); }
}
#particles {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 45, 45, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 45, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; z-index: 0;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.18), transparent 60%);
  top: -100px; right: -100px;
  filter: blur(40px);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 60px; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 45, 45, 0.2);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 45, 45, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(255, 45, 45, 0); }
}

.hero h1 {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero .lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 540px; margin-bottom: 36px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 50px;
}
.trust-row {
  display: flex; align-items: center; gap: 22px;
  padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong { font-size: 18px; font-weight: 700; color: #fff; }
.trust-item span { font-size: 12px; color: var(--muted-2); }
.trust-divider { width: 1px; height: 30px; background: rgba(255, 255, 255, 0.1); }

/* Social proof cluster (replaces .trust-row) */
.social-proof {
  display: flex; align-items: center; gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}
.avatar-stack {
  display: flex; align-items: center;
}
.avatar-stack .av {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c1, #FF2D2D), var(--c2, #FF6B6B));
  color: #fff; font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em;
  border: 2px solid var(--bg);
  margin-left: -10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
.avatar-stack .av:first-child { margin-left: 0; }
.avatar-stack:hover .av { transform: translateY(-3px); }
.avatar-stack .av-more {
  background: rgba(255, 45, 45, 0.15);
  color: var(--red-light);
  border-color: var(--bg);
  font-size: 11px;
}
.proof-text { display: flex; flex-direction: column; gap: 2px; }
.proof-stars {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
}
.stars-row { color: var(--red); letter-spacing: 2px; font-size: 13px; }
.proof-stars strong { color: #fff; font-weight: 700; font-size: 15px; }
.proof-label { font-size: 13px; color: var(--muted-2); }

/* Floating activity cards */
.hero-visual { position: relative; }
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.5);
  z-index: 3;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  animation: fcAppear 0.6s cubic-bezier(.2, .8, .2, 1) forwards;
  max-width: 240px;
  pointer-events: none;
}
.reveal.in .float-card { /* parent must be revealed */ }
.fc-1 { top: 28px; left: -32px; animation-delay: 0.8s; }
.fc-2 { top: 42%; right: -16px; animation-delay: 1.2s; }
.fc-3 { bottom: -14px; left: 12%; animation-delay: 1.6s; }

@keyframes fcAppear {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.float-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(255,45,45,0.4), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.fc-icon {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 18px;
}
.fc-icon-red {
  background: rgba(255, 45, 45, 0.15);
  border: 1px solid rgba(255, 45, 45, 0.35);
}
.fc-icon-green {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ade80;
  font-weight: 700;
}
.fc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-title { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; }
.fc-sub { font-size: 11px; color: var(--muted-2); font-family: 'JetBrains Mono', monospace; }

/* Float card subtle bobbing */
.fc-1, .fc-2, .fc-3 {
  animation: fcAppear 0.6s cubic-bezier(.2, .8, .2, 1) forwards, fcBob 4s ease-in-out infinite;
}
.fc-1 { animation-delay: 0.8s, 1.4s; }
.fc-2 { animation-delay: 1.2s, 2.0s; }
.fc-3 { animation-delay: 1.6s, 2.8s; }
@keyframes fcBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Hide trust-row legacy (kept for safety) */
.trust-row { display: none; }
.city-frame {
  position: relative; aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 45, 45, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.city-svg { width: 100%; height: 100%; }
.frame-corners::before, .frame-corners::after,
.city-frame::before, .city-frame::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--red); z-index: 2;
}
.city-frame::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.city-frame::after { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.frame-corners::before { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.frame-corners::after { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.cam { animation: camPulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.cam:nth-child(2) { animation-delay: 1.5s; }
@keyframes camPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
.scan {
  animation: scanMove 4s linear infinite;
}
@keyframes scanMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(360px); }
}

.hud-pill {
  position: absolute; padding: 6px 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 45, 45, 0.4);
  border-radius: 6px; color: #fff;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  z-index: 3;
}
.hud-top { display: none; } /* moved to floating cards */
.hud-bot { bottom: 22px; right: 50%; transform: translateX(50%); }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 10px; letter-spacing: 0.3em; color: var(--muted-2);
  font-family: 'JetBrains Mono', monospace;
}
.scroll-bar {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  position: relative; overflow: hidden;
}
.scroll-bar::after {
  content: ''; position: absolute; top: -10px; left: 0; width: 100%; height: 10px;
  background: var(--red-light);
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -10px; opacity: 1; }
  100% { top: 40px; opacity: 0; }
}

/* ============ STATS ============ */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 45, 45, 0.025), transparent);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat { text-align: center; padding: 10px; }
.stat-num {
  font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1;
  color: var(--red);
  letter-spacing: -0.03em;
  text-shadow: 0 0 30px rgba(255, 45, 45, 0.3);
}
.stat-label {
  margin-top: 12px; color: var(--muted);
  font-size: 14px; letter-spacing: 0.02em;
}

/* ============ SERVICES ============ */
.services { padding: 110px 0; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 45, 45, 0.15), transparent 60%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.service-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 45, 45, 0.4), 0 0 40px rgba(255, 45, 45, 0.25);
}
.service-card:hover::before { opacity: 1; }

.svc-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 45, 45, 0.1);
  border: 1px solid rgba(255, 45, 45, 0.25);
  color: var(--red);
  margin-bottom: 22px;
  transition: transform .3s ease;
}
.svc-icon svg { width: 24px; height: 24px; }
.service-card:hover .svc-icon { transform: scale(1.08) rotate(-3deg); }

.service-card h3 { color: #fff; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; min-height: 60px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-weight: 600; font-size: 14px;
  transition: gap .2s;
}
.svc-link:hover { gap: 12px; color: var(--red-light); }

.card-corner {
  position: absolute; top: 0; right: 0;
  width: 50px; height: 50px;
  background: linear-gradient(225deg, rgba(255, 45, 45, 0.4), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover .card-corner { opacity: 1; }

/* ============ ABOUT ============ */
.about {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about-text h2 { margin-bottom: 22px; }
.lead-sm {
  font-size: 17px; color: var(--muted);
  margin-bottom: 32px; max-width: 520px;
}
.mv { display: grid; gap: 22px; margin-bottom: 36px; }
.mv-block {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--red);
  padding: 16px 20px; border-radius: 0 10px 10px 0;
}
.mv-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--red); font-weight: 700;
  margin-bottom: 6px;
}
.mv-block p { color: var(--muted); font-size: 14.5px; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 45, 45, 0.06);
  border: 1px solid rgba(255, 45, 45, 0.4);
  font-size: 13px; font-weight: 500;
  color: #fff;
  transition: transform .25s, background .25s;
  animation: badgeGlow 3s ease-in-out infinite;
}
.badge:nth-child(2) { animation-delay: 1s; }
.badge:nth-child(3) { animation-delay: 2s; }
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255, 45, 45, 0); }
}
.badge:hover { transform: translateY(-2px); background: rgba(255, 45, 45, 0.15); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* About visual */
.team-frame {
  position: relative; aspect-ratio: 4/3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.team-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.team-frame:hover .team-photo { transform: scale(1.04); }
.team-photo-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,10,10,0.65) 100%),
    linear-gradient(135deg, rgba(255,45,45,0.10), transparent 50%);
}
.ph-stripes {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025) 0 14px,
      transparent 14px 28px
    ),
    linear-gradient(135deg, #1f1f1f, #0a0a0a);
  display: grid; place-items: center;
}
.ph-label {
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px; letter-spacing: 0.15em;
  padding: 8px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 45, 45, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 45, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
}
.team-stat {
  position: absolute;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(255, 45, 45, 0.35);
  border-radius: 12px;
  padding: 14px 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.team-stat-1 { top: 24px; right: 24px; }
.team-stat-2 { bottom: 24px; left: 24px; }
.ts-num { font-size: 26px; font-weight: 800; color: var(--red); line-height: 1; }
.ts-lbl { font-size: 11px; color: var(--muted); margin-top: 4px; letter-spacing: 0.05em; }

/* ============ WHY ============ */
.why { padding: 110px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .3s, border-color .3s, background .3s;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 45, 0.5);
  background: rgba(255, 45, 45, 0.03);
}
.why-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.15), rgba(255, 45, 45, 0.04));
  border: 1px solid rgba(255, 45, 45, 0.3);
  color: var(--red);
  margin-bottom: 20px;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { color: #fff; margin-bottom: 10px; font-size: 18px; }
.why-card p { color: var(--muted); font-size: 14px; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testi-wrap {
  position: relative; max-width: 880px; margin: 0 auto;
}
.testi-track {
  position: relative; min-height: 320px;
}
.testi-card {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 50px;
  opacity: 0; transform: translateX(40px) scale(0.97);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.testi-card.active {
  opacity: 1; transform: translateX(0) scale(1);
  pointer-events: auto;
}
.quote-mark {
  position: absolute; top: -10px; left: 24px;
  font-size: 110px; line-height: 1;
  color: rgba(255, 45, 45, 0.18);
  font-family: Georgia, serif;
}
.stars {
  color: var(--red); font-size: 16px; letter-spacing: 4px;
  margin-bottom: 16px;
}
.testi-text {
  font-size: 19px; color: rgba(255, 255, 255, 0.92);
  line-height: 1.55; margin-bottom: 28px;
  font-weight: 400;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff; font-weight: 700; font-size: 16px;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(255, 45, 45, 0.25);
}
.t-name { font-weight: 600; color: #fff; }
.t-company { font-size: 13px; color: var(--red-light); margin-top: 2px; }

.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 45, 45, 0.12);
  border: 1px solid rgba(255, 45, 45, 0.35);
  color: var(--red);
  transition: background .2s, transform .2s, color .2s;
  z-index: 2;
}
.testi-arrow:hover {
  background: var(--red); color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.testi-arrow svg { width: 20px; height: 20px; }
.testi-prev { left: -72px; }
.testi-next { right: -72px; }

.testi-dots {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 32px;
}
.testi-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer; transition: all .2s;
  padding: 0;
}
.testi-dots .dot.active {
  background: var(--red);
  width: 26px; border-radius: 4px;
}

/* ============ CONTACT ============ */
.contact { padding: 110px 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: flex-start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-list { margin-top: 36px; display: grid; gap: 22px; }
.contact-list li {
  display: flex; align-items: flex-start; gap: 16px;
}
.ci-icon {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 45, 45, 0.1);
  border: 1px solid rgba(255, 45, 45, 0.3);
  color: var(--red);
}
.ci-icon svg { width: 20px; height: 20px; }
.ci-label { font-size: 12px; color: var(--muted-2); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.ci-val { color: #fff; font-weight: 500; }
a.ci-val:hover { color: var(--red-light); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  position: relative;
}
.contact-form h3 {
  font-size: 22px; margin-bottom: 26px; color: #fff;
}
.field { position: relative; margin-bottom: 18px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 18px 16px 8px;
  color: #fff;
  font-family: inherit; font-size: 15px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field select { padding: 16px; }
.field textarea { resize: vertical; min-height: 100px; padding: 22px 16px 16px; }
.field label {
  position: absolute; top: 16px; left: 16px;
  color: var(--muted-2); font-size: 14px;
  pointer-events: none; transition: all .2s ease;
  background: var(--surface); padding: 0 6px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 45, 45, 0.12);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field input:valid:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  top: -8px; font-size: 11px;
  color: var(--red-light);
  letter-spacing: 0.05em;
}
.field input:placeholder-shown { /* keep transparent */ }
.field input, .field textarea { placeholder-shown: ""; }

.form-note { font-size: 12px; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
  font-size: 14px;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; animation: slideIn .35s ease; }
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg);
  position: relative;
  padding-top: 70px;
  border-top: 1px solid var(--border);
}
.footer-stripe {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--red-light), var(--red), transparent);
  box-shadow: 0 0 20px rgba(255, 45, 45, 0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.foot-brand .logo { margin-bottom: 18px; }
.foot-desc { color: var(--muted); font-size: 14px; margin-bottom: 22px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.soc {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #fff;
  transition: all .25s;
}
.soc svg { width: 18px; height: 18px; }
.soc:hover {
  background: var(--red); border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 45, 45, 0.4);
}
.foot-col h4 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.foot-col ul { display: grid; gap: 10px; }
.foot-col li a, .foot-col li {
  font-size: 14px; color: var(--muted);
  transition: color .2s;
}
.foot-col li a:hover { color: var(--red-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted-2);
}

/* ============ FLOATING ============ */
.float-wa {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: transform .25s;
}
.float-wa:hover { transform: scale(1.1); }
.float-wa svg { width: 32px; height: 32px; }
.wa-pulse, .ai-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulseRing 2s ease-out infinite;
  pointer-events: none;
}
.ai-pulse { border-color: var(--red); }
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.float-ai {
  position: fixed; bottom: 100px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 45, 45, 0.5);
  z-index: 90;
  transition: transform .25s;
}
.float-ai:hover { transform: scale(1.1); }
.float-ai svg { width: 32px; height: 32px; animation: robotBob 2.5s ease-in-out infinite; }
@keyframes robotBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* AI CHAT POPUP */
.ai-chat {
  position: fixed; bottom: 100px; right: 24px;
  width: 360px; max-width: calc(100vw - 48px);
  background: var(--surface);
  border: 1px solid var(--red);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 45, 45, 0.2), 0 0 60px rgba(255, 45, 45, 0.2);
  z-index: 91;
  overflow: hidden;
  opacity: 0; pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
}
.ai-chat.open {
  opacity: 1; pointer-events: auto;
  transform: translateY(0) scale(1);
}
.ai-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.18), rgba(255, 45, 45, 0.05));
  border-bottom: 1px solid var(--border);
}
.ai-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 45, 45, 0.3);
}
.ai-avatar svg { width: 22px; height: 22px; }
.ai-meta { flex: 1; }
.ai-name { font-weight: 600; font-size: 14px; color: #fff; }
.ai-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
}
.ai-close {
  width: 28px; height: 28px; border-radius: 8px;
  color: var(--muted); font-size: 13px;
  transition: background .2s, color .2s;
}
.ai-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.ai-body { padding: 18px 16px; max-height: 340px; overflow-y: auto; }
.msg { display: flex; gap: 10px; margin-bottom: 16px; }
.msg-avatar {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
}
.msg-avatar svg { width: 16px; height: 16px; }
.msg-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 14px 14px 14px 4px;
  font-size: 14px; color: #fff;
  max-width: 80%;
}
.msg-user { flex-direction: row-reverse; }
.msg-user .msg-avatar { background: rgba(255, 255, 255, 0.1); color: #fff; }
.msg-user .msg-bubble { background: rgba(255, 45, 45, 0.18); border-color: rgba(255, 45, 45, 0.35); border-radius: 14px 14px 4px 14px; }

.quick-actions { display: grid; gap: 8px; }
.qa {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 45, 45, 0.4);
  color: #fff; font-size: 13px;
  transition: all .2s;
}
.qa:hover {
  background: rgba(255, 45, 45, 0.12);
  border-color: var(--red);
  transform: translateX(2px);
}

.ai-foot {
  display: flex; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}
.ai-foot input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: inherit; font-size: 13px;
}
.ai-foot input:focus { outline: none; border-color: var(--red); }
.ai-send {
  width: 38px; height: 38px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  transition: background .2s;
}
.ai-send:hover { background: #ff4040; }
.ai-send svg { width: 16px; height: 16px; }

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .testi-prev { left: -10px; }
  .testi-next { right: -10px; }
}
@media (max-width: 900px) {
  .nav-menu {
    position: fixed; top: 70px; right: 14px; left: 14px;
    flex-direction: column; align-items: stretch;
    background: rgba(15, 15, 15, 0.97);
    border: 1px solid var(--border);
    border-radius: 14px; padding: 14px;
    backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transform: translateY(-10px);
    transition: all .25s; gap: 4px;
  }
  .nav-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-menu > li > a { padding: 12px 14px; }
  .dropdown { position: static; opacity: 1; pointer-events: auto; transform: none;
              background: transparent; border: none; box-shadow: none; padding: 4px 0 4px 16px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .btn-cta { padding: 10px 14px; font-size: 13px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .float-card { display: none; } /* hide floating cards on small screens to avoid clutter */
  .social-proof { flex-wrap: wrap; gap: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .testi-card { padding: 32px 24px; }
  .testi-text { font-size: 16px; }
  .row-2 { grid-template-columns: 1fr; }
  .ai-chat { right: 12px; left: 12px; width: auto; }
  .hero h1 { font-size: 38px; }
  .float-ai { bottom: 92px; }
}
