
:root {
  --bg: #07111f;
  --bg-deep: #040b14;
  --surface: #0d1a2b;
  --surface-hover: #12233a;
  --gold: #d9b45d;
  --gold-bright: #f0d58c;
  --text: #f5f7fb;
  --muted: #a2afc1;
  --line: rgba(199, 166, 92, 0.19);
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

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

button {
  font: inherit;
}

.topbar {
  background: #030912;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  max-width: var(--content);
  margin: auto;
  padding: 9px 28px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #c4cddd;
  font-size: 10px;
  letter-spacing: 1.2px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #d9b45d;
  vertical-align: middle;
}

.status-dot-muted {
  background: #7c899b;
}

.topbar-note {
  color: #8492a5;
}

.site-header {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: auto;
  padding: 17px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 2px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2.2vw, 30px);
}

.main-nav > a {
  color: #c4ccda;
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: var(--gold-bright);
}

.main-nav .nav-login {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--gold-bright);
}

.nav-login span {
  margin-left: 5px;
}

.menu-toggle {
  display: none;
}

/* HERO */

.hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: #0b1a2b;
  background-image: url("../images/gold-bullion-banner.jpg");
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(4, 11, 20, 0.96) 0%,
      rgba(4, 11, 20, 0.86) 35%,
      rgba(4, 11, 20, 0.57) 65%,
      rgba(4, 11, 20, 0.28) 100%
    ),
    linear-gradient(
      0deg,
      rgba(4, 11, 20, 0.58),
      transparent 45%,
      rgba(4, 11, 20, 0.18)
    );
}

.hero-inner {
  width: 100%;
  max-width: var(--content);
  margin: auto;
  padding: 88px 28px 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker,
.section-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hero-kicker span {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 25px 0 20px;
  color: #fff;
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1.07;
  letter-spacing: -2.5px;
  font-weight: 700;
}

.hero h1 span {
  color: var(--gold-bright);
}

.hero-description {
  max-width: 560px;
  margin: 0;
  color: #e1e7f0;
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #09111d;
}

.button-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.button-glass {
  background: rgba(7, 17, 31, 0.5);
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: #d4dce7;
  font-size: 11px;
}

.hero-points i {
  margin-right: 6px;
  color: var(--gold-bright);
  font-style: normal;
}

.hero-side-note {
  align-self: center;
  min-width: 170px;
  padding: 15px 0 15px 20px;
  border-left: 1px solid var(--gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-side-note > span:not(.side-line) {
  color: var(--gold-bright);
  font-size: 9px;
  letter-spacing: 2px;
}

.hero-side-note strong {
  display: block;
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.5;
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 5%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  background: rgba(4, 11, 20, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d0d8e4;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.hero-bottom-dot {
  margin: 0 8px;
  color: var(--gold);
}

.hero-bottom a span {
  margin-left: 8px;
  color: var(--gold-bright);
}

/* SHARED SECTION STYLES */

.section-pad {
  padding: 82px 28px;
}

.market-section,
.services-section,
.contact-section {
  max-width: 1240px;
  margin: auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 35px;
}

.section-heading h2,
.about-content h2,
.contact-panel h2 {
  margin: 12px 0 10px;
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.22;
  letter-spacing: -1px;
}

.section-heading h2 span,
.about-content h2 span,
.contact-panel h2 span {
  color: var(--gold-bright);
}

.section-description {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.market-status {
  flex-shrink: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #b7c1d0;
  font-size: 10px;
}

/* MARKET CARDS */

.market-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 17px;
}

.market-card {
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.market-card:hover {
  background: var(--surface-hover);
  border-color: rgba(217, 180, 93, 0.48);
}

.market-card-featured {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(217, 180, 93, 0.1), transparent 55%),
    var(--surface);
}

.market-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asset-icon {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
}

.gold-icon {
  color: var(--gold-bright);
  background: rgba(217, 180, 93, 0.1);
}

.silver-icon {
  color: #d7e0ed;
  background: rgba(175, 192, 215, 0.09);
}

.market-icon {
  color: #a7c7ff;
  background: rgba(87, 143, 224, 0.1);
  font-size: 23px;
}

.market-card h3 {
  margin: 0;
  font-size: 15px;
}

.asset-symbol {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}

.asset-tag {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 1px;
}

.market-value {
  margin-top: 28px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1px;
}

.market-value small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

.market-footnote {
  min-height: 39px;
  margin: 5px 0 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.mini-chart {
  height: 58px;
  margin-top: auto;
}

.mini-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-caption {
  margin-top: 7px;
  color: #8997aa;
  font-size: 9px;
}

.insight-copy {
  flex: 1;
  margin: 25px 0;
  color: var(--muted);
  font-size: 12px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
}

.card-link:hover {
  color: #fff;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #8997aa;
  font-size: 9px;
  letter-spacing: 1px;
}

.market-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 19px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #9eacbe;
  font-size: 10px;
  line-height: 1.8;
}

.market-disclaimer span {
  color: var(--gold);
}

/* SERVICES */

.services-section {
  max-width: none;
  padding-right: max(28px, calc((100% - 1184px) / 2));
  padding-left: max(28px, calc((100% - 1184px) / 2));
  background: #0a1625;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-width: 0;
  padding: 27px;
  background: #0d1a2b;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.service-number {
  color: #8c9bb0;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-top: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--gold-bright);
  font-size: 27px;
}

.service-card h3 {
  margin: 20px 0 10px;
  font-size: 18px;
}

.service-card p {
  min-height: 67px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
}

/* ABOUT */

.about-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
  padding: 95px max(28px, calc((100% - 1184px) / 2));
  background:
    radial-gradient(ellipse at 10% 40%, rgba(217, 180, 93, 0.055), transparent 48%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.about-decoration {
  position: absolute;
  right: 35%;
  bottom: -140px;
  color: rgba(217, 180, 93, 0.025);
  font-size: 380px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.about-content,
.about-panel {
  position: relative;
  z-index: 1;
}

.about-content h2 {
  margin-top: 20px;
  font-size: clamp(35px, 4vw, 48px);
}

.about-content > p {
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.about-content .button {
  margin-top: 13px;
}

.about-panel {
  padding: 29px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.about-panel-label {
  margin-bottom: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1.7px;
}

.about-principle {
  display: flex;
  gap: 17px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.about-principle:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-principle > span {
  color: var(--gold);
  font-size: 12px;
}

.about-principle strong {
  font-size: 13px;
}

.about-principle p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

/* CONTACT */

.contact-section {
  padding-top: 75px;
  padding-bottom: 75px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 36px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(217, 180, 93, 0.09), transparent 50%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.contact-panel h2 {
  font-size: clamp(27px, 3vw, 36px);
}

.contact-panel p {
  max-width: 650px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* FOOTER */

.site-footer {
  padding: 35px max(28px, calc((100% - 1184px) / 2)) 20px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
  font-size: 12px;
}

.footer-brand .brand-copy strong {
  font-size: 13px;
}

.footer-brand .brand-copy small {
  font-size: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  color: #77869a;
  font-size: 9px;
}

/* RESPONSIVE TABLET */

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav > a {
    font-size: 11px;
  }

  .hero-side-note {
    display: none;
  }

  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-card-featured {
    grid-column: 1 / -1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card p {
    min-height: 0;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 680px) {
  .topbar-inner {
    padding: 9px 18px;
  }

  .topbar-note {
    display: none;
  }

  .site-header {
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand-mark {
    width: 41px;
    height: 41px;
    font-size: 13px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 3px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: var(--gold-bright);
  }

  .main-nav {
    width: 100%;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
  }

  .main-nav .nav-login {
    margin-top: 10px;
    padding: 10px 13px;
    text-align: center;
  }

  .hero {
    min-height: 570px;
    background-position: center;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(4, 11, 20, 0.94),
      rgba(4, 11, 20, 0.72)
    );
  }

  .hero-inner {
    padding: 65px 22px 90px;
  }

  .hero h1 {
    font-size: clamp(41px, 11vw, 58px);
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    flex-direction: column;
    gap: 8px;
  }

  .hero-bottom {
    padding: 13px 18px;
    font-size: 8px;
  }

  .section-pad {
    padding: 60px 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .market-card-featured {
    grid-column: auto;
  }

  .market-card {
    padding: 21px;
  }

  .services-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .service-card {
    padding: 23px;
  }

  .about-section {
    padding: 65px 20px;
  }

  .about-panel {
    padding: 22px;
  }

  .contact-section {
    padding: 55px 20px;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px;
  }

  .site-footer {
    padding: 30px 20px 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* LOGIN AND REGISTER BUTTONS */

.main-nav .nav-login {
  padding: 9px 17px;
  border: 1px solid rgba(217, 180, 93, 0.45);
  border-radius: 3px;
  color: #f5f7fb;
  text-align: center;
}

.main-nav .nav-login:hover {
  border-color: #f0d58c;
  color: #f0d58c;
}

.main-nav .nav-register {
  padding: 10px 18px;
  border: 1px solid #d9b45d;
  border-radius: 3px;
  background: #d9b45d;
  color: #07111f;
  font-weight: 700;
  text-align: center;
}

.main-nav .nav-register:hover {
  border-color: #f0d58c;
  background: #f0d58c;
  color: #07111f;
}
