:root {
  --bg: #07070c;
  --card: #12121c;
  --card-border: rgba(255,255,255,0.08);
  --text: #f4f4f7;
  --muted: #9494a6;
  --red: #ef4444;
  --red-2: #b91c1c;
  --amber: #f59e0b;
  --indigo: #6366f1;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Animated gradient background ---------- */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(239,68,68,0.28), transparent 60%),
    radial-gradient(1000px 700px at 100% 10%, rgba(99,102,241,0.24), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(245,158,11,0.16), transparent 55%),
    var(--bg);
  background-size: 200% 200%;
  animation: gradientShift 22s ease-in-out infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 60%; }
  100% { background-position: 0% 0%; }
}
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,7,12,0.65);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--red); text-shadow: 0 0 18px rgba(239,68,68,0.6); animation: brandGlow 3.4s ease-in-out infinite; }
@keyframes brandGlow {
  0%, 100% { text-shadow: 0 0 12px rgba(239,68,68,0.45); }
  50% { text-shadow: 0 0 22px rgba(239,68,68,0.85); }
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(239,68,68,0.6);
}
.btn-primary:hover { box-shadow: 0 10px 30px -6px rgba(239,68,68,0.75); transform: translateY(-2px); }
.btn-pulse { animation: btnPulse 2.6s ease-in-out infinite; }
.btn-pulse:hover { animation-play-state: paused; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 8px 24px -8px rgba(239,68,68,0.6), 0 0 0 0 rgba(239,68,68,0.45); }
  50% { box-shadow: 0 8px 24px -8px rgba(239,68,68,0.6), 0 0 0 10px rgba(239,68,68,0); }
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--card-border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 20px 40px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.12;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.grad-text {
  background: linear-gradient(90deg, #ef4444, #f59e0b, #ef4444);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradTextShift 4s linear infinite;
}
@keyframes gradTextShift {
  to { background-position: 200% center; }
}
.hero-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-banner-wrap { animation: floatY 5s ease-in-out infinite; }
.hero-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 90px -20px rgba(239,68,68,0.55);
}
.hero-banner img { width: 100%; display: block; }
.hero-banner-shine {
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(75deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-20deg);
  animation: shineSweep 5s ease-in-out infinite;
  animation-delay: 1.2s;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes shineSweep {
  0% { left: -60%; }
  35%, 100% { left: 130%; }
}

/* ---------- Hero background orbs ---------- */
/* Clipped to .hero's own box (inset:0 + overflow:hidden) so the orbs' negative
   offsets/blur can never widen the page's real scrollWidth -- same overflow class of bug
   as the old .hero-banner-glow div, fixed the same way: contain, don't just hide. */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-orb-1 {
  width: 320px; height: 320px;
  top: -60px; left: -40px;
  background: radial-gradient(circle, rgba(239,68,68,0.35), transparent 70%);
  animation: orbDrift 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 280px; height: 280px;
  top: 120px; right: -60px;
  background: radial-gradient(circle, rgba(99,102,241,0.3), transparent 70%);
  animation: orbDrift 14s ease-in-out infinite reverse;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.15); }
}

/* ---------- Entrance + scroll-reveal animation ---------- */
.anim-in {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp .8s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .anim-in, .reveal, .hero-banner-wrap, .hero-banner-shine, .hero-orb, .btn-pulse {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Stats ---------- */
.stats-section { margin: 20px auto 70px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 16px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(245,158,11,0.35); }
.stat-value {
  font-size: 34px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-value.stat-static {
  background: linear-gradient(135deg, var(--amber), #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
}
.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Sections ---------- */
.section { padding: 60px 20px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-size: 32px; font-weight: 900; margin: 0 0 10px; letter-spacing: -0.3px; }
.section-head p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.service-card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(239,68,68,0.4);
  background: #17171f;
  box-shadow: 0 16px 32px -18px rgba(239,68,68,0.35);
}
.service-card:hover .service-thumb img { transform: scale(1.12); }
.service-thumb {
  width: 52px; height: 52px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--card-border);
}
.service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.service-name { font-weight: 700; font-size: 15px; }
.service-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(239,68,68,0.35); }
.why-card:hover .why-icon { transform: scale(1.1) rotate(-4deg); }
.why-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(245,158,11,0.15));
  border: 1px solid rgba(239,68,68,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  transition: transform .25s ease;
  font-size: 19px;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 17px; margin: 0 0 8px; font-weight: 800; }
.why-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--amber));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 17px;
  margin-bottom: 18px;
  color: #0a0a0a;
}
.step-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.step-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Social ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease;
}
.social-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }
.social-card:hover .social-icon { transform: scale(1.12) rotate(6deg); }
.social-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 19px;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.social-name { font-weight: 700; font-size: 14.5px; }
.social-handle { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 30px 20px 90px; }
.final-cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(239,68,68,0.16), rgba(99,102,241,0.14));
  border: 1px solid rgba(239,68,68,0.25);
}
.final-cta-box h2, .final-cta-box p, .final-cta-box .btn { position: relative; z-index: 1; }
.final-cta-box h2 { font-size: 30px; font-weight: 900; margin: 0 0 10px; }
.final-cta-box p { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; }
.final-cta-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 40%, rgba(239,68,68,0.3), transparent 60%);
  filter: blur(50px);
  animation: orbDrift 10s ease-in-out infinite;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 34px 20px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { font-size: 18px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 12.5px; width: 100%; text-align: center; order: 3; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-banner { order: -1; max-width: 420px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .hero { padding: 40px 16px 20px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-value { font-size: 26px; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 26px; }
  .final-cta-box { padding: 40px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
