/* ================================================================
   PANGEIA NEXUS GROUP — PREMIUM CSS
   Color System: Deep Navy #0A0E2A | Gold #C9A85C | White #FFFFFF
================================================================ */

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

:root {
  --navy: #0A0E2A;
  --navy-mid: #111530;
  --navy-light: #1a1f45;
  --navy-glass: rgba(10, 14, 42, 0.72);
  --gold: #C9A85C;
  --gold-light: #E4C98A;
  --gold-dark: #9E7E3A;
  --white: #FFFFFF;
  --off-white: #F5F3EE;
  --text-muted: #8E9AC0;
  --border: rgba(201, 168, 92, 0.2);
  --card-bg: rgba(17, 21, 48, 0.85);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ================================================================
   UTILITIES
================================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 100px 0; position: relative; }
.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}
.section-header.centered { text-align: center; margin-bottom: 4rem; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(201, 168, 92, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 92, 0.55);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 14, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.navbar.scrolled .nav-logo img {
  height: 46px;
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img {
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201, 168, 92, 0.35));
  transition: var(--transition);
}
.nav-logo img:hover { filter: drop-shadow(0 0 18px rgba(201, 168, 92, 0.5)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.45rem 0.75rem;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: rgba(201, 168, 92, 0.08); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  box-shadow: 0 4px 16px rgba(201, 168, 92, 0.3);
}
.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 92, 0.5);
}

.lang-switcher {
  display: flex;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 0.2rem;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.lang-btn.active, .lang-btn:hover { background: var(--gold); color: var(--navy); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: transparent; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO  —  flex column: content on top, stats bar at bottom
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8) brightness(0.45);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 42, 0.92) 0%,
    rgba(10, 14, 42, 0.55) 50%,
    rgba(10, 14, 42, 0.85) 100%
  );
}

/* The centred content block grows to fill space above the stats bar */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1; /* take all available height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 2rem 60px; /* top clears navbar; bottom gives breathing room above stats */
  animation: heroFadeIn 1.2s ease forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 92, 0.12);
  border: 1px solid rgba(201, 168, 92, 0.35);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

/* blockchain strip under hero badge */
.blockchain-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(99, 212, 178, 0.07);
  border: 1px solid rgba(99, 212, 178, 0.25);
  color: #6ee7b7;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.blockchain-strip .bc-dot {
  width: 7px;
  height: 7px;
  background: #6ee7b7;
  border-radius: 50%;
  box-shadow: 0 0 6px #6ee7b7;
  animation: bcPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes bcPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title { margin-bottom: 1.5rem; }
.hero-title-main {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--white) 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-title-sub {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 130px; /* sits above the stats bar */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 auto;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(8px); opacity: 1; }
}

/* Stats Bar — sits at the very bottom of the flex column */
.hero-stats {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 42, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  gap: 0;
  flex-shrink: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  max-width: 200px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); margin: 0 1rem; flex-shrink: 0; }

/* ================================================================
   ABOUT
================================================================ */
.about-section { background: var(--navy-mid); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.about-visual { position: relative; }
.about-img-stack { position: relative; border-radius: var(--radius); overflow: visible; }
.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: brightness(0.9);
  transition: var(--transition);
}
.about-img-stack:hover .about-img-main { filter: brightness(1); transform: scale(1.02); }

.about-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--navy);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-card);
}
.about-img-badge img { width: 120px; height: auto; object-fit: contain; }
.about-img-badge span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-cert-strip { display: flex; gap: 1rem; margin-top: 3rem; }
.cert-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.cert-icon { font-size: 1.5rem; }
.cert-item div { display: flex; flex-direction: column; gap: 0.125rem; }
.cert-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.cert-value { font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }

.about-text { padding-left: 1rem; }
.about-desc { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.8; }

.about-pillars { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.pillar:hover { border-color: var(--border); background: rgba(201, 168, 92, 0.05); }
.pillar-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.pillar strong { display: block; font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.pillar p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ================================================================
   COMMODITIES
================================================================ */
.commodities-section { background: var(--navy); }

.commodity-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.commodity-featured:hover { box-shadow: 0 16px 60px rgba(201, 168, 92, 0.15); border-color: rgba(201, 168, 92, 0.4); }
.commodity-featured.reverse { direction: rtl; }
.commodity-featured.reverse > * { direction: ltr; }

.commodity-featured-img { position: relative; height: 400px; }
.commodity-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.commodity-featured:hover .commodity-featured-img img { transform: scale(1.04); }

.featured-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 50px;
}

.commodity-featured-info { padding: 2.5rem 2.75rem; }
.commodity-cat { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.commodity-featured-info h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 800; color: var(--white); margin-bottom: 1rem; line-height: 1.2; }
.commodity-featured-info p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.75rem; }

.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1.5rem; }

/* ── Market Price Strip (IC45 live widget) ── */
.market-price-strip,
.market-ref-strip {
  background: rgba(10, 14, 42, 0.6);
  border: 1px solid rgba(201, 168, 92, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}
.market-price-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}
.market-tickers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.875rem;
}
.market-chart-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,92,0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: var(--transition);
}
.market-chart-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,92,0.07);
  transform: translateY(-2px);
}
.chart-card-exchange {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.chart-card-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.chart-card-ticker {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
  letter-spacing: 0.05em;
}
.chart-card-cta {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 0.4rem;
}
.market-ticker-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  overflow: hidden;
}
.tradingview-widget-container { min-height: 46px; }
.market-ticker-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}
.market-price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.market-price-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.market-price-note a:hover { color: var(--gold-light); }

/* ── Chicken Paws Market Reference Links ── */
.market-ref-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}
.market-ref-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.market-ref-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 168, 92, 0.06);
  transform: translateX(4px);
}


.spec {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.spec-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.spec-val { font-family: var(--font-head); font-size: 0.82rem; color: var(--gold-light); font-weight: 700; }

.commodities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.commodity-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.commodity-card:hover { border-color: var(--border); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.commodity-card-img { height: 200px; overflow: hidden; }
.commodity-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.commodity-card:hover .commodity-card-img img { transform: scale(1.08); }
.commodity-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.commodity-card-body h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--white); }
.commodity-card-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.card-link { font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; margin-top: 0.75rem; transition: var(--transition); align-self: flex-start; }
.card-link:hover { color: var(--gold-light); letter-spacing: 0.12em; }

/* ================================================================
   EDGE
================================================================ */
.edge-section { padding: 100px 0; position: relative; min-height: 600px; display: flex; align-items: center; }
.edge-bg { position: absolute; inset: 0; z-index: 0; }
.edge-bg-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.3) saturate(0.5); }
.edge-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,14,42,0.97) 0%, rgba(10,14,42,0.8) 100%); }
.edge-section .container { position: relative; z-index: 2; }

.edge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.edge-card {
  background: rgba(17, 21, 48, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.edge-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(135deg, var(--gold), transparent); opacity: 0; transition: var(--transition); }
.edge-card:hover { border-color: var(--border); transform: translateY(-4px); background: rgba(26,31,69,0.8); }
.edge-card:hover::before { opacity: 1; }
.edge-icon { font-size: 2.25rem; margin-bottom: 1rem; display: block; }
.edge-card h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; line-height: 1.3; }
.edge-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ================================================================
   NETWORK
================================================================ */
.network-section { background: var(--navy-mid); }

.network-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-bottom: 4rem; }
.network-map { position: relative; }
.network-img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); filter: brightness(0.75) saturate(1.1); }
.map-overlay-text {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 14, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
}
.network-info { display: flex; flex-direction: column; gap: 1rem; }
.network-region {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.network-region:hover { border-color: var(--border); background: rgba(201, 168, 92, 0.04); }
.region-flag { font-size: 1.75rem; flex-shrink: 0; }
.network-region strong { display: block; font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.network-region p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.network-ports { margin-top: 0.5rem; }
.network-ports h5 { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.port-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.port-tag { background: rgba(201, 168, 92, 0.1); border: 1px solid var(--border); color: var(--gold-light); font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 50px; }

.asap-reference {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.asap-text { flex: 1; }
.asap-text h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: 0.75rem; }
.asap-text p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.asap-logo-group { flex-shrink: 0; }
.asap-logo { height: 100px; width: auto; border-radius: var(--radius-sm); filter: drop-shadow(0 4px 16px rgba(201, 168, 92, 0.15)); }

/* ================================================================
   PROCESS
================================================================ */
.process-section { background: var(--navy); }

.steps-container { display: flex; align-items: flex-start; gap: 0; position: relative; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1.5rem; position: relative; }
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(201, 168, 92, 0.12), 0 8px 24px rgba(201, 168, 92, 0.3);
  position: relative;
  z-index: 2;
}
.step-content h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.step-content p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.step-connector { flex-shrink: 0; width: 80px; height: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark)); margin-top: 36px; position: relative; z-index: 1; }

/* ================================================================
   CONTACT
================================================================ */
.contact-section { background: var(--navy-mid); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; }
.contact-info .section-title { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.contact-info > p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2.5rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}
.contact-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-detail-item div { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-detail-item strong { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.contact-detail-item span { font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.contact-logo img { width: 160px; height: auto; opacity: 0.8; }

.contact-form-wrap {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A85C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  background-color: rgba(255,255,255,0.04);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); background: rgba(201,168,92,0.05); box-shadow: 0 0 0 3px rgba(201,168,92,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select option { background: var(--navy-mid); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success, .form-error { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 0.75rem; }
.form-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.form-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.form-privacy { font-size: 0.75rem; color: var(--text-muted); text-align: center; line-height: 1.5; }

/* ================================================================
   FOOTER
================================================================ */
.footer { border-top: 1px solid var(--border); }
.footer-top { background: var(--navy); padding: 4rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { width: 160px; height: auto; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; max-width: 220px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); transition: var(--transition); }
.social-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-2px); }
.footer-col h5 { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a, .footer-col ul li span { font-size: 0.875rem; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom { background: rgba(0,0,0,0.35); padding: 1.25rem 0; border-top: 1px solid var(--glass-border); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-muted); }

/* ================================================================
   BACK TO TOP
================================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(201, 168, 92, 0.4);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(201, 168, 92, 0.6); }

/* ================================================================
   ANIMATIONS
================================================================ */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos][data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos][data-aos-delay="500"] { transition-delay: 0.5s; }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-badge { right: 0; }
  .about-text { padding-left: 0; }
  .commodity-featured { grid-template-columns: 1fr; }
  .commodity-featured.reverse { direction: ltr; }
  .commodity-featured-img { height: 280px; }
  .commodities-grid { grid-template-columns: repeat(2, 1fr); }
  .edge-grid { grid-template-columns: repeat(2, 1fr); }
  .network-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps-container { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .step { flex-direction: row; text-align: left; padding: 0; gap: 1.5rem; }
  .step-number { margin-bottom: 0; flex-shrink: 0; }
  .step-connector { width: 2px; height: 30px; margin: 0 0 0 35px; background: linear-gradient(180deg, var(--gold-dark), var(--gold)); }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,14,42,0.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; padding: 0.75rem 2rem; }
  .hamburger { display: flex; z-index: 1001; }
  .lang-switcher { z-index: 1001; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; padding: 1.25rem; }
  .stat-divider { display: none; }
  .stat-item { min-width: 45%; }
  .commodities-grid { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .asap-reference { flex-direction: column; gap: 1.5rem; }
  .about-cert-strip { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-title-main { font-size: 3rem; }
  .hero-content { padding: 100px 1.25rem 50px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .contact-form-wrap { padding: 1.5rem; }
}
