/* ==========================================================================
   SHREY IMPEX — High-Velocity Gold & Silver Bullion Trading
   Design Style: Tech-Bullion & Industrial Precious Metals (Dark Matrix Theme)
   Color Theme: Slate-Matrix (#0A0F1D / #111827), Ice White, Radiant Flame Amber (#FE914D / #EA580C)
   ========================================================================== */

:root {
  --matrix-dark: #0A0F1D;
  --matrix-surface: #111827;
  --matrix-card: #162238;
  --amber: #FE914D;
  --amber-dark: #EA580C;
  --amber-light: rgba(254, 145, 77, 0.15);
  --bg-slate: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --silver: #94A3B8;

  --font-tech: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: #334155;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-tech {
  font-family: var(--font-tech);
  color: var(--text-dark);
}

.text-amber { color: var(--amber) !important; }
.text-silver { color: var(--silver) !important; }
.bg-amber { background-color: var(--amber-dark) !important; }
.bg-slate { background-color: var(--bg-slate) !important; }
.py-6 { padding: 90px 0; }
.max-w-650 { max-width: 650px; }

/* ==================== NAVBAR ==================== */
#mainNav {
  background: rgba(10, 15, 29, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(254, 145, 77, 0.25);
  padding: 14px 0;
  transition: all 0.3s ease;
  z-index: 1030;
}

#mainNav.scrolled {
  padding: 8px 0;
  background: var(--matrix-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.brand-wrapper {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  color: #E2E8F0 !important;
  font-weight: 500;
  font-size: 0.93rem;
  padding: 8px 14px !important;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--amber) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.btn-amber-nav {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35);
  transition: all 0.25s ease;
}

.btn-amber-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.55);
}

/* ==================== HERO TECH ==================== */
.hero-tech {
  position: relative;
  background: 
    radial-gradient(1100px 500px at 85% -10%, rgba(234, 88, 12, 0.18), transparent 60%),
    linear-gradient(160deg, var(--matrix-dark) 0%, var(--matrix-surface) 60%, #080D1A 100%);
  padding: 165px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid rgba(254, 145, 77, 0.2);
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(254, 145, 77, 0.15);
  border: 1px solid rgba(254, 145, 77, 0.4);
  color: var(--amber);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-tech-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #FFFFFF;
}

.amber-gradient {
  background: linear-gradient(90deg, #FFB074, var(--amber), #FF8533);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tech-lead {
  color: var(--silver);
  font-size: 1.08rem;
  line-height: 1.65;
}

.btn-amber-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.btn-amber-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.55);
}

.btn-amber-outline {
  background: transparent;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.btn-amber-outline:hover {
  border-color: var(--amber);
  color: var(--amber) !important;
  background: rgba(254, 145, 77, 0.1);
  transform: translateY(-2px);
}

.tech-stat-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(254, 145, 77, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.tech-stat-val {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--amber);
}

.tech-stat-lbl {
  font-size: 0.76rem;
  color: var(--silver);
  font-weight: 600;
}

.telemetry-box {
  background: linear-gradient(155deg, var(--matrix-card) 0%, var(--matrix-surface) 100%);
  border: 1px solid rgba(254, 145, 77, 0.3);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

.telemetry-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #A7F3D0;
  background: rgba(16, 185, 129, 0.15);
  padding: 4px 10px;
  border-radius: 50px;
}

.supply-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.supply-item {
  background: rgba(10, 15, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================== SECTION TYPOGRAPHY ==================== */
.tech-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-dark);
  display: block;
}

.tech-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
}

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

/* ==================== ABOUT ==================== */
.supply-banner {
  background: linear-gradient(155deg, var(--matrix-dark) 0%, var(--matrix-surface) 100%);
  border: 1px solid rgba(254, 145, 77, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: 0 20px 45px -10px rgba(10, 15, 29, 0.3);
}

.banner-pill {
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid rgba(254, 145, 77, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.banner-pill .num {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--amber);
}

.banner-pill .lbl {
  font-size: 0.78rem;
  color: var(--silver);
  font-weight: 600;
}

.tech-feature-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  background: var(--amber-light);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* ==================== PRODUCTS ==================== */
.tech-product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.tech-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.12);
}

.tp-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.tp-icon.amber {
  background: linear-gradient(135deg, #FFEDD5, #FED7AA);
  color: #9A3412;
}

.tp-icon.silver {
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  color: #475569;
}

.tp-meta {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #F1F5F9;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ==================== SPEC TABLE ==================== */
.spec-table-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.spec-table-card table thead {
  background: var(--matrix-dark);
  color: #FFFFFF;
}

.spec-table-card table thead th {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 16px;
  border: none;
}

.spec-table-card table tbody td {
  padding: 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid #F1F5F9;
}

/* ==================== DISTINCT COMMAND TERMINAL (SHREY) ==================== */
.terminal-tile {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.terminal-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 88, 12, 0.4);
}

.terminal-tile.highlight {
  background: linear-gradient(155deg, var(--matrix-surface) 0%, var(--matrix-dark) 100%);
  border: 1.5px solid rgba(254, 145, 77, 0.4);
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.15);
}

.term-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-slate);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.term-icon.amber {
  background: rgba(254, 145, 77, 0.2);
  color: var(--amber);
}

.term-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  margin-bottom: 4px;
}

.terminal-tile.highlight .term-label {
  color: var(--amber);
}

.term-val {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.45;
}

.terminal-tile.highlight .term-val {
  color: #FFFFFF;
}

.term-status-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: #34D399;
  font-weight: 700;
  margin-top: 8px;
}

.panoramic-map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.tech-map-hud {
  background: var(--matrix-dark);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(254, 145, 77, 0.3);
}

/* ==================== FOOTER ==================== */
.tech-footer {
  background: var(--matrix-dark);
  border-top: 1px solid rgba(254, 145, 77, 0.2);
}

.footer-link {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--amber);
}

@media (max-width: 991.98px) {
  .hero-tech {
    padding: 130px 0 65px;
    text-align: center;
  }
  .hero-tech-lead {
    margin-inline: auto;
  }
  .navbar-collapse {
    background: var(--matrix-dark);
    padding: 20px;
    border-radius: 12px;
    margin-top: 12px;
    border: 1px solid rgba(254, 145, 77, 0.2);
  }
}
