/* ═══════════════════════════════════════
   ROOTROPICS — Global Stylesheet
   Dark Premium Theme
═══════════════════════════════════════ */

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

:root {
  --black:      #0a0a0a;
  --black-2:    #111111;
  --black-3:    #181818;
  --black-4:    #222222;
  --gold:       #c9a84c;
  --gold-light: #e2c47a;
  --gold-pale:  #f5e9cc;
  --white:      #f8f6f0;
  --grey-1:     #888880;
  --grey-2:     #555550;
  --border:     rgba(201,168,76,0.18);
  --border-sub: rgba(255,255,255,0.07);
  --radius:     2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 76px;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 13px; }
.nav-logo-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 600; color: var(--white); letter-spacing: 1.5px;
}
.nav-wordmark span { color: var(--gold); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: var(--grey-1); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold);
  background: transparent; padding: 9px 22px;
  font-family: 'Jost', sans-serif; font-size: 0.74rem;
  font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  transition: all 0.25s; cursor: pointer;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 24px; height: 1px; background: var(--white); transition: all 0.3s; display: block; }

/* ── SHARED SECTION ELEMENTS ── */
.container { max-width: 1200px; margin: 0 auto; }
.section-pad { padding: 100px 6%; }
.divider-gold { width: 100%; height: 1px; background: var(--border-sub); }

.label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.label-line { width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }
.label span {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300; line-height: 1.15; color: var(--white); margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--grey-1); max-width: 520px;
}

/* ── BUTTONS ── */
.btn-gold {
  background: var(--gold); color: var(--black);
  padding: 13px 32px; font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; display: inline-block; transition: all 0.25s;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  border: 1px solid var(--border); color: var(--grey-1);
  padding: 11px 28px; font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; display: inline-block; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost {
  color: var(--grey-1); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-bottom: 1px solid var(--grey-2); padding-bottom: 2px; transition: all 0.2s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 76px; background: var(--black-2);
  border-bottom: 1px solid var(--border-sub);
}
.page-hero-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 70px 6% 60px;
}
.page-hero-inner .label { margin-bottom: 14px; }
.page-hero-inner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.1; color: var(--white); margin-bottom: 18px;
}
.page-hero-inner h1 em { color: var(--gold); font-style: italic; }
.page-hero-inner p {
  font-size: 1rem; color: var(--grey-1); line-height: 1.8;
  font-weight: 300; max-width: 560px;
}

/* ── FOOTER ── */
.footer {
  background: var(--black); padding: 70px 6% 36px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border-sub);
}
.footer-brand-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; color: var(--white); letter-spacing: 1px; margin-bottom: 16px;
}
.footer-brand-word span { color: var(--gold); }
.footer-brand p { font-size: 0.88rem; color: var(--grey-1); line-height: 1.75; font-weight: 300; max-width: 260px; }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--grey-1); font-size: 0.88rem; font-weight: 300; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 30px; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--grey-2); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--grey-2); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ── MOBILE ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.99); padding: 40px 6%;
    border-top: 1px solid var(--border);
  }
  .nav-links.open li { border-bottom: 1px solid var(--border-sub); }
  .nav-links.open a { display: block; padding: 18px 0; font-size: 1rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .section-pad { padding: 70px 5%; }
  .footer-top { grid-template-columns: 1fr; }
}
