/* ── Reset & Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:        #0f172a;
  --dark-soft:   #1e293b;
  --indigo:      #6366f1;
  --indigo-dark: #4f46e5;
  --indigo-glow: rgba(99,102,241,0.12);
  --text:        #334155;
  --text-light:  #64748b;
  --bg-light:    #f8fafc;
  --border:      #e2e8f0;
  --white:       #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────────────── */
h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
p  { line-height: 1.7; }

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-glow);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── Layout ─────────────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--light { background: var(--bg-light); }
.section--dark  { background: var(--dark); color: var(--white); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--indigo { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.btn--indigo:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn--outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }
.btn--outline-dark { background: transparent; color: var(--dark); border-color: var(--border); }
.btn--outline-dark:hover { border-color: var(--indigo); color: var(--indigo); }

/* ── Header / Nav ───────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.header-logo { display: flex; align-items: center; gap: 10px; }
.header-logo-mark {
  width: 36px; height: 36px;
  background: var(--indigo);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
  flex-shrink: 0;
}
.header-logo-name { font-weight: 700; font-size: 15px; color: var(--white); letter-spacing: -.01em; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); transition: color .2s; white-space: nowrap; }
.header-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { position: relative; z-index: 1; }
.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero-logo img { width: 200%; height: auto; flex-shrink: 0; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--indigo); }
.hero-intro { font-size: 19px; color: rgba(255,255,255,0.72); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}
.stat-value { font-size: 32px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; }

/* ── Section headers ────────────────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--text-light); max-width: 540px; }

/* ── Services ───────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
a.service-card { display: block; text-decoration: none; color: inherit; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover {
  border-color: var(--indigo);
  box-shadow: 0 8px 32px rgba(99,102,241,0.1);
  transform: translateY(-3px);
}
.service-card.featured {
  background: var(--dark);
  border-color: var(--dark);
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p  { color: rgba(255,255,255,0.65); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--indigo-glow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-card.featured .service-icon { background: rgba(99,102,241,0.2); }
.service-card h3 { margin-bottom: 10px; color: var(--dark); }
.service-card p  { font-size: 15px; color: var(--text-light); }

/* ── Work / Portfolio ───────────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow .2s, transform .2s;
}
.work-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.work-card-header {
  height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
}
.work-card-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.55));
}
.work-card-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  max-height: 100px;
  max-width: 80%;
  object-fit: contain;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  padding: 8px 14px;
  border-radius: 8px;
}
.work-card-url {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: .03em;
  position: relative;
  z-index: 1;
}
.work-card-body { padding: 24px; }
.work-card-industry {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--indigo);
  margin-bottom: 8px;
}
.work-card-body h3 { margin-bottom: 10px; color: var(--dark); font-size: 17px; }
.work-card-body p  { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border);
}
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  margin-top: 14px;
}
.work-link:hover { gap: 10px; }

/* ── Approach ───────────────────────────────────────────────────────── */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.approach-text h2 { color: var(--white); margin-bottom: 20px; }
.approach-text p  { color: rgba(255,255,255,0.65); margin-bottom: 0; font-size: 17px; line-height: 1.8; }
.approach-list { display: flex; flex-direction: column; gap: 14px; }
.approach-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
  transition: border-color .2s;
}
.approach-item:hover { border-color: rgba(99,102,241,0.4); }
.approach-item-icon {
  width: 40px; height: 40px;
  background: rgba(99,102,241,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.approach-item-text strong { display: block; color: var(--white); font-size: 15px; margin-bottom: 4px; }
.approach-item-text span  { font-size: 14px; color: rgba(255,255,255,0.5); }

/* ── CTA / Contact ──────────────────────────────────────────────────── */
.cta-section { padding: 96px 0; text-align: center; }
.cta-section h2 { margin-bottom: 16px; color: var(--dark); }
.cta-section p  { font-size: 18px; color: var(--text-light); max-width: 500px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--indigo);
}
.cta-email:hover { text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); padding: 40px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }

/* ── Mobile nav ─────────────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; font-weight: 700; color: var(--white); }
.mobile-nav-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: #fff; font-size: 28px; cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-logo { order: -1; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .services-grid, .work-grid { grid-template-columns: 1fr; }
  .header-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
}
