/* ═══════════════════════════════════════════════
   PONPAY — Premium Bullion Platform
   Design: Dark luxury · Indian gold aesthetic
   Fonts: Cormorant Garant + Plus Jakarta Sans
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  --bg:        #070709;
  --bg-2:      #0D0D12;
  --bg-3:      #13131A;
  --bg-card:   #111118;
  --surface:   #18181F;

  --gold:         #C9961F;
  --gold-light:   #E8B84B;
  --gold-dim:     #A07A18;
  --gold-glow:    rgba(201,150,31,0.18);
  --gold-border:  rgba(201,150,31,0.22);

  --silver:       #A8B4C0;
  --silver-light: #C8D4E0;
  --silver-glow:  rgba(168,180,192,0.12);
  --silver-border:rgba(168,180,192,0.2);

  --green:  #22C55E;
  --red:    #EF4444;
  --blue:   #3B82F6;

  --text:   #F0EDE8;
  --text-2: #A09890;
  --text-3: #60585A;

  --font-display: 'Cormorant Garant', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.7);

  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: pointer; border: none; }
input, select, textarea { font-family: var(--font-body); }

/* ─── LAYOUT ─── */
.container    { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px;  margin: 0 auto; padding: 0 24px; }

/* ─── STATUS BAR ─── */
.status-bar {
  background: var(--bg-2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  position: sticky;
  top: 0;
  z-index: 100;
}
.status-items { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.status-item { color: var(--text-3); }
.status-item strong { color: var(--text); }
.status-live { color: var(--green); }
.status-demo { color: var(--gold); }

/* ─── NAVBAR ─── */
.navbar {
  background: rgba(7,7,9,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 33px;
  z-index: 90;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 16px var(--gold-glow);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--surface);
  color: var(--text);
}
.nav-links a.active { color: var(--gold-light); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-ticker {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-2);
}
.live-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: var(--transition); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-sm  { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg  { padding: 14px 28px; font-size: 0.95rem; border-radius: 12px; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0A0800;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(201,150,31,0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #F0C95C, var(--gold-light));
  box-shadow: 0 6px 28px rgba(201,150,31,0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}
.btn-outline:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}

.btn-silver {
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  color: #060810;
  font-weight: 700;
}
.btn-silver:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-ghost {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid rgba(255,255,255,0.06);
}
.btn-ghost:hover { background: var(--bg-3); color: var(--text); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201,150,31,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(168,180,192,0.04) 0%, transparent 50%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,150,31,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,150,31,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,150,31,0.08);
  border: 1px solid var(--gold-border);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-light), var(--gold), #E8B84B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* Price chips */
.price-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.price-chip {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 16px 20px;
  min-width: 175px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.price-chip::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light), var(--gold-dim));
}
.price-chip:hover { border-color: var(--gold); transform: translateY(-2px); }

.price-chip.silver { border-color: var(--silver-border); }
.price-chip.silver::before { background: linear-gradient(90deg, var(--silver), var(--silver-light), var(--silver)); }
.price-chip.silver:hover { border-color: var(--silver-light); }

.price-chip.forex { border-color: rgba(59,130,246,0.25); }
.price-chip.forex::before { background: linear-gradient(90deg, #3B82F6, #60A5FA, #3B82F6); }
.price-chip.forex:hover { border-color: #3B82F6; }

.price-chip-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.metal-icon { font-size: 0.85rem; }
.price-chip-value {
  font-family: var(--font-mono);
  font-size: 1.25rem; font-weight: 500;
  color: var(--gold-light);
  display: block; margin-bottom: 4px;
}
.price-chip.silver .price-chip-value { color: var(--silver-light); }
.price-chip.forex .price-chip-value  { color: #93C5FD; }
.price-chip-sub { font-size: 0.7rem; color: var(--text-3); }

/* ─── TRUST STRIP ─── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  margin: 0 0 0;
  overflow: hidden;
}
.trust-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--gold-border);
}
.trust-item:last-child { border-right: none; }
.trust-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.trust-label { font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; }

/* ─── SECTION ─── */
.section { padding: 80px 0; }
.section-eyebrow {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 0.95rem; color: var(--text-2);
  max-width: 560px; line-height: 1.75;
  margin-bottom: 40px;
}

/* ─── DEMO BANNER ─── */
.demo-banner {
  display: flex; align-items: center; gap: 14px;
  background: rgba(201,150,31,0.06);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 28px;
  font-size: 0.85rem; color: var(--text-2);
}
.demo-icon { font-size: 1.1rem; }
.demo-banner.hidden { display: none; }

/* ─── RATES GRID ─── */
.rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rate-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  transition: var(--transition);
}
.rate-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 40px rgba(201,150,31,0.1); }
.silver-card { border-color: var(--silver-border); }
.silver-card:hover { border-color: var(--silver-light); box-shadow: 0 8px 40px rgba(168,180,192,0.08); }

.rate-card-bg-text {
  position: absolute; top: -10px; right: 20px;
  font-family: var(--font-display);
  font-size: 8rem; font-weight: 700;
  color: rgba(201,150,31,0.04);
  line-height: 1; pointer-events: none;
  user-select: none;
}
.silver-card .rate-card-bg-text { color: rgba(168,180,192,0.04); }

.rate-metal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.rate-metal-name {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600;
}
.gold-text  { color: var(--gold-light); }
.silver-text{ color: var(--silver-light); }

.rate-badge {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.gold-badge   { background: rgba(201,150,31,0.12); color: var(--gold-light); border: 1px solid var(--gold-border); }
.silver-badge { background: rgba(168,180,192,0.1);  color: var(--silver-light); border: 1px solid var(--silver-border); }

.rate-rows { display: flex; flex-direction: column; gap: 0; }
.rate-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rate-row:last-child { border-bottom: none; }
.buy-row  { background: rgba(34,197,94,0.03);  margin: 0 -32px; padding: 14px 32px; }
.sell-row { background: rgba(239,68,68,0.03);  margin: 0 -32px; padding: 14px 32px; }

.rate-row-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-2);
}
.label-dot {
  width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0;
}
.label-dot.base { background: var(--text-3); }
.label-dot.buy  { background: var(--green); }
.label-dot.gst  { background: #F59E0B; }
.label-dot.sell { background: var(--red); opacity: 0.8; }

.rate-row-value {
  font-family: var(--font-mono);
  font-size: 1rem; font-weight: 500;
  color: var(--text);
}
.rate-row-sub { font-size: 0.7rem; color: var(--text-3); text-align: right; margin-top: 3px; }
.gst-info { font-size: 0.7rem; color: #F59E0B; text-align: right; margin-top: 3px; }

.rate-actions { display: flex; gap: 12px; margin-top: 24px; }
.rate-actions .btn { flex: 1; justify-content: center; }

/* ─── CALCULATOR ─── */
.calc-section { padding: 60px 0; background: var(--bg-2); }

.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.calc-header {
  background: linear-gradient(135deg, rgba(201,150,31,0.08), transparent);
  border-bottom: 1px solid var(--gold-border);
  padding: 24px 32px;
}
.calc-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--gold-light);
}

.calc-body { padding: 32px; }

.tab-switch {
  display: flex; gap: 4px;
  background: var(--bg-3);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}
.tab-btn {
  flex: 1; padding: 10px;
  border-radius: 8px; font-weight: 600;
  font-size: 0.875rem;
  background: transparent; color: var(--text-2);
  transition: var(--transition);
}
.tab-btn.active { background: var(--surface); color: var(--text); }

.metal-select { display: flex; gap: 12px; margin-bottom: 24px; }
.metal-btn {
  flex: 1; padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; cursor: pointer;
  background: var(--bg-3);
  transition: var(--transition);
  text-align: center;
}
.metal-btn:hover { border-color: var(--gold-border); }
.metal-btn.gold-selected { border-color: var(--gold); background: rgba(201,150,31,0.06); }
.metal-btn.silver-selected { border-color: var(--silver); background: rgba(168,180,192,0.06); }
.metal-btn-name { display: block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; }
.metal-btn-purity { display: block; font-size: 0.7rem; color: var(--text-3); margin-top: 3px; }

.input-group { margin-bottom: 24px; }
.input-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-2); margin-bottom: 8px; letter-spacing: 0.04em; text-transform: uppercase; }
.input-row { display: flex; }
.input-row input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 1.05rem;
  font-family: var(--font-mono);
  outline: none;
  transition: var(--transition);
}
.input-row input:focus { border-color: var(--gold-dim); background: rgba(201,150,31,0.03); }
.input-unit {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0 10px 10px 0;
  padding: 13px 18px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-3); white-space: nowrap;
  display: flex; align-items: center;
}

.calc-breakdown {
  background: var(--bg-3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 2px;
}
.breakdown-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.875rem;
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-label { color: var(--text-2); }
.breakdown-val { font-family: var(--font-mono); color: var(--text); }
.total-row .breakdown-label { color: var(--text); font-weight: 700; font-size: 0.95rem; }
.total-row .breakdown-val   { color: var(--gold-light); font-size: 1.2rem; font-weight: 600; }

/* ─── HOW IT WORKS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}
.step-card:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.step-number {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 600;
  color: rgba(201,150,31,0.15);
  line-height: 1; margin-bottom: 16px;
}
.step-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step-card p  { font-size: 0.82rem; color: var(--text-2); line-height: 1.65; }

/* ─── RATES PAGE ─── */
.rates-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.rate-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rate-table-header {
  background: linear-gradient(90deg, rgba(201,150,31,0.07), transparent);
  border-bottom: 1px solid var(--gold-border);
  padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.rate-table-header h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--gold-light); }

table { width: 100%; border-collapse: collapse; }
th {
  padding: 12px 20px; text-align: left;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
td {
  padding: 14px 20px;
  font-size: 0.875rem; color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
tr:last-child td { border-bottom: none; }
.td-mono { font-family: var(--font-mono); color: var(--text); }
.td-gold { font-family: var(--font-mono); color: var(--gold-light); font-weight: 600; }
.td-silver { font-family: var(--font-mono); color: var(--silver-light); font-weight: 600; }
.td-green  { font-family: var(--font-mono); color: var(--green); }
.td-red    { font-family: var(--font-mono); color: var(--red); }

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--gold-light); margin-bottom: 16px; }

.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-item { display: flex; justify-content: space-between; font-size: 0.82rem; }
.info-item-label { color: var(--text-3); }
.info-item-val   { font-family: var(--font-mono); color: var(--text); }

/* ─── BUY / SELL PAGE ─── */
.buy-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.form-card-header {
  background: linear-gradient(135deg, rgba(201,150,31,0.08), transparent);
  border-bottom: 1px solid var(--gold-border);
  padding: 24px 32px;
}
.form-card-header h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--gold-light); }
.form-card-body { padding: 32px; }

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-field input:focus, .form-field select:focus {
  border-color: var(--gold-dim);
  background: rgba(201,150,31,0.03);
}
.form-field select option { background: var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(201,150,31,0.06);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.8rem; color: var(--text-2);
  margin-bottom: 20px; line-height: 1.6;
}

.price-summary {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky; top: 120px;
}
.price-summary h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--gold-light); margin-bottom: 20px; }

.summary-rows { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.85rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--text-2); }
.summary-val   { font-family: var(--font-mono); color: var(--text); }
.summary-total { background: rgba(201,150,31,0.06); margin: 0 -28px; padding: 16px 28px; border-top: 1px solid var(--gold-border); }
.summary-total .summary-label { color: var(--text); font-weight: 700; font-size: 0.9rem; }
.summary-total .summary-val   { color: var(--gold-light); font-size: 1.4rem; font-weight: 600; }

/* ─── ABOUT PAGE ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.compliance-section { margin-top: 60px; }
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.compliance-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.compliance-card:hover { border-color: var(--gold-border); }
.compliance-icon { font-size: 1.8rem; margin-bottom: 14px; }
.compliance-card h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.compliance-card p  { font-size: 0.8rem; color: var(--text-2); line-height: 1.65; }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 500px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn 0.22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.modal-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--gold-light); }

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem; color: var(--text);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  animation: toastIn 0.3s ease;
  max-width: 340px;
}
.toast.success { border-color: rgba(34,197,94,0.3); }
.toast.error   { border-color: rgba(239,68,68,0.3); }
.toast.hidden  { display: none; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: none; }
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--gold-border);
  padding: 60px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.82rem; color: var(--text-3); line-height: 1.75; max-width: 280px; }

.footer-col h5 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: var(--text-2); transition: var(--transition); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; }
.footer-disclaimer {
  font-size: 0.72rem; color: var(--text-3);
  line-height: 1.75; margin-bottom: 14px;
}

/* ─── ANIMATIONS ─── */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }
.animate-in-delay-4 { animation-delay: 0.45s; }
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* Flash price change */
@keyframes flashGold   { 0%,100% { background: transparent; } 50% { background: rgba(201,150,31,0.15); } }
@keyframes flashSilver { 0%,100% { background: transparent; } 50% { background: rgba(168,180,192,0.1); } }
.flash-gold   { animation: flashGold   0.6s ease; }
.flash-silver { animation: flashSilver 0.6s ease; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .rates-grid     { grid-template-columns: 1fr; }
  .rates-page-grid{ grid-template-columns: 1fr; }
  .buy-page-grid  { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .about-grid     { grid-template-columns: 1fr; }
  .compliance-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--gold-border);
    padding: 16px; gap: 4px; z-index: 88;
  }
  .nav-links.mobile-open a { padding: 12px 16px; display: block; }
  .status-bar { top: 0; }
  .navbar { top: 33px; }

  .hero { min-height: auto; padding: 60px 0 40px; }
  .hero h1 { font-size: 2.8rem; }
  .price-strip { flex-direction: column; }
  .price-chip  { min-width: auto; }

  .trust-strip { flex-direction: row; overflow-x: auto; }
  .trust-item  { min-width: 100px; }

  .section { padding: 52px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .rate-card  { padding: 24px; }
  .buy-row, .sell-row { margin: 0 -24px; padding: 14px 24px; }

  .form-row { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .calc-section .container-sm { padding: 0 16px; }
  .calc-body  { padding: 20px; }
}

/* ─── UTILITIES ─── */
.text-gold   { color: var(--gold-light); }
.text-silver { color: var(--silver-light); }
.text-muted  { color: var(--text-2); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.hidden{ display: none !important; }
.mono  { font-family: var(--font-mono); }
