/* ============================================================
   RESET & TOKENS — LIGHT THEME
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:       #ffffff;
  --bg2:      #F2F6FC;
  --bg3:      #E8EFF9;
  --blue:     #0047CC;
  --blue2:    #0035A0;
  --blue-lt:  #EBF1FF;
  --red:      #E8001D;
  --red-lt:   #FFF0F2;
  --dark:     #0A0F1E;
  --mid:      #3D4A6B;
  --grey:     #8A96B0;
  --border:   rgba(0,71,204,0.12);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}
html {
  scroll-behavior: auto;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   CUSTOM CURSOR
============================================================ */
#cur-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s;
  box-shadow: 0 0 14px rgba(0,71,204,.5);
  will-change: left, top;
}
#cur-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(0,71,204,.3);
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .3s cubic-bezier(.25,.46,.45,.94), height .3s cubic-bezier(.25,.46,.45,.94), background .3s;
  will-change: left, top;
}
body.cur-hover #cur-dot { width: 12px; height: 12px; background: var(--red); }
body.cur-hover #cur-ring { width: 56px; height: 56px; border-color: rgba(232,0,29,.2); background: rgba(232,0,29,.04); }

/* ============================================================
   SCROLL PROGRESS
============================================================ */
#spb {
  position: fixed; top: 0; left: 0; z-index: 9000;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transition: width .05s linear;
}

/* ============================================================
   LOADER
============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 8000;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  clip-path: inset(0 0 0% 0);
  overflow: hidden;
}
.loader-bg-text {
  position: absolute;
  font-family: var(--font-head); font-weight: 900;
  font-size: 40vw; line-height: 1;
  color: rgba(255,255,255,.03);
  letter-spacing: -0.06em;
  user-select: none; pointer-events: none;
}
.loader-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
#loader-logo {
  font-family: var(--font-head); font-weight: 900;
  font-size: 28px; letter-spacing: -0.04em;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(20px);
}
#loader-logo .brand-stack { display: inline-flex; flex-direction: row; align-items: flex-end; gap: 2px; line-height: 1; }
#loader-logo .brand-27 { font-size: 2.15em; letter-spacing: -0.04em; }
#loader-logo .brand-rest { font-size: 1em; opacity: .98; }
#loader-logo .brand-mark {
  width: 32px; height: 32px;
  border-radius: 7px;
  object-fit: contain;
  filter: invert(1) brightness(1.08);
}
#loader-logo .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 7px;
  background: var(--blue); color: #fff; font-size: 16px;
}
#loader-num {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(52px, 10vw, 100px);
  letter-spacing: -0.06em; color: #fff;
  line-height: 1;
}
.loader-bar-wrap {
  width: 200px; height: 1px;
  background: rgba(255,255,255,.15);
  border-radius: 1px; overflow: hidden;
}
#loader-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transition: width .08s linear;
}
.loader-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0); transform-origin: left;
}

/* ============================================================
   NAV
============================================================ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 700;
  display: flex; align-items: center;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 92px;
  transition: background .4s, box-shadow .4s;
}
#nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-head); font-weight: 900;
  font-size: 20px; letter-spacing: -0.04em;
  color: var(--dark);
  display: flex; align-items: center; gap: 7px;
  z-index: 1; flex-shrink: 0;
  line-height: 1;
  padding: 6px 0;
}
.nav-logo .brand-stack { display: inline-flex; flex-direction: row; align-items: flex-end; gap: 2px; line-height: 1; }
.nav-logo .brand-27 { font-size: 2.15em; letter-spacing: -0.04em; }
.nav-logo .brand-rest { font-size: 1em; opacity: .95; }
.nav-logo .brand-mark {
  width: 90px; height: 90px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}
.nav-logo .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--blue); color: #fff; font-size: 13px;
}
.nav-links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head); font-weight: 600;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mid);
  position: relative; padding-bottom: 3px;
  transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0%; height: 1.5px;
  background: var(--blue);
  transition: width .35s cubic-bezier(.25,.46,.45,.94);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  margin-left: auto;
  font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--blue);
  padding: 10px 22px; border-radius: 100px;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.nav-cta:hover {
  background: var(--blue2);
  box-shadow: 0 6px 20px rgba(0,71,204,.3);
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
  margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--dark);
  transition: transform .35s, opacity .35s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
#mob-menu {
  position: fixed; inset: 0; z-index: 790;
  background: var(--dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path .7s cubic-bezier(.77,0,.175,1);
  pointer-events: none;
}
#mob-menu.open { clip-path: circle(150% at calc(100% - 40px) 36px); pointer-events: all; }
#mob-menu a {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(28px, 8vw, 52px);
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.2);
  transition: color .3s;
  opacity: 0; transform: translateX(-30px);
}
#mob-menu a:hover { color: #fff; }
#mob-close {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 12px; letter-spacing: 0.1em;
  color: rgba(255,255,255,.4); background: none; border: none;
  cursor: pointer; text-transform: uppercase;
}

/* ============================================================
   HERO — dark section
============================================================ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero-bg-video-sp { display: none; }
@media (max-width: 767px) {
  .hero-bg-video-pc { display: none; }
  .hero-bg-video-sp { display: block; }
}
.hero-audio-toggle {
  position: absolute;
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  right: max(14px, env(safe-area-inset-right, 0px));
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
  padding: 0;
}
.hero-audio-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hero-audio-toggle--on {
  border-color: rgba(107, 170, 255, 0.5);
  color: #c8ddff;
}
.hero-audio-icon--on { display: none; }
.hero-audio-toggle--on .hero-audio-icon--off { display: none; }
.hero-audio-toggle--on .hero-audio-icon--on { display: block; }
.hero-noise {
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: .4; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1480px;
  margin: 0 auto;
  /* Reserve space for absolutely positioned .hero-scroll (line ~48px + bottom offset) so CTA does not overlap */
  padding: clamp(100px, 15vh, 160px) clamp(24px, 5vw, 80px)
    max(116px, clamp(80px, 12vh, 120px));
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(20px, 3vw, 48px);
    align-items: center;
  }
}
.hero-copy { min-width: 0; }
.hero-aside { min-width: 0; }
/* Ring on top, mileage cards below (all breakpoints; PC shows both) */
.hero-aside-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.5vw, 32px);
}
.hero-miles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  align-self: center;
}
@media (min-width: 1024px) {
  .hero-miles {
    max-width: min(280px, 100%);
  }
}
@media (min-width: 768px) {
  .hero-miles-details {
    display: contents;
  }
  .hero-miles-summary {
    display: none !important;
  }
}
.hero-mile-card {
  position: relative;
  padding: 18px 20px 20px;
  border-radius: 16px;
  background: rgba(14, 20, 40, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(20px);
  overflow: hidden;
}
.hero-mile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  opacity: 0.9;
}
.hero-mile-card--ana::before {
  background: linear-gradient(90deg, #003591, #6BAAFF);
}
.hero-mile-card--jal::before {
  background: linear-gradient(90deg, #c8102e, #ff6b6b);
}
.hero-mile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.hero-mile-airline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #fff;
}
.hero-mile-badge {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-mile-caption {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.hero-mile-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hero-mile-card--ana .hero-mile-value {
  color: #F2F7FF;
  text-shadow: 0 0 28px rgba(107, 170, 255, 0.55), 0 1px 2px rgba(0, 0, 0, 0.45);
}
.hero-mile-card--jal .hero-mile-value {
  color: #FFF8F8;
  text-shadow: 0 0 26px rgba(255, 120, 130, 0.5), 0 1px 2px rgba(0, 0, 0, 0.45);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #6BAAFF;
  border: 1px solid rgba(107,170,255,.3);
  padding: 8px 16px; border-radius: 100px;
  margin-bottom: 40px;
  opacity: 0; transform: translateY(20px);
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6BAAFF;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
.hero-h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(44px, 8vw, 130px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
  color: #fff;
}
@media (min-width: 1024px) {
  /* Compact hero: aim to fit copy + ring + miles within one viewport on typical PC */
  #hero {
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-inner {
    padding: max(76px, calc(48px + env(safe-area-inset-top, 0px))) clamp(24px, 5vw, 80px)
      max(104px, clamp(40px, 5vh, 72px));
  }
  .hero-tag {
    margin-bottom: 18px;
  }
  .hero-h1 {
    font-size: clamp(36px, 4.5vw, 76px);
    line-height: 0.98;
    margin-bottom: 18px;
  }
  .hero-sub {
    margin-bottom: 24px;
    max-width: 460px;
  }
  .hero-scroll {
    bottom: clamp(20px, 3vh, 32px);
  }
  .hero-aside-inner {
    gap: clamp(12px, 1.4vw, 20px);
  }
}
.line-mask {
  overflow: hidden;
  display: block;
  /* Extra padding: italic / punctuation extend past glyph box; avoids horizontal clip */
  padding-bottom: 0.14em;
  padding-right: 0.2em;
  padding-left: 0.06em;
}
.line-inner { display: block; transform: translateY(110%); }
.line-inner em { font-style: italic; color: #6BAAFF; }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,.5);
  max-width: 520px; line-height: 1.7;
  margin-bottom: 52px;
  opacity: 0; transform: translateY(24px);
}
.hero-actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  opacity: 0; transform: translateY(24px);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: var(--blue);
  padding: 16px 36px; border-radius: 100px;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.15);
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,71,204,.4); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transition: color .3s;
}
.btn-ghost:hover { color: #fff; }
.btn-ghost svg { transition: transform .3s; }
.btn-ghost:hover svg { transform: translateX(4px); }
.hero-scroll {
  position: absolute; bottom: 40px; left: clamp(24px, 5vw, 80px);
  display: flex; align-items: center; gap: 14px;
  opacity: 0;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, #6BAAFF);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-scroll-text {
  font-family: var(--font-head); font-weight: 600;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  writing-mode: vertical-rl;
}

/* ============================================================
   HERO — mobile layout (cleaner UI)
============================================================ */
@media (max-width: 767px) {
  .hero-inner {
    padding: clamp(84px, 22vw, 112px) 20px max(100px, clamp(48px, 10vh, 72px));
  }
  .hero-layout {
    gap: 22px;
  }
  .hero-aside-inner {
    gap: 14px;
  }
  .hero-tag {
    margin-bottom: 20px;
    padding: 6px 12px;
    font-size: 10px;
  }
  .hero-h1 {
    margin-bottom: 18px;
    font-size: clamp(36px, 10.5vw, 56px);
    line-height: 1;
  }
  .hero-sub {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.6;
    max-width: none;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    padding: 13px 22px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .hero-miles-details {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    border-radius: 14px;
    background: rgba(8, 12, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }
  .hero-miles-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    user-select: none;
  }
  .hero-miles-summary::-webkit-details-marker {
    display: none;
  }
  .hero-miles-summary::after {
    content: '';
    width: 5px;
    height: 5px;
    margin-top: -2px;
    border-right: 2px solid rgba(255, 255, 255, 0.45);
    border-bottom: 2px solid rgba(255, 255, 255, 0.45);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }
  .hero-miles-details[open] .hero-miles-summary::after {
    transform: rotate(-135deg);
    margin-top: 2px;
  }
  .hero-miles-summary-hint {
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.42);
  }
  .hero-miles {
    flex-direction: column;
    max-width: none;
    width: 100%;
    padding: 0 10px 12px;
    gap: 8px;
  }
  .hero-mile-card {
    padding: 11px 13px 13px;
  }
  .hero-mile-caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .hero-mile-airline {
    font-size: 17px;
  }
  .hero-mile-value {
    font-size: clamp(21px, 5.8vw, 26px);
  }
  .hero-ring-wrap {
    width: clamp(160px, 56vw, 240px);
    height: clamp(160px, 56vw, 240px);
  }
  .hero-audio-toggle {
    width: 36px;
    height: 36px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
  }
  .hero-audio-toggle svg {
    width: 16px;
    height: 16px;
  }
}

/* ============================================================
   CIRCULAR TEXT RING
============================================================ */
.hero-ring-wrap {
  position: relative;
  flex-shrink: 0;
  align-self: center;
  width: clamp(220px, 28vw, 400px);
  height: clamp(220px, 28vw, 400px);
  z-index: 3; opacity: 0; pointer-events: none;
}
@media (min-width: 1024px) {
  /* Ring large enough for circular copy + center stack; was 14vw/248px max and felt cramped vs .hero-ring-digilog (vw-based) */
  .hero-ring-wrap {
    width: clamp(240px, 21vw, 380px);
    height: clamp(240px, 21vw, 380px);
  }
  .hero-mile-card {
    padding: 12px 14px 14px;
  }
  .hero-mile-airline {
    font-size: 18px;
  }
  .hero-mile-value {
    font-size: clamp(22px, 2.2vw, 28px);
  }
}
.hero-ring-svg {
  width: 100%; height: 100%;
  animation: ringRotate 22s linear infinite;
  will-change: transform;
}
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-ring-svg text {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(13px, 1.25vw, 17px);
  letter-spacing: 0.12em; text-transform: uppercase;
  fill: #F2F6FF;
  stroke: rgba(6, 12, 28, 0.45);
  stroke-width: 0.55px;
  paint-order: stroke fill;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(80, 140, 255, 0.25));
}
.hero-ring-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; text-align: center;
  max-width: 78%;
}
.hero-ring-digilog {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(32px, 4.8vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #6BAAFF 45%, #fff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(107, 170, 255, 0.35));
}
.hero-ring-equation {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(11px, 1.15vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.hero-ring-times {
  color: #6BAAFF;
  font-weight: 800;
  margin: 0 0.15em;
}
.hero-ring-center-label {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(7px, 0.75vw, 9px);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52); line-height: 1.4;
  margin-top: 2px;
}
.hero-ring-glow {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(180, 210, 255, 0.28);
  animation: glowPulse 3s ease-in-out infinite;
}
.hero-ring-glow2 {
  position: absolute; inset: -16px; border-radius: 50%;
  border: 1px solid rgba(140, 180, 255, 0.12);
  animation: glowPulse 3s ease-in-out infinite 1.5s;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}
.hero-ring-svg2 {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: ringRotate2 32s linear infinite;
  will-change: transform;
}
@keyframes ringRotate2 { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.hero-ring-svg2 text {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(8px, 0.85vw, 11px); letter-spacing: 0.18em; text-transform: uppercase;
  fill: rgba(228, 236, 255, 0.78);
  stroke: rgba(6, 12, 28, 0.35);
  stroke-width: 0.4px;
  paint-order: stroke fill;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.45));
}

/* ============================================================
   MARQUEE
============================================================ */
.marquee-wrap {
  overflow: hidden;
  background: var(--blue);
  padding: 16px 0;
}
.marquee-track { display: flex; white-space: nowrap; }
.marquee-inner {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
  flex-shrink: 0;
  backface-visibility: hidden;
}
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 28px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.marquee-item span { color: #fff; font-size: 16px; }

/* ============================================================
   SECTION COMMONS
============================================================ */
.section { position: relative; padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-dark { background: var(--dark); color: #fff; }
.section-blue { background: var(--blue); color: #fff; }
.section-light { background: var(--bg2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 24px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--blue);
}
.eyebrow-red { color: var(--red); }
.eyebrow-red::before { background: var(--red); }
.eyebrow-white { color: rgba(255,255,255,.7); }
.eyebrow-white::before { background: rgba(255,255,255,.4); }

.section-h2 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.0; letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.section-h2 em { font-style: italic; color: var(--blue); }
.section-h2-white em { color: #6BAAFF; }
.section-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--mid); line-height: 1.75;
  max-width: 560px;
}
.section-lead-white { color: rgba(255,255,255,.6); }

.reveal-up   { will-change: transform, opacity; }
.reveal-left { will-change: transform, opacity; }
.reveal-right{ will-change: transform, opacity; }

/* ============================================================
   RUNNING TEXT BANDS
============================================================ */
.run-band {
  overflow: hidden;
  padding: clamp(16px, 3vw, 28px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.run-band-dark {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Light background: fill + stroke so outline text stays readable */
.run-text {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(52px, 9vw, 120px);
  letter-spacing: -0.04em; line-height: 1;
  white-space: nowrap;
  color: rgba(0, 71, 204, 0.2);
  -webkit-text-stroke: 1px rgba(0, 71, 204, 0.48);
  paint-order: stroke fill;
  will-change: transform;
  display: inline-block;
  padding-right: 60px;
}
.run-text-dark {
  color: rgba(255, 255, 255, 0.06);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.24);
  paint-order: stroke fill;
}
.run-text em {
  font-style: normal;
  color: rgba(232, 0, 29, 0.18);
  -webkit-text-stroke: 1px rgba(232, 0, 29, 0.52);
}
.run-text-dark em {
  color: rgba(107, 170, 255, 0.12);
  -webkit-text-stroke: 1px rgba(107, 170, 255, 0.48);
}

/* ============================================================
   STATS
============================================================ */
#stats { background: var(--bg); }
.stats-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-bottom: 80px; align-items: end;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
}
.stat-card {
  background: var(--bg);
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 40px);
  position: relative; overflow: hidden;
  transition: background .3s;
}
.stat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s;
}
.stat-card:hover { background: var(--bg2); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-num {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.04em; line-height: 1;
  color: var(--blue); margin-bottom: 8px;
}
.stat-num sup { font-size: .5em; vertical-align: super; }
.stat-num sub { font-size: .45em; vertical-align: baseline; }
.stat-label {
  font-family: var(--font-head); font-weight: 600;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid);
}
.stat-sub { font-size: 12px; color: var(--grey); margin-top: 6px; }

/* ============================================================
   WHY US
============================================================ */
#why { background: var(--bg2); }
.why-section-inner {
  position: relative;
}
/* Clip decorative “REVENUE” + GSAP x shift so it cannot widen the document on mobile */
.why-bg-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.why-sticky {
  position: relative;
  z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.why-left {
  position: sticky; top: 100px;
}
.why-bg-word {
  position: absolute; top: 50%; left: -5%;
  transform: translateY(-50%);
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(80px, 14vw, 200px);
  letter-spacing: -0.06em; line-height: 1;
  color: rgba(0, 71, 204, 0.12);
  -webkit-text-stroke: 1px rgba(0, 71, 204, 0.32);
  paint-order: stroke fill;
  pointer-events: none; user-select: none;
  will-change: transform;
}
.why-items { display: flex; flex-direction: column; gap: 0; }
.why-item {
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 48px 1fr;
  gap: 20px; align-items: start;
  transition: padding-left .3s;
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-item:hover { padding-left: 12px; }
.why-num {
  font-family: var(--font-head); font-weight: 900;
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--blue); padding-top: 4px;
}
.why-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: -0.02em; margin-bottom: 8px;
  color: var(--dark);
}
.why-desc { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* ============================================================
   SERVICES — card slider (readable layout & contrast)
============================================================ */
#services { background: var(--bg); overflow: hidden; }
.services-header {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: end;
  margin-bottom: 48px;
}
.slider-outer {
  position: relative;
  overflow: hidden;
  margin: 0 clamp(-24px, -5vw, -80px);
  padding: 0 clamp(24px, 5vw, 80px);
}
.slider-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  will-change: transform;
  cursor: grab;
  user-select: none;
  padding: 8px 0 28px;
}
.slider-track.grabbing { cursor: grabbing; }

/* Card shell — min-height fits copy; content flows top-to-bottom */
.svc-slide {
  flex: 0 0 clamp(280px, 34vw, 400px);
  min-height: clamp(460px, 52vh, 580px);
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94), box-shadow .45s, border-color .35s, background .35s, opacity .35s;
  border: 1px solid var(--border);
  background: var(--bg2);
  box-shadow: 0 4px 24px rgba(0, 71, 204, 0.06);
}
.svc-slide.active {
  background: var(--bg);
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(0, 71, 204, 0.14), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 71, 204, 0.35);
}
.svc-slide:hover:not(.active) {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 71, 204, 0.1);
  border-color: rgba(0, 71, 204, 0.18);
}
.svc-slide-band {
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  z-index: 2;
}
.band-blue  { background: var(--blue); }
.band-red   { background: var(--red); }
.band-grad  { background: linear-gradient(90deg, var(--blue), var(--red)); }

.svc-slide-num {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(0, 71, 204, 0.06);
  pointer-events: none;
  z-index: 0;
  transition: color .35s;
}
.svc-slide.active .svc-slide-num { color: rgba(0, 71, 204, 0.1); }

.svc-slide-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px clamp(22px, 3vw, 32px) 32px;
  padding-top: 36px;
}
.svc-slide-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 71, 204, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: background .35s, transform .35s, box-shadow .35s;
}
.svc-slide.active .svc-slide-icon {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 71, 204, 0.35);
  transform: translateY(0);
}
.svc-slide-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0035a0;
  margin-bottom: 8px;
  transition: color .35s;
}
.svc-slide.active .svc-slide-tag { color: var(--red); }
.svc-slide-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(19px, 2.1vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--dark);
  margin-bottom: 12px;
}
.svc-slide-desc {
  font-size: 14px;
  color: #2d3952;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.svc-slide-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-slide-features li {
  font-size: 13px;
  color: #3d4a6b;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.svc-slide-features li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--blue);
  transition: background .35s, transform .35s;
}
.svc-slide.active .svc-slide-features li::before {
  background: var(--red);
  transform: scale(1.05);
}

.slider-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.slider-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 71, 204, 0.2);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.slider-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 71, 204, 0.25);
}
.slider-btn:hover svg { stroke: #fff; }
.slider-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.slider-btn svg { stroke: var(--dark); transition: stroke .25s; }
.slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 71, 204, 0.15);
  transition: background .25s, width .25s, transform .25s;
  cursor: pointer;
}
.slider-dot:hover { background: rgba(0, 71, 204, 0.35); }
.slider-dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}
.slider-progress {
  margin-left: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--mid);
}
.slider-progress span { color: var(--blue); }

.slider-hint {
  width: 100%;
  flex-basis: 100%;
  order: 10;
  margin: 0;
  font-size: 12px;
  color: var(--grey);
  line-height: 1.5;
}
@media (min-width: 769px) {
  .slider-hint { display: none; }
}

/* ============================================================
   CASE STUDIES
============================================================ */
#cases { background: var(--dark); color: #fff; }
.cases-header {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: end; margin-bottom: 60px;
}
.cases-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 28px);
  align-items: stretch;
}
.case-card {
  min-width: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(26px, 3.2vw, 40px);
  position: relative;
  overflow: hidden;
  transition: border-color .35s, background .35s, box-shadow .35s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.case-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s;
}
.case-card:hover { border-color: rgba(107,170,255,.25); background: rgba(255,255,255,.06); }
.case-card:hover::before { transform: scaleX(1); }
.case-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6BAAFF;
  background: rgba(107,170,255,.1);
  padding: 5px 12px; border-radius: 100px;
  margin-bottom: 20px;
}
.case-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.03em; line-height: 1.2;
  color: #fff; margin-bottom: 12px;
}
.case-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  margin-bottom: 26px;
}
.case-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.case-metric-val {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.04em;
  color: #6BAAFF;
}
.case-metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  line-height: 1.35;
}

/* ============================================================
   VISION (#laos — decorative word + content; id kept for #laos links)
============================================================ */
#laos { background: var(--bg); overflow: hidden; }
#laos .section-inner {
  position: relative;
  z-index: 1;
}
/* Wrapper: GSAP parallax sets transform on #laos-bg — keep text centered inside */
.laos-bg-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(12px, 3vw, 24px);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
  overflow: hidden;
}
.laos-bg-word {
  text-align: center;
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(48px, 11vw, 220px);
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(0, 71, 204, 0.1);
  -webkit-text-stroke: 1px rgba(0, 71, 204, 0.26);
  paint-order: stroke fill;
  white-space: nowrap;
  max-width: 100%;
}
.laos-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.laos-features { display: flex; flex-direction: column; gap: 0; }
.laos-feature {
  padding: clamp(20px, 2.5vw, 32px) 0;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 52px 1fr;
  gap: 20px; align-items: start;
  transition: padding-left .3s;
}
.laos-feature:first-child { border-top: 1px solid var(--border); }
.laos-feature:hover { padding-left: 10px; }
.laos-feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background .3s, transform .3s;
}
.laos-feature:hover .laos-feature-icon { background: var(--blue); transform: scale(1.08); }
.laos-feature-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 15px; letter-spacing: -0.02em;
  color: var(--dark); margin-bottom: 6px;
}
.laos-feature-desc { font-size: 13px; color: var(--mid); line-height: 1.65; }
.laos-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.laos-card-big {
  background: var(--blue);
  border-radius: 24px; padding: clamp(32px, 4vw, 56px);
  color: #fff; position: relative; overflow: hidden;
  width: 100%;
}
.laos-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 36px);
  margin-bottom: 22px;
}
.laos-flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.laos-flag-graphic {
  display: block;
  line-height: 0;
}
.laos-flag-svg {
  display: block;
  width: clamp(52px, 9vw, 76px);
  height: auto; /* ratio from each SVG viewBox (JP 3:2, US ~1.9:1) */
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.laos-flag-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.laos-card-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.04em; margin-bottom: 12px;
}
.laos-card-sub { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 28px; }
.laos-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.laos-stat-val {
  font-family: var(--font-head); font-weight: 900;
  font-size: 28px; letter-spacing: -0.04em;
}
.laos-stat-label { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.laos-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); background: #fff;
  padding: 13px 28px; border-radius: 100px;
  transition: transform .3s, box-shadow .3s;
}
.laos-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,.3); }

/* ============================================================
   PRICING
============================================================ */
#pricing { background: var(--bg2); }
.pricing-header { margin-bottom: 40px; }
.pricing-toggle {
  display: inline-flex; align-items: center;
  background: var(--bg3); border-radius: 100px;
  padding: 4px; margin-bottom: 56px;
  border: 1px solid var(--border);
}
.pricing-toggle button {
  font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 22px; border-radius: 100px;
  border: none; background: none; cursor: pointer;
  color: var(--grey); transition: background .3s, color .3s, box-shadow .3s;
}
.pricing-toggle button.active {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 16px rgba(0,71,204,.3);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: stretch;
}
.pricing-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px; padding: clamp(28px, 3.5vw, 44px);
  position: relative; overflow: hidden;
  transition: transform .4s, box-shadow .4s, border-color .4s;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.pricing-card-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pricing-card-main .pricing-features {
  flex: 1 1 auto;
  margin-bottom: 0;
}
.pricing-card-foot {
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 4px;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,71,204,.12); }
.pricing-card.featured {
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue-lt) 0%, var(--bg) 60%);
}
.pricing-card.featured::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
}
.pricing-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--red);
  padding: 5px 12px; border-radius: 100px;
}
.pricing-plan-label {
  font-family: var(--font-head); font-weight: 700;
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.pricing-plan-name {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.03em; margin-bottom: 28px; color: var(--dark);
}
.pricing-price-wrap { margin-bottom: 8px; }
.pricing-price {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.04em; line-height: 1; color: var(--dark);
}
.pricing-price-unit {
  font-family: var(--font-head); font-weight: 500;
  font-size: 14px; color: var(--grey); margin-left: 4px;
}
.pricing-term { font-size: 12px; color: var(--grey); margin-bottom: 12px; }
.pricing-annual-total {
  font-size: 11px;
  line-height: 1.45;
  color: var(--mid);
  margin: 0 0 18px;
  min-height: 1.45em;
}
.pricing-annual-total:empty { display: none; }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 28px; flex-shrink: 0; }
.pricing-features { list-style: none; margin-bottom: 36px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--mid);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li::before {
  content: '—'; color: var(--blue); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.pricing-btn {
  width: 100%;
  font-family: var(--font-head); font-weight: 800;
  font-size: 13px; letter-spacing: 0.04em; text-transform: none;
  padding: 13px 24px; border-radius: 8px;
  border: 1px solid #c08b00;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  /* Amazon-style orange-yellow gradient */
  background: linear-gradient(to bottom, #FFD814 0%, #F7CA00 47%, #F0B800 100%);
  color: #0F1111;
  box-shadow: 0 2px 5px rgba(213,177,0,.5), inset 0 1px 0 rgba(255,255,255,.6);
}
.pricing-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.18) 0%, transparent 60%);
  pointer-events: none;
}
.pricing-btn:hover {
  background: linear-gradient(to bottom, #F7CA00 0%, #EEB900 47%, #E5A800 100%);
  box-shadow: 0 3px 8px rgba(213,177,0,.6), inset 0 1px 0 rgba(255,255,255,.5);
  transform: translateY(-1px);
}
.pricing-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(213,177,0,.4);
  filter: brightness(.97);
}
/* Remove old variant classes — all buttons use Amazon style now */
.pricing-square {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey);
}
.pricing-square::before { content: '■'; font-size: 10px; color: var(--blue); opacity: .5; }
.pricing-note {
  margin-top: 48px;
  background: var(--blue-lt);
  border: 1px solid rgba(0,71,204,.2);
  border-radius: 16px; padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 16px;
}
.pricing-note-icon { font-size: 24px; flex-shrink: 0; }
.pricing-note a { color: var(--blue); text-decoration: underline; }

/* Monthly “cheering” support tiers (below main plans) */
.pricing-support {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.pricing-support-head {
  max-width: 640px;
  margin-bottom: 28px;
}
.pricing-support-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.pricing-support-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 12px;
}
.pricing-support-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--mid);
}
.pricing-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pricing-support-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}
.pricing-support-price {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 6px;
}
.pricing-support-period {
  font-weight: 600;
  font-size: 12px;
  color: var(--grey);
  margin-left: 2px;
}
.pricing-support-note {
  font-size: 11px;
  color: var(--grey);
  margin-bottom: 14px;
  flex: 1 1 auto;
}
.pricing-support-card .pricing-btn {
  margin-bottom: 0;
}

/* ============================================================
   CONTACT
============================================================ */
#contact { background: var(--dark); color: #fff; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-item { display: flex; flex-direction: column; gap: 4px; }
.contact-info-label {
  font-family: var(--font-head); font-weight: 700;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.contact-info-val { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.5; }
.contact-form-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border-radius: 20px; padding: clamp(28px, 4vw, 48px);
}
.form-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.03em; margin-bottom: 6px; color: #fff;
}
.form-sub { font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-family: var(--font-head); font-weight: 600;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 13px 16px;
  color: #fff; font-family: var(--font-body); font-size: 14px;
  outline: none;
  transition: border-color .3s, background .3s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,.2); }
.form-input:focus, .form-textarea:focus {
  border-color: rgba(107,170,255,.5);
  background: rgba(107,170,255,.05);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; margin-top: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--blue);
  border: none; border-radius: 100px; padding: 16px;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,71,204,.4); }
.form-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-error {
  font-size: 13px;
  line-height: 1.5;
  color: #ff8a8a;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,80,80,.08);
  border: 1px solid rgba(255,120,120,.25);
}
.contact-recaptcha-notice {
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255,255,255,.32);
}
.contact-recaptcha-notice a {
  color: rgba(107,170,255,.75);
  text-decoration: underline;
}
.contact-recaptcha-notice a:hover { color: #6BAAFF; }

/* intl-tel-input — match dark contact form */
.contact-form-wrap .iti {
  width: 100%;
  display: block;
}
.contact-form-wrap .iti__flag-container {
  border-radius: 10px 0 0 10px;
  border-right: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
}
.contact-form-wrap .iti__selected-flag {
  border-radius: 10px 0 0 10px;
  padding: 0 10px 0 12px;
}
.contact-form-wrap .iti__selected-flag:hover,
.contact-form-wrap .iti__selected-flag:focus {
  background: rgba(107,170,255,.12);
}
.contact-form-wrap .iti__arrow {
  border-top-color: rgba(255,255,255,.45);
}
.contact-form-wrap .iti__arrow--up { border-bottom-color: rgba(255,255,255,.45); }
.contact-form-wrap .iti__country-list {
  z-index: 60;
  background: #141820;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
  max-height: 220px;
  color: rgba(255,255,255,.9);
}
.contact-form-wrap .iti__country-list::-webkit-scrollbar { width: 8px; }
.contact-form-wrap .iti__country-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.15);
  border-radius: 4px;
}
.contact-form-wrap .iti__country.iti__highlight {
  background: rgba(107,170,255,.2);
}
.contact-form-wrap .iti__dial-code { color: rgba(255,255,255,.45); }
.contact-form-wrap .iti input.form-input {
  border-radius: 0 10px 10px 0;
  padding-left: 12px;
}

/* reCAPTCHA v3 badge: only while #contact is in view (requires __27CO_RECAPTCHA_SITE_KEY__) */
html.recaptcha-badge-contact-only body:not(.is-contact-in-view) .grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#form-success { display: none; text-align: center; padding: 40px 0; }
.form-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(107,170,255,.1);
  border: 1px solid rgba(107,170,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #6BAAFF;
  margin: 0 auto 20px;
}
.form-success-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: 24px; letter-spacing: -0.03em; margin-bottom: 8px; color: #fff;
}
.form-success-sub { font-size: 14px; color: rgba(255,255,255,.4); }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 40px clamp(24px, 5vw, 80px);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: var(--font-head); font-weight: 900;
  font-size: 18px; letter-spacing: -0.04em;
  color: #fff;
  display: flex; align-items: center; gap: 6px;
}
.footer-logo .brand-stack { display: inline-flex; flex-direction: row; align-items: flex-end; gap: 2px; line-height: 1; }
.footer-logo .brand-27 { font-size: 2.15em; letter-spacing: -0.04em; }
.footer-logo .brand-rest { font-size: 1em; opacity: .98; }
.footer-logo .brand-mark {
  width: 24px; height: 24px;
  border-radius: 5px;
  object-fit: contain;
  filter: invert(1) brightness(1.08);
}

/* 27 — white fill with blue outline */
.brand-27{
  color: #fff;
  -webkit-text-stroke: 6px var(--blue);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(0,71,204,.85),
    1px 0 0 rgba(0,71,204,.85),
    -1px 0 0 rgba(0,71,204,.85),
    0 -1px 0 rgba(0,71,204,.85);
}
.brand-rest{ padding-bottom: 2px; }
.footer-logo .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 5px;
  background: var(--blue); color: #fff; font-size: 12px;
}
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-head); font-weight: 600;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.3); transition: color .3s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: 12px; color: rgba(255,255,255,.2);
  width: 100%; text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-link-btn {
  font-family: var(--font-head); font-weight: 600;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  background: none; border: none; padding: 0; cursor: pointer;
  transition: color .3s;
}
.footer-link-btn:hover { color: #fff; }

#mob-menu .mob-menu-cookie {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(22px, 6vw, 40px);
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.35);
  background: none; border: none; cursor: pointer;
  margin-top: 12px;
  transition: color .3s;
}
#mob-menu .mob-menu-cookie:hover { color: #fff; }

/* ============================================================
   COOKIE / ANALYTICS CONSENT
============================================================ */
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 850;
  padding: 16px clamp(16px, 4vw, 28px);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent-inner {
  pointer-events: all;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(20, 24, 32, .97);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 24px) clamp(20px, 4vw, 28px);
  box-shadow: 0 -8px 48px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
}
.cookie-consent-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: 16px; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 10px;
}
.cookie-consent-text {
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,.55);
  margin: 0 0 10px;
}
.cookie-consent-text:last-of-type { margin-bottom: 16px; }
.cookie-consent-text a {
  color: rgba(107,170,255,.9);
  text-decoration: underline;
}
.cookie-consent-text a:hover { color: #6BAAFF; }
.cookie-consent-actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end;
}
.cookie-consent-btn {
  font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 100px; cursor: pointer;
  border: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.cookie-consent-btn--primary {
  color: #fff; background: var(--blue);
  box-shadow: 0 6px 24px rgba(0,71,204,.35);
}
.cookie-consent-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,71,204,.45); }
.cookie-consent-btn--ghost {
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
}
.cookie-consent-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ============================================================
   FLOATING CTA
============================================================ */
#fcta {
  position: fixed; bottom: 32px; right: 32px; z-index: 700;
  opacity: 0; transform: translateY(20px) scale(.9);
  pointer-events: none;
}
#fcta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.fcta-btn {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--red);
  padding: 14px 24px; border-radius: 100px;
  box-shadow: 0 8px 32px rgba(232,0,29,.4);
  transition: transform .3s, box-shadow .3s;
}
.fcta-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 44px rgba(232,0,29,.5); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-sticky { grid-template-columns: 1fr; }
  .why-left { position: relative; top: auto; }
  .services-header { grid-template-columns: 1fr; }
  .laos-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-support-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-header { grid-template-columns: 1fr; }
  .cases-header { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  /* Digilog ring visible on tablet / phone — scale to viewport */
  .hero-ring-wrap {
    width: clamp(200px, 72vw, 320px);
    height: clamp(200px, 72vw, 320px);
  }
  .hero-miles {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-mile-card {
    flex: 1 1 calc(50% - 6px);
    min-width: 160px;
  }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-miles { flex-direction: column; }
  .hero-mile-card { flex: 1 1 auto; min-width: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { display: none; }
  #fcta { bottom: 20px; right: 20px; }
  .svc-slide {
    flex: 0 0 min(86vw, 380px);
    min-height: min(520px, 78vh);
  }
  .svc-slide-inner {
    padding: 32px 20px 28px;
    padding-top: 28px;
  }
  .slider-btn {
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
