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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray: #6b7280;
  --light: #f8fafc;
  --accent: #1d4ed8;
  --accent-light: #eff6ff;
  --accent-dark: #1e3a8a;
  --border: #e5e7eb;
  --border-dark: #2a2a2a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.logo-dot { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
  position: relative;
}

nav ul a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
  border-radius: 2px;
}

nav ul a:not(.nav-cta):hover::after,
nav ul a.active::after { transform: scaleX(1); }

nav ul a:hover { color: var(--black); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0;
  z-index: 190;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 6% 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.mobile-menu a:last-child { border-bottom: none; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 6% 5rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(29,78,216,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(29,78,216,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(29,78,216,0.15);
}

.hero-tag svg { width: 12px; height: 12px; }

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 1.3rem;
}

h1 .accent-word { color: var(--accent); }

.hero p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 500px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(2px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(29,78,216,0.25);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 20px rgba(29,78,216,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--black);
  background: var(--white);
}

.btn-outline:hover {
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.trust-bar {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-bar span {
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 500;
}

.trust-badges {
  display: flex;
  gap: 0.6rem;
}

.trust-badge {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
}

/* ── SERVICES ───────────────────────────────────── */
.services {
  padding: 6rem 6%;
  background: var(--light);
  position: relative;
}

.section-header { margin-bottom: 3rem; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.section-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  border-radius: 12px 12px 0 0;
}

.card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.09); transform: translateY(-3px); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--accent);
}

.card-icon svg { width: 20px; height: 20px; }

.card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ── ABOUT ──────────────────────────────────────── */
.about {
  padding: 6rem 6%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-sub { max-width: 100%; margin-bottom: 0; }

.about-text p {
  color: var(--gray);
  font-size: 0.975rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-text p:last-of-type { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.3rem 1.4rem;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-card span {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

.about-visual {
  position: relative;
}

.visual-card {
  background: var(--black);
  border-radius: 16px;
  padding: 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(29,78,216,0.4), transparent 70%);
  border-radius: 50%;
}

.visual-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%);
  border-radius: 50%;
}

.vc-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 1.5rem;
}

.vc-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

.vc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.vc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  flex-shrink: 0;
}

.vc-dot.blue { background: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.2); }
.vc-dot.amber { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,0.2); }

.vc-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.vc-item .vc-tag {
  margin-left: auto;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

/* ── CONTACT ────────────────────────────────────── */
.contact {
  padding: 6rem 6%;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29,78,216,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact .section-label { color: #60a5fa; }
.contact .section-title { color: var(--white); }
.contact .section-sub { color: #6b7280; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 2.8rem;
  position: relative;
  z-index: 1;
}

.contact-item {
  background: #111111;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  transition: border-color 0.2s, background 0.2s;
}

.contact-item:hover {
  border-color: rgba(29,78,216,0.4);
  background: #161616;
}

.contact-item .ci-icon {
  width: 32px;
  height: 32px;
  background: rgba(29,78,216,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  color: #60a5fa;
}

.contact-item .ci-icon svg { width: 15px; height: 15px; }

.contact-item .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5563;
  margin-bottom: 0.35rem;
}

.contact-item a,
.contact-item p {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
}

.contact-item a:hover { color: #93c5fd; }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  padding: 1.4rem 6%;
  background: #050505;
  border-top: 1px solid #141414;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer p, footer a {
  font-size: 0.8rem;
  color: #374151;
  text-decoration: none;
}

footer a:hover { color: #6b7280; }

/* ── ANIMATIONS ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual { display: none; }
}

@media (max-width: 640px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 7rem 6% 4rem; }
  h1 { font-size: 2rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
}
