/* ==========================================================================
   SHIELD GATE (SGGUARD) - LUXURY GOLD & WHITE DARK THEME
   Deep Matte Obsidian + Metallic Gold Accents + Crisp White Text
   ========================================================================== */

:root {
  /* Dark Luxury Palette */
  --bg-body: #080a0f;
  --bg-surface: #0e121a;
  --bg-surface-elevated: #141a26;
  --bg-card: #0f1420;
  --bg-card-hover: #161d2e;
  --bg-subtle: rgba(255, 255, 255, 0.03);

  /* Gold Palette & Metallic Glow */
  --gold-primary: #f59e0b;
  --gold-bright: #ffd700;
  --gold-light: #fef08a;
  --gold-dark: #b45309;
  --gold-glow: rgba(245, 158, 11, 0.3);
  --gold-subtle: rgba(245, 158, 11, 0.1);
  --gold-border: rgba(245, 158, 11, 0.25);

  /* Text Colors - Crisp Bright White Focus */
  --text-main: #ffffff;
  --text-bright: #ffffff;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-card: #1f2738;
  --border-hover: rgba(245, 158, 11, 0.45);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-bright);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 20%, #ffd700 70%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--gold-bright);
}

.text-white {
  color: #ffffff;
}

/* Minimal Top Bar */
.top-ticker {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ticker-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

/* Clean Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(8, 10, 15, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.4));
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--gold-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Gold & White Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #080a0f;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffe033 0%, #fbbf24 100%);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: #ffffff;
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--gold-primary);
  color: var(--gold-bright);
}

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

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: #080a0f;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.98rem;
}

/* Gold Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 20px;
}

/* Hero Section */
.hero {
  padding: 90px 0 70px;
  position: relative;
  background-image: radial-gradient(circle at 75% 30%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  color: #ffffff;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat h3 {
  font-size: 1.8rem;
  color: var(--gold-bright);
  font-weight: 700;
  font-family: var(--font-mono);
}

.hero-stat p {
  font-size: 0.82rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Hero Visual Box */
.hero-emblem-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-gold), var(--shadow-card);
  position: relative;
}

.hero-emblem-card img {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.4));
}

.hero-emblem-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  text-align: left;
}

/* Section Global */
.section {
  padding: 90px 0;
}

.section-alt {
  background: #0a0d14;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* 4 Products Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.clean-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.clean-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-header h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.card-tagline {
  font-size: 0.85rem;
  color: var(--gold-bright);
  font-weight: 600;
}

.card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #ffffff;
}

.clean-list svg {
  width: 18px;
  height: 18px;
  color: var(--gold-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.card-price {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-price span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-bright);
  font-family: var(--font-mono);
}

/* Interactive Tabs Section */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-nav-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.tab-nav-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold-border);
}

.tab-nav-btn.active {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #080a0f;
  border-color: var(--gold-bright);
  font-weight: 700;
  box-shadow: 0 0 15px var(--gold-glow);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.tab-image-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.tab-image-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.spec-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.spec-item h4 {
  font-size: 0.95rem;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.spec-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Configurator / Calculator */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.calc-group {
  margin-bottom: 28px;
}

.calc-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.option-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.option-btn:hover {
  border-color: var(--gold-bright);
}

.option-btn.selected {
  background: var(--gold-subtle);
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-glow);
}

.option-btn strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

.option-btn span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.option-btn .opt-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-top: 4px;
}

/* Summary Box */
.calc-summary {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.summary-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.summary-items li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.summary-total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-bottom: 24px;
}

.total-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-bright);
  font-family: var(--font-mono);
}

/* Global Ping Grid */
.ping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.ping-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ping-card h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.ping-card p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.ping-ms {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-align: right;
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.clean-table th, .clean-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.92rem;
  color: #ffffff;
}

.clean-table th {
  background: var(--bg-surface);
  font-weight: 700;
  color: #ffffff;
}

.clean-table th.highlight, .clean-table td.highlight {
  background: var(--gold-subtle);
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--gold-bright);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* CTA Box */
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.cta-box h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
  color: #ffffff;
}

/* Footer */
.footer {
  background: #05070a;
  border-top: 1px solid var(--border-card);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-gold);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: #ffffff;
  font-weight: 500;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold-bright);
}
