:root {
  --bg: #eef3f8;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --line: rgba(14, 42, 71, 0.08);
  --ink: #10263d;
  --muted: #587085;
  --brand: #0f6cc8;
  --brand-deep: #0a3f77;
  --brand-soft: #dcecff;
  --accent: #6fcc65;
  --shadow: 0 24px 60px rgba(16, 38, 61, 0.1);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(212, 233, 255, 0.9), transparent 32%),
    linear-gradient(180deg, #f9fbfd 0%, var(--bg) 100%);
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body[data-page="home"],
body[data-page="sustainability"],
body[data-page="contact"] {
  background:
    radial-gradient(circle at top right, rgba(239, 244, 251, 0.95), transparent 28%),
    linear-gradient(180deg, #f7f8fa 0%, #eef2f7 100%);
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 254, 0.82);
  border-bottom: 1px solid var(--line);
}

body[data-page="home"] .site-header,
body[data-page="sustainability"] .site-header,
body[data-page="contact"] .site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 138px;
}

.brand-copy small,
.eyebrow {
  display: inline-block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-size: 12px;
  margin-bottom: 8px;
}

.brand-copy strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.desktop-nav,
.mobile-nav {
  display: flex;
  gap: 10px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--surface-strong);
  color: var(--brand-deep);
  box-shadow: 0 10px 28px rgba(15, 108, 200, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--surface-strong);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.mobile-nav-wrap {
  display: none;
  padding-bottom: 16px;
}

.mobile-nav {
  flex-direction: column;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.mobile-nav:not(.is-open) {
  display: none;
}

.hero {
  position: relative;
  padding: 88px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/4.png") right top / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.hero-grid,
.split-layout,
.story-layout,
.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
}

.hero-copy,
.glass-card,
.section-card,
.feature-card,
.panel-card,
.news-card,
.job-card,
.timeline-card,
.contact-form {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
  border-radius: 36px;
}

.hero-copy h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.06;
  margin-bottom: 20px;
}

.hero-copy p {
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.button-secondary {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.9);
}

.glass-card {
  border-radius: 36px;
  overflow: hidden;
}

.glass-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.section {
  padding: 42px 0 72px;
}

.section-tight {
  padding-top: 22px;
}

.section-tabs {
  padding: 18px 0 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.panel-grid,
.feature-grid,
.metric-grid,
.news-grid,
.jobs-grid {
  display: grid;
  gap: 18px;
}

.panel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-grid,
.jobs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-card,
.feature-card,
.news-card,
.job-card,
.timeline-card,
.contact-form,
.section-card {
  padding: 28px;
  border-radius: 28px;
}

.panel-card h3,
.feature-card h3,
.news-card h3,
.job-card h3,
.timeline-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.panel-link {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.panel-link:hover,
.job-card:hover,
.news-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
}

.panel-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-weight: 700;
  margin-bottom: 20px;
}

.metric-card {
  padding: 26px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(228, 240, 251, 0.92));
  border: 1px solid var(--line);
  text-align: center;
}

.metric-card strong {
  display: block;
  font-size: 34px;
  color: var(--brand-deep);
  margin-bottom: 8px;
}

.story-layout .section-card,
.split-layout .section-card {
  min-height: 100%;
}

.section-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 244, 249, 0.85));
}

.section-card h2 {
  margin-bottom: 16px;
}

.section-card img {
  margin-top: 22px;
}

.section-card img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.news-card {
  min-height: 220px;
}

.news-meta,
.news-date {
  color: var(--brand);
  font-size: 14px;
  margin-bottom: 14px;
}

.news-card-wide {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.timeline-dot {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  margin-top: 10px;
}

.job-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 260px;
}

.text-link {
  color: var(--brand-deep);
  font-weight: 600;
}

.contact-layout {
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(16, 38, 61, 0.12);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 26px;
  color: var(--brand-deep);
}

.footer {
  padding: 24px 0 48px;
}

.footer-inner {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  flex: 1;
}

.footer-title {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-icp-link {
  color: var(--muted);
  font-size: inherit;
  transition: color 0.2s ease;
}

.footer-icp-link:hover {
  color: var(--brand);
}

.sub-hero {
  padding: 70px 0 30px;
}

.sub-hero-card {
  padding: 36px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(10, 63, 119, 0.9), rgba(15, 108, 200, 0.72)),
    url("../../images/4.png") center / cover no-repeat;
  box-shadow: var(--shadow);
  color: #fff;
}

.sub-hero-card p,
.sub-hero-card .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.sub-hero-card h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 16px;
}

.platform-hero {
  position: relative;
  padding: 92px 0 26px;
  overflow: hidden;
}

.platform-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../../images/4.png") right top / contain no-repeat,
    linear-gradient(180deg, #fafafa 0%, #f4f6f9 100%);
  opacity: 0.95;
}

.platform-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0 10px;
}

.platform-hero-inner h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  margin-bottom: 18px;
}

.platform-hero-copy {
  max-width: 720px;
  margin: 0 auto 30px;
}

.platform-search {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 0;
  max-width: 940px;
  margin: 0 auto 22px;
  background: #fff;
  border: 1px solid rgba(16, 38, 61, 0.08);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(15, 40, 76, 0.05);
}

.platform-search input {
  border: 0;
  padding: 18px 20px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.platform-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-weight: 700;
  border-left: 1px solid rgba(16, 38, 61, 0.08);
  background: #fff;
}

.platform-tabs {
  display: inline-flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 26px 36px;
  border-radius: 2px;
  border: 1px solid rgba(16, 38, 61, 0.05);
}

.platform-tab,
.page-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 38px;
  padding: 8px 18px;
  color: #424f5d;
  background: transparent;
  border-radius: 999px;
  font-weight: 600;
}

.platform-tab.is-active,
.page-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #1c73c8, #155cab);
}

.platform-catalog {
  display: grid;
  grid-template-columns: 166px 1fr;
  gap: 38px;
  align-items: start;
}

.platform-sidebar {
  display: grid;
  gap: 1px;
  background: #d5e3f4;
  border-radius: 10px;
  padding: 1px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(16, 38, 61, 0.06);
}

.platform-side-item {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-weight: 600;
}

.platform-side-item.is-active {
  background: #0f62b4;
  color: #fff;
}

.platform-main {
  min-width: 0;
}

.feature-grid-stacked .feature-card,
.contact-info-grid .panel-card,
.platform-main .panel-card {
  background: rgba(255, 255, 255, 0.95);
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.image-card img {
  margin-top: 0;
  min-height: 100%;
  height: 100%;
}

.banner-hero {
  position: relative;
  min-height: 468px;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}

.banner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.banner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 55, 95, 0.16), rgba(12, 55, 95, 0.12));
}

.banner-hero-sustainability::before {
  background-image: url("../../images/5.png");
}

.banner-hero-contact::before {
  background-image: url("../../images/6.png");
}

.banner-hero-overlay {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.banner-hero-overlay .eyebrow,
.banner-hero-overlay p {
  color: rgba(255, 255, 255, 0.9);
}

.banner-hero-overlay h1 {
  font-size: clamp(42px, 5vw, 70px);
  margin-bottom: 12px;
}

.page-tabs {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
  border-bottom: 1px solid rgba(16, 38, 61, 0.08);
  padding: 18px 0 26px;
}

.contact-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle,
  .mobile-nav-wrap {
    display: block;
  }

  .hero-grid,
  .split-layout,
  .story-layout,
  .contact-layout,
  .news-card-wide {
    grid-template-columns: 1fr;
  }

  .panel-grid,
  .feature-grid,
  .metric-grid,
  .news-grid,
  .jobs-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-catalog {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .platform-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .banner-hero {
    min-height: 388px;
  }

  .glass-card img {
    min-height: 320px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 78px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 110px;
  }

  .hero {
    padding-top: 48px;
  }

  .platform-hero {
    padding-top: 58px;
  }

  .platform-search {
    grid-template-columns: 1fr;
  }

  .platform-search-button {
    min-height: 52px;
    border-left: 0;
    border-top: 1px solid rgba(16, 38, 61, 0.08);
  }

  .hero-copy,
  .panel-card,
  .feature-card,
  .news-card,
  .job-card,
  .timeline-card,
  .contact-form,
  .section-card,
  .sub-hero-card {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-actions,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-grid,
  .feature-grid,
  .metric-grid,
  .news-grid,
  .jobs-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .platform-sidebar,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .page-tabs {
    justify-content: flex-start;
    padding: 16px 16px 22px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .banner-hero {
    min-height: 332px;
  }
}
