:root {
  --bg: #090e1a;
  --bg2: #0d1424;
  --panel: #111c30;
  --panel-hover: #162240;
  --text: #e8edf8;
  --text2: #94a3c0;
  --muted: #6b7a96;
  --line: #1e2d48;
  --accent: #3b82f6;
  --accent-2: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #60a5fa; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 14, 26, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 8px;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
}

.logo-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
}

.btn-nav:hover { background: var(--accent-2); color: #fff !important; }

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  max-width: 640px;
  font-size: 1.15rem;
  color: var(--text2);
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 12px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---- TRUSTED STRIP ---- */
.trusted-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: var(--bg2);
}

.trusted-strip .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.trusted-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  white-space: nowrap;
}

.trusted-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.trusted-logos span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 0;
}

.section.alt {
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
}

.section-sub {
  max-width: 600px;
  color: var(--text2);
  margin-top: 12px;
  font-size: 1.05rem;
}

/* ---- GRIDS ---- */
.grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ---- SERVICE CARDS ---- */
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-tags {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.service-tags li {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- PROCESS STEPS ---- */
.process-step {
  padding: 24px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.step-number {
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text2);
  font-size: 13px;
  line-height: 1.6;
}

/* ---- WORK CARDS ---- */
.work-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.2s;
}

.work-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.work-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 14px;
}

.work-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.work-card p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.work-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.work-tech span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.work-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* ---- ABOUT ---- */
.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.details > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

dd {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 15px;
}

/* ---- CTA ---- */
.cta-section {
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--panel), rgba(59, 130, 246, 0.08));
  border: 1px solid var(--line);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.cta-inner p {
  color: var(--text2);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  position: relative;
}

.cta-inner .btn {
  position: relative;
}

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text2);
}

.footer-nav a:hover { color: var(--text); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .grid.three, .grid.four, .grid.two { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .trusted-strip .container { flex-direction: column; gap: 12px; }
  .trusted-logos { justify-content: center; }
  h1 { letter-spacing: -0.8px; }
}
