
:root {
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --gold-dark:   #8a6a1e;
  --red:         #b22222;
  --blue-saber:  #3ab4ff;
  --bg:          #06080d;
  --surface:     #0d1117;
  --surface2:    #12181f;
  --text:        #d8cfc0;
  --text-muted:  #7a8699;
  --white:       #f5f0e8;
  --border:      rgba(201,168,76,.18);
  --ff-display:  'Cinzel', Georgia, serif;
  --ff-body:     'Rajdhani', 'Segoe UI', sans-serif;
  --ff-text:     'Open Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-text);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.btn-gold, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  font-family: var(--ff-body);
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent; border-radius: 3px;
  cursor: pointer; white-space: nowrap;
  transition: background .22s, color .22s, box-shadow .22s, transform .15s, border-color .22s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #14110a;
}
.btn-gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 22px rgba(201,168,76,.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,.12);
  box-shadow: 0 0 16px rgba(201,168,76,.25);
  transform: translateY(-2px);
}

#topbar {
  background: #000;
  border-bottom: 1px solid var(--border);
  font-family: var(--ff-body);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
  text-align: right; padding: 7px 32px;
}
#topbar a { color: var(--gold); transition: color .15s; }
#topbar a:hover { color: var(--gold-light); }
#topbar span { margin: 0 6px; opacity: .35; }

#nav {
  position: sticky; top: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 64px; padding: 0 32px;
  background: rgba(6,8,13,.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; object-fit: contain; }
.nav-logo-line { width: 1px; height: 30px; background: var(--border); }
.nav-logo-text {
  font-family: var(--ff-display);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); line-height: 1.35;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  height: 64px; padding: 0 18px;
  font-family: var(--ff-body);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-link svg { width: 9px; height: 9px; opacity: .55; transition: transform .2s; }
.nav-link:hover,
.nav-item.open .nav-link,
.nav-item.active > .nav-link { color: var(--gold); }
.nav-item.active > .nav-link { box-shadow: inset 0 -2px 0 var(--gold); }
.nav-item.open .nav-link svg { transform: rotate(180deg); opacity: .9; }

.nav-dropdown {
  position: absolute; top: 64px; left: 0; min-width: 210px;
  background: rgba(8,10,16,.98);
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 6px 6px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 10000;
}
.nav-item.open .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 12px 18px;
  font-family: var(--ff-body);
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: rgba(201,168,76,.08); color: var(--gold); }

.nav-cta .btn-gold { padding: 9px 20px; font-size: 11px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--gold);
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 28px;
  padding: 12px 40px; flex-wrap: wrap;
  background:
    linear-gradient(90deg, rgba(6,8,13,.88), rgba(138,106,30,.30) 50%, rgba(6,8,13,.88)),
    url('img/4.jpg') center/cover no-repeat;
}
.banner-text {
  font-family: var(--ff-body);
  font-size: 15px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--white); text-align: center;
}
.banner-text em { color: var(--gold-light); font-style: normal; font-weight: 700; }
#banner .btn-gold { padding: 8px 18px; font-size: 11px; }

.saber-divider {
  height: 2px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--blue-saber) 18%, var(--gold) 50%, var(--blue-saber) 82%, transparent);
  opacity: .45;
  box-shadow: 0 0 12px rgba(58,180,255,.35);
}

.section-eyebrow {
  font-family: var(--ff-body);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; opacity: .85;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 52px); font-weight: 700;
  color: var(--white); margin-bottom: 48px; line-height: 1.1;
}
#cards .section-eyebrow, #cards .section-title,
#news .section-eyebrow, #news .section-title,
#products .section-eyebrow, #products .section-title { text-align: center; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media (scripting: none) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

footer {
  background: #030306; border-top: 1px solid var(--border);
  padding: 54px 40px 44px;
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: center;
}
.footer-left { display: flex; align-items: center; gap: 18px; }
.footer-left img { height: 44px; width: auto; object-fit: contain; opacity: .65; }
.footer-copy { font-family: var(--ff-body); font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.footer-copy a { color: var(--gold); }
.footer-copy a:hover { color: var(--gold-light); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--ff-body); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); transition: color .15s;
}
.footer-links a:hover { color: var(--gold); }

#lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: none; align-items: center; justify-content: center;
  background: rgba(3,4,8,.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 40px; cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 92%; max-height: 88%;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
#lightbox .lb-close {
  position: absolute; top: 22px; right: 30px;
  font-family: var(--ff-body); font-size: 34px; line-height: 1;
  color: var(--gold); cursor: pointer; background: none; border: none;
}

@media (max-width: 900px) {
  #nav { padding: 0 20px; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(6,8,13,.98);
    border-bottom: 1px solid var(--border);
    padding: 8px 0; max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-item { position: static; }
  .nav-link { height: 48px; padding: 0 24px; }
  .nav-link svg { display: none; }
  .nav-dropdown {
    position: static; opacity: 1; pointer-events: auto; transform: none;
    border: none; border-radius: 0; min-width: 0;
    background: rgba(255,255,255,.03);
  }
  .nav-dropdown a { padding-left: 44px; }

  footer { padding: 40px 24px; flex-direction: column; text-align: center; }
  .footer-left { flex-direction: column; }
  .footer-links { justify-content: center; }
  #topbar { text-align: center; }
}
