* {
  box-sizing: border-box;
}

:root {
  --bg: #08111f;
  --bg-2: #0d1828;
  --panel: #111f32;
  --text: #eaf0f7;
  --muted: #9fb0c3;
  --accent: #4ea1ff;
  --accent-2: #7ec2ff;
  --line: rgba(255, 255, 255, 0.10);

  --light-bg: #dfe6ee;
  --light-text: #182333;
  --light-muted: #536274;

  --card-bg: #edf2f7;
  --card-border: #cbd5df;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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


/* =========================
   HEADER / LOGO BANNER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #08111f;
}

.brand-banner {
  background: #08111f;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-banner-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.banner-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 390px;
  max-height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}

.banner-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.banner-copy strong {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.banner-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}


/* =========================
   NAVIGATION
   ========================= */

.nav-bar {
  position: relative;
  background: rgba(8, 17, 31, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-left {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #d4deea;
  font-weight: 600;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}


/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #398fe8;
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}


/* =========================
   HERO
   ========================= */

.hero {
  padding: 92px 0 86px;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 20%, rgba(78, 161, 255, 0.16), transparent 30%),
    radial-gradient(circle at 15% 20%, rgba(82, 92, 255, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.14rem;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: #c0cede;
  font-size: 0.92rem;
}

.hero-points span::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}


/* =========================
   CODE / TERMINAL CARD
   ========================= */

.hero-card {
  background: rgba(17, 31, 50, 0.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #607086;
}

.hero-card pre {
  margin: 0;
  padding: 28px;
  overflow: auto;
  color: #cfe6ff;
  font-size: 0.93rem;
}

.hero-card code {
  font-family: Consolas, "Courier New", monospace;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.metric-grid div {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  font-size: 1.15rem;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}


/* =========================
   GENERAL SECTIONS
   ========================= */

.section {
  padding: 90px 0;
  background: var(--light-bg);
}

.services-section {
  background:
    linear-gradient(
      180deg,
      #b9c6d3 0%,
      var(--light-bg) 135px
    );
}

.section-intro {
  max-width: 760px;
  color: var(--light-muted);
  margin-bottom: 38px;
}


/* =========================
   SERVICE CARDS
   ========================= */

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(25, 40, 60, 0.06);
}

.card h3 {
  margin-bottom: 14px;
}

.card p,
.card li {
  color: var(--light-muted);
}

.card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.card li + li {
  margin-top: 5px;
}


/* =========================
   DARK CAPABILITIES SECTION
   ========================= */

.section-dark {
  background: var(--bg-2);
  color: var(--text);
}

.section-dark p {
  color: var(--muted);
}

.split,
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capability-list div {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.capability-list span {
  color: var(--accent);
  font-weight: 800;
}

.capability-list strong {
  font-weight: 700;
}


/* =========================
   ABOUT
   ========================= */

.about-grid p {
  color: var(--light-muted);
  margin-top: 0;
}


/* =========================
   CONTACT
   ========================= */

.contact-section {
  padding-top: 30px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--bg);
  color: var(--text);
  border-radius: 20px;
  padding: 46px;
}

.contact-card p {
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-note {
  margin: 0;
  font-size: 0.82rem;
}


/* =========================
   FOOTER
   ========================= */

footer {
  background: #050b13;
  color: #93a3b8;
  padding: 26px 0;
  font-size: 0.88rem;
}

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


/* =========================
   TABLET
   ========================= */

@media (max-width: 1000px) {

  .banner-logo {
    max-width: 340px;
    max-height: 80px;
  }

  .banner-copy strong {
    font-size: 1.1rem;
  }

  .banner-copy span {
    font-size: 0.74rem;
  }

  .nav {
    gap: 20px;
  }
}


@media (max-width: 900px) {

  .hero-grid,
  .split,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .brand-banner-inner {
    min-height: 78px;
  }

  .banner-logo {
    max-width: 315px;
    max-height: 72px;
  }

  .banner-copy {
    display: none;
  }

  .nav-wrap {
    min-height: 62px;
    justify-content: flex-end;
  }

  .nav-left {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    background: #0a1422;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 620px) {

  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand-banner {
    padding: 6px 0;
  }

  .brand-banner-inner {
    min-height: 64px;
  }

  .banner-logo {
    max-width: 250px;
    max-height: 58px;
  }

  .hero {
    padding: 72px 0 62px;
  }

  .hero-grid {
    gap: 40px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .section {
    padding: 68px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card {
    padding: 30px 22px;
  }

  .footer-wrap {
    flex-direction: column;
  }
}


/* =========================
   VERY SMALL SCREENS
   ========================= */

@media (max-width: 420px) {

  .banner-logo {
    max-width: 215px;
    max-height: 52px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-card pre {
    padding: 22px;
    font-size: 0.82rem;
  }
}
