:root {
  --navy: #0A1628;
  --navy-light: #152438;
  --navy-overlay: rgba(10, 22, 40, 0.7);
  --gold: #C9A84C;
  --gold-light: #DFBF6D;
  --white: #FFFFFF;
  --light-grey: #F4F4F4;
  --text-grey: rgba(255, 255, 255, 0.7);
  --border: rgba(201, 168, 76, 0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-zh: 'Noto Sans SC', sans-serif;
  --font-en: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  font-family: var(--font-zh); /* Default */
}

body.lang-en {
  font-family: var(--font-en);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* --- Shared Navigation --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: var(--navy);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 0 5%;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.logo-er {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}

.logo-global {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-grey);
}

.nav-links li a:hover, .nav-links li a.active {
  color: var(--gold);
}

.nav-links li a.active {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.lang-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-grey);
}

.lang-btn.active {
  background-color: var(--gold);
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--white);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  margin-top: 80px;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy-overlay);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-grey);
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  padding: 18px 40px;
  background-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius);
  font-size: 14px;
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* --- Content Sections --- */
section {
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--gold);
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--gold);
  margin: 20px auto;
}

/* --- Features / Cards --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background-color: var(--navy-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-10px);
}

.card-icon {
  margin-bottom: 25px;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--white);
}

.card p {
  color: var(--text-grey);
  font-size: 14px;
}

/* --- Stats Bar --- */
.stats-bar {
  background-color: var(--gold);
  padding: 60px 5%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
  color: var(--navy);
}

.stat-item h4 {
  font-size: 3rem;
  margin-bottom: 5px;
}

.stat-item p {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
}

/* --- How it Works --- */
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}

/* --- Image Baner --- */
.image-banner {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy-overlay);
}

/* --- Footer --- */
footer {
  padding: 60px 5% 30px;
  background-color: #050b14;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-privacy {
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--text-grey);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-email {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-weight: 600;
}

.copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* --- Language Specific Visibility --- */
:not(html):not(body)[lang="zh"], :not(html):not(body)[lang="en"] {
  display: none !important;
}

body:not(.lang-en) :not(html):not(body)[lang="zh"] {
  display: block !important;
}

body.lang-en :not(html):not(body)[lang="en"] {
  display: block !important;
}

/* For inline/spans */
body:not(.lang-en) span[lang="zh"] {
  display: inline !important;
}

body.lang-en span[lang="en"] {
  display: inline !important;
}

/* --- Tracking Page Specific --- */
.tracking-card {
  background-color: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}

.timeline {
  margin-top: 40px;
  padding-left: 50px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--navy);
  border: 2px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.timeline-item.active .timeline-dot {
  background-color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold);
}

.timeline-item.active .timeline-content h4 {
  color: var(--gold);
}

.timeline-content {
  padding-left: 10px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-grey);
}

.timeline-content .meta {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-grey);
}

.pending-step {
  opacity: 0.4;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }

  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--navy);
    padding: 40px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.3s ease;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
