:root {
  --bg: #08111b;
  --bg-2: #0e1a29;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ecf3ff;
  --muted: #a8b6cb;
  --dark: #0c1523;
  --primary: #77c9ff;
  --primary-2: #d7f2ff;
  --white: #fff;
  --radius: 28px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(119, 201, 255, 0.16), transparent 28%),
    radial-gradient(circle at right top, rgba(215, 242, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #08111b 0%, #0a1420 40%, #0f1b2b 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
iframe { border: 0; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.site-wrap { overflow: clip; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 27, 0.74);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.brand-logo { width: 52px; height: 52px; }
.brand strong,
.footer-brand strong { display: block; font-size: 1rem; }
.brand span,
.footer-brand span { display: block; color: var(--muted); font-size: 0.88rem; }
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-weight: 500;
}
.nav a:hover { color: var(--white); }
.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.btn {
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #07111b;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 40px rgba(119, 201, 255, 0.28);
}
.btn-secondary,
.btn-soft {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.btn-soft.dark {
  color: var(--dark);
  background: rgba(12,21,35,0.06);
  border-color: rgba(12,21,35,0.14);
}

.hero {
  position: relative;
  padding: 4.7rem 0 3.3rem;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent),
    url('circuit-pattern.svg') center/cover no-repeat;
  opacity: 0.32;
  pointer-events: none;
}
.hero-grid,
.about-grid,
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}
.hero h1,
.section h2,
.split-head h2,
.contact-copy h2,
.cta-panel h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.3rem); max-width: 11ch; }
.lead,
.section-head p,
.split-head p,
.about-copy p,
.contact-copy p,
.cta-panel p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.03rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0;
}
.hero-points span,
.feature-list div {
  padding: 0.82rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}
.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.9rem;
}
.trust-band > div,
.contact-card,
.service-card,
.stack-card,
.proof-grid > div {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  border-radius: 22px;
}
.trust-band > div {
  padding: 1rem 1.1rem;
}
.trust-band strong,
.proof-grid strong,
.contact-card strong { display: block; margin-bottom: 0.3rem; font-size: 1.12rem; }
.trust-band span,
.proof-grid span,
.contact-card span { color: var(--muted); }

.hero-media {
  position: relative;
  min-height: 600px;
}
.hero-card {
  position: absolute;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-main {
  inset: 0 4.5rem 6rem 0;
  border-radius: 34px;
}
.hero-note {
  right: 0;
  bottom: 1rem;
  width: min(320px, 78%);
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(9, 19, 31, 0.92);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-note p { margin: 0; line-height: 1.7; color: #dbe9ff; }
.hero-small {
  width: 200px;
  height: 220px;
  top: 2rem;
  right: 0;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.1);
}

.proof-strip { padding-bottom: 1rem; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.proof-grid > div { padding: 1.3rem; }

.section { padding: 5.5rem 0; }
.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-block: 1px solid rgba(255,255,255,0.06);
}
.section-head { max-width: 860px; margin-bottom: 2rem; }
.section-head h2,
.split-head h2,
.about-copy h2,
.contact-copy h2,
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3.6rem); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card { overflow: hidden; }
.card-image { aspect-ratio: 1.1 / 0.8; overflow: hidden; }
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .card-image img,
.gallery-item:hover img,
.stack-card.image-card:hover img,
.hero-main:hover img,
.hero-small:hover img { transform: scale(1.05); }
.card-copy { padding: 1.4rem; }
.card-copy h3 { margin: 0 0 0.8rem; font-size: 1.35rem; }
.card-copy p { margin: 0; color: var(--muted); line-height: 1.75; }

.split-head {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
  grid-auto-rows: 220px;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
}
.gallery-item.large { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.about-grid { align-items: stretch; }
.about-copy { align-self: center; }
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.feature-list div::before {
  content: '•';
  color: var(--primary);
  margin-right: 0.55rem;
}
.about-stack {
  display: grid;
  gap: 1rem;
}
.stack-card { overflow: hidden; }
.stack-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.stack-card.tall { min-height: 380px; border-radius: 32px; }
.stack-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
}
.stat-card {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(119,201,255,0.16), rgba(255,255,255,0.05));
}
.stat-card strong { font-size: clamp(2rem, 5vw, 3.4rem); display: block; }
.stat-card span { color: var(--muted); max-width: 12ch; line-height: 1.5; }
.image-card { border-radius: 28px; min-height: 190px; }

.cta-section { padding-top: 1rem; }
.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: 32px;
  color: var(--dark);
  background: linear-gradient(135deg, #eff8ff 0%, #dff1ff 100%);
  box-shadow: var(--shadow);
}
.cta-panel p { color: rgba(12, 21, 35, 0.72); }

.contact-grid { align-items: start; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-card { padding: 1.25rem; }
.contact-card a { color: var(--text); }
.map-frame {
  margin-top: 1.4rem;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  min-height: 380px;
}
.map-frame iframe { width: 100%; height: 380px; }
.contact-form {
  padding: 1.6rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
}
.contact-form h3 { margin-top: 0; font-size: 1.5rem; }
.contact-form label {
  display: block;
  font-size: 0.95rem;
  color: #dbe7ff;
  margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(8,16,28,0.55);
  color: var(--text);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
}
.form-note { color: var(--muted); font-size: 0.88rem; }

.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.9fr;
  gap: 2rem;
}
.footer h3 { margin-top: 0; font-size: 1rem; }
.footer p,
.footer span,
.footer a { display: block; color: var(--muted); line-height: 1.8; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .service-grid,
  .proof-grid,
  .footer-grid,
  .split-head,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: 500px; }
  .hero-main { inset: 0 3.5rem 5rem 0; }
  .gallery-grid { grid-auto-rows: 260px; }
  .gallery-item.large,
  .gallery-item.wide { grid-row: span 1; grid-column: span 1; }
}

@media (max-width: 760px) {
  .topbar-inner { flex-wrap: wrap; padding: 0.8rem 0; }
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1; }
  .hero { padding-top: 3rem; }
  .hero h1 { max-width: none; }
  .hero-media { min-height: 380px; }
  .hero-main { inset: 0 0 5rem 0; }
  .hero-small { display: none; }
  .hero-note { left: 1rem; right: 1rem; width: auto; }
  .trust-band,
  .contact-cards,
  .feature-list,
  .stack-row { grid-template-columns: 1fr; }
  .cta-panel { padding: 1.5rem; }
}
