/* ================================================================
   LAGLEM MINERALS — SHARED STYLESHEET
================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------------------------------
   TOKENS
---------------------------------------------------------------- */
:root {
  --bg:         #0D0D0D;
  --surface:    #1A1A1A;
  --surface-2:  #212121;
  --border:     #2A2A2A;
  --gold:       #FFB606;
  --gold-h:     #FFC933;
  --gold-dim:   rgba(255,182,6,0.15);
  --gold-glow:  rgba(255,182,6,0.3);
  --text:       #F0F0F0;
  --muted:      #888888;
  --muted-2:    #555555;
  --glass:      rgba(26,26,26,0.75);
  --up:         #4CAF50;
  --down:       #EF5350;
  --font-h:     'Cormorant Garamond', Georgia, serif;
  --font-b:     'Inter', system-ui, sans-serif;
  --ease:       0.3s ease;
}

/* ----------------------------------------------------------------
   RESET
---------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998; opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-b); }
ul { list-style: none; }

/* ----------------------------------------------------------------
   LAYOUT
---------------------------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 100px 0; }

/* ----------------------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1rem;
}
.eyebrow-line { flex: 1; max-width: 36px; height: 1px; background: var(--gold); opacity: .5; }
.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; line-height: 1.1; color: var(--text);
}
.section-rule { width: 52px; height: 2px; background: var(--gold); margin-top: 1.5rem; }
.centered { text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered .section-rule { margin-left: auto; margin-right: auto; }
.sub-text { color: var(--muted); font-size: .88rem; margin-top: .75rem; }

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn-gold {
  display: inline-block; padding: .95rem 2.6rem;
  background: var(--gold); color: var(--bg);
  border: none; border-radius: 2px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  transition: all var(--ease);
}
.btn-gold:hover { background: var(--gold-h); transform: translateY(-2px); box-shadow: 0 10px 32px var(--gold-glow); }

.btn-ghost {
  display: inline-block; padding: .95rem 2.6rem;
  background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: 2px;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  transition: all var(--ease);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-outline-gold {
  display: inline-block; padding: .95rem 2.6rem;
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 2px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  transition: all var(--ease);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--bg); transform: translateY(-2px); }

/* ----------------------------------------------------------------
   NAVBAR
---------------------------------------------------------------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; display: flex; align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2.5rem;
  transition: all var(--ease);
}
#nav.scrolled {
  background: rgba(13,13,13,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2.5rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.05) contrast(1.1) saturate(1.2);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  filter: brightness(1.2) contrast(1.1) saturate(1.3) drop-shadow(0 0 8px rgba(255,182,6,0.45));
  transform: scale(1.03);
}
.nav-logo .lg-main {
  font-family: var(--font-h); font-size: 1.75rem;
  font-weight: 700; color: var(--gold); letter-spacing: .12em;
}
.nav-logo .lg-sub {
  font-size: .5rem; font-weight: 700;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--text); margin-top: -1px;
}
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-size: .77rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); position: relative;
  transition: color var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: .55rem 1.4rem !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important; border-radius: 2px;
  transition: all var(--ease) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--bg) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; background: none; border: none;
}
.burger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mob-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(10,10,10,.97); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
}
.mob-menu.open { display: flex; }
.mob-menu a { font-family: var(--font-h); font-size: 2rem; font-weight: 500; color: var(--text); transition: color var(--ease); }
.mob-menu a:hover { color: var(--gold); }

/* ----------------------------------------------------------------
   PAGE HERO BANNER (inner pages)
---------------------------------------------------------------- */
.page-hero {
  position: relative; padding: 160px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 10% 60%, rgba(255,182,6,.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(255,182,6,.04) 0%, transparent 55%),
    #0D0D0D;
}
.page-hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -50deg, transparent, transparent 60px,
    rgba(255,182,6,.012) 60px, rgba(255,182,6,.012) 61px);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-kicker {
  display: flex; align-items: center; gap: .9rem;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.page-hero-kicker::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 600; line-height: 1.05;
  color: var(--text); margin-bottom: 1.2rem;
  max-width: 750px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--muted); font-weight: 300;
  max-width: 560px; margin-bottom: 2.5rem;
}
.page-hero-rule { width: 52px; height: 2px; background: var(--gold); }

/* ----------------------------------------------------------------
   SECTION HEADER BLOCK
---------------------------------------------------------------- */
.s-head { margin-bottom: 3.5rem; }
.s-head.center { text-align: center; }
.s-head.center .eyebrow { justify-content: center; }
.s-head.center .section-rule { margin: 1.5rem auto 0; }

/* ----------------------------------------------------------------
   PRICE TICKER
---------------------------------------------------------------- */
.ticker-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 48px; background: rgba(20,20,20,.92);
  backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  display: flex; align-items: center; overflow: hidden; z-index: 2;
}
.ticker-badge {
  position: relative; z-index: 2; flex-shrink: 0; height: 100%;
  display: flex; align-items: center; padding: 0 1.4rem;
  background: var(--gold); color: var(--bg);
  font-size: .65rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.ticker-badge::after {
  content: ''; position: absolute; right: -10px;
  top: 0; bottom: 0; width: 20px; background: var(--gold);
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%);
}
.ticker-scroll { display: flex; animation: scroll-ticker 45s linear infinite; will-change: transform; padding-left: 3rem; }
.ticker-scroll:hover { animation-play-state: paused; }
.t-item { display: flex; align-items: center; gap: .5rem; padding: 0 2.5rem; white-space: nowrap; font-size: .8rem; border-right: 1px solid var(--border); }
.t-sym  { color: var(--gold); font-weight: 700; font-size: .74rem; letter-spacing: .05em; }
.t-price { color: var(--text); font-weight: 600; }
.t-chg  { font-size: .7rem; font-weight: 600; }
.t-chg.up   { color: var(--up); }
.t-chg.down { color: var(--down); }
@keyframes scroll-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.pulse-anim { animation: price-pulse .55s ease; }
@keyframes price-pulse { 0% { color: inherit; } 40% { color: var(--gold); } 100% { color: inherit; } }

/* ----------------------------------------------------------------
   TRUST BAR
---------------------------------------------------------------- */
#trust { padding: 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.t-badge { display: flex; align-items: center; gap: .7rem; padding: 1.2rem 2.6rem; position: relative; }
.t-badge + .t-badge::before { content: ''; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--border); }
.t-badge-icon { color: var(--gold); font-size: .9rem; line-height: 1; }
.t-badge-label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ----------------------------------------------------------------
   CARDS — generic glass card
---------------------------------------------------------------- */
.glass-card {
  background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 3px; padding: 2rem;
  transition: all var(--ease);
}
.glass-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }

/* ----------------------------------------------------------------
   DIVIDER
---------------------------------------------------------------- */
.divider { width: 100%; height: 1px; background: var(--border); margin: 0; }

/* ----------------------------------------------------------------
   FADE-IN
---------------------------------------------------------------- */
.fi { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.fi.in { opacity: 1; transform: translateY(0); }
.fi.d1 { transition-delay: .1s; }
.fi.d2 { transition-delay: .2s; }
.fi.d3 { transition-delay: .3s; }
.fi.d4 { transition-delay: .4s; }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
footer { background: #080808; border-top: 1px solid var(--border); padding: 5rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem; padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}
.f-brand .nav-logo-img { height: 52px; }
.f-brand p { font-size: .83rem; color: var(--muted); margin-top: 1.2rem; line-height: 1.75; max-width: 270px; }
.f-socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.f-soc {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 2px;
  font-size: .82rem; color: var(--muted); transition: all var(--ease); font-style: normal;
}
.f-soc:hover { border-color: var(--gold); color: var(--gold); }
.f-col h4 { font-size: .65rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.f-col ul li { margin-bottom: .7rem; }
.f-col ul li a { font-size: .84rem; color: rgba(240,240,240,.55); transition: color var(--ease); }
.f-col ul li a:hover { color: var(--gold); }
.f-contact-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; font-size: .84rem; color: rgba(240,240,240,.55); line-height: 1.5; }
.f-contact-item span:first-child { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: 1.5rem 0; }
.footer-bottom p { font-size: .74rem; color: rgba(136,136,136,.5); }

/* ----------------------------------------------------------------
   FORM ELEMENTS
---------------------------------------------------------------- */
.f-group { margin-bottom: 1.1rem; }
.f-group label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.f-group input, .f-group select, .f-group textarea {
  width: 100%; background: rgba(255,255,255,.035); border: 1px solid var(--border);
  color: var(--text); padding: .82rem 1rem; font-family: var(--font-b); font-size: .88rem;
  outline: none; border-radius: 2px; transition: border-color var(--ease);
  appearance: none; -webkit-appearance: none;
}
.f-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23888' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.f-group select option { background: #1a1a1a; }
.f-group input:focus, .f-group select:focus, .f-group textarea:focus { border-color: var(--gold); }
.f-group input.err, .f-group select.err { border-color: var(--down); }
.f-group textarea { resize: vertical; min-height: 110px; }
.f-err { font-size: .7rem; color: var(--down); margin-top: .3rem; display: none; }
.f-err.show { display: block; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.btn-submit {
  width: 100%; padding: 1.05rem; background: var(--gold); color: var(--bg);
  border: none; font-size: .8rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  border-radius: 2px; margin-top: .4rem; transition: all var(--ease);
}
.btn-submit:hover { background: var(--gold-h); box-shadow: 0 10px 30px var(--gold-glow); }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; }
.success-glyph { font-size: 2.8rem; color: var(--gold); margin-bottom: 1rem; }
.form-success h3 { font-family: var(--font-h); font-size: 2rem; font-weight: 600; margin-bottom: .5rem; }
.form-success p { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ----------------------------------------------------------------
   PRICE TABLE
---------------------------------------------------------------- */
.price-tbl { width: 100%; border-collapse: collapse; }
.price-tbl tr { border-bottom: 1px solid var(--border); }
.price-tbl tr:last-child { border-bottom: none; }
.price-tbl td { padding: .65rem 0; font-size: .82rem; }
.pt-name  { color: var(--muted); }
.pt-price { text-align: right; color: var(--text); font-weight: 700; padding-right: .5rem; }
.pt-chg   { text-align: right; font-size: .7rem; font-weight: 600; }
.pt-chg.up   { color: var(--up); }
.pt-chg.down { color: var(--down); }

/* ----------------------------------------------------------------
   SCROLLBAR
---------------------------------------------------------------- */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  section { padding: 72px 0; }
  .f-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-inner { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .t-badge + .t-badge::before { display: none; }
  .trust-inner { flex-direction: column; }
  .page-hero { padding: 140px 0 60px; }
}
