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

:root {
  /* Dark navy base */
  --navy: #1A2A4A;
  --navy-mid: #243456;
  --navy-light: #2E4A7C;

  /* Primary accent: bright cyan (original theme) */
  --cyan: #00D4FF;
  --cyan-dim: rgba(0, 212, 255, 0.13);
  --cyan-glow: rgba(0, 212, 255, 0.4);

  /* Secondary accent: golden amber (original theme) */
  --gold: #FFB800;
  --gold-dim: rgba(255, 184, 0, 0.15);

  /* Text light-on-dark */
  --white: #EEF4FF;
  --white-dim: rgba(238, 244, 255, 0.65);
  --white-faint: rgba(238, 244, 255, 0.07);
  --green: #00E676;
  --red: #FF4444;
  --border: rgba(0, 212, 255, 0.18);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-cyan: 0 0 28px rgba(0, 212, 255, 0.18);

  /* 3D button depth colors */
  --btn-top: #00eeff;
  --btn-mid: #00c0d8;
  --btn-bot: #0090a8;
  --btn-edge: #005a70;

  /* Container shipping colors */
  --container-orange: #D4500F;
  --container-orange-dark: #A33C0B;
  --container-orange-light: #E8742E;
  --steel: #8A97A3;
  --steel-dark: #4D5965;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== PAGE SYSTEM ===== */
.page { display: none; min-height: 100vh; }
.page.active { display: flex; flex-direction: column; }

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #0D1B35;
  border-bottom: 2px solid rgba(0, 212, 255, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.3px;
}

.nav-logo img {
  width: 32px !important;
  height: 32px !important;
}

.logo-icon { font-size: 22px; color: var(--gold); }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--white-dim);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}

.admin-btn {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
}
.admin-btn:hover { background: var(--gold-dim) !important; }

/* ===== HERO ===== */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,184,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { 
  flex: 1; 
  max-width: 100%;
  width: 100%;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 10vw, 84px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.accent-text { color: var(--cyan); }

.hero-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-desc {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 100%;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== ROUTE BADGE ===== */
.route-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  padding: 6px 14px;
  border-radius: 100px;
  text-align: center;
  margin-bottom: 16px;
}

.route-arrow { color: var(--cyan); }

/* ===== 3D CONTAINER ===== */
.hero-3d {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 300px;
  width: 100%;
  margin-top: 20px;
}

.scene {
  width: 100%;
  max-width: 440px;
  height: 300px;
  perspective: 1300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-3d {
  width: 280px;
  height: 140px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCargo 14s infinite linear;
  margin: 40px auto 0;
}

@keyframes rotateCargo {
  0%   { transform: rotateX(-18deg) rotateY(-28deg); }
  50%  { transform: rotateX(-18deg) rotateY(28deg); }
  100% { transform: rotateX(-18deg) rotateY(-28deg); }
}

.face {
  position: absolute;
  width: 280px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* corrugated steel panel texture, container-orange */
.face.front, .face.back, .face.left, .face.right {
  background-image:
    repeating-linear-gradient(90deg,
      var(--container-orange-light) 0px, var(--container-orange-light) 2px,
      var(--container-orange) 2px, var(--container-orange) 12.5px,
      var(--container-orange-dark) 12.5px, var(--container-orange-dark) 14.5px,
      var(--container-orange) 14.5px, var(--container-orange) 25px);
  border: 1px solid #5e2607;
}

.face.front  { transform: translateZ(54px); box-shadow: inset 0 0 70px rgba(0,0,0,0.35); }
.face.back   { transform: rotateY(180deg) translateZ(54px); filter: brightness(0.7); }
.face.left   { width: 108px; left: 86px; transform: rotateY(-90deg) translateZ(140px); filter: brightness(0.55); }
.face.right  { width: 108px; left: 86px; transform: rotateY(90deg) translateZ(140px); filter: brightness(0.85); }

.face.top    { background: linear-gradient(145deg, var(--container-orange-light) 0%, var(--container-orange) 100%); width: 280px; height: 108px; top: 16px; transform: rotateX(90deg) translateZ(70px); border: 1px solid #5e2607; }
.face.bottom { background: #1a1a1a; width: 280px; height: 108px; top: 16px; transform: rotateX(-90deg) translateZ(70px); }

/* corrugated ridge lines for extra depth */
.face.front::before, .face.back::before, .face.left::before, .face.right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1.5px,
    transparent 1.5px, transparent 12.5px,
    rgba(0,0,0,0.18) 12.5px, rgba(0,0,0,0.18) 14px,
    transparent 14px, transparent 25px);
}

/* door seam */
.face.front::after {
  content: '';
  position: absolute;
  top: 11px; bottom: 11px; left: 50%;
  width: 3px;
  background: rgba(0,0,0,0.35);
}

.container-label {
  position: relative;
  z-index: 2;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  letter-spacing: 1.5px;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  background: rgba(5,12,22,0.55);
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.15);
}

.container-stripes {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--gold) 0px, var(--gold) 17px, transparent 17px, transparent 34px);
  z-index: 2;
}

.container-id {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* ground shadow under container */
.scene::after {
  content: '';
  position: absolute;
  bottom: 20px; left: 50%;
  width: 240px; height: 28px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, transparent 75%);
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: -1;
}

/* Particles: cargo ship + plane orbiting, plus small floaters */
.cargo-particles { position: absolute; inset: 0; pointer-events: none; }

.particle {
  position: absolute;
  font-size: 18px;
  animation: floatParticle 6s ease-in-out infinite;
  opacity: 0.55;
  filter: drop-shadow(0 0 6px rgba(255,122,51,0.4));
}

.p1 { top: 8%; left: 5%;  animation-delay: 0s; }
.p2 { top: 4%; right: 2%; font-size: 24px; animation: floatShip 9s ease-in-out infinite; opacity: 0.85; }
.p3 { bottom: 14%; left: 2%; animation-delay: 3s; }
.p4 { bottom: 6%; right: 6%; font-size: 20px; animation: floatPlane 7s ease-in-out infinite; opacity: 0.8; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.55; }
  50% { transform: translateY(-16px) scale(1.15); opacity: 1; }
}

@keyframes floatShip {
  0%, 100% { transform: translate(0,0) rotate(-2deg); }
  50% { transform: translate(-12px, -6px) rotate(2deg); }
}

@keyframes floatPlane {
  0%   { transform: translate(0,0) rotate(-8deg); }
  50%  { transform: translate(-16px,-12px) rotate(-4deg); }
  100% { transform: translate(0,0) rotate(-8deg); }
}

/* ===== 3D REALISTIC BUTTONS ===== */

/* PRIMARY BUTTON — Orange 3D */
.btn-primary {
  position: relative;
  background: linear-gradient(
    to bottom,
    #ffa157 0%,
    #ff7e2e 20%,
    #f06318 60%,
    #c84e0c 100%
  );
  color: #1A0800;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.55);
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(110,40,0,0.5);
  border-bottom: 1px solid rgba(90,32,0,0.8);
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* 3D lift effect */
  box-shadow:
    0 7px 0 #8a3306,
    0 9px 18px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -2px 4px rgba(0,0,0,0.2);
  transition: all 0.1s ease;
  transform: translateY(0);
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
  user-select: none;
  min-height: 48px;
}

.btn-primary:hover {
  background: linear-gradient(
    to bottom,
    #ffb066 0%,
    #ff9040 20%,
    #fa7020 60%,
    #d8580e 100%
  );
  box-shadow:
    0 8px 0 #8a3306,
    0 12px 24px rgba(255, 122, 51, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -2px 4px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.btn-primary:active {
  background: linear-gradient(
    to bottom,
    #c04e0c 0%,
    #e0660f 40%,
    #f48030 100%
  );
  box-shadow:
    0 1px 0 #8a3306,
    0 2px 8px rgba(0,0,0,0.35),
    inset 0 3px 6px rgba(0,0,0,0.25),
    inset 0 1px 3px rgba(0,0,0,0.15);
  transform: translateY(5px);
}

.btn-primary.full-width { width: 100%; justify-content: center; }

/* PULSE animation for hero button */
.pulse {
  animation: pulseGlow 2.2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow:
      0 7px 0 #8a3306,
      0 9px 18px rgba(0,0,0,0.45),
      inset 0 1px 0 rgba(255,255,255,0.45),
      inset 0 -2px 4px rgba(0,0,0,0.2);
  }
  50% {
    box-shadow:
      0 7px 0 #8a3306,
      0 12px 32px rgba(255, 122, 51, 0.6),
      0 0 40px rgba(255, 122, 51, 0.25),
      inset 0 1px 0 rgba(255,255,255,0.5),
      inset 0 -2px 4px rgba(0,0,0,0.2);
  }
}

/* SECONDARY BUTTON — Teal 3D */
.btn-secondary {
  position: relative;
  background: linear-gradient(
    to bottom,
    #6dfceb 0%,
    #2bd9c2 25%,
    #1eb8a4 65%,
    #138b7c 100%
  );
  color: #04201c;
  border: none;
  border-top: 1px solid rgba(220,255,250,0.6);
  border-left: 1px solid rgba(150,255,235,0.3);
  border-right: 1px solid rgba(0,80,68,0.5);
  border-bottom: 1px solid rgba(0,60,52,0.8);
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow:
    0 7px 0 #0a5a4f,
    0 9px 18px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(220,255,250,0.5),
    inset 0 -2px 4px rgba(0,0,0,0.2);
  transition: all 0.1s ease;
  transform: translateY(0);
  text-shadow: 0 1px 0 rgba(220,255,250,0.3);
  user-select: none;
  min-height: 48px;
}

.btn-secondary:hover {
  background: linear-gradient(
    to bottom,
    #82ffef 0%,
    #3df0d6 25%,
    #22cab4 65%,
    #169c8c 100%
  );
  box-shadow:
    0 8px 0 #0a5a4f,
    0 12px 24px rgba(43,217,194,0.4),
    inset 0 1px 0 rgba(220,255,250,0.6),
    inset 0 -2px 4px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.btn-secondary:active {
  background: linear-gradient(
    to bottom,
    #0f7a6c 0%,
    #169c8c 40%,
    #1fb8a6 100%
  );
  box-shadow:
    0 1px 0 #0a5a4f,
    0 2px 8px rgba(0,0,0,0.35),
    inset 0 3px 6px rgba(0,0,0,0.25),
    inset 0 1px 3px rgba(0,0,0,0.15);
  transform: translateY(5px);
}

/* GHOST BUTTON */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(238, 244, 255, 0.35);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  min-height: 44px;
}

.btn-ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.btn-ghost.small { width: auto; margin-top: 0; }

/* ===== STATS BAR ===== */
.stats-bar {
  display: flex;
  justify-content: space-around;
  padding: 24px 20px;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.stat-item { text-align: center; min-width: 80px; }

.stat-num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 20px var(--cyan-glow);
}

.stat-label {
  font-size: 10px;
  color: var(--white-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== FEATURES ===== */
.features {
  display: flex;
  gap: 16px;
  padding: 40px 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-card {
  flex: 1;
  min-width: 250px;
  max-width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan), 0 20px 40px rgba(0,0,0,0.3);
  transform: translateY(-6px);
}

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

.feature-icon { font-size: 36px; margin-bottom: 14px; filter: drop-shadow(0 0 8px rgba(255,106,28,0.3)); }
.feature-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; letter-spacing: 1px; margin-bottom: 12px; color: var(--cyan); }
.feature-card p { font-size: 13px; color: var(--white-dim); line-height: 1.7; }

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: rgba(240, 244, 251, 0.32);
}

/* ===== INNER PAGES ===== */
.inner-page {
  flex: 1;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.page-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.page-text {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.85;
  max-width: 100%;
  margin-bottom: 32px;
}

.about-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-card {
  flex: 1;
  min-width: 250px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}

.about-card:hover { border-color: var(--cyan); box-shadow: var(--shadow-cyan); }
.about-icon { font-size: 30px; margin-bottom: 12px; }
.about-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; color: var(--cyan); margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.about-card p { font-size: 13px; color: var(--white-dim); line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-grid { display: flex; gap: 32px; flex-wrap: wrap; }
.contact-info { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.contact-section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  margin-top: 4px;
}
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.c-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan); margin-bottom: 2px; }
.contact-item p { color: var(--white-dim); font-size: 14px; word-break: break-word; }

/* ===== TRACKING ===== */
.track-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.track-box {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 24px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow);
  text-align: center;
}

.track-icon-big { font-size: 48px; margin-bottom: 14px; animation: float 3s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.track-box h2, .track-result-box h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.track-hint { font-size: 13px; color: var(--white-dim); margin-bottom: 24px; }

.track-result-box {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 20px;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow), 0 0 60px rgba(0,212,255,0.06);
}

/* Bill number row */
.result-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.result-bill-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-dim);
  font-weight: 600;
}

.bill-badge {
  display: inline-block;
  background: var(--cyan-dim);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  padding: 4px 16px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  word-break: break-all;
}

/* Customer row */
.result-customer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.result-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-dim);
}

.result-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  word-break: break-word;
}

/* Status section */
.status-section {
  margin-bottom: 22px;
}

.status-label-big {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 20px;
}

.status-label-big.pending   { background: var(--gold-dim);           color: var(--gold);  border: 1.5px solid var(--gold); }
.status-label-big.shipped   { background: var(--cyan-dim);           color: var(--cyan);  border: 1.5px solid var(--cyan); }
.status-label-big.delivered { background: rgba(0,230,118,0.12);      color: var(--green); border: 1.5px solid var(--green); }

/* Progress bar */
.progress-bar-wrap {
  margin-top: 4px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.progress-steps span {
  font-size: 9px;
  color: var(--white-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.progress-bar {
  height: 6px;
  background: rgba(238,244,255,0.08);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid rgba(238,244,255,0.06);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  box-shadow: 0 0 12px rgba(0,212,255,0.4);
}

/* Detail table */
.result-details {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(238,244,255,0.05);
  flex-wrap: wrap;
  gap: 6px;
}

.detail-row:last-child { border-bottom: none; }

.detail-row:hover { background: rgba(0,212,255,0.03); }

.detail-row .label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-dim);
  font-weight: 500;
}

.detail-row .value {
  color: var(--white);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-align: right;
  word-break: break-word;
}

/* ===== FORM INPUTS ===== */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  text-align: left;
  width: 100%;
}

.input-group label {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--white-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.input-field {
  background: var(--navy);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  outline: none;
  width: 100%;
  min-height: 44px;
}

.input-field:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); }
.input-field::placeholder { color: rgba(240, 244, 251, 0.2); }
.input-field option { background: var(--navy-mid); }
.input-field[readonly] { opacity: 0.55; cursor: not-allowed; }

.error-msg {
  background: rgba(255, 68, 68, 0.09);
  border: 1px solid rgba(255, 68, 68, 0.4);
  color: #ff6b6b;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  margin-bottom: 14px;
  text-align: center;
  word-break: break-word;
}

.success-msg {
  background: rgba(0, 230, 118, 0.09);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: var(--green);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  margin-bottom: 14px;
  text-align: center;
  word-break: break-word;
}

.hidden { display: none !important; }

/* ===== ADMIN LOGIN ===== */
.admin-login-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 20px 16px;
}

.admin-login-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,106,28,0.07) 0%, transparent 70%);
}

.admin-login-box {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow), var(--shadow-cyan);
  text-align: center;
  position: relative;
  z-index: 1;
}

.admin-logo-big { 
  font-size: 40px; 
  margin-bottom: 12px; 
}

.admin-logo-big img {
  width: 60px !important;
  height: 60px !important;
}

.admin-login-box h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.admin-sub {
  font-size: 10px;
  color: var(--white-dim);
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.demo-hint {
  font-size: 10px;
  color: rgba(240, 244, 251, 0.28);
  margin-top: 12px;
  font-family: monospace;
}

/* ===== ADMIN LAYOUT ===== */
.page#page-dashboard { 
  flex-direction: column; 
}

.admin-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}

.sidebar {
  width: 100%;
  background: var(--navy-mid);
  border-right: none;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  padding: 12px 16px;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-bottom: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1px;
  line-height: 1.4;
}

.sidebar-logo img {
  width: 32px !important;
  height: 32px !important;
}

.sidebar-nav {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.sidebar-link {
  text-decoration: none;
  color: var(--white-dim);
  font-size: 11px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.sidebar-link:hover { color: var(--white); background: var(--white-faint); }
.sidebar-link.active { color: var(--cyan); background: var(--cyan-dim); border-left: none; border-bottom: 2px solid var(--cyan); }

.sidebar-logout {
  margin: 0;
  background: rgba(255,68,68,0.09);
  color: #ff6b6b;
  border: 1px solid rgba(255,68,68,0.3);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.sidebar-logout:hover { background: rgba(255,68,68,0.18); }

.admin-main { 
  flex: 1; 
  overflow-y: auto; 
  padding: 20px 16px; 
}
.admin-section { display: none; }
.admin-section.active { display: block; }

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.admin-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.time-badge {
  background: var(--cyan-dim);
  color: var(--cyan);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
}

/* Dashboard Cards */
.dash-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.dash-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}

.dash-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.dash-card.cyan  { border-left: 3px solid var(--cyan); }
.dash-card.gold  { border-left: 3px solid var(--gold); }
.dash-card.green { border-left: 3px solid var(--green); }
.dash-card.red   { border-left: 3px solid var(--red); }

.dash-card-icon { font-size: 26px; }
.dash-num { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; display: block; }
.dash-label { font-size: 9px; color: var(--white-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* Tables */
.recent-table-wrap h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: var(--white-dim);
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--navy);
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,106,28,0.10);
  color: var(--white-dim);
  font-size: 12px;
  white-space: nowrap;
}

.admin-table tbody tr:hover { background: var(--white-faint); }

.status-badge {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge.pending   { background: var(--gold-dim);             color: var(--gold); }
.status-badge.shipped   { background: var(--cyan-dim);             color: var(--cyan); }
.status-badge.delivered { background: rgba(0,230,118,0.12);        color: var(--green); }

/* Form Card */
.form-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  max-width: 100%;
}

.form-row { display: flex; flex-direction: column; gap: 0; }
.form-row .input-group { flex: 1; }

.search-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 20px;
}

.search-row .input-group {
  margin-bottom: 0;
}

.search-row .btn-primary {
  align-self: stretch;
}

.empty-state {
  text-align: center;
  color: var(--white-dim);
  padding: 32px 16px;
  font-size: 13px;
  opacity: 0.45;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.admin-section.active { animation: fadeInUp 0.3s ease; }
.track-box, .track-result-box, .admin-login-box { animation: fadeInUp 0.4s ease; }

/* ================================================ */
/* ===== RESPONSIVE BREAKPOINTS ===== */
/* ================================================ */

/* Tablets and small laptops */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
    padding: 60px 36px;
  }
  
  .hero-content { max-width: 50%; }
  .hero-eyebrow { justify-content: flex-start; }
  .hero-btns { justify-content: flex-start; }
  .hero-desc { max-width: 440px; }
  
  .hero-3d {
    height: 400px;
    margin-top: 0;
  }
  
  .container-3d {
    width: 340px;
    height: 170px;
  }
  
  .face {
    width: 340px;
    height: 170px;
  }
  
  .face.front  { transform: translateZ(65px); }
  .face.back   { transform: rotateY(180deg) translateZ(65px); }
  .face.left   { width: 130px; left: 105px; transform: rotateY(-90deg) translateZ(170px); }
  .face.right  { width: 130px; left: 105px; transform: rotateY(90deg) translateZ(170px); }
  .face.top    { width: 340px; height: 130px; top: 20px; transform: rotateX(90deg) translateZ(85px); }
  .face.bottom { width: 340px; height: 130px; top: 20px; transform: rotateX(-90deg) translateZ(85px); }
  
  .container-label { font-size: 15px; }
  
  .stats-bar {
    padding: 28px 36px;
    gap: 20px;
  }
  
  .stat-num { font-size: 32px; }
  
  .features {
    padding: 48px 36px;
    gap: 20px;
  }
  
  .feature-card { min-width: 200px; }
  
  .inner-page { padding: 48px 36px; }
  
  .page-title { font-size: 32px; }
  
  .admin-layout {
    flex-direction: row;
  }
  
  .sidebar {
    width: 220px;
    flex-direction: column;
    padding: 20px 0;
    border-right: 1px solid var(--border);
    border-bottom: none;
    align-items: stretch;
  }
  
  .sidebar-logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 10px;
  }
  
  .sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  
  .sidebar-link {
    font-size: 13px;
    padding: 10px 16px;
    white-space: normal;
  }
  
  .sidebar-link.active {
    border-left: 3px solid var(--cyan);
    border-bottom: none;
  }
  
  .sidebar-logout {
    margin: 0 12px;
    padding: 10px 16px;
    font-size: 12px;
  }
  
  .admin-main { padding: 28px 32px; }
  
  .dash-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  
  .dash-card { padding: 20px; }
  .dash-card-icon { font-size: 30px; }
  .dash-num { font-size: 26px; }
  
  .form-row { flex-direction: row; gap: 16px; }
  
  .search-row {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .search-row .btn-primary {
    align-self: flex-end;
  }
  
  .form-card { padding: 28px; }
  
  .track-box, .track-result-box {
    padding: 40px 36px;
  }
  
  .admin-login-box { padding: 40px 36px; }
}

/* Large screens */
@media (min-width: 1024px) {
  .navbar { padding: 16px 48px; }
  
  .hero { padding: 80px 48px; }
  
  .hero-title {
    font-size: clamp(52px, 6.5vw, 84px);
  }
  
  .hero-3d { height: 460px; }
  
  .container-3d {
    width: 364px;
    height: 182px;
  }
  
  .face {
    width: 364px;
    height: 182px;
  }
  
  .face.front  { transform: translateZ(70px); }
  .face.back   { transform: rotateY(180deg) translateZ(70px); }
  .face.left   { width: 140px; left: 112px; transform: rotateY(-90deg) translateZ(182px); }
  .face.right  { width: 140px; left: 112px; transform: rotateY(90deg) translateZ(182px); }
  .face.top    { width: 364px; height: 140px; top: 21px; transform: rotateX(90deg) translateZ(91px); }
  .face.bottom { width: 364px; height: 140px; top: 21px; transform: rotateX(-90deg) translateZ(91px); }
  
  .container-label { font-size: 18px; }
  
  .stats-bar { padding: 32px 48px; }
  .stat-num { font-size: 38px; }
  
  .features { padding: 64px 48px; gap: 24px; }
  .feature-card { min-width: 250px; padding: 36px 32px; }
  
  .inner-page { padding: 64px 48px; }
  .page-title { font-size: 36px; }
  
  .admin-main { padding: 36px; }
  
  .dash-cards { gap: 20px; }
  .dash-card { padding: 24px; }
  .dash-card-icon { font-size: 34px; }
  .dash-num { font-size: 30px; }
  
  .form-card { padding: 32px; }
  
  .track-box, .track-result-box {
    padding: 48px 44px;
  }
  
  .admin-login-box { padding: 56px 48px; }
}

/* Small phones */
@media (max-width: 480px) {
  .navbar {
    padding: 12px 16px;
    gap: 8px;
  }
  
  .nav-logo {
    font-size: 13px;
  }
  
  .nav-logo img {
    width: 28px !important;
    height: 28px !important;
  }
  
  .nav-link {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .hero {
    padding: 24px 16px;
  }
  
  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
  }
  
  .hero-subtitle {
    font-size: 12px;
  }
  
  .hero-desc {
    font-size: 13px;
  }
  
  .btn-primary, .btn-secondary {
    font-size: 11px;
    padding: 10px 18px;
    min-height: 42px;
  }
  
  .hero-3d { height: 220px; }
  
  .container-3d {
    width: 200px;
    height: 100px;
  }
  
  .face {
    width: 200px;
    height: 100px;
  }
  
  .face.front  { transform: translateZ(38px); }
  .face.back   { transform: rotateY(180deg) translateZ(38px); }
  .face.left   { width: 76px; left: 62px; transform: rotateY(-90deg) translateZ(100px); }
  .face.right  { width: 76px; left: 62px; transform: rotateY(90deg) translateZ(100px); }
  .face.top    { width: 200px; height: 76px; top: 12px; transform: rotateX(90deg) translateZ(50px); }
  .face.bottom { width: 200px; height: 76px; top: 12px; transform: rotateX(-90deg) translateZ(50px); }
  
  .container-label {
    font-size: 9px;
    padding: 4px 8px;
  }
  
  .container-stripes { height: 5px; }
  .container-id { font-size: 7px; bottom: 8px; right: 8px; }
  
  .scene::after {
    width: 160px;
    height: 20px;
    bottom: 16px;
  }
  
  .particle {
    font-size: 14px;
  }
  
  .p2 { font-size: 18px; }
  .p4 { font-size: 16px; }
  
  .stats-bar {
    padding: 16px 12px;
    gap: 8px;
  }
  
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 8px; }
  
  .features { padding: 24px 12px; gap: 12px; }
  .feature-card { padding: 20px 16px; min-width: 100%; }
  .feature-icon { font-size: 28px; }
  .feature-card h3 { font-size: 11px; }
  .feature-card p { font-size: 12px; }
  
  .footer {
    padding: 16px;
    font-size: 10px;
  }
  
  .inner-page { padding: 24px 16px; }
  .page-title { font-size: 22px; }
  .page-text { font-size: 13px; }
  
  .about-card { padding: 18px 16px; min-width: 100%; }
  .about-icon { font-size: 24px; }
  
  .track-wrapper { padding: 16px 12px; }
  .track-box { padding: 24px 16px; }
  .track-icon-big { font-size: 36px; }
  .track-box h2 { font-size: 18px; }
  .track-hint { font-size: 12px; }
  
  .track-result-box { padding: 20px 16px; }
  .bill-badge { font-size: 11px; padding: 3px 12px; }
  .result-value { font-size: 15px; }
  .status-label-big { font-size: 9px; padding: 4px 14px; }
  .progress-steps span { font-size: 8px; }
  .detail-row .label { font-size: 9px; }
  .detail-row .value { font-size: 11px; }
  
  .admin-login-wrapper { padding: 16px 12px; }
  .admin-login-box { padding: 24px 16px; }
  .admin-login-box h2 { font-size: 18px; }
  .admin-logo-big img { width: 48px !important; height: 48px !important; }
  
  .sidebar {
    padding: 8px 12px;
    gap: 4px;
  }
  
  .sidebar-logo {
    font-size: 8px;
    gap: 6px;
  }
  
  .sidebar-logo img {
    width: 24px !important;
    height: 24px !important;
  }
  
  .sidebar-link {
    font-size: 10px;
    padding: 6px 8px;
    gap: 4px;
  }
  
  .sidebar-logout {
    font-size: 10px;
    padding: 4px 10px;
  }
  
  .admin-main { padding: 12px; }
  .admin-header h2 { font-size: 17px; }
  .time-badge { font-size: 9px; padding: 3px 10px; }
  
  .dash-cards {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .dash-card { padding: 12px; gap: 8px; }
  .dash-card-icon { font-size: 20px; }
  .dash-num { font-size: 18px; }
  .dash-label { font-size: 8px; }
  
  .form-card { padding: 16px 12px; }
  .input-field { font-size: 12px; padding: 8px 12px; min-height: 38px; }
  .input-group label { font-size: 9px; }
  
  .admin-table { font-size: 10px; }
  .admin-table th { font-size: 8px; padding: 6px 8px; }
  .admin-table td { font-size: 10px; padding: 6px 8px; }
  .status-badge { font-size: 8px; padding: 1px 6px; }
}