* {
  box-sizing: border-box;
}

:root {
  --bg-dark: #07090f;
  --bg-darker: #03050a;
  --text: #111827;
  --muted: #6b7280;
  --white: #ffffff;
  --red: #e53935;
  --cyan: #00e5ff;
  --line: rgba(255,255,255,0.14);
  --shadow: 0 24px 80px rgba(0,0,0,0.3);
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  background: rgba(3,5,10,0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: block;
  width: 220px;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
}

.menu a:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #ff6b57);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(229,57,53,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(229,57,53,0.35);
}

.btn-small {
  min-height: 38px;
  padding: 0 18px;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 82px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 30%, rgba(0,229,255,0.22), transparent 28%),
    radial-gradient(circle at 20% 70%, rgba(229,57,53,0.22), transparent 26%),
    linear-gradient(135deg, #03050a 0%, #08111f 52%, #03050a 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(120deg, transparent 0 35%, rgba(0,229,255,0.2) 36%, transparent 37%),
    linear-gradient(145deg, transparent 0 45%, rgba(229,57,53,0.2) 46%, transparent 47%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.hero-logo {
  width: min(420px, 88vw);
  margin: 22px 0 30px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 24px 70px rgba(0,0,0,0.36);
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 840px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(3rem, 7.6vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
}

.hero-text {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.panel-line {
  width: 70px;
  height: 4px;
  margin-bottom: 26px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
}

.hero-panel h2 {
  font-size: 1.75rem;
  line-height: 1.12;
}

.hero-panel p {
  margin: 18px 0 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.section {
  padding: 110px 0;
}

.section-light {
  background: #f7f7f8;
}

.section-dark {
  background:
    radial-gradient(circle at 85% 0%, rgba(0,229,255,0.10), transparent 28%),
    linear-gradient(180deg, #07090f, #03050a);
  color: var(--white);
}

.split,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

h2 {
  margin-top: 12px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.copy p,
.lead,
.section-heading p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.section-dark .section-heading p,
.section-dark .lead,
.section-dark .feature-item p {
  color: rgba(255,255,255,0.68);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

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

.card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.055);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(0,229,255,0.08);
}

.card-number {
  display: block;
  margin-bottom: 38px;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
}

.card h3,
.feature-item h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p,
.feature-item p {
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-item {
  padding: 28px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid rgba(17,24,39,0.08);
  box-shadow: 0 18px 54px rgba(17,24,39,0.07);
}

.section-dark .feature-item {
  background: rgba(255,255,255,0.06);
  border-color: var(--line);
  box-shadow: none;
}

.feature-item p {
  color: var(--muted);
}

.section-accent {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pill-grid span {
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(17,24,39,0.08);
  font-weight: 800;
}

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

.logo-card {
  min-height: 132px;
  padding: 22px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  filter: grayscale(1);
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 72px rgba(0,0,0,0.26);
  filter: grayscale(0);
}

.logo-card img {
  max-width: 100%;
  max-height: 84px;
  object-fit: contain;
}

.legal-note {
  margin-top: 18px;
  color: rgba(255,255,255,0.5);
  font-size: 0.86rem;
}

.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(229,57,53,0.18), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(0,229,255,0.16), transparent 28%),
    #07090f;
}

.contact-card {
  padding: 36px;
  border-radius: 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card p {
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

.contact-card a:not(.btn) {
  color: var(--cyan);
}

.site-footer {
  padding: 28px 0;
  background: var(--bg-darker);
  color: rgba(255,255,255,0.55);
  border-top: 1px solid var(--line);
}

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

@media (max-width: 980px) {
  .menu {
    display: none;
  }

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

  .cards,
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 140px 0 80px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 78px 0;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .brand-logo {
    width: 178px;
  }

  .hero-logo {
    width: 100%;
  }
}


/* Improved client logo rendering */
.logo-card {
  overflow: hidden;
}

.logo-card img {
  mix-blend-mode: multiply;
  image-rendering: auto;
  padding: 6px;
}


/* v4 navbar logo system */
.brand-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35));
}

.brand-divider {
  width: 1px;
  height: 44px;
  background: var(--red);
  opacity: 0.95;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-wordmark strong {
  color: #fff;
  font-size: 1.46rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
}

.brand-wordmark strong span {
  color: var(--red);
}

.brand-wordmark em {
  margin-top: 7px;
  color: rgba(255,255,255,0.58);
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .brand-icon {
    width: 48px;
    height: 48px;
  }

  .brand-divider,
  .brand-wordmark em {
    display: none;
  }

  .brand-wordmark strong {
    font-size: 1.22rem;
  }
}


/* v5: refined premium navbar, matching the concept mockup */
.site-header {
  background:
    linear-gradient(90deg, rgba(239,43,45,.10), transparent 28%),
    rgba(3,5,10,0.84);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}

.nav {
  height: 86px;
}

.brand-nav {
  min-width: 360px;
  gap: 16px;
}

.brand-icon {
  width: 66px;
  height: 66px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,0.44));
}

.brand-divider {
  width: 1px;
  height: 52px;
  background: var(--red);
}

.brand-wordmark strong {
  font-size: 1.58rem;
  color: #fff;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.055em;
  text-shadow: 0 8px 20px rgba(0,0,0,.35);
}

.brand-wordmark strong span {
  color: var(--red);
}

.brand-wordmark em {
  margin-top: 8px;
  font-size: .66rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.62);
}

.menu {
  gap: 24px;
  font-weight: 700;
}

.menu .btn-small {
  border: 1px solid var(--red);
  background: transparent;
  box-shadow: none;
}

.hero-logo {
  width: min(420px, 88vw);
  margin: 22px 0 30px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 42px rgba(0,0,0,.35));
}

@media (max-width: 980px) {
  .brand-nav {
    min-width: auto;
  }
}

@media (max-width: 640px) {
  .brand-icon {
    width: 52px;
    height: 52px;
  }

  .brand-divider {
    display: none;
  }

  .brand-wordmark strong {
    font-size: 1.24rem;
  }
}
