:root {
  --bg: #0b0f14;
  --bg-alt: #10151c;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.14);
  --accent: #a78bfa;
  --accent-2: #22d3ee;
  --success: #10b981;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Fira Code", monospace;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: 3px 3px;
}

main, .nav, .site-footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }

.accent { color: var(--accent); }
.success { color: var(--success); }
.primary { color: var(--accent-2); }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-mono);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  margin-left: auto;
  color: var(--bg);
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.nav-cta:hover { opacity: 0.85; }

/* HERO */
.hero { padding-top: 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 14px;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  flex-shrink: 0;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 450;
  max-width: 46ch;
  margin: 0 0 32px;
}

.trust-row { margin-bottom: 36px; }
.trust-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
}
.trust-badges a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.trust-badges a:hover { color: var(--accent); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #0b0f14; box-shadow: 0 8px 24px -8px rgba(167, 139, 250, 0.55); }
.btn-primary:hover { opacity: 0.92; box-shadow: 0 10px 28px -8px rgba(167, 139, 250, 0.7); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(167, 139, 250, 0.06); }
.btn-inline { margin-top: 18px; }
.btn-block { width: 100%; justify-content: center; }

.hero-photo-wrap { position: relative; }
.hero-glow {
  position: absolute;
  inset: -14%;
  background: conic-gradient(from 180deg at 50% 50%, var(--accent), transparent 20%, var(--accent-2), transparent 60%);
  filter: blur(60px);
  opacity: 0.18;
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  border: 1px solid var(--border);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}

/* SECTION HEAD */
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* CARDS / GRID */
.proof-section { background: var(--bg); }
.services-section { background: var(--bg-alt); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.6);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 21px; height: 21px; }
.icon-primary { background: rgba(167, 139, 250, 0.12); color: var(--accent); }
.icon-success { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.icon-accent { background: rgba(34, 211, 238, 0.12); color: var(--accent-2); }

.card-stat { font-size: 2.2rem; font-weight: 800; margin: 0 0 6px; }
.card-text { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }

.media-mention {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}
.media-mention svg { flex-shrink: 0; color: var(--muted); }
.media-mention p { margin: 0; }
.media-mention a { color: var(--muted); }
.media-mention a:hover { color: var(--accent); }

.stack-note {
  margin-top: 44px;
  text-align: center;
}
.stack-note p { color: var(--muted); margin: 0; }

/* EXPERIENCE TIMELINE */
.experience-section { background: var(--bg); }
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.timeline-top h3 { margin: 0; font-size: 1.08rem; }
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}
.timeline-company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 10px;
}

/* CASE STUDIES */
.case-card {
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.6);
}
.case-card .card-icon svg { width: 21px; height: 21px; }
.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.case-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}
.case-card h3 { margin: 0 0 16px; font-size: 1.1rem; }
.case-body { margin: 0 0 18px; }
.case-body dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-top: 12px;
}
.case-body dt:first-child { margin-top: 0; }
.case-body dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 0.92rem;
}
.case-link {
  margin-top: auto;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.case-link:hover { opacity: 0.8; }

.related-media {
  margin-top: 48px;
  text-align: center;
}
.related-media h3 { font-size: 1.1rem; margin: 0 0 16px; }
.media-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.media-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.media-links a:hover { color: var(--accent); }

/* ABOUT */
.about-section { background: var(--bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-grid h2 { font-size: 2rem; margin: 0 0 16px; }
.awards-title { margin: 32px 0 12px; font-size: 1.1rem; }
.awards-list { color: var(--muted); padding-left: 20px; margin: 0; }
.awards-list li { margin-bottom: 8px; }
.resume-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.resume-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.6);
}
.resume-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(167, 139, 250, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resume-card-icon svg { width: 22px; height: 22px; }
.resume-card-text { flex: 1; min-width: 0; }
.resume-card-title { margin: 0 0 2px; font-weight: 700; font-size: 1.02rem; }
.resume-card-sub { margin: 0; color: var(--muted); font-size: 0.85rem; }
.resume-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* CONTACT */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.9rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field textarea { resize: vertical; }

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* SCROLL ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { max-width: 320px; margin: 0 auto; order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 64px 0; }
}
