/* ==========================================================================
   PrimePeak Global Trading Limited — stylesheet
   ========================================================================== */

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --bg: #f6f7fa;
  --bg-alt: #ffffff;
  --bg-raised: #ffffff;
  --bg-sunken: #eef0f5;
  --text: #151b2c;
  --text-muted: #4d5872;
  --text-faint: #7c869c;
  --border: #e3e6ee;
  --border-strong: #ccd1e0;

  --primary: #0c2f52;
  --primary-strong: #081f38;
  --primary-tint: #e7edf4;
  --accent: #b9863c;
  --accent-strong: #97692a;
  --accent-tint: #f6ecda;

  --success: #1f7a4d;
  --shadow-color: 220 40% 20%;
  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / 0.06), 0 1px 1px hsl(var(--shadow-color) / 0.04);
  --shadow-md: 0 6px 20px hsl(var(--shadow-color) / 0.08), 0 2px 6px hsl(var(--shadow-color) / 0.06);
  --shadow-lg: 0 20px 50px hsl(var(--shadow-color) / 0.14), 0 6px 16px hsl(var(--shadow-color) / 0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a0e17;
  --bg-alt: #0f1522;
  --bg-raised: #131a29;
  --bg-sunken: #080b12;
  --text: #eef1f8;
  --text-muted: #a7b0c4;
  --text-faint: #717d95;
  --border: #212a3d;
  --border-strong: #2c3752;

  --primary: #6f9fcf;
  --primary-strong: #9cbde2;
  --primary-tint: #16233a;
  --accent: #d9a75a;
  --accent-strong: #ecc582;
  --accent-tint: #24200f;

  --success: #4cb583;
  --shadow-color: 220 60% 3%;
  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / 0.5);
  --shadow-md: 0 6px 20px hsl(var(--shadow-color) / 0.55);
  --shadow-lg: 0 24px 60px hsl(var(--shadow-color) / 0.65);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0e17;
    --bg-alt: #0f1522;
    --bg-raised: #131a29;
    --bg-sunken: #080b12;
    --text: #eef1f8;
    --text-muted: #a7b0c4;
    --text-faint: #717d95;
    --border: #212a3d;
    --border-strong: #2c3752;

    --primary: #6f9fcf;
    --primary-strong: #9cbde2;
    --primary-tint: #16233a;
    --accent: #d9a75a;
    --accent-strong: #ecc582;
    --accent-tint: #24200f;

    --success: #4cb583;
    --shadow-color: 220 60% 3%;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--text); }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #211302;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-strong); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }

.btn-ghost {
  background: var(--primary-tint);
  color: var(--primary-strong);
}
.btn-ghost:hover { background: var(--border); }

.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-alt) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--text);
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }

.brand-logo {
  height: 54px;
  width: auto;
  display: block;
}
.brand-logo.logo-dark { display: none; }
:root[data-theme="dark"] .brand-logo.logo-light { display: none; }
:root[data-theme="dark"] .brand-logo.logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo.logo-light { display: none; }
  :root:not([data-theme="light"]) .brand-logo.logo-dark { display: block; }
}
.footer-logo { height: 50px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-raised);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-raised);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 100px;
  background: linear-gradient(180deg, var(--bg-sunken), var(--bg));
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--text);
  margin-bottom: 20px;
}
.hero .lead { font-size: 1.12rem; max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text);
}
.hero-stats .stat span {
  font-size: 0.82rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #0c2f52 0%, #081f38 55%, #050c16 100%);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 32px 20px 20px;
}
.hero-logo {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 16px;
}
.hero-logo img {
  max-width: 78%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.hero-art .badge {
  flex-shrink: 0;
  width: 100%;
  background: color-mix(in srgb, var(--bg-alt) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-art .badge b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--text); }
.hero-art .badge span { font-size: 0.8rem; color: var(--text-faint); }

/* ---------- Ticker / trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-sunken);
  overflow: hidden;
  padding: 18px 0;
}
.trust-track {
  display: flex;
  width: max-content;
  animation: trust-scroll 34s linear infinite;
}
.trust-strip:hover .trust-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
}
.trust-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.trust-item {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 28px;
  white-space: nowrap;
}
.trust-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.7;
}
@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--primary-tint);
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.08rem; color: var(--text); margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin-bottom: 0; }
.card a.card-link { font-size: 0.85rem; font-weight: 600; color: var(--accent-strong); display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }

.card.numbered { position: relative; }
.card.numbered .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split.reverse .split-media { order: 0; } }

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 5/4;
  background: var(--bg-sunken);
}
.split-media svg { width: 100%; height: 100%; }

.checklist { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 0.96rem; }
.checklist svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--success); }

/* ---------- Band / CTA ---------- */
.band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.band h2 { color: #fff; margin-bottom: 8px; font-size: 1.8rem; }
.band p { color: rgba(255,255,255,0.78); margin-bottom: 0; max-width: 480px; }
.band .btn-primary { box-shadow: none; }

/* ---------- Timeline (about) ---------- */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--border); margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 40px 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px; top: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
}
.timeline-item b { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }

/* ---------- Values ---------- */
.value-row { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.value-row:last-child { border-bottom: none; }
.value-row .num { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent-strong); width: 48px; flex-shrink: 0; }
.value-row h4 { margin: 0 0 6px; color: var(--text); font-size: 1.02rem; }
.value-row p { margin: 0; font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-tint); color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-row .icon svg { width: 20px; height: 20px; }
.info-row h4 { margin: 0 0 4px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.info-row p, .info-row a { margin: 0; color: var(--text); font-size: 1rem; font-weight: 500; }
.info-row a:hover { color: var(--accent-strong); }

.form-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 14px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 32px;
}
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(0.15); }
:root[data-theme="dark"] .map-embed iframe { filter: grayscale(0.4) invert(0.92) contrast(0.9); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .map-embed iframe { filter: grayscale(0.4) invert(0.92) contrast(0.9); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
  background: var(--bg-sunken);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.breadcrumb { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--accent-strong); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-strong);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 28px;
  margin-top: 40px;
}
:root[data-theme="dark"] .site-footer { background: #060a12; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-footer { background: #060a12; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 14px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.68); font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.72); align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-strong);
  border: 1px solid transparent;
}
