/* Shared styles for the marketing/SEO pages (gold-price, silver-price,
   karat-calculator). Mirrors the palette of index.html. */
:root {
  --gold: #F2C94C;
  --gold-deep: #C89B3C;
  --gold-highlight: #FFE08A;
  --silver: #C7CBD1;
  --up: #3FB985;
  --down: #E5484D;
  --bg-base: #0B0B0F;
  --bg-surface: #13131A;
  --bg-elevated: #1C1C26;
  --text-primary: #F5F5F7;
  --text-secondary: #A0A2AD;
  --text-tertiary: #6B6D78;
  --hairline: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,11,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.2px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-primary); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-highlight), var(--gold), var(--gold-deep));
  color: #1A1410; font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 8px 28px -6px rgba(242,201,76,0.35);
}
.btn:hover { filter: brightness(1.05); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-primary); font-size: 14px; font-weight: 600;
  border: 1px solid var(--hairline); padding: 10px 20px; border-radius: 999px;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); }

main { padding: 48px 0 0; }
h1 { font-size: 36px; line-height: 1.12; letter-spacing: -0.8px; margin: 0 0 12px; }
.sub { color: var(--text-secondary); font-size: 16px; line-height: 1.6; margin: 0 0 32px; max-width: 620px; }
h2 { font-size: 24px; letter-spacing: -0.4px; margin: 0 0 16px; }
.section { padding: 40px 0; border-top: 1px solid var(--hairline); }

.price-hero {
  background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: 20px; padding: 28px; margin-bottom: 20px;
}
.price-hero .label { font-size: 13px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 8px; }
.price-hero .big { font-size: 44px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; }
.price-hero .big.gold { color: var(--gold); }
.price-hero .big.silver { color: var(--silver); }
.price-hero .unit { font-size: 15px; color: var(--text-secondary); font-weight: 500; }
.price-hero .updated { font-size: 12px; color: var(--text-tertiary); margin-top: 12px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.price-cell {
  background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 18px 20px;
}
.price-cell .k { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.price-cell .v { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; }

.currency-picker { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.currency-picker label { font-size: 13px; color: var(--text-secondary); }
select, input[type="number"] {
  background: var(--bg-elevated); color: var(--text-primary);
  border: 1px solid var(--hairline); border-radius: 10px;
  padding: 9px 12px; font-size: 14px; font-family: inherit;
}
select:focus, input:focus { outline: 1px solid var(--gold-deep); }

table.karat {
  width: 100%; border-collapse: collapse;
  background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: 16px; overflow: hidden;
}
table.karat th, table.karat td { padding: 13px 18px; text-align: left; font-size: 14px; }
table.karat th { color: var(--text-tertiary); font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600; border-bottom: 1px solid var(--hairline); }
table.karat tr + tr td { border-top: 1px solid var(--hairline); }
table.karat td.num { font-weight: 600; font-variant-numeric: tabular-nums; }

.calc {
  background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: 20px; padding: 26px; margin-bottom: 20px;
}
.calc .fields { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.calc .field { display: flex; flex-direction: column; gap: 6px; }
.calc .field span { font-size: 13px; color: var(--text-secondary); }
.calc .result { font-size: 34px; font-weight: 700; letter-spacing: -0.8px; color: var(--gold); }
.calc .result-label { font-size: 13px; color: var(--text-tertiary); margin-bottom: 4px; }

.faq details {
  background: var(--bg-surface); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; margin: 12px 0 0; }

.cta-band { border-top: 1px solid var(--hairline); padding: 56px 0; text-align: center; margin-top: 48px; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--text-secondary); font-size: 15px; margin: 0 0 26px; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

footer { border-top: 1px solid var(--hairline); padding: 28px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--text-tertiary); font-size: 13px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); font-size: 13px; }
.footer-links a:hover { color: var(--text-primary); }

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .price-hero .big { font-size: 34px; }
  .price-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
