:root {
  --bg: #07111f;
  --surface: #0c1b30;
  --surface-2: #122744;
  --line: rgba(255,255,255,0.08);
  --text: #e8eef9;
  --muted: #a6b6d0;
  --primary: #0f4dbf;
  --primary-2: #133f95;
  --accent: #ffcc32;
  --accent-2: #ffb100;
  --white: #ffffff;
  --container: min(1180px, calc(100% - 40px));
  --shadow: 0 30px 80px rgba(0,0,0,0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(15,77,191,0.18), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(255,177,0,0.08), transparent 28%),
    linear-gradient(180deg, #091321 0%, #07111f 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1,h2,h3,h4 { margin: 0 0 1rem; font-family: 'Barlow', sans-serif; line-height: 1.02; letter-spacing: -0.02em; }
h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.5rem; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 90px 0; position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}
.eyebrow.light { color: #ffd873; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading.center { text-align: center; margin-inline: auto; margin-bottom: 44px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}
.btn-primary {
  color: #07111f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 40px rgba(255, 177, 0, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
}
.btn-block { width: 100%; border: 0; cursor: pointer; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7,17,31,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), #f3a700);
  color: #06101d; font-family: 'Barlow', sans-serif; font-weight: 800;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.2rem; }
.brand-text small { color: var(--muted); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.16em; }
.nav { display: flex; gap: 26px; }
.nav a { color: #cad6ea; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 0; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 70px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,17,31,0.86) 0%, rgba(7,17,31,0.55) 45%, rgba(7,17,31,0.2) 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
}
.hero-text { max-width: 680px; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 16px; margin: 28px 0 34px; flex-wrap: wrap; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 760px;
}
.hero-metrics article {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-metrics strong { display: block; font-size: 1.65rem; color: var(--white); font-family: 'Barlow', sans-serif; }
.hero-metrics span { color: var(--muted); font-size: 0.92rem; }
.hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0d1930;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
}
.hero-card img { width: 100%; height: 620px; object-fit: cover; }
.hero-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,9,16,0.05) 0%, rgba(4,9,16,0.75) 100%);
}
.hero-card-content {
  position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 1;
}
.hero-card-content span { display: inline-block; padding: 8px 12px; border-radius: 999px; background: rgba(255,204,50,0.18); color: #ffe18c; margin-bottom: 12px; font-weight: 600; }
.hero-card-content strong { display: block; font-size: 1.5rem; font-family: 'Barlow', sans-serif; }

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 22px 0;
}
.trust-grid span {
  color: #dce6f7;
  font-weight: 600;
  text-align: center;
}

.about-grid,
.products-grid,
.certifications-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.feature-list { display: grid; gap: 18px; margin-top: 28px; }
.feature-list > div, .text-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.feature-list.compact > div { padding: 20px; }
.feature-list strong, .text-card h3 { color: var(--white); display: block; margin-bottom: 8px; }
.stack-cards { position: relative; min-height: 600px; }
.stack-cards img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}
.card-large { width: 100%; max-width: 560px; }
.card-small {
  position: absolute;
  right: -8px;
  bottom: 24px;
  width: 58%;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 28px;
  min-height: 250px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
}
.service-card::before {
  content: '';
  position: absolute; left: 0; top: 0; right: 0; height: 4px;
}
.accent-blue::before { background: linear-gradient(90deg, #1d6eff, #60a7ff); }
.accent-yellow::before { background: linear-gradient(90deg, #ffcc32, #ff9f0a); }
.service-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: rgba(255,255,255,0.05); margin-bottom: 18px;
  color: var(--white); font-weight: 700;
}
.service-card h3 { margin-bottom: 12px; }

.framed-image {
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.framed-image img { border-radius: 20px; width: 100%; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li {
  padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}

.capability-band {
  background: linear-gradient(135deg, #0c3a8c 0%, #09255c 100%);
  border-block: 1px solid rgba(255,255,255,0.08);
}
.capability-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}
.capability-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.capability-points article {
  padding: 20px; border-radius: 18px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
}
.capability-points strong { display: block; margin-bottom: 8px; }
.capability-points p { color: #d4def0; }

.projects-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr;
  gap: 20px;
}
.project-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.project-featured img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.project-content { padding: 24px; }
.project-content span, .text-card span {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.text-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 500px; }
.text-card p { margin-bottom: 0; }
.soft-surface { background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04)); }

.contact {
  padding-bottom: 110px;
}
.contact-form {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  color: var(--white);
  padding: 16px 18px;
  font: inherit;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #95a6c6; }
.contact-points p { margin-bottom: 10px; color: #d5e1f3; }

.footer {
  background: #040b15;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr;
  gap: 30px;
  padding: 56px 0 34px;
}
.footer h3 { font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a, .footer li { color: #a8b6cf; }
.footer a:hover { color: var(--white); }
.footer-brand { margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
}
.footer-bottom p { margin: 0; font-size: 0.92rem; }

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .products-grid,
  .certifications-grid,
  .contact-grid,
  .capability-grid,
  .projects-grid,
  .service-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid .project-featured { grid-column: span 2; }
  .capability-points { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .topbar-inner { flex-wrap: wrap; padding: 16px 0; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 14px;
    padding-top: 10px;
  }
  .nav.open { display: flex; }
  .header-cta { display: none; }
  .hero-grid,
  .about-grid,
  .products-grid,
  .certifications-grid,
  .contact-grid,
  .service-grid,
  .footer-grid,
  .projects-grid,
  .capability-grid,
  .trust-grid,
  .hero-metrics,
  .form-row { grid-template-columns: 1fr; }
  .stack-cards { min-height: auto; }
  .card-small { position: static; width: 100%; margin-top: 18px; }
  .hero-card img { height: 420px; }
  .project-featured img, .text-card { min-height: auto; }
}
