/* ==========================================================================
   WEB 1 — Vina Geospace
   Style guide bám sát Capella Space (orange accent, corner lines, dividers)
   ========================================================================== */

/* ===== Shared primitives ===== */
.section {
  position: relative;
  padding: clamp(120px, 14vw, 220px) 0;
  overflow: hidden;
}

/* Reveal-on-scroll: always visible, small animation on enter */
.reveal { opacity: 1; }
.reveal--in {
  animation: revealSlideIn 0.7s var(--ease-out-quart) both;
}
@keyframes revealSlideIn {
  from { transform: translateY(24px); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal--in { animation: none; }
}

/* ===== LIGHT SECTION VARIANT (xen kẽ trắng/đen kiểu Capella) ===== */
.section--light {
  background: #F5F3EE; /* warm off-white */
  color: #111418;
}
.section--light .section-title {
  color: #111418;
}
.section--light .section-title em { color: inherit; opacity: 0.80; }
.section--light .section-lede { color: rgba(17, 20, 24, 0.72); }
.section--light .eyebrow { color: rgba(17,20,24,0.45); }
.section--light .eyebrow__dot {
  background: rgba(17,20,24,0.25);
  box-shadow: none;
}
.section--light .divider-line {
  background: linear-gradient(90deg, rgba(17,20,24,0.18) 0%, rgba(17,20,24,0.06) 50%, transparent 100%);
}
.section--light .divider-line::before { background: rgba(17,20,24,0.25); }
.section--light .eyebrow::after { background: rgba(17,20,24,0.25); }
.section--light .btn--ghost {
  background: transparent;
  color: #111418;
  border-color: rgba(0,0,0,0.25);
}
.section--light .btn--ghost:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.45);
}
.section--light .link-arrow { color: #111418; }

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--color-text);
  max-width: 18ch;
  transition: text-shadow 0.5s ease;
}
.section-title em {
  font-style: italic;
  color: inherit; /* same as heading — no orange */
  opacity: 0.80;
}

/* Eyebrow — subtle dot, no orange */
.eyebrow {
  position: relative;
}
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  margin-left: 10px;
  vertical-align: middle;
}
@keyframes eyebrowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

/* Benefit card — image reveal handled in SECTION 4 block below */

/* News card image zoom — handled in SECTION 9 block below */

/* Section divider line — neutral, minimal */
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: clamp(40px, 6vw, 80px);
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}
.section--light::before {
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.08), transparent);
}

.section-lede {
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--color-text-soft);
  max-width: 56ch;
  margin-top: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45); /* muted white on dark */
  margin-bottom: 20px;
}
.eyebrow__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.30);
  box-shadow: none;
}

/* Divider line ngang — neutral */
.divider-line {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  margin: 32px 0;
}
.divider-line::before {
  content: '';
  position: absolute;
  left: 0; top: -2.5px;
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  box-shadow: none;
}

/* ============================================================
   BUTTON WITH CORNER LINES (Capella signature)
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: 6px; /* Modern, modest radius (Capella-style) */
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-quart),
              background 0.25s var(--ease-out-quart),
              color 0.25s var(--ease-out-quart);
  overflow: visible;
  white-space: nowrap;
}
.btn__text { position: relative; z-index: 2; }
.btn__icon {
  display: inline-flex;
  width: 14px; height: 14px;
  transition: transform 0.3s var(--ease-out-quart);
  position: relative;
  z-index: 2;
}
.btn__icon svg { width: 100%; height: 100%; }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
}

/* Corner brackets — INSIDE the button (Capella signature) */
.btn--corner { padding-inline: 32px; }
.btn__corners {
  position: absolute;
  inset: 5px; /* brackets sit inside the button */
  pointer-events: none;
  z-index: 1;
}
.btn__corners i {
  position: absolute;
  width: 5px; height: 5px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: border-color 0.25s var(--ease-out-quart);
}
.btn__corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.btn__corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.btn__corners i:nth-child(3) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.btn__corners i:nth-child(4) { bottom: 0; left: 0; border-right: 0; border-top: 0; }

.btn--primary .btn__corners i { border-color: rgba(255,255,255,0.35); }
.btn--ghost .btn__corners i { border-color: rgba(255,255,255,0.3); }
/* On light sections, ghost/outline buttons have dark brackets */
.section--light .btn--ghost .btn__corners i { border-color: rgba(0,0,0,0.25); }

/* Link arrow (inline CTA) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color 0.2s, gap 0.3s var(--ease-out-quart);
}
.link-arrow:hover { color: #fff; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; }

/* ============================================================
   HEADER — Capella style: full-width sticky dark bar
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s;
  border-bottom: 1px solid transparent;
  pointer-events: all;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 11, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255,255,255,0.06);
}

/* Full-width inner bar */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 clamp(20px, 4vw, 48px);
  max-width: 1440px;
  margin: 0 auto;
  gap: 0;
}

/* ---- Logo ---- */
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  padding: 6px 20px 6px 0;
  border-right: 1px solid rgba(255,255,255,0.10);
  margin-right: 8px;
}
.site-header__logo-mark {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.site-header__logo-mark svg { width: 24px; height: 24px; }

.site-header__logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.site-header__logo-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  line-height: 1;
}
.site-header__logo-sub {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.40);
  line-height: 1;
}

/* ---- Nav ---- */
.site-header__nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0;
}
.site-header__link {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.01em;
  transition: color 0.18s;
  text-decoration: none;
  white-space: nowrap;
}
.site-header__link:hover { color: #ffffff; }

/* ---- Actions ---- */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* CTA button — orange with corner brackets */
.btn--header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn--header-cta:hover { background: var(--color-accent-hover); }

/* Corner brackets on CTA */
.btn--header-cta .btn__corners { position: absolute; inset: 0; pointer-events: none; }
.btn--header-cta .btn__corners i {
  position: absolute;
  width: 6px; height: 6px;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--header-cta .btn__corners i:nth-child(1) { top: -1px; left: -1px;     border-right: 0; border-bottom: 0; }
.btn--header-cta .btn__corners i:nth-child(2) { top: -1px; right: -1px;    border-left: 0;  border-bottom: 0; }
.btn--header-cta .btn__corners i:nth-child(3) { bottom: -1px; right: -1px; border-left: 0;  border-top: 0; }
.btn--header-cta .btn__corners i:nth-child(4) { bottom: -1px; left: -1px;  border-right: 0; border-top: 0; }

/* Hamburger */
.site-header__menu-btn {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.site-header__menu-btn:hover {
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.08);
}
.site-header__menu-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-header__menu-lines span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,11,0.35) 0%, rgba(5,7,11,0.10) 40%, rgba(5,7,11,0.80) 100%),
    linear-gradient(90deg, rgba(5,7,11,0.55) 0%, transparent 60%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
  padding: 8px 16px;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 5.5vw, 85px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #fff;
}
.hero__word {
  display: inline-block;
  transform-origin: bottom;
  margin-right: 0.06em;
  animation: heroWordIn 0.9s var(--ease-out-quart) both;
}
.hero__word:nth-of-type(1) { animation-delay: 0.10s; }
.hero__word:nth-of-type(2) { animation-delay: 0.20s; }
.hero__word:nth-of-type(3) { animation-delay: 0.30s; }
.hero__word:nth-of-type(4) { animation-delay: 0.40s; }

@keyframes heroWordIn {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero secondary elements */
.hero__desc { animation: heroFadeIn 0.8s var(--ease-out-quart) 0.55s both; }
.hero__ctas { animation: heroFadeIn 0.8s var(--ease-out-quart) 0.65s both; }

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__word,
  .hero__eyebrow,
  .hero__desc,
  .hero__ctas { animation: none; }
}

.divider-line--hero {
  max-width: 560px;
  margin: 36px 0 32px;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  max-width: 100%;
}
.hero__desc {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: var(--color-text-soft);
  max-width: 46ch;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   SECTION 2 — STATS
   ============================================================ */
.stats {
  background: #F5F3EE;
  border-top: 1px solid rgba(0,0,0,0.08);
}
/* Tone down accent color inside stats — keep it clean, not too orange */
.stats .eyebrow { color: rgba(17,20,24,0.50); }
.stats .eyebrow__dot { background: rgba(17,20,24,0.28); box-shadow: none; }
.stats .eyebrow::after { background: rgba(17,20,24,0.28); }
.stats .section-title em { color: #111418; font-style: italic; }

.stats__head {
  max-width: 960px;
  margin-bottom: 80px;
}
.stats__head .section-title {
  max-width: 22ch;
  font-size: clamp(32px, 3.8vw, 52px);
  color: #111418;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-left: 1px solid rgba(0,0,0,0.08);
}
.stat-cell {
  padding: 36px 28px 40px;
  border-right: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: relative;
  transition: background 0.3s;
}
.stat-cell:hover { background: rgba(240,78,35,0.04); }

/* Number — thin Capella style */
.stat-cell__val {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #111418;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.stat-cell__val em {
  font-style: normal;
  font-size: 0.52em;
  font-weight: 300;
  color: rgba(17,20,24,0.36);
  letter-spacing: 0;
}
.stat-cell__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #111418;
  margin-top: 20px;
  margin-bottom: 8px;
}
.stat-cell__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0,0,0,0.50);
}

.stats__logos {
  margin-top: 64px;
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stats__logos-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.stats__logos-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  flex: 1;
}
.stats__logos-row span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-soft);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.stats__logos-row span:hover { opacity: 1; }

/* ============================================================
   SECTION 3 — NEXT-GEN SAR CONSTELLATION (Capella-style)
   Globe wireframe + textured Earth + title overlay + satellite
   ============================================================ */
.next-gen {
  position: relative;
  background: #000;
  overflow: hidden;
  padding-top: clamp(100px, 14vw, 200px);
  padding-bottom: 0;
  min-height: clamp(700px, 100vh, 1080px);
}

/* Scene: full-bleed background layer behind title + column */
.next-gen__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Globe centered inside scene — JS drives scale+rotate */
.next-gen__scene > .next-gen__illustration {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.22); /* JS sẽ override */
  width: clamp(432px, 55vw, 720px);
  height: clamp(432px, 55vw, 720px);
  z-index: 3;
  pointer-events: none;
  will-change: transform;
}

/* Text column: bottom-left, z-index 4 — luôn nằm TRÊN globe (z:3) */
.next-gen__column {
  position: absolute;
  bottom: clamp(40px, 6vw, 80px);
  top: auto;
  left: clamp(24px, 5vw, 80px);
  transform: none;
  z-index: 4;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.next-gen__p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  opacity: 0;
  transform: translateY(30px);
}
.next-gen.is-revealed .next-gen__p--first {
  animation: textReveal 0.9s var(--ease-out-quart) 0.1s forwards;
}
.next-gen__p--second.globe-done {
  animation: textReveal 2s ease 0.6s forwards;
}
/* Highlight cam cho "giám sát 24/7" */
.bg-brand {
  background: var(--color-accent);
  color: #fff;
  padding: 2px 8px;
  margin: 0 2px;
  border-radius: 2px;
  font-weight: 500;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---- Cột phải: illustration holder ---- */
/* (unused — replaced by .next-gen__scene layout) */
.next-gen__illustration-holder { display: contents; }

/* Title: upper-center of section — no overlap with column */
.next-gen__title {
  position: absolute;
  top: clamp(36px, 5vw, 72px);
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  z-index: 2;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
  text-align: center;
  white-space: normal;
  max-width: 70vw;
  background: none;
  text-shadow: 0 2px 40px rgba(0,0,0,0.85), 0 0 80px rgba(0,0,0,0.5);
  opacity: 0;
}
.next-gen.is-revealed .next-gen__title {
  animation: titleRevealCenter 1s var(--ease-out-quart) 0.25s forwards;
}
@keyframes titleRevealCenter {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Illustration container - chứa 3 layer */
.next-gen__illustration {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layer 1: Shape wireframe ở dưới (background mesh) */
.next-gen__shape--under {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  z-index: 1;
  transform: scale(0.65) rotate(-30deg);
}
.next-gen.is-revealed .next-gen__shape--under {
  animation: shapeUnderReveal 1.4s var(--ease-out-quart) 0s forwards,
             slowSpin 120s linear 1.4s infinite;
}

/* Layer 2: Globe thật (Earth với lights + dots) */
.next-gen__globe {
  position: relative;
  z-index: 2;
  width: 78%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.06));
  opacity: 0;
  transform: scale(0.82);
}
.next-gen.is-revealed .next-gen__globe {
  animation: globeReveal 1.2s var(--ease-out-quart) 0.15s forwards;
}

/* Layer 3: Shape wireframe ở trên (foreground mesh, rotated) */
.next-gen__shape--over {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  z-index: 3;
  transform: scale(1.35) rotate(210deg);
  mix-blend-mode: screen;
}
.next-gen.is-revealed .next-gen__shape--over {
  animation: shapeOverReveal 1.4s var(--ease-out-quart) 0.1s forwards,
             slowSpinReverse 140s linear 1.5s infinite;
}

/* Satellite image - floating góc phải dưới */
.next-gen__satellite {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: clamp(220px, 24vw, 360px);
  height: auto;
  z-index: 5;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  animation: satelliteFloat 6s ease-in-out infinite;
}

/* ---- Reveal keyframes (CSS-driven, không bị Chrome throttle) ---- */
@keyframes titleReveal {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes textReveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes globeReveal {
  from { opacity: 0; transform: scale(0.3); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shapeUnderReveal {
  from { opacity: 0; transform: scale(0.65) rotate(-30deg); }
  to   { opacity: 0.45; transform: scale(1.05) rotate(0deg); }
}
@keyframes shapeOverReveal {
  from { opacity: 0; transform: scale(1.35) rotate(210deg); }
  to   { opacity: 0.25; transform: scale(1.12) rotate(180deg); }
}

/* Slow rotations for decorative shapes (sau khi reveal xong) */
@keyframes slowSpin {
  from { transform: scale(1.05) rotate(0deg); }
  to   { transform: scale(1.05) rotate(360deg); }
}
@keyframes slowSpinReverse {
  from { transform: scale(1.12) rotate(180deg); }
  to   { transform: scale(1.12) rotate(-180deg); }
}
@keyframes satelliteFloat {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .next-gen__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }
  .next-gen__column {
    max-width: 100%;
    padding-bottom: 0;
    order: 2;
  }
  .next-gen__illustration-holder {
    order: 1;
    max-width: 560px;
    margin: 0 auto;
  }
  .next-gen__satellite {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -40px auto 0;
    display: block;
  }
  .next-gen__title {
    font-size: clamp(22px, 4.5vw, 36px);
  }
}
@media (max-width: 560px) {
  .next-gen { padding-top: 80px; padding-bottom: 100px; }
  .next-gen__title {
    font-size: 20px;
    padding: 4px 12px;
    white-space: normal;
    max-width: 90%;
  }
  .next-gen__satellite { width: 200px; }
}

/* Scan line effect */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent) 50%, transparent);
  box-shadow: 0 0 20px var(--color-accent-glow);
  animation: scanMove 4s linear infinite;
  pointer-events: none;
}
@keyframes scanMove {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ============================================================
   SECTION 4 — BENEFITS
   ============================================================ */
.benefits {
  position: relative;
  padding-top: clamp(72px, 8vw, 120px); /* less gap after constellation */
}

.benefits__head {
  text-align: left;
  margin-bottom: 40px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
  align-items: start;
}

/* Card: flex column, ảnh + text bên dưới */
.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Visual: tall portrait với title đè lên ảnh */
.benefit-card__visual {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden; /* clips the rising image */
}

/* Image — starts hidden BELOW the container, rises up on reveal */
.benefit-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(100%) scale(1.08);
  transition: transform 1.1s var(--ease-out-quart);
  will-change: transform;
}

/* After reveal: image slides up into position */
.benefits.is-revealed .benefit-card:nth-child(1) .benefit-card__visual img {
  transform: translateY(0) scale(1.0);
  transition-delay: 0.05s;
}
.benefits.is-revealed .benefit-card:nth-child(2) .benefit-card__visual img {
  transform: translateY(0) scale(1.0);
  transition-delay: 0.22s;
}
.benefits.is-revealed .benefit-card:nth-child(3) .benefit-card__visual img {
  transform: translateY(0) scale(1.0);
  transition-delay: 0.39s;
}

/* Hover zoom (after revealed) */
.benefits.is-revealed .benefit-card:hover .benefit-card__visual img {
  transform: translateY(0) scale(1.06);
  transition-duration: 0.7s;
  transition-delay: 0s;
}

/* Gradient đen từ dưới lên để đọc được title */
.benefit-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.45) 45%,
    transparent 72%);
}

/* Title nằm trong ảnh, góc dưới trái */
.benefit-card__title {
  position: absolute;
  bottom: 28px;
  left: 24px;
  right: 24px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
  /* Title fades in after image reveals */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-out-quart);
}
.benefits.is-revealed .benefit-card:nth-child(1) .benefit-card__title {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.72s; /* after image fully risen */
}
.benefits.is-revealed .benefit-card:nth-child(2) .benefit-card__title {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.88s;
}
.benefits.is-revealed .benefit-card:nth-child(3) .benefit-card__title {
  opacity: 1; transform: translateY(0);
  transition-delay: 1.04s;
}

/* Description text bên dưới card */
.benefit-card__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  padding: 0 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-quart);
}
.benefits.is-revealed .benefit-card:nth-child(1) .benefit-card__text {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.80s;
}
.benefits.is-revealed .benefit-card:nth-child(2) .benefit-card__text {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.96s;
}
.benefits.is-revealed .benefit-card:nth-child(3) .benefit-card__text {
  opacity: 1; transform: translateY(0);
  transition-delay: 1.12s;
}

/* ---- Benefits animations ---- */
/* Eyebrow: slide in từ trái */
.benefits__head .eyebrow {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out-quart);
}
.benefits.is-revealed .benefits__head .eyebrow {
  opacity: 1;
  transform: translateX(0);
}

/* Cards: visible container (no card-level translateY — image does the animation) */
.benefit-card {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.benefits.is-revealed .benefit-card:nth-child(1) { opacity: 1; transition-delay: 0.02s; }
.benefits.is-revealed .benefit-card:nth-child(2) { opacity: 1; transition-delay: 0.02s; }
.benefits.is-revealed .benefit-card:nth-child(3) { opacity: 1; transition-delay: 0.02s; }


.benefits__section-gradient {
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: none;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   SECTION 5 — INDUSTRIES
   ============================================================ */
.industries {
  background: var(--color-bg);
}
.industries__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.industries__left { position: sticky; top: 120px; }

.industries__accordion {
  display: flex;
  flex-direction: column;
}
.industry-item {
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 0.25s;
}
.industry-item:first-child { border-top: 1px solid var(--color-border); }
.industry-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  color: var(--color-text);
  transition: color 0.25s;
}
.industry-item__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: color 0.25s;
}
.industry-item__name {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.industry-item__toggle {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  font-size: 16px;
  color: var(--color-text-soft);
  transition: all 0.3s var(--ease-out-quart);
}
.industry-item.is-active .industry-item__num { color: var(--color-accent); }
.industry-item.is-active .industry-item__toggle {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: rotate(45deg);
}
.industry-item__body {
  max-height: 0;
  overflow: hidden;
  padding-left: 60px;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out-quart), opacity 0.3s, padding 0.4s;
}
.industry-item.is-active .industry-item__body {
  max-height: 200px;
  padding-bottom: 24px;
  opacity: 1;
}
.industry-item__body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-soft);
  max-width: 50ch;
}

.industries__visual {
  position: sticky;
  top: 120px;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
}
.industries__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease-out-quart);
}

/* ============================================================
   SECTION 6 — SOLUTIONS (LIGHT variant)
   ============================================================ */
.solutions {
  /* Bg provided by .section--light */
}
.section--light .sol-tab { background: none; border-color: transparent; }
.section--light .sol-tab.is-active { background: none; border-color: transparent; }
.section--light .sol-tab__num { color: rgba(17,20,24,0.35); }
.section--light .sol-tab__name { color: rgba(17,20,24,0.50); }
.section--light .sol-tab:hover .sol-tab__name { color: #111418; }
.section--light .sol-tab.is-active .sol-tab__num { color: var(--color-accent); }
.section--light .sol-tab.is-active .sol-tab__name { color: #111418; }
.section--light .sol-panel__text h3 { color: #111418; }
.section--light .sol-panel__text p { color: rgba(17,20,24,0.68); }
.section--light .sol-panel__list li { color: rgba(17,20,24,0.72); }
.section--light .sol-panel__media { border-color: rgba(0,0,0,0.08); box-shadow: 0 12px 40px rgba(0,0,0,0.10); }
.solutions__head {
  max-width: 780px;
  margin-bottom: 64px;
}

/* ---- Solutions menu: underline tab style ---- */
.solutions__menu {
  display: flex;
  gap: 0;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(17,20,24,0.12);
}

.sol-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 0 40px 20px 0;
  background: none;
  border: none;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  min-height: auto;
  min-width: 0;
}

/* Orange underline indicator */
.sol-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out-quart);
}
.sol-tab.is-active::after { transform: scaleX(1); }

/* Hover line — very subtle */
.sol-tab:not(.is-active):hover::after {
  transform: scaleX(1);
  background: rgba(17,20,24,0.15);
}

.sol-tab__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(17,20,24,0.32);
  transition: color 0.22s;
}
.sol-tab__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(17,20,24,0.48);
  transition: color 0.22s;
}
.sol-tab:hover .sol-tab__name { color: #111418; }
.sol-tab.is-active .sol-tab__num { color: var(--color-accent); }
.sol-tab.is-active .sol-tab__name { color: #111418; }

/* Hide corner decorations — no longer needed */
.sol-tab__corners { display: none; }

/* ---- Sol Panel ---- */
.sol-panel {
  display: none;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
  animation: panelFade 0.38s var(--ease-out-quart);
}
.sol-panel.is-active { display: grid; }
@keyframes panelFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sol-panel__media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 16px 56px rgba(0,0,0,0.12);
}
.sol-panel__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-quart);
}
.sol-panel__media:hover img { transform: scale(1.04); }

/* Text side */
.sol-panel__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sol-panel__text h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 14px;
  color: var(--color-text);
}
.sol-panel__text p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--color-text-soft);
  margin: 0 0 28px;
}
.sol-panel__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  border-top: 1px solid rgba(17,20,24,0.08);
  padding-top: 24px;
}
.sol-panel__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(17,20,24,0.68);
}
.sol-panel__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 1.5px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* ============================================================
   SECTION 7 — AUTOMATED END-TO-END
   ============================================================ */
/* Section wrapper */
.automated {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

/* Glow bg */
.automated__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.automated__glow {
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 65%);
  filter: blur(40px);
}

/* Text block: centered — higher specificity to beat .container */
.automated .automated__text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.automated__title {
  font-size: clamp(20px, 2.4vw, 36px) !important;
  max-width: 100% !important;
  margin-bottom: 20px !important;
  text-align: center !important;
  white-space: nowrap;
}
.automated__lede {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 36px;
  text-align: center;
}
.automated__cta-row {
  display: flex !important;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Dashboard image: full-width, flush bottom */
.automated__visual {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  border-bottom: none;
  box-shadow: 0 -20px 60px rgba(255,255,255,0.03);
}
.automated__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SECTION 8 — PARTNERS (Capella style: centered + marquee)
   ============================================================ */
.partners {
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.partners::before { display: none; } /* suppress generic divider */

/* Centered text block on light bg */
.partners__hero {
  background: #F5F3EE;
  padding: clamp(80px, 10vw, 160px) 0 clamp(64px, 8vw, 110px);
  text-align: center;
}
.partners__center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partners .section-title {
  max-width: none;
  font-size: clamp(28px, 3.2vw, 50px);
  color: #111418;
  text-align: center;
  margin-bottom: 20px;
}
.partners .section-title em {
  color: var(--color-accent);
}
.partners__lede {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: rgba(17,20,24,0.65);
  max-width: 52ch;
  text-align: center;
  margin-bottom: 40px;
}
.partners__cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* ghost button on light bg */
.partners .btn--ghost {
  color: #111418;
  border-color: rgba(17,20,24,0.2);
}
.partners .btn--ghost:hover {
  background: rgba(17,20,24,0.06);
}

/* Dark strip with marquee */
.partners__strip {
  background: #0B0E14;
  padding: clamp(48px, 6vw, 80px) 0;
  overflow: hidden;
  position: relative;
}
/* fade edges */
.partners__strip::before,
.partners__strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.partners__strip::before {
  left: 0;
  background: linear-gradient(to right, #0B0E14, transparent);
}
.partners__strip::after {
  right: 0;
  background: linear-gradient(to left, #0B0E14, transparent);
}

.partners__marquee-track {
  overflow: hidden;
}
.partners__marquee-inner {
  display: flex;
  gap: 0;
  width: max-content;
  animation: partnerScroll 28s linear infinite;
}
@keyframes partnerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes starSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.partners__marquee-inner:hover {
  animation-play-state: paused;
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  padding: 0 clamp(32px, 4vw, 64px);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 26px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  cursor: default;
}
.partner-logo:hover {
  opacity: 0.7;
}
/* 4-pointed star separator between logos */
.partner-logo::after {
  content: '';
  display: inline-block;
  width: clamp(14px, 1.4vw, 20px);
  height: clamp(14px, 1.4vw, 20px);
  background: var(--color-accent);
  clip-path: polygon(
    50% 0%, 60% 40%, 100% 50%,
    60% 60%, 50% 100%, 40% 60%,
    0% 50%, 40% 40%
  );
  flex-shrink: 0;
  animation: starSpin 8s linear infinite;
}

/* ============================================================
   SECTION 9 — NEWS
   ============================================================ */
.news {
  /* Bg provided by .section--light */
}
.news__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.news .section-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(26px, 2.8vw, 44px);
}

/* ---- News Grid ---- */
.news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

/* ---- News Card — full-bleed image + gradient overlay ---- */
.news-card {
  position: relative;
  background: #0B0E14;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  transition: transform 0.42s var(--ease-out-quart), box-shadow 0.42s;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}

/* Gradient — dark at bottom, transparent top */
.news-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 22%,
    rgba(5,7,11,0.38) 52%,
    rgba(5,7,11,0.93) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Accent edge on hover */
.news-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0);
  z-index: 3;
  pointer-events: none;
  transition: box-shadow 0.35s;
}
.news-card:hover::before {
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.20);
}

/* Full-bleed media */
.news-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.72s var(--ease-out-quart);
}
.news-card:hover .news-card__media img {
  transform: scale(1.08);
}

/* Clickable overlay */
.news-card__link {
  position: absolute;
  inset: 0;
  z-index: 4;
}

/* Text content — overlaid at bottom */
.news-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.news-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.news-card__tag {
  color: rgba(255,255,255,0.50);
  font-weight: 600;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
}
.news-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: rgba(255,255,255,0.45);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.22s, gap 0.22s;
}
.news-card:hover .news-card__cta {
  color: rgba(255,255,255,0.80);
  gap: 10px;
}

/* ---- Featured card: spans 2×2, taller text ---- */
.news-card--featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
  border-radius: 20px;
}
.news-card--featured::before { border-radius: 20px; }
.news-card--featured::after {
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(5,7,11,0.35) 58%,
    rgba(5,7,11,0.92) 100%
  );
}
.news-card--featured .news-card__content {
  padding: 32px 36px 38px;
  gap: 11px;
}
.news-card--featured .news-card__title {
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.22;
  max-width: 420px;
}
.news-card--featured .news-card__cta {
  font-size: 13.5px;
}

/* ============================================================
   SECTION 10 — CTA + FOOTER
   ============================================================ */
.cta-footer {
  background: var(--color-bg);
  position: relative;
  padding-top: clamp(100px, 12vw, 180px);
  padding-bottom: 0;
}
.stars-bg-wrap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.stars-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 70%),
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 60% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.7), transparent);
  background-size: 100% 100%, 400px 400px, 500px 500px, 600px 600px, 450px 450px, 550px 550px;
}

.cta-footer__inner {
  position: relative;
  z-index: 2;
}
.cta-footer__cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 120px;
}
.cta-footer__cta .eyebrow { justify-content: center; display: inline-flex; }
.cta-footer__title {
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(28px, 3vw, 44px);
  color: #fff;
}
.cta-footer__title em { color: #fff; font-style: normal; }
.cta-footer__lede {
  margin-inline: auto;
  color: rgba(255,255,255,0.45);
}
.cta-footer__buttons {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  color: #111;
}

/* ROW 1 — Logo + nav columns */
.footer__nav-row {
  display: flex;
  gap: 48px;
  padding: 64px clamp(24px, 5vw, 80px) 56px;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
  align-items: flex-start;
}
.footer__brand {
  min-width: 160px;
  flex-shrink: 0;
}
.footer__brand .site-header__logo { margin-bottom: 12px; }
.footer__brand .site-header__logo-name { color: #111418; }
.footer__brand .site-header__logo-sub { color: rgba(17,20,24,0.4); }
.footer__brand .site-header__logo-mark { color: var(--color-accent); }
.footer__tagline {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
  margin-top: 8px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  flex: 1;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #999;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col a {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
}
.footer__col a:hover { color: rgba(255,255,255,0.80); }

/* ROW 2 — Orbital + newsletter + addresses */
.footer__mid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px dashed var(--color-border);
  background: #fff;
  color: #111;
}
.footer__orbital-col {
  padding: 0;
  border-right: 1px dashed rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.footer__orbital-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Newsletter — absolute, đè lên giữa ảnh */
.footer__newsletter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 340px;
}
.footer__socials {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
}

/* Newsletter */
.footer__newsletter-label {
  font-size: 13px;
  font-weight: 500;
  color: #111;
  margin: 0;
}
.footer__form {
  display: flex;
  gap: 0;
  width: 100%;
}
.footer__form input {
  flex: 1;
  padding: 11px 16px;
  background: #fff;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
  color: #111;
  outline: none;
  transition: border-color 0.2s;
}
.footer__form input:focus { border-color: var(--color-accent); }
.footer__form input::placeholder { color: var(--color-text-dim); }
.footer__form button {
  padding: 11px 20px;
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.footer__form button:hover { background: var(--color-accent-hover); }

/* Socials */
.footer__socials {
  display: flex;
  gap: 12px;
}
.footer__social-link {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #555;
  transition: border-color 0.2s, color 0.2s;
}
.footer__social-link:hover { border-color: #111; color: #111; }
.footer__social-link svg { width: 14px; height: 14px; }

/* Addresses */
.footer__addresses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 40px clamp(24px, 5vw, 80px);
  gap: 24px;
  align-content: end;
}
.footer__address-col {
  border-left: 1px solid rgba(0,0,0,0.1);
  padding-left: 24px;
}
.footer__addresses {
  background: #fff;
}
.footer__address-city {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px;
}
.footer__address-detail {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.footer__address-detail em {
  font-style: italic;
  color: var(--color-accent);
  font-size: 12px;
}
.footer__address-detail a {
  color: #555;
  text-decoration: none;
  display: block;
}
.footer__address-detail a:hover { color: rgba(255,255,255,0.80); }

/* ROW 3 — Legal bar */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(24px, 5vw, 80px);
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #999;
  border-top: 1px dashed rgba(0,0,0,0.1);
  background: #fff;
}
.footer__legal-links {
  display: flex;
  gap: 32px;
}
.footer__legal-links a {
  color: #999;
  font-size: 12px;
  text-decoration: none;
}
.footer__legal-links a:hover { color: rgba(255,255,255,0.80); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .site-header__nav { display: none; }
}
@media (max-width: 560px) {
  .btn--header-cta { display: none; }
}

@media (max-width: 1024px) {
  .industries__grid { grid-template-columns: 1fr 1.2fr; }
  .industries__visual { grid-column: 1 / -1; position: relative; top: auto; aspect-ratio: 4/3; margin-top: 32px; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card__title { font-size: 20px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2n) { border-right: 0; }
  .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-bottom: 0; }
  .solutions__menu { grid-template-columns: repeat(2, 1fr); }
  .sol-panel { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-card--featured { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; border-radius: 14px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__mid-row { grid-template-columns: 1fr; }
  .footer__orbital-col { border-right: none; border-bottom: 1px dashed var(--color-border); }
}

@media (max-width: 768px) {
  .hero { padding-top: 100px; }
  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1; }
  .next-gen__grid { grid-template-columns: 1fr; gap: 40px; }
  .automated__grid { grid-template-columns: 1fr; gap: 40px; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .partner-cell:nth-child(2n) { border-right: 0; }
  .partner-cell { border-right: 1px solid var(--color-border); }
  .partner-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .industries__grid { grid-template-columns: 1fr; gap: 32px; }
  .industries__left { position: relative; top: auto; }
}

@media (max-width: 560px) {
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit-card__visual { aspect-ratio: 4 / 3; }
  .news__grid { grid-template-columns: 1fr; gap: 12px; }
  .news-card--featured { grid-column: auto; aspect-ratio: 3/2; border-radius: 14px; }
  .partners__grid { grid-template-columns: 1fr; }
  .partner-cell { border-right: 0; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; }
  .solutions__menu { grid-template-columns: 1fr; }
  .footer__nav-row { flex-direction: column; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__addresses { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(40px, 12vw, 68px); }
  .stat-cell__val { font-size: 28px; }
}
