:root {
  --background: #ffffff;
  --foreground: #172033;
  --muted: #64748b;
  --muted-bg: #f4f8ff;
  --card: #ffffff;
  --border: #dce6f3;
  --primary: #1656b8;
  --primary-dark: #0b2f6f;
  --primary-light: #eaf3ff;
  --accent: #38a9ff;
  --shadow: 0 20px 50px rgba(22, 86, 184, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

body, button, input { -webkit-font-smoothing: antialiased; }

a { color: inherit; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 230, 243, 0.75);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand, .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 800;
  flex: 0 0 auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a, .nav-cta {
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

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

.nav-cta {
  background: var(--primary);
  color: white;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.nav-cta:hover { opacity: 0.9; }

.section { padding: 96px 0; }
.section-border { border-bottom: 1px solid var(--border); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: auto;
  z-index: -1;
  border-radius: 999px;
  filter: blur(10px);
}

.hero-glow-one {
  top: -160px;
  left: -120px;
  width: 760px;
  height: 500px;
  background: radial-gradient(circle, rgba(56,169,255,0.22), transparent 68%);
}

.hero-glow-two {
  top: -90px;
  right: -120px;
  width: 760px;
  height: 540px;
  background: radial-gradient(circle, rgba(22,86,184,0.2), transparent 68%);
}

.hero-content { max-width: 1120px; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: var(--muted-bg);
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 28px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 840px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

h3 {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}

.hero-text {
  max-width: 720px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  margin-bottom: 40px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 30px rgba(22, 86, 184, 0.2);
}

.button-outline {
  border: 1px solid var(--border);
  background: white;
}

.button-light {
  width: fit-content;
  background: white;
  color: var(--foreground);
}

.section-intro {
  max-width: 680px;
  margin-bottom: 64px;
}

.section-intro p:not(.section-label), .about-content, .service-card p, .project-card p {
  color: var(--muted);
}

.section-label {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--border);
  gap: 1px;
}

.service-card {
  background: var(--card);
  padding: 34px;
  min-height: 245px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-card:hover { background: #f8fbff; }

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  margin-bottom: 18px;
  color: var(--primary);
}

.icon-svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 0; font-size: 15px; }

.projects-section { background: var(--muted-bg); }

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

.project-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(22,86,184,0.12), rgba(56,169,255,0.11), white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(to right, rgba(220,230,243,0.95) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(220,230,243,0.95) 1px, transparent 1px);
  background-size: 32px 32px;
}

.project-preview span {
  position: relative;
  z-index: 1;
  color: rgba(22,86,184,0.38);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-align: center;
  padding: 0 20px;
}

.project-body { padding: 28px; }

.project-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.tag {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: white;
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
}

.about-content {
  font-size: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 32px;
}

.stats-grid strong {
  display: block;
  color: var(--foreground);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.stats-grid span {
  display: block;
  font-size: 14px;
}

.contact-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--primary);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 64px;
}

.contact-card p { color: rgba(255,255,255,0.72); }
.contact-label { color: var(--accent); }
.contact-details { display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.contact-details a:not(.button) { font-size: 22px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mini-label { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-content {
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand { color: var(--foreground); }
.footer-brand p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container, .navbar { width: min(100% - 32px, 1120px); }
  .section { padding: 72px 0; }
  .hero { padding: 88px 0 100px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 26px; }
  .stats-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-card { padding: 34px 24px; border-radius: 20px; }
  .footer-content { flex-direction: column; align-items: flex-start; }
}
.project-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}