/* ══════════════════════════════════════════
   TAGMAP EXIM — Apple-Inspired Clean Design
   ══════════════════════════════════════════ */

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

:root {
  --navy: #0a1628;
  --ink: #1d1d1f;
  --body: #515154;
  --muted: #86868b;
  --light: #f5f5f7;
  --white: #ffffff;
  --gold: #c9a84c;
  --gold-hover: #e0be5a;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s;
}

.nav.dark-mode {
  background: rgba(10,22,40,0.85);
  border-bottom-color: rgba(255,255,255,0.08);
}

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

.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1.5px;
  transition: color 0.3s;
}

.nav-logo span { color: var(--gold); }
.nav.dark-mode .nav-logo { color: var(--white); }

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--body);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--ink); }
.nav.dark-mode .nav-links a { color: rgba(255,255,255,0.7); }
.nav.dark-mode .nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600 !important;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold-hover) !important;
  transform: scale(1.03);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

.nav.dark-mode .nav-toggle span { background: var(--white); }
.nav-toggle.active span:first-child { transform: rotate(45deg) translate(3px, 4px); }
.nav-toggle.active span:last-child { transform: rotate(-45deg) translate(3px, -4px); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

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

.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,22,40,0.5) 0%,
    rgba(10,22,40,0.35) 40%,
    rgba(10,22,40,0.7) 100%
  );
}

.hero-body {
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 48px 80px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 28px;
  transition: all 0.3s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.hero-metrics {
  position: absolute;
  bottom: 48px; left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 64px;
  animation: fadeUp 0.8s 0.5s ease both;
}

.metric {
  text-align: center;
}

.metric strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
}

.metric span {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
}

.metric small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ═══ PANELS ═══ */
.panel {
  padding: 120px 48px;
}

.panel.dark {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}

.panel.dark .kicker { color: var(--gold); }
.panel.dark .headline { color: var(--white); }
.panel.dark .subtext { color: rgba(255,255,255,0.6); }

.panel.light {
  background: var(--light);
}

.wrap {
  max-width: 700px;
  margin-bottom: 64px;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
}

.headline em {
  font-style: italic;
  color: var(--gold);
}

.subtext {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
}

.centered {
  text-align: center;
  margin-top: 48px;
}

/* ═══ ABOUT SPLIT ═══ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}

.value-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.value-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══ IMMERSIVE ═══ */
.immersive {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}

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

.immersive-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.65) 0%, rgba(0,0,0,0.1) 100%);
}

.immersive-text {
  position: absolute;
  bottom: 80px; left: 48px;
  z-index: 2;
}

.immersive-text .kicker {
  color: var(--gold);
  margin-bottom: 12px;
}

.immersive-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

/* ═══ PRODUCTS ═══ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
}

.product-card {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s ease, border-color 0.4s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.3);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  padding: 20px 20px 8px;
}

.product-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  padding: 0 20px 24px;
  line-height: 1.6;
}

/* ═══ STEPS ═══ */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1000px;
  margin-bottom: 20px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.step-arrow {
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 40px;
  flex-shrink: 0;
}

/* ═══ REASONS ═══ */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
  max-width: 900px;
  margin-bottom: 64px;
}

.reason h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.reason p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 20px;
}

.routes {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.route-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.route-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(201,168,76,0.2));
}

/* ═══ NEWS / TRADE UPDATES ═══ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
}

.news-card {
  background: var(--light);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.news-card.featured {
  grid-column: 1 / -1;
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(201,168,76,0.15);
}

.news-card.featured h3 { color: var(--white); }

.news-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.news-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.news-date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.news-card.featured .news-date { color: rgba(255,255,255,0.4); }

/* ═══ TRUST BADGES ═══ */
.trust-strip {
  background: var(--light);
  padding: 40px 48px;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.trust-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.8rem;
  color: var(--body);
  padding: 8px 16px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  white-space: nowrap;
}

.badge strong {
  color: var(--ink);
}

/* ═══ FORM ENHANCEMENTS ═══ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 4px;
}

/* ═══ FOUNDERS ═══ */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 720px;
  margin: 0 auto;
}

.founder {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.founder:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.founder-initials {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.founder h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.founder-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.founder p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══ CONTACT ═══ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1000px;
  align-items: flex-start;
}

.contact-row {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.contact-row a, .contact-row > span {
  font-size: 0.95rem;
  color: var(--white);
  transition: color 0.3s;
}

.contact-row a:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.contact-form select {
  color: rgba(255,255,255,0.5);
  appearance: none;
}

.contact-form select option {
  background: var(--navy);
  color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}

.contact-form textarea { resize: vertical; min-height: 100px; }

/* ═══ FOOTER ═══ */
.footer {
  background: var(--ink);
  padding: 64px 48px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col a, .footer-col span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ═══ STICKY CTA ═══ */
.sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  background: var(--gold);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 28px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s, background 0.3s;
}

.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta:hover {
  background: var(--gold-hover);
}

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

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

/* ═══ ANIMS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px;
    gap: 20px;
    transition: right 0.35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }
  .nav-links.open { right: 0; }
  .nav.dark-mode .nav-links { background: var(--navy); }
  .nav-toggle { display: flex; }

  .hero-body { padding: 140px 24px 100px; }
  .hero-ctas { flex-direction: column; }
  .hero-metrics { gap: 32px; bottom: 24px; }

  .panel { padding: 80px 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 16px; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .reasons { grid-template-columns: 1fr; gap: 32px; }
  .founders { grid-template-columns: 1fr; max-width: 360px; }
  .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; }
  .routes { gap: 24px; }
  .immersive-text { left: 24px; bottom: 40px; }
  .news-grid { grid-template-columns: 1fr; }
  .trust-strip { padding: 32px 24px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-badges { gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .metric strong { font-size: 1.6rem; }
  .hero-metrics { gap: 20px; }
}
