/* ── HOME PAGE ── */

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.nav-inner {
  height: 100%; max-width: var(--max-w); margin: 0 auto;
  padding: 0 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.55);
  transition: color var(--tr);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--red); }
.nav-cta { display: flex !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; }
.nav-hamburger span { display:block; width:22px; height:2px; background:var(--white); border-radius:1px; transition:all var(--tr); }
.nav-hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity:0; }
.nav-hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--black); z-index: 999;
  padding: 2rem 1.75rem; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-head); font-size: 1.8rem; font-weight: 700;
  color: rgba(255,255,255,0.7); padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--tr);
}
.nav-mobile a:hover { color: var(--red); }
.nav-mobile .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }

/* ── HERO ── */
.hero {
  background: var(--grad-hero);
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-glow-1 {
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(220,38,38,0.18) 0%, transparent 65%);
  top: -15%; right: -8%; border-radius: 50%; pointer-events: none;
}
.hero-glow-2 {
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(220,38,38,0.1) 0%, transparent 70%);
  bottom: 10%; left: 5%; border-radius: 50%; pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 6rem 0 5rem;
}

.hero-badge { margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .line-red { color: var(--red); }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.5);
  line-height: 1.75; max-width: 480px; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
}
.trust-avatars { display: flex; }
.trust-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-red); border: 2px solid var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; color: white;
  margin-left: -8px;
}
.trust-avatar:first-child { margin-left: 0; }

/* Dashboard card */
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
}
.hc-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.hc-title {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.hc-metrics {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm); overflow: hidden;
  margin-bottom: 1.25rem;
}
.hc-metric {
  background: rgba(255,255,255,0.03);
  padding: 1rem; display: flex; flex-direction: column; gap: 0.25rem;
}
.hc-metric-label { font-size: 0.68rem; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.08em; }
.hc-metric-val {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--white);
}
.hc-metric-change { font-size: 0.72rem; color: #4ade80; }
.hc-metric-change.down { color: var(--red-light); }

.hc-bar-row { margin-bottom: 0.75rem; }
.hc-bar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; }
.hc-bar-name { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.hc-bar-pct  { font-size: 0.72rem; color: var(--red-light); font-weight: 600; }
.hc-bar-track { height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.hc-bar-fill  {
  height: 100%; border-radius: 3px;
  background: var(--grad-red);
  animation: grow 1.4s ease forwards;
}
@keyframes grow { from { width: 0; } to { width: var(--w, 0%); } }

.hc-activity { margin-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1rem; }
.hc-activity-title { font-size: 0.68rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.hc-activity-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-bottom: 0.5rem;
}
.hc-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.hc-dot.red { background: var(--red-light); }
.hc-dot.yellow { background: #facc15; }
.hc-activity-item em { margin-left: auto; font-style: normal; color: rgba(255,255,255,0.22); font-size: 0.68rem; }

/* ── CLIENTS STRIP ── */
.clients-strip {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}
.clients-inner { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.clients-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.client-logos { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.client-logo {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700;
  color: var(--border-dk); letter-spacing: -0.01em; transition: color var(--tr);
}
.client-logo:hover { color: var(--muted); }

/* ── SERVICES GRID ── */
.services-section { background: var(--off-white); }
.services-section .section-header { margin-bottom: 3.5rem; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.svc-card:hover { box-shadow: 0 8px 32px rgba(220,38,38,0.1); border-color: var(--red-mid); transform: translateY(-4px); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 48px; height: 48px; background: var(--red-pale); border: 1px solid var(--red-mid);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.25rem;
}
.svc-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 0.6rem; }
.svc-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.svc-link {
  font-size: 0.8rem; font-weight: 600; color: var(--red);
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: gap var(--tr);
}
.svc-card:hover .svc-link { gap: 0.6rem; }

/* ── HOW WE WORK ── */
.process-section { background: var(--black); }
.process-section .section-label { color: rgba(220,38,38,0.8); }
.process-section .section-label::before { background: rgba(220,38,38,0.8); }
.process-section h2.section-title { color: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3.5rem; }
.process-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 1.75rem;
  transition: border-color var(--tr), transform var(--tr);
}
.process-card:hover { border-color: rgba(220,38,38,0.35); transform: translateY(-4px); }
.process-num {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 700;
  color: rgba(220,38,38,0.2); line-height: 1; margin-bottom: 1rem;
}
.process-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.process-card p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; }

/* ── TESTIMONIALS ── */
.tcard-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { max-width: 520px; }
  .svc-grid   { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .tcard-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .svc-grid   { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .tcard-grid { grid-template-columns: 1fr; }
  .clients-inner { gap: 1.5rem; }
  .client-logos  { gap: 1.5rem; }
}
