:root {
  --ink: #061019;
  --ink-2: #0a1118;
  --panel: #101d29;
  --paper: #f4f8fb;
  --white: #ffffff;
  --muted: #506477;
  --muted-dark: #b8c8d6;
  --line: #d6e2eb;
  --line-dark: #2a3a47;
  --cyan: #89d8ff;
  --blue: #2f83ff;
  --accent: #1199c2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site {
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 92px;
}

.container,
.section,
.metric-band,
.footer {
  width: calc(100% - 48px);
  max-width: 1280px;
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 92px;
  width: calc(100% - 48px);
  max-width: 1280px;
  margin: 0 auto;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0 calc((1280px - 100vw) / 2);
  z-index: -1;
  height: 92px;
  border-bottom: 1px solid rgba(42, 58, 71, .76);
  background: rgba(6, 16, 25, .92);
  backdrop-filter: blur(18px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}

.logo-wordmark {
  display: block;
  width: 318px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #d8e9f4;
  font-size: 14px;
  font-weight: 750;
}

.desktop-nav a {
  opacity: .82;
  transition: opacity .18s ease, color .18s ease;
}

.desktop-nav a:hover {
  color: var(--cyan);
  opacity: 1;
}

.topbar-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.topbar-cta,
.button.primary {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
}

.button.secondary {
  color: var(--white);
  border-color: var(--line-dark);
  background: rgba(13, 27, 37, .88);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,16,25,1) 0%, rgba(6,16,25,.94) 34%, rgba(6,16,25,.68) 58%, rgba(6,16,25,.20) 82%),
    url("/public/assets/innolink-home-bg.jpg") center right / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,16,25,.10), rgba(6,16,25,.68)),
    radial-gradient(circle at 72% 32%, rgba(137,216,255,.08), transparent 32%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 720px) 390px;
  gap: 120px;
  align-items: end;
  min-height: 728px;
  padding: 104px 0 84px;
}

.hero-copy {
  align-self: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(58px, 7vw, 104px);
  line-height: .91;
  letter-spacing: -.064em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: .96;
  letter-spacing: -.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.hero-copy > p:not(.eyebrow),
.page-hero p {
  max-width: 650px;
  color: #d8e9f4;
  font-size: 21px;
  line-height: 1.65;
}

.body-copy p,
.section p,
.service-card p,
.security-card p,
.industry-grid p,
.timeline p,
.guide-grid p,
.legal p,
.legal li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  color: var(--white);
  background: rgba(16, 29, 41, .84);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 14px;
  font-size: 34px;
  letter-spacing: -.04em;
}

.hero-panel p {
  margin-bottom: 0;
  color: var(--muted-dark);
}

.metric-band {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -48px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .2);
}

.metric-band div {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.metric-band div:last-child {
  border-right: 0;
}

.metric-band strong,
.card-number,
.timeline span,
.guide-grid span {
  display: block;
  color: var(--accent);
  font-weight: 900;
}

.metric-band strong {
  margin-bottom: 8px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.03em;
}

.metric-band span {
  color: var(--muted);
  font-weight: 780;
}

.section {
  padding: 112px 0;
}

.section.light {
  max-width: none;
  width: 100%;
  padding-right: max(24px, calc((100vw - 1280px) / 2));
  padding-left: max(24px, calc((100vw - 1280px) / 2));
  background: var(--paper);
}

.section.dark {
  max-width: none;
  width: 100%;
  padding-right: max(24px, calc((100vw - 1280px) / 2));
  padding-left: max(24px, calc((100vw - 1280px) / 2));
  color: var(--white);
  background: var(--ink);
}

.section.dark p:not(.eyebrow),
.section.dark .timeline p {
  color: var(--muted-dark);
}

.split {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 96px;
  align-items: start;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 48px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.security-card,
.industry-grid article,
.timeline article,
.guide-grid article,
.contact-form,
.legal article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(6, 16, 25, .06);
}

.service-card {
  min-height: 312px;
  padding: 28px;
}

.card-number {
  margin-bottom: 34px;
  font-size: 18px;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.service-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 99px;
  background: var(--cyan);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.industry-grid article {
  padding: 28px;
  border-color: var(--line-dark);
  background: var(--panel);
}

.industry-grid h3,
.industry-grid p {
  color: var(--white);
}

.industry-grid p {
  color: var(--muted-dark);
}

.security-card {
  padding: 28px;
}

.guide-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  max-width: none;
  width: 100%;
  padding: 74px max(24px, calc((100vw - 1280px) / 2));
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(137,216,255,.15), transparent 40%),
    linear-gradient(135deg, #081520, #102b42);
}

.guide-strip p,
.guide-strip h2 {
  color: var(--white);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 130px 0 104px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(52px, 6vw, 84px);
  line-height: .94;
}

.page-hero-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,16,25,1), rgba(6,16,25,.9) 52%, rgba(6,16,25,.22)),
    var(--page-hero-image) center right / cover no-repeat;
}

.page-hero-solutions {
  --page-hero-image: url("/public/assets/innolink-solutions-bg.jpg");
}

.page-hero-industries {
  --page-hero-image: url("/public/assets/innolink-industries-bg.jpg");
}

.page-hero-security {
  --page-hero-image: url("/public/assets/innolink-security-bg.jpg");
}

.page-hero-guide {
  --page-hero-image: url("/public/assets/innolink-guide-bg.jpg");
}

.page-hero-contact {
  --page-hero-image: url("/public/assets/innolink-contact-bg.jpg");
}

.page-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(137,216,255,.14), transparent 30%);
}

.timeline,
.guide-grid {
  display: grid;
  gap: 18px;
}

.timeline {
  grid-template-columns: repeat(2, 1fr);
}

.timeline.compact {
  grid-template-columns: 1fr;
}

.timeline article,
.guide-grid article {
  padding: 28px;
}

.section.dark .timeline article {
  border-color: var(--line-dark);
  background: var(--panel);
}

.section.dark .timeline h3 {
  color: var(--white);
}

.guide-grid {
  grid-template-columns: repeat(4, 1fr);
}

.guide-grid h2 {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.08;
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #384b5c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.legal article {
  max-width: 900px;
  padding: 42px;
}

.legal ul {
  margin: 0 0 28px;
  padding-left: 22px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 0 74px;
  border-top: 1px solid var(--line-dark);
  color: var(--white);
}

.footer-logo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.footer p {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted-dark);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 12px;
  color: var(--muted-dark);
  font-weight: 760;
}

@media (max-width: 1120px) {
  .desktop-nav,
  .topbar-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    gap: 7px;
    width: 48px;
    height: 48px;
    place-content: center;
    border: 1px solid var(--line-dark);
    border-radius: 14px;
    background: var(--panel);
  }

  .menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav {
    position: fixed;
    inset: 92px 24px auto;
    z-index: 45;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line-dark);
    border-radius: 20px;
    color: var(--white);
    background: rgba(16, 29, 41, .98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
  }

  .mobile-nav a {
    padding: 12px;
    font-weight: 780;
  }

  .hero-layout,
  .split,
  .contact-layout,
  .guide-strip {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 460px;
  }

  .card-grid.four,
  .card-grid.three,
  .guide-grid,
  .metric-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site {
    width: 100%;
    overflow-x: hidden;
    padding-top: 84px;
  }

  .container,
  .metric-band,
  .footer {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .topbar {
    width: calc(100% - 28px);
    height: 84px;
    gap: 14px;
  }

  .topbar::before {
    height: 84px;
  }

  .logo-wordmark {
    width: min(228px, calc(100vw - 108px));
    max-height: 34px;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(6,16,25,.94), rgba(6,16,25,.78), rgba(6,16,25,.95)),
      url("/public/assets/innolink-home-bg.jpg") center / cover no-repeat;
  }

  .hero-layout {
    min-height: auto;
    padding: 84px 0 58px;
    gap: 34px;
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.2vw, 39px);
    line-height: 1;
    letter-spacing: -.025em;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 38px;
  }

  .hero-copy > p:not(.eyebrow),
  .page-hero p {
    font-size: 18px;
    max-width: 100%;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy,
  .hero-panel {
    max-width: 100%;
    width: 100%;
  }

  .hero-panel strong {
    font-size: 30px;
  }

  .metric-band,
  .card-grid.four,
  .card-grid.three,
  .industry-grid,
  .timeline,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .metric-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-band div:last-child {
    border-bottom: 0;
  }

  .section,
  .section.light,
  .section.dark {
    padding: 76px 14px;
  }

  .page-hero .container {
    padding: 96px 0 78px;
  }

  .footer {
    flex-direction: column;
  }
}
