/* ===================================================
   NIHON GLOBAL TRADING — PREMIUM PORTAL STYLESHEET
   =================================================== */

/* --- DESIGN TOKENS --- */
:root {
  --navy-900: #0a0f1e;
  --navy-800: #0d1529;
  --navy-700: #111e3a;
  --navy-600: #162548;
  --navy-500: #1e3460;
  --navy-400: #2a4a82;
  --navy-300: #3d6baa;
  --navy-100: #c8d8f0;

  --crimson: #c8102e;
  --crimson-light: #e8183e;
  --crimson-dark: #9e0c24;
  --crimson-glow: rgba(200, 16, 46, 0.25);

  --steel-700: #2c3440;
  --steel-600: #3a4455;
  --steel-500: #4a5568;
  --steel-400: #60718a;
  --steel-200: #a8b4c4;

  --sky-600: #1a6abf;
  --sky-500: #2080d0;
  --sky-400: #3a98e8;
  --sky-glow: rgba(32, 128, 208, 0.25);

  --white: #ffffff;
  --off-white: #f8fafc;
  --light-grey: #f1f4f8;
  --mid-grey: #e2e8f0;
  --border: rgba(255, 255, 255, 0.08);

  --gold: #f0b429;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.25);

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 72px;
  --container: 1280px;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--navy-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

ul {
  list-style: none;
}

/* --- CONTAINER --- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 15, 30, 0.5);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 15, 30, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  transition: var(--transition-fast);
}

.logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo-icon {
  width: 36px;
  height: 42px;
  color: var(--crimson);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--white);
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--navy-100);
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* Nav */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: var(--transition-fast);
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      var(--navy-900) 0%,
      var(--navy-800) 40%,
      #1a0d1e 70%,
      var(--navy-900) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 50%, rgba(200, 16, 46, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 30%, rgba(30, 52, 96, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(10, 15, 30, 0.8) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-torii {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: min(500px, 45vw);
  opacity: 0.5;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 120px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  padding-block: 80px 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 16, 46, 0.15);
  border: 1px solid rgba(200, 16, 46, 0.3);
  color: #ff6b7a;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--crimson);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-title-accent {
  background: linear-gradient(90deg, var(--crimson) 0%, #ff6b7a 50%, #ffab82 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.8s 0.5s ease both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  z-index: 10;
  animation: fadeInUp 1s 0.8s ease both;
}

.hero-scroll:hover {
  color: rgba(255, 255, 255, 0.8);
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
  box-shadow: 0 4px 20px var(--crimson-glow);
}

.btn-primary:hover {
  background: var(--crimson-light);
  border-color: var(--crimson-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--crimson-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* ===================================================
   SECTION HEADERS
   =================================================== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--steel-500);
  line-height: 1.7;
}

/* ===================================================
   GATEWAY CARDS
   =================================================== */
.gateways-section {
  padding: 120px 0;
  background: var(--off-white);
  position: relative;
}

.gateways-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--mid-grey), transparent);
}

.gateways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Base Card */
.gateway-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  background: var(--navy-800);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.gateway-card:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 3px;
}

.gateway-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

/* Featured (middle) card is slightly taller */
.featured-card {
  transform: scale(1.03);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(200, 16, 46, 0.3);
}

.featured-card:hover {
  transform: translateY(-10px) scale(1.045);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.35), 0 0 0 2px var(--crimson);
}

.featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 20;
  background: var(--crimson);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  box-shadow: 0 2px 12px var(--crimson-glow);
}

/* Card background visual area */
.card-bg-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Gradient overlays */
.card-overlay-gradient {
  position: absolute;
  inset: 0;
}

.mazen-gradient {
  background: linear-gradient(to bottom,
      rgba(13, 21, 41, 0.3) 0%,
      rgba(13, 21, 41, 0.6) 40%,
      rgba(13, 21, 41, 0.97) 75%);
}

.fuji-gradient {
  background: linear-gradient(to bottom,
      rgba(20, 8, 12, 0.25) 0%,
      rgba(20, 8, 12, 0.55) 40%,
      rgba(13, 5, 8, 0.97) 75%);
}

.nexora-gradient {
  background: linear-gradient(to bottom,
      rgba(8, 16, 36, 0.25) 0%,
      rgba(8, 16, 36, 0.55) 40%,
      rgba(8, 16, 36, 0.97) 75%);
}

/* Card content */
.card-content {
  position: relative;
  z-index: 10;
  padding: 32px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
  width: fit-content;
}

.mazen-tag {
  background: rgba(74, 85, 104, 0.4);
  color: var(--steel-200);
  border: 1px solid rgba(74, 85, 104, 0.5);
}

.fuji-tag {
  background: rgba(200, 16, 46, 0.25);
  color: #ff8a9a;
  border: 1px solid rgba(200, 16, 46, 0.4);
}

.nexora-tag {
  background: rgba(32, 128, 208, 0.2);
  color: #7cc4f8;
  border: 1px solid rgba(32, 128, 208, 0.35);
}

.card-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1;
}

.card-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  line-height: 1.4;
}

.card-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.card-services li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.service-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.card-mazen .service-dot {
  background: var(--steel-200);
}

.card-fuji .service-dot {
  background: var(--crimson);
}

.card-nexora .service-dot {
  background: var(--sky-400);
}

.gateway-card:hover .service-dot {
  transform: scale(1.5);
}

/* CTA buttons */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
  width: 100%;
  justify-content: center;
  border: 2px solid transparent;
}

.mazen-cta {
  background: var(--navy-500);
  color: var(--white);
  border-color: var(--navy-400);
}

.mazen-cta:hover {
  background: var(--navy-600);
  border-color: var(--navy-300);
  gap: 16px;
}

.fuji-cta {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson-light);
  box-shadow: 0 4px 20px var(--crimson-glow);
}

.fuji-cta:hover {
  background: var(--crimson-light);
  box-shadow: 0 8px 30px rgba(200, 16, 46, 0.45);
  gap: 16px;
}

.nexora-cta {
  background: var(--sky-600);
  color: var(--white);
  border-color: var(--sky-500);
  box-shadow: 0 4px 20px var(--sky-glow);
}

.nexora-cta:hover {
  background: var(--sky-500);
  box-shadow: 0 8px 30px rgba(32, 128, 208, 0.4);
  gap: 16px;
}

/* Card shine effect */
.card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 5;
}

.gateway-card:hover .card-shine {
  transform: translateX(100%);
}

/* ---- MAZEN background ---- */
.mazen-visual {
  background: linear-gradient(135deg, #1a2232 0%, #0f1a2e 50%, #1c2535 100%);
}

.mazen-gear {
  position: absolute;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.04);
  animation: spin linear infinite;
}

.mazen-gear::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.04);
}

.gear-1 {
  width: 160px;
  height: 160px;
  top: -40px;
  right: -30px;
  animation-duration: 30s;
  border-color: rgba(100, 130, 180, 0.1);
}

.gear-2 {
  width: 100px;
  height: 100px;
  top: 80px;
  right: 90px;
  animation-duration: 20s;
  animation-direction: reverse;
  border-color: rgba(100, 130, 180, 0.07);
}

.gear-3 {
  width: 200px;
  height: 200px;
  bottom: 60px;
  left: -60px;
  animation-duration: 40s;
  border-color: rgba(100, 130, 180, 0.06);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.mazen-icons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* ---- FUJI background ---- */
.fuji-visual {
  background: linear-gradient(135deg, #1a0510 0%, #200810 60%, #1a0510 100%);
}

.fuji-car {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, 90%);
  transition: transform 0.5s ease;
}

.card-fuji:hover .fuji-car {
  transform: translateX(-50%) translateY(-8px) scale(1.04);
}

/* ---- NEXORA background ---- */
.nexora-visual {
  background: linear-gradient(135deg, #080f22 0%, #0c1630 60%, #080f22 100%);
}

.nexora-icons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

/* ===================================================
   ABOUT STRIP
   =================================================== */
.about-strip {
  padding: 120px 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.about-strip::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-strip::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 52, 96, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-text .section-tag {
  margin-bottom: 16px;
}

.about-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-flags {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.flag {
  width: 56px;
  height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.flag-jp {
  background: var(--white);
}

.flag-jp .flag-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #bc002d;
}

.flag-bd {
  background: #006a4e;
}

.flag-bd .flag-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f42a41;
  transform: translateX(2px);
}

.flag-bridge {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.2);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(6px);
}

.value-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ===================================================
   GLOBAL NETWORK SECTION
   =================================================== */
.network-section {
  padding: 120px 0 80px;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.network-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.network-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.network-glow-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.6) 0%, transparent 70%);
}

.network-glow-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(32, 128, 208, 0.6) 0%, transparent 70%);
}

.network-glow-3 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 180, 41, 0.15) 0%, transparent 70%);
}

.net-tag {
  color: #7cc4f8 !important;
  background: rgba(32, 128, 208, 0.12) !important;
  border-color: rgba(32, 128, 208, 0.25) !important;
}

.net-title {
  color: var(--white) !important;
}

.net-desc {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* ---- Network Map ---- */
.network-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 60px;
  aspect-ratio: 900 / 560;
}

.network-map {
  position: relative;
  width: 100%;
  height: 100%;
}

.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.conn-line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  animation: dashMove 3s linear infinite;
}

@keyframes dashMove {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -40;
  }
}

.data-dot {
  fill: var(--crimson);
  filter: drop-shadow(0 0 6px rgba(200, 16, 46, 0.9));
}

/* Japan hub — absolutely centred via CSS vars */
.network-hub {
  position: absolute;
  left: var(--hx);
  top: var(--hy);
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-pulse {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid rgba(200, 16, 46, 0.4);
  animation: hubPulse 2.5s ease-out infinite;
}

.hub-pulse-2 {
  animation-delay: 1.25s;
  border-color: rgba(200, 16, 46, 0.2);
}

@keyframes hubPulse {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.hub-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bc002d 0%, #e8183e 100%);
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 40px rgba(200, 16, 46, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.hub-flag-jp {
  width: 32px;
  height: 22px;
  background: white;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hub-flag-jp::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bc002d;
  position: absolute;
}

.hub-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.hub-sublabel {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Country nodes */
.country-node {
  position: absolute;
  left: var(--nx);
  top: var(--ny);
  transform: translate(-50%, -50%);
  z-index: 15;
  cursor: pointer;
  transition: var(--transition);
}

.country-node:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.node-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  min-width: 72px;
  text-align: center;
}

.country-node:hover .node-inner {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(200, 16, 46, 0.2);
}

.node-emoji {
  font-size: 1.6rem;
  line-height: 1;
  display: block;
}

.node-name {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---- Network stats ---- */
.network-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.net-stat {
  text-align: center;
}

.net-stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #c8d8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.net-stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.net-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

/* ---- Country cards ---- */
.country-cards {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.cc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 12px;
  text-align: center;
  cursor: default;
  transition: var(--transition);
}

.cc-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.cc-emoji {
  font-size: 2rem;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.cc-info strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.cc-info span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact-section {
  padding: 120px 0;
  background: var(--light-grey);
  position: relative;
}

.contact-inner {
  max-width: 720px;
  margin-inline: auto;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-logo svg {
  width: 28px;
  height: 32px;
  color: var(--crimson);
}

.footer-tagline {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.footer-inner h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-inner ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-inner ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer-inner ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-right {
  color: rgba(255, 255, 255, 0.2) !important;
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Particle dots */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .gateways-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }

  .featured-card {
    transform: none;
  }

  .featured-card:hover {
    transform: translateY(-10px) scale(1.015);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .network-map-wrapper {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

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

  .network-stats {
    gap: 24px;
  }

  .net-stat-divider {
    display: none;
  }

  .network-map-wrapper {
    aspect-ratio: unset;
    height: 420px;
  }

  nav#site-nav {
    display: none;
  }

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

}

/* ====== CLIENTS ====== */
.clients-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #0f1628 0%, #0d1322 50%, #0a0e1a 100%);
  position: relative;
  overflow: hidden;
}

.clients-section::before {
  content: '';
  position: absolute;
  top: -180px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 128, 208, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.clients-section .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.clients-section .section-title {
  color: var(--white);
}

.clients-section .section-desc {
  color: rgba(255, 255, 255, 0.55);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.client-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.client-card--dark {
  background: var(--navy-700);
}

.client-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .client-card {
    height: 84px;
    padding: 14px;
  }
}

/* ====== COMPANY ADDRESS ====== */
.address-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #0a0e1a 0%, #0d1322 60%, #0f1628 100%);
  position: relative;
  overflow: hidden;
}

.address-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.address-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.address-section .section-title {
  color: var(--white);
}

.address-section .section-desc {
  color: rgba(255, 255, 255, 0.55);
}

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

.address-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.address-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(200,16,46,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.address-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.address-card:hover::before {
  opacity: 1;
}

.address-flag {
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1;
}

.address-country {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.address-country::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red);
  margin: 8px auto 0;
  border-radius: 2px;
}

.address-details {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-top: 16px;
}

@media (max-width: 480px) {
  .gateways-section {
    padding: 80px 0;
  }

  .about-strip {
    padding: 80px 0;
  }

  .contact-section {
    padding: 80px 0;
  }

  .network-section {
    padding: 80px 0 60px;
  }

  .country-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cc-card {
    padding: 18px 10px;
  }

  .network-map-wrapper {
    display: none;
  }

  nav#site-nav {
    display: none;
  }

  .address-grid {
    grid-template-columns: 1fr;
  }

  .address-section {
    padding: 70px 0;
  }

}