*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0D1B2A;
  --surface: #0F2235;
  --surface2: #132840;
  --gold: #C9A84C;
  --gold-dim: rgba(201,168,76,0.15);
  --orange: #E8630A;
  --text: #F0F4F8;
  --muted: rgba(240,244,248,0.55);
  --border: rgba(201,168,76,0.2);
  --radius: 12px;
  --font: 'Trebuchet MS', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,42,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text);
  text-transform: uppercase;
}

.nav-logo span em {
  color: var(--gold);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gold);
  color: #0D1B2A !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #d4b55c !important; color: #0D1B2A !important; }

/* HERO */
.hero {
  width: 100%;
  min-height: 340px;
  background: linear-gradient(135deg, #0D1B2A 0%, #0F2235 50%, #0D1B2A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
}

.hero::before {
  content: '';
  position: absolute;
  left: -150px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -150px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,99,10,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-line {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.25), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-inner img {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(201,168,76,0.2);
}

.hero-text h1 {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: 10px;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
}

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

.hero-text p {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.75);
}

/* PAGE HERO (smaller, for inner pages) */
.page-hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #0F2235 100%);
  padding: 60px 40px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
}

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

.page-hero p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* SECTIONS */
section { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

section h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  text-wrap: balance;
}

section > p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 620px;
  font-size: 15px;
}

/* FEATURES GRID */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 40px;
  text-align: center;
}

.cta-band h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.cta-band p {
  color: var(--muted);
  margin: 16px auto 40px;
  max-width: 520px;
  font-size: 15px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-gold {
  background: var(--gold);
  color: #0D1B2A;
}

.btn-gold:hover { background: #d4b55c; }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover { background: var(--gold-dim); }

.btn + .btn { margin-left: 16px; }

/* HELP PAGE */
.help-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.help-nav {
  position: sticky;
  top: 80px;
  list-style: none;
}

.help-nav li + li { margin-top: 4px; }

.help-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.help-nav a:hover, .help-nav a.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--gold-dim);
}

.help-content { min-width: 0; }

.help-section { margin-bottom: 56px; }

.help-section h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--gold);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.faq-item p, .faq-item li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item ol, .faq-item ul {
  padding-left: 20px;
  margin-top: 8px;
}

.faq-item li + li { margin-top: 6px; }

.badge {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  padding: 2px 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

/* INSTALL PAGE */
.install-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 600px;
  margin: 48px auto 0;
}

.install-box .install-icon {
  font-size: 56px;
  margin-bottom: 24px;
}

.install-box h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.install-box p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.install-status {
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.install-status.info { background: rgba(201,168,76,0.1); color: var(--gold); border: 1px solid var(--border); }
.install-status.success { background: rgba(34,197,94,0.1); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.install-status.error { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }

.install-steps {
  text-align: left;
  margin: 32px 0;
  list-style: none;
  counter-reset: steps;
}

.install-steps li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.install-steps li:last-child { border-bottom: none; }

.install-steps li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-info p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.contact-info a { color: var(--gold); text-decoration: none; }

form { display: flex; flex-direction: column; gap: 20px; }

label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }

input, textarea, select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}

input:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 140px; resize: vertical; }

/* SCREENSHOT GALLERY */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.screenshot-item img {
  width: 100%;
  max-width: 220px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.screenshot-item img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(201,168,76,0.15);
}

.screenshot-item p {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .screenshot-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .screenshot-gallery { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* DIVIDER */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* FOOTER */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer p {
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

.footer-links { display: flex; gap: 24px; }

/* RESPONSIVE */
#nav-toggle { display: none; }

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  nav { padding: 0 20px; flex-wrap: wrap; height: auto; min-height: 64px; align-items: center; }
  .hamburger { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(13,27,42,0.98);
    padding: 16px 0 24px;
    gap: 0;
    order: 3;
  }
  #nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 14px 20px; font-size: 15px; border-radius: 0; display: block; }
  .nav-cta { margin: 8px 20px 0; border-radius: 6px; text-align: center; }
  .hero { padding: 40px 20px; }
  .hero-inner { flex-direction: column; text-align: center; gap: 24px; }
  .hero-inner img { width: 80px; height: 80px; }
  section { padding: 48px 20px; }
  .help-grid { grid-template-columns: 1fr; }
  .help-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .install-box { padding: 32px 20px; }
  footer { padding: 24px 20px; }
}
