/**
 * TCN—ACI National Trade Platform — Cinematic Premium Experience (Light Mode)
 * Libya Trade Net (LTNet)
 * ═══════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════
   1. DESIGN TOKENS (PREMIUM LIGHT PALETTE)
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Sovereign & Architectural Light Backgrounds */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-light-tint: #f0f7ff;

  /* Sovereign Navy (High Authority Typography) */
  --navy-deep: #06152d;
  --navy-main: #0a2540;
  --navy-surface: #0f3256;
  --navy-light: #1e3a8a;

  /* Restrained Electric & Sovereign Blue */
  --blue-primary: #0284c7;
  --blue-hover: #0369a1;
  --blue-deep: #075985;
  --blue-soft: #e0f2fe;
  --blue-border: #bae6fd;
  --blue-glow: rgba(2, 132, 199, 0.14);
  --blue-bright-glow: rgba(2, 132, 199, 0.28);

  /* Cyan Illumination & Highlights */
  --cyan: #0891b2;
  --cyan-soft: #ecfeff;
  --cyan-border: #a5f3fc;
  --cyan-glow: rgba(6, 182, 212, 0.12);

  /* Verification & Trust Emerald */
  --emerald-main: #059669;
  --emerald-dark: #047857;
  --emerald-soft: #ecfdf5;
  --emerald-border: #a7f3d0;
  --emerald-glow: rgba(16, 185, 129, 0.15);

  /* Gold Sovereign Accents */
  --gold-main: #d97706;
  --gold-soft: #fef3c7;
  --gold-border: #fde68a;

  /* Typography Colors */
  --text-title: #0a192f;
  --text-headline: #0f233f;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-card: rgba(226, 232, 240, 0.95);
  --border-hover: #93c5fd;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 40px -8px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 24px 64px -12px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 10px 30px -4px rgba(10, 37, 64, 0.06);

  /* Layout */
  --nav-h: 74px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════════
   2. GLOBAL RESET & TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: "Cairo", system-ui, -apple-system, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-en {
  font-family: "Inter", "Cairo", system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cairo", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-title);
  margin: 0;
  letter-spacing: -0.02em;
}

.lang-en h1,
.lang-en h2,
.lang-en h3,
.lang-en h4,
.lang-en h5,
.lang-en h6 {
  font-family: "Inter", "Cairo", system-ui, sans-serif;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
}

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

/* Container */
.tcn-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Section Label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  margin-bottom: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   3. NAVBAR — Crisp Frosted Light Glass
   ═══════════════════════════════════════════════════════════════ */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.35s var(--ease-smooth);
}

.site-navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  border-bottom-color: var(--border-light);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s var(--ease-out);
}

.nav-brand:hover .nav-logo-img {
  transform: scale(1.02);
}

.nav-brand-sep {
  width: 1px;
  height: 30px;
  background: var(--border-light);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-main {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy-deep);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-primary);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* Nav Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-main);
  cursor: pointer;
  transition: all 0.25s;
}

.nav-lang-btn:hover {
  background: #e2e8f0;
  color: var(--navy-deep);
  border-color: var(--border-subtle);
}

.nav-register-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: var(--r-sm);
  background: var(--navy-main);
  color: var(--text-white);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.15);
}

.nav-register-btn:hover {
  background: var(--blue-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
  color: var(--text-white);
}

.nav-mobile-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--navy-deep);
  cursor: pointer;
  padding: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   4. HERO — Light Mode Sovereign Showcase
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 60%, #edf4fc 100%);
}

/* Atmospheric Ambient Lights (Light Mode) */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 60% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 50%, black, transparent);
  opacity: 0.6;
}

/* Ambient Radial Glows */
.hero-atmosphere::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.09) 0%, rgba(6, 182, 212, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

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

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--blue-primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloatLight 8s infinite;
}

@keyframes particleFloatLight {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.8);
  }

  20% {
    opacity: 0.45;
  }

  80% {
    opacity: 0.45;
  }

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

/* Hero Layout */
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - var(--nav-h) - 60px);
  min-height: calc(100dvh - var(--nav-h) - 60px);
  padding: 40px 0;
}

/* Hero Content */
.hero-content {
  max-width: 580px;
}

.hero-institutional {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 22px;
  opacity: 0;
  animation: revealUpLight 0.8s 0.15s var(--ease-out) forwards;
}

.hero-brand {
  font-size: clamp(3.2rem, 6.5vw, 5.5rem);
  font-weight: 900;
  color: var(--navy-deep);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #071932 0%, #0a2540 45%, #0284c7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: revealUpLight 0.8s 0.25s var(--ease-out) forwards;
}

.lang-en .hero-brand {
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.hero-headline {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--text-headline);
  margin-bottom: 16px;
  line-height: 1.35;
  opacity: 0;
  animation: revealUpLight 0.8s 0.35s var(--ease-out) forwards;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 34px;
  max-width: 500px;
  opacity: 0;
  animation: revealUpLight 0.8s 0.45s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: revealUpLight 0.8s 0.55s var(--ease-out) forwards;
}

@keyframes revealUpLight {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Hero Buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  background: var(--navy-main);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s var(--ease-out);
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.16);
}

.btn-hero-primary:hover {
  background: var(--blue-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(2, 132, 199, 0.28);
  color: var(--text-white);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  color: var(--navy-main);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}

.btn-hero-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--navy-main);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--blue-primary), transparent);
  animation: scrollPulseLight 2s infinite;
}

@keyframes scrollPulseLight {

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

  50% {
    opacity: 0.85;
    transform: scaleY(1.2);
  }
}

/* ═══════════════════════════════════════════════════════════════
   5. HERO VISUAL — THE REALISTIC 3D SHIPPING CONTAINER
   ═══════════════════════════════════════════════════════════════ */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1300px;
  opacity: 0;
  animation: revealUpLight 1s 0.4s var(--ease-out) forwards;
}

/* Realistic WebGL 3D Container Wrapper */
.container-webgl-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 420px;
  z-index: 3;
  pointer-events: auto;
}

.container-webgl-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
}

/* ─────────────────────────────────────────────────────────────
   SEAMLESS 6-SIDED MATHEMATICAL CSS 3D CONTAINER (FALLBACK)
   Width: 340px, Height: 140px, Depth: 130px
   Every single face meets at the exact coordinates with zero gap!
   ───────────────────────────────────────────────────────────── */
.container-3d {
  position: relative;
  width: 340px;
  height: 140px;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(32deg) rotateZ(0deg);
  animation: containerFloatReal 9s ease-in-out infinite;
  z-index: 3;
}

[dir="rtl"] .container-3d {
  transform: rotateX(15deg) rotateY(-32deg) rotateZ(0deg);
  animation: containerFloatRealRtl 9s ease-in-out infinite;
}

@keyframes containerFloatReal {

  0%,
  100% {
    transform: translateY(0) rotateX(15deg) rotateY(32deg);
  }

  50% {
    transform: translateY(-12px) rotateX(17deg) rotateY(28deg);
  }
}

@keyframes containerFloatRealRtl {

  0%,
  100% {
    transform: translateY(0) rotateX(15deg) rotateY(-32deg);
  }

  50% {
    transform: translateY(-12px) rotateX(17deg) rotateY(-28deg);
  }
}

.container-body {
  position: relative;
  transform-style: preserve-3d;
  width: 340px;
  height: 140px;
}

.container-face {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  box-sizing: border-box;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 1. FRONT FACE: Long corrugated side (340px x 140px) at Z = +65px */
.container-front {
  width: 340px;
  height: 140px;
  margin-left: -170px;
  margin-top: -70px;
  transform: translateZ(65px);
  background: linear-gradient(180deg, #035294 0%, #02437c 35%, #013766 80%, #012b50 100%);
  border: 1.5px solid #002240;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), inset 0 -4px 8px rgba(0, 0, 0, 0.4);
}

/* 2. BACK FACE: Long corrugated side (340px x 140px) at Z = -65px */
.container-back {
  width: 340px;
  height: 140px;
  margin-left: -170px;
  margin-top: -70px;
  transform: rotateY(180deg) translateZ(65px);
  background: linear-gradient(180deg, #02437c 0%, #013766 60%, #012542 100%);
  border: 1.5px solid #001b33;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

/* 3. LEFT FACE: End Cargo Doors (130px x 140px) at X = -170px */
.container-side {
  width: 130px;
  height: 140px;
  margin-left: -65px;
  margin-top: -70px;
  transform: rotateY(-90deg) translateZ(170px);
  background: #023663;
  border: 1.5px solid #001f38;
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.5);
}

/* 4. RIGHT FACE: Rear End Wall (130px x 140px) at X = +170px */
.container-end-rear {
  width: 130px;
  height: 140px;
  margin-left: -65px;
  margin-top: -70px;
  transform: rotateY(90deg) translateZ(170px);
  background: linear-gradient(180deg, #02437c 0%, #013766 70%, #012542 100%);
  border: 1.5px solid #001f38;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

/* 5. TOP FACE: Corrugated Roof (340px x 130px) at Y = -70px */
.container-top {
  width: 340px;
  height: 130px;
  margin-left: -170px;
  margin-top: -65px;
  transform: rotateX(90deg) translateZ(70px);
  background: linear-gradient(135deg, #0968b5 0%, #034b87 50%, #023866 100%);
  border: 1.5px solid #01223d;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

/* 6. BOTTOM FACE: Chassis Floor (340px x 130px) at Y = +70px */
.container-bottom {
  width: 340px;
  height: 130px;
  margin-left: -170px;
  margin-top: -65px;
  transform: rotateX(-90deg) translateZ(70px);
  background: #011d36;
  border: 1.5px solid #001324;
}

/* Structural Rails */
.c-top-rail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(180deg, #0968b5 0%, #034b87 60%, #013661 100%);
  border-bottom: 1.5px solid #01223d;
  z-index: 5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.c-bottom-rail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: linear-gradient(180deg, #023c6d 0%, #01284a 60%, #011d36 100%);
  border-top: 1.5px solid #001a30;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.forklift-pocket {
  width: 30px;
  height: 7px;
  background: #011524;
  border-radius: 1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 2px #000;
}

/* Deep Industrial Corrugated Steel Ribs */
.container-ridges {
  position: absolute;
  top: 12px;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
}

.ridge {
  flex: 1;
  height: 100%;
  position: relative;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.08) 25%,
      rgba(0, 0, 0, 0.15) 60%,
      rgba(0, 0, 0, 0.45) 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.ridge-bevel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20%;
  right: 20%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.08) 100%);
}

/* Stenciled Institutional Branding on Long Side */
.container-branding {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 6;
  width: 90%;
  pointer-events: none;
}

.c-brand-emblem {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.container-brand-text {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 0 12px rgba(255, 255, 255, 0.15);
  font-family: "Inter", "Cairo", system-ui, sans-serif;
}

.container-brand-sub {
  display: block;
  font-size: 0.48rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 2px;
  font-family: "Inter", system-ui, sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Authentic Stencil Serial on Long Side */
.container-code {
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 6;
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

[dir="rtl"] .container-code {
  right: auto;
  left: 14px;
  text-align: left;
}

.c-code-box {
  display: block;
  font-size: 0.62rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.c-code-chk {
  display: inline-block;
  padding: 0 2px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1px;
}

.c-code-type {
  display: block;
  font-size: 0.46rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.12em;
}

/* Heavy Perimeter Door Frame */
.door-frame {
  position: absolute;
  inset: 0;
  display: flex;
  background: #011d33;
  padding: 2px;
}

/* Left & Right Swinging Cargo Doors */
.c-door {
  flex: 1;
  height: 100%;
  position: relative;
  background: linear-gradient(180deg, #024a87 0%, #013a69 50%, #012b4e 100%);
  border: 1px solid #011d36;
}

.door-left {
  border-right: 1.5px solid #000c17;
}

.door-right {
  border-left: 1.5px solid #000c17;
}

/* Door Corrugation Ribs */
.door-ribs {
  position: absolute;
  inset: 6px;
  background: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 4px,
      rgba(0, 0, 0, 0.25) 5px,
      rgba(0, 0, 0, 0.25) 12px);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

/* 4 Vertical Steel Locking Bars (Rods) */
.locking-rod {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rod-1 {
  left: 14px;
}

.rod-2 {
  right: 10px;
}

.rod-3 {
  left: 10px;
}

.rod-4 {
  right: 14px;
}

/* Metallic Chrome Rod Pipe */
.rod-pipe {
  flex: 1;
  width: 3.5px;
  background: linear-gradient(90deg, #94a3b8 0%, #f8fafc 40%, #64748b 80%, #334155 100%);
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.5);
}

/* Top & Bottom Cam Locks */
.cam-top,
.cam-bottom {
  width: 7px;
  height: 5px;
  background: linear-gradient(180deg, #e2e8f0 0%, #64748b 100%);
  border: 0.5px solid #334155;
  border-radius: 1px;
}

/* Door Locking Handle */
.locking-handle {
  width: 14px;
  height: 4px;
  background: linear-gradient(90deg, #f1f5f9 0%, #64748b 100%);
  position: absolute;
  top: 60%;
  left: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Tamper-Evident Customs Seal Tag (Orange / Yellow) */
.customs-seal {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 6px;
  height: 10px;
  background: #f97316;
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(249, 115, 22, 0.6);
}

.customs-tag {
  position: absolute;
  top: 3px;
  left: 4px;
  padding: 1px 2px;
  font-size: 0.35rem;
  font-weight: 900;
  background: #10b981;
  color: #fff;
  border-radius: 1px;
  font-family: monospace;
}

/* Industrial Outer Hinges */
.door-hinge {
  position: absolute;
  width: 4px;
  height: 9px;
  background: linear-gradient(180deg, #cbd5e1 0%, #475569 100%);
  border: 0.5px solid #1e293b;
  z-index: 7;
}

.door-left .door-hinge {
  left: 1px;
}

.door-right .door-hinge {
  right: 1px;
}

.h-1 {
  top: 18px;
}

.h-2 {
  top: 70px;
}

.h-3 {
  bottom: 18px;
}

/* Authentic Door Specifications Stencil */
.door-specs-panel {
  position: absolute;
  bottom: 12px;
  left: 8px;
  right: 8px;
  font-size: 0.38rem;
  font-family: ui-monospace, monospace;
  color: rgba(255, 255, 255, 0.7);
  z-index: 6;
  line-height: 1.35;
  background: rgba(0, 0, 0, 0.25);
  padding: 3px 4px;
  border-radius: 1px;
}

.spec-line {
  display: flex;
  justify-content: space-between;
}

.csc-safety-tag {
  margin-top: 2px;
  padding: 1px 2px;
  background: rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 0.34rem;
  text-align: center;
  font-weight: 800;
}

.door-stencil {
  position: absolute;
  top: 14px;
  right: 8px;
  text-align: right;
  z-index: 6;
  font-family: ui-monospace, monospace;
}

.d-id {
  display: block;
  font-size: 0.48rem;
  font-weight: 900;
  color: #ffffff;
}

.d-type {
  display: block;
  font-size: 0.38rem;
  color: rgba(255, 255, 255, 0.75);
}

.hazard-stripes {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(45deg,
      #eab308,
      #eab308 4px,
      #0f172a 4px,
      #0f172a 8px);
  z-index: 6;
}

.roof-corrugation {
  display: flex;
  height: 100%;
  width: 100%;
}

.roof-rib {
  flex: 1;
  height: 100%;
  border-right: 1px solid rgba(0, 0, 0, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.15) 100%);
}

/* ─────────────────────────────────────────────────────────────
   D. HEAVY STEEL CORNER CASTINGS (ISO BLOCKS)
   ───────────────────────────────────────────────────────────── */
.c-casting {
  position: absolute;
  width: 13px;
  height: 13px;
  background: linear-gradient(135deg, #cbd5e1 0%, #475569 50%, #1e293b 100%);
  border: 1px solid #0f172a;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.iso-aperture {
  width: 6px;
  height: 5px;
  background: #020617;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px #000;
}

.cc-tl {
  top: 0;
  left: 0;
  border-radius: 2px 0 0 0;
}

.cc-tr {
  top: 0;
  right: 0;
  border-radius: 0 2px 0 0;
}

.cc-bl {
  bottom: 0;
  left: 0;
  border-radius: 0 0 0 2px;
}

.cc-br {
  bottom: 0;
  right: 0;
  border-radius: 0 0 2px 0;
}

/* Container Ground Shadow */
.container-shadow {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.28) 0%, rgba(2, 132, 199, 0.08) 45%, transparent 75%);
  filter: blur(10px);
  z-index: 1;
}

/* Ambient Container Aura */
.container-light-beam {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   6. FLOATING DIGITAL CERTIFICATES (CRISP LIGHT GLASS)
   ═══════════════════════════════════════════════════════════════ */
.floating-cert {
  position: absolute;
  z-index: 6;
  transform-style: preserve-3d;
}

.cert-tcn {
  top: 15px;
  left: -40px;
  transform: perspective(900px) rotateY(6deg) rotateX(-3deg);
  animation: certFloat1Light 7s ease-in-out infinite;
}

.cert-aci {
  bottom: 25px;
  right: -30px;
  transform: perspective(900px) rotateY(-4deg) rotateX(3deg);
  animation: certFloat2Light 8s ease-in-out infinite;
}

[dir="rtl"] .cert-tcn {
  left: auto;
  right: -40px;
}

[dir="rtl"] .cert-aci {
  right: auto;
  left: -30px;
}

@keyframes certFloat1Light {

  0%,
  100% {
    transform: perspective(900px) rotateY(6deg) rotateX(-3deg) translateY(0);
  }

  50% {
    transform: perspective(900px) rotateY(4deg) rotateX(-5deg) translateY(-10px);
  }
}

@keyframes certFloat2Light {

  0%,
  100% {
    transform: perspective(900px) rotateY(-4deg) rotateX(3deg) translateY(0);
  }

  50% {
    transform: perspective(900px) rotateY(-6deg) rotateX(5deg) translateY(-12px);
  }
}

.cert-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), transparent 60%);
  opacity: 0.6;
  z-index: -1;
  filter: blur(2px);
}

.cert-glow-aci {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), transparent 60%);
}

.cert-inner {
  width: 250px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--r-md);
  box-shadow:
    0 20px 48px -8px rgba(15, 23, 42, 0.12),
    0 4px 16px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 #ffffff;
}

.cert-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cert-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  border: 1px solid var(--blue-border);
}

.cert-badge-aci {
  background: var(--emerald-soft);
  color: var(--emerald-main);
  border-color: var(--emerald-border);
}

.cert-header-text {
  flex: 1;
  min-width: 0;
}

.cert-type-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.3;
}

.cert-type-en {
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-family: "Inter", system-ui, sans-serif;
}

.cert-verified-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  border: 1px solid var(--blue-border);
  animation: dotPulseLight 3s infinite;
}

.cert-dot-aci {
  background: var(--emerald-soft);
  color: var(--emerald-main);
  border-color: var(--emerald-border);
}

@keyframes dotPulseLight {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.3);
  }

  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

.cert-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  margin-bottom: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
}

.cert-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: 0.04em;
}

.cert-code-aci {
  color: var(--emerald-dark);
}

.cert-checkdigit {
  font-family: ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--blue-soft);
  color: var(--blue-primary);
  border: 1px solid var(--blue-border);
}

.cert-chk-aci {
  background: var(--emerald-soft);
  color: var(--emerald-main);
  border-color: var(--emerald-border);
}

.cert-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.cert-meta-item {
  padding: 0 2px;
}

.cert-meta-key {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.4;
}

.cert-meta-en {
  font-family: "Inter", ui-monospace, monospace;
  letter-spacing: 0.02em;
}

.cert-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}

/* Security QR Pattern */
.cert-qr {
  width: 32px;
  height: 32px;
  padding: 2px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 1px;
  width: 100%;
  height: 100%;
}

.qr-grid div {
  background: #0f172a;
  border-radius: 0.5px;
}

.qr-grid div:nth-child(odd) {
  background: var(--navy-deep);
}

.qr-grid div:nth-child(3n) {
  background: transparent;
}

.cert-seal {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--gold-main);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  padding: 3px 8px;
  border-radius: 9999px;
}

.cert-seal i {
  font-size: 0.65rem;
  color: var(--gold-main);
}

.cert-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
  font-size: 0.62rem;
  font-weight: 800;
}

/* Connection Lines (SVG) */
.connection-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.conn-line {
  stroke: var(--blue-primary);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
  opacity: 0.5;
  animation: dashFlowLight 3s linear infinite;
}

.conn-line-aci {
  stroke: var(--emerald-main);
}

.conn-dot {
  fill: var(--blue-primary);
  opacity: 0.7;
}

.conn-dot-center {
  fill: var(--navy-main);
}

@keyframes dashFlowLight {
  to {
    stroke-dashoffset: -16;
  }
}

/* Technical Data Indicators */
.data-indicator {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--navy-main);
  letter-spacing: 0.08em;
  font-family: ui-monospace, monospace;
  z-index: 7;
  backdrop-filter: blur(8px);
}

.data-indicator i {
  font-size: 0.6rem;
  color: var(--blue-primary);
}

.di-1 {
  top: 44%;
  left: -60px;
}

.di-2 {
  top: 8%;
  right: 40px;
}

.di-3 {
  bottom: 8%;
  left: 8%;
}

[dir="rtl"] .di-1 {
  left: auto;
  right: -60px;
}

[dir="rtl"] .di-2 {
  right: auto;
  left: 40px;
}

[dir="rtl"] .di-3 {
  left: auto;
  right: 8%;
}

/* ═══════════════════════════════════════════════════════════════
   7. SECTION B — TWO SYSTEMS (LIGHT MODE)
   ═══════════════════════════════════════════════════════════════ */
.systems-section {
  position: relative;
  padding: 120px 0;
  background: var(--bg-body);
  border-top: 1px solid var(--border-light);
}

.systems-header {
  text-align: center;
  margin-bottom: 64px;
}

.systems-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 900;
  color: var(--navy-deep);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.25;
}

/* Systems Duo Layout */
.systems-duo {
  display: flex;
  align-items: stretch;
  gap: 0;
  box-shadow: var(--shadow-card);
  border-radius: var(--r-xl);
}

.system-panel {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 52px 44px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
}

.system-tcn {
  border-radius: var(--r-xl) 0 0 var(--r-xl);
  border-right: none;
}

.system-aci {
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  border-left: none;
}

[dir="rtl"] .system-tcn {
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  border-right: 1px solid var(--border-light);
  border-left: none;
}

[dir="rtl"] .system-aci {
  border-radius: var(--r-xl) 0 0 var(--r-xl);
  border-left: 1px solid var(--border-light);
  border-right: none;
}

.system-panel:hover {
  background: #fdfefe;
  box-shadow: 0 16px 40px -6px rgba(10, 37, 64, 0.08);
}

.system-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
}

.system-glow-aci {
  background: linear-gradient(90deg, transparent, var(--emerald-main), transparent);
}

.system-content {
  flex: 1;
}

.system-number {
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--blue-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  font-family: "Inter", "Cairo", system-ui, sans-serif;
}

.system-number-aci {
  color: var(--emerald-main);
}

.system-full-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.system-en {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-family: "Inter", system-ui, sans-serif;
}

.system-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 24px;
  max-width: 360px;
}

.system-authority {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-main);
}

.system-auth-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.system-visual {
  display: flex;
  align-items: flex-start;
  padding-top: 12px;
}

.system-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--blue-primary);
  box-shadow: var(--shadow-sm);
}

.system-icon-aci {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald-main);
}

/* Central Connector */
.systems-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 3;
  margin: 0 -1px;
}

.connector-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, var(--border-subtle), transparent);
  min-height: 44px;
}

.connector-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--navy-main);
  white-space: nowrap;
}

.connector-badge i {
  font-size: 0.72rem;
  color: var(--blue-primary);
}

/* ═══════════════════════════════════════════════════════════════
   8. SECTION C — WORKFLOW (LIGHT MODE)
   ═══════════════════════════════════════════════════════════════ */
.workflow-section {
  position: relative;
  padding: 120px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.workflow-header {
  text-align: center;
  margin-bottom: 76px;
}

.workflow-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 900;
  color: var(--navy-deep);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.25;
}

/* Timeline */
.workflow-timeline {
  display: flex;
  gap: 0;
  align-items: flex-start;
  max-width: 1040px;
  margin: 0 auto;
}

.wf-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.wf-step-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  margin-bottom: 16px;
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: -0.03em;
  transition: color 0.3s;
}

.wf-step:hover .wf-step-num {
  color: var(--blue-primary);
}

.wf-step-line {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 22px;
  position: relative;
}

.wf-step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--blue-primary);
  flex-shrink: 0;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.3);
  transition: all 0.3s;
}

.wf-step:hover .wf-step-dot {
  background: var(--blue-primary);
  transform: scale(1.15);
}

.wf-step-dot-final {
  border-color: var(--emerald-main);
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.3);
}

.wf-step:hover .wf-step-dot-final {
  background: var(--emerald-main);
}

.wf-step-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  right: -50%;
  height: 2px;
  background: linear-gradient(to right, var(--blue-primary), var(--border-light));
  transform: translateY(-50%);
  z-index: 1;
}

[dir="rtl"] .wf-step-bar {
  left: auto;
  right: 50%;
  left: -50%;
  background: linear-gradient(to left, var(--blue-primary), var(--border-light));
}

.wf-step:last-child .wf-step-bar {
  display: none;
}

.wf-step-content {
  padding: 0 14px;
}

.wf-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.wf-step-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   9. SECTION D — FINAL CTA (LIGHT MODE)
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: 130px 0;
  background: linear-gradient(180deg, var(--bg-body) 0%, #edf4fc 100%);
  overflow: hidden;
  border-top: 1px solid var(--border-light);
}

.cta-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, transparent 65%);
}

.cta-container {
  position: relative;
  z-index: 2;
}

.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-headline {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: var(--navy-deep);
  line-height: 1.2;
  margin-bottom: 18px;
}

.cta-sub {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 38px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--r-md);
  background: var(--navy-main);
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s var(--ease-out);
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.18);
}

.btn-cta-primary:hover {
  background: var(--blue-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.28);
  color: var(--text-white);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--r-md);
  background: #ffffff;
  color: var(--navy-main);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}

.btn-cta-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--navy-main);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════════
   10. FOOTER — Institutional Light Mode
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #ffffff;
  color: var(--text-body);
  padding: 76px 0 36px;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-about {
  max-width: 380px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.25s;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--navy-main);
  font-size: 0.9rem;
  transition: all 0.25s;
}

.social-link:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--blue-primary);
}

[dir="rtl"] .footer-heading::after {
  left: auto;
  right: 0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-list a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-list a:hover {
  color: var(--blue-primary);
}

.footer-contact-list {
  gap: 14px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-contact-row i {
  font-size: 1rem;
  color: var(--blue-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-row .fa-whatsapp {
  color: #16a34a;
}

.footer-contact-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 1px;
}

.footer-contact-value {
  font-weight: 700;
  color: var(--navy-deep);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   11. SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════ */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   12. REDUCED MOTION SUPPORT
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-brand,
  .hero-headline,
  .hero-sub,
  .hero-actions,
  .hero-institutional,
  .hero-visual {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-scroll-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .particle {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   13. RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    max-width: 520px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    height: 440px;
  }

  .container-3d {
    margin-right: 0;
    margin-left: 0;
  }

  .cert-tcn {
    top: 5px;
    left: 20px;
  }

  .cert-aci {
    bottom: 5px;
    right: 20px;
  }

  [dir="rtl"] .cert-tcn {
    right: 20px;
    left: auto;
  }

  [dir="rtl"] .cert-aci {
    left: 20px;
    right: auto;
  }

  .systems-duo {
    flex-direction: column;
    gap: 16px;
    box-shadow: none;
    border-radius: 0;
  }

  .system-tcn,
  .system-aci {
    border-radius: var(--r-xl) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-sm);
  }

  .systems-connector {
    flex-direction: row;
    margin: -8px 0;
    z-index: 5;
  }

  .connector-line {
    width: auto;
    height: 1px;
    min-height: auto;
    min-width: 40px;
    background: linear-gradient(to right, transparent, var(--border-subtle), transparent);
  }

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

/* ═══════════════════════════════════════════════════════════════
   14. RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --nav-h: 66px;
  }

  .tcn-container {
    padding: 0 20px;
  }

  /* Navbar Mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-mobile-btn {
    display: inline-block;
  }

  .nav-register-btn {
    display: none;
  }

  /* Hero Mobile */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 30px);
    padding-bottom: 60px;
  }

  .hero-layout {
    min-height: auto;
  }

  .hero-brand {
    font-size: 3.1rem;
  }

  .hero-headline {
    font-size: 1.45rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    height: 350px;
  }

  /* Container scale on mobile */
  .container-body {
    width: 250px;
    height: 110px;
  }

  .container-front {
    width: 250px;
    height: 110px;
    transform: translateZ(50px);
  }

  .container-side {
    width: 100px;
    height: 110px;
    transform: rotateY(-90deg) translateZ(125px);
  }

  [dir="rtl"] .container-side {
    transform: rotateY(90deg) translateZ(125px);
  }

  .container-top {
    width: 250px;
    height: 100px;
    transform: rotateX(90deg) translateZ(50px);
  }

  .container-brand-text {
    font-size: 1.15rem;
  }

  .container-brand-sub {
    font-size: 0.38rem;
  }

  .c-brand-emblem {
    font-size: 0.85rem;
  }

  .cert-inner {
    width: 200px;
    padding: 12px;
  }

  .cert-type-label {
    font-size: 0.65rem;
  }

  .cert-code {
    font-size: 0.68rem;
  }

  .cert-tcn {
    left: 0;
    top: 0;
  }

  .cert-aci {
    right: 0;
    bottom: 0;
  }

  [dir="rtl"] .cert-tcn {
    right: 0;
    left: auto;
  }

  [dir="rtl"] .cert-aci {
    left: 0;
    right: auto;
  }

  .di-1,
  .di-2,
  .di-3 {
    display: none;
  }

  .connection-lines {
    display: none;
  }

  .hero-scroll-hint {
    display: none;
  }

  /* Systems Mobile */
  .systems-section,
  .workflow-section,
  .cta-section {
    padding: 72px 0;
  }

  .system-panel {
    padding: 32px 22px;
    flex-direction: column;
    gap: 18px;
  }

  .system-number {
    font-size: 2.8rem;
  }

  .system-visual {
    display: none;
  }

  /* Workflow Mobile */
  .workflow-timeline {
    flex-direction: column;
    gap: 0;
  }

  .wf-step {
    flex-direction: row;
    text-align: start;
    gap: 18px;
    padding: 18px 0;
  }

  [dir="rtl"] .wf-step {
    text-align: right;
  }

  .wf-step-num {
    font-size: 2rem;
    margin-bottom: 0;
    min-width: 44px;
    text-align: center;
  }

  .wf-step-line {
    flex-direction: column;
    width: auto;
    height: auto;
    margin-bottom: 0;
    align-self: stretch;
    min-width: 14px;
  }

  .wf-step-bar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 2px;
    height: auto;
    flex: 1;
    margin: 4px auto;
    background: linear-gradient(to bottom, var(--blue-primary), var(--border-light));
    transform: none;
  }

  [dir="rtl"] .wf-step-bar {
    left: auto;
    right: auto;
    background: linear-gradient(to bottom, var(--blue-primary), var(--border-light));
  }

  .wf-step-content {
    padding: 0;
    flex: 1;
  }

  /* CTA Mobile */
  .cta-headline {
    font-size: 2.1rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .btn-cta-primary,
  .btn-cta-outline {
    width: 100%;
    justify-content: center;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

/* ═══════════════════════════════════════════════════════════════
   15. RESPONSIVE — SMALL MOBILE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-brand {
    font-size: 2.6rem;
  }

  .hero-visual {
    height: 310px;
  }

  .container-body {
    width: 210px;
    height: 95px;
  }

  .container-front {
    width: 210px;
    height: 95px;
    transform: translateZ(40px);
  }

  .container-side {
    width: 80px;
    height: 95px;
    transform: rotateY(-90deg) translateZ(105px);
  }

  [dir="rtl"] .container-side {
    transform: rotateY(90deg) translateZ(105px);
  }

  .container-top {
    width: 210px;
    height: 80px;
    transform: rotateX(90deg) translateZ(40px);
  }

  .cert-inner {
    width: 175px;
    padding: 10px;
  }

  .cert-header-row {
    gap: 6px;
  }

  .cert-badge-icon {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  .cert-type-label {
    font-size: 0.58rem;
  }

  .cert-type-en {
    font-size: 0.48rem;
  }

  .cert-code {
    font-size: 0.6rem;
  }

  .cert-meta-key {
    font-size: 0.54rem;
  }

  .cert-qr {
    width: 26px;
    height: 26px;
  }

  .cert-seal {
    font-size: 0.48rem;
    padding: 2px 6px;
  }

  .systems-title,
  .workflow-title {
    font-size: 1.8rem;
  }

  .system-number {
    font-size: 2.3rem;
  }

  .system-full-name {
    font-size: 1.15rem;
  }
}