/* ==========================================================================
   STARK INDUSTRIES BD — CORE STYLESHEET
   Iron Man / J.A.R.V.I.S. Inspired 3D Corporate Website
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #030814;
  --bg-secondary: #081426;
  --bg-tertiary: #0c1a33;
  --bg-panel: rgba(8, 20, 38, 0.78);
  --bg-panel-elevated: rgba(13, 28, 54, 0.88);
  --bg-glass: rgba(12, 26, 50, 0.65);
  
  --metallic-silver: #C7D3E0;
  --steel-light: #E6EDF5;
  --steel-mid: #8E9FB8;
  --steel-dim: #4B5E78;
  --line-color: rgba(0, 175, 255, 0.2);
  --line-subtle: rgba(199, 211, 224, 0.12);
  
  --electric-blue: #00AFFF;
  --arc-cyan: #00E5FF;
  --iron-red: #D92727;
  --energy-orange: #FF6A00;
  --gold-accent: #E5A93C;
  --text-white: #F5F8FF;
  
  /* Glowing Shadows */
  --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.35);
  --glow-cyan-strong: 0 0 35px rgba(0, 229, 255, 0.65);
  --glow-blue: 0 0 25px rgba(0, 175, 255, 0.4);
  --glow-red: 0 0 25px rgba(217, 39, 39, 0.45);
  --glow-orange: 0 0 25px rgba(255, 106, 0, 0.45);
  
  /* Dimensions & Spacing */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --max-w: 1240px;
  --header-height: 76px;
  --topbar-height: 38px;
  
  /* Fonts */
  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Transitions */
  --trans-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--topbar-height) + 16px);
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--steel-light);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 175, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 85% 35%, rgba(0, 229, 255, 0.05) 0%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-position: 0 0, 0 0, center center, center center;
}

/* HUD Grid Overlay Scanlines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15) 0px,
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.35;
  z-index: 999;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast), text-shadow var(--trans-fast);
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
}

::selection {
  background: var(--arc-cyan);
  color: var(--bg-primary);
}

.mono {
  font-family: var(--font-mono);
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Eyebrow Label with HUD Chevron */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--arc-cyan);
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-left: 3px solid var(--arc-cyan);
  border-radius: var(--radius-sm);
  width: fit-content;
}

.eyebrow-red {
  color: var(--energy-orange);
  background: rgba(255, 106, 0, 0.08);
  border-color: rgba(255, 106, 0, 0.3);
  border-left-color: var(--iron-red);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast), background var(--trans-fast);
  border: 1px solid transparent;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary Cyan Energy Button */
.btn-primary {
  background: linear-gradient(135deg, #00AFFF 0%, #0066CC 100%);
  color: #FFFFFF;
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 6px 20px -4px rgba(0, 175, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00E5FF 0%, #0088FF 100%);
  box-shadow: 0 8px 30px -4px rgba(0, 229, 255, 0.7), 0 0 15px rgba(0, 229, 255, 0.5);
  color: #030814;
}

/* Energy Red / Iron Man Arc Button */
.btn-reactor {
  background: linear-gradient(135deg, #FF6A00 0%, #D92727 100%);
  color: #FFFFFF;
  border-color: rgba(255, 106, 0, 0.7);
  box-shadow: 0 6px 22px -4px rgba(217, 39, 39, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-reactor:hover {
  background: linear-gradient(135deg, #FF8800 0%, #E63939 100%);
  box-shadow: 0 8px 30px -4px rgba(255, 106, 0, 0.75), 0 0 18px rgba(217, 39, 39, 0.5);
}

/* Ghost / Metallic Wireframe Button */
.btn-ghost {
  background: rgba(199, 211, 224, 0.05);
  border-color: var(--line-color);
  color: var(--text-white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(0, 175, 255, 0.12);
  border-color: var(--arc-cyan);
  color: var(--arc-cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

/* Technical Chamfered Box / HUD Glass Card */
.hud-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  position: relative;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.hud-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--arc-cyan);
  border-left: 2px solid var(--arc-cyan);
  border-top-left-radius: var(--radius-lg);
  pointer-events: none;
}

.hud-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--arc-cyan);
  border-right: 2px solid var(--arc-cyan);
  border-bottom-right-radius: var(--radius-lg);
  pointer-events: none;
}

.hud-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.topbar {
  background: #02050D;
  border-bottom: 1px solid rgba(0, 175, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--steel-mid);
  position: relative;
  z-index: 101;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 7px;
  padding-bottom: 7px;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--steel-mid);
}

.topbar a:hover {
  color: var(--arc-cyan);
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00E5FF;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF;
  animation: pulse-dot 2s infinite ease-in-out;
}

.sound-toggle-btn {
  background: none;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  color: var(--steel-mid);
  padding: 2px 8px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--trans-fast);
}

.sound-toggle-btn:hover, .sound-toggle-btn.active {
  color: var(--arc-cyan);
  border-color: var(--arc-cyan);
}

/* Main Navigation */
header.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 8, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-color);
  transition: background var(--trans-smooth), box-shadow var(--trans-smooth);
}

header.main-header.scrolled {
  background: rgba(3, 8, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(0, 229, 255, 0.28);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.brand-logo-frame {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--arc-cyan), var(--electric-blue));
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
  flex-shrink: 0;
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #030814;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--text-white);
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--arc-cyan);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Links */
nav.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--steel-light);
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
}

nav.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--arc-cyan);
  box-shadow: 0 0 8px var(--arc-cyan);
  transition: width var(--trans-smooth);
}

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

nav.nav-links a:hover::after, nav.nav-links a.active::after {
  width: 100%;
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.burger-btn {
  display: none;
  background: rgba(0, 175, 255, 0.06);
  border: 1px solid var(--line-color);
  color: var(--text-white);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

.burger-btn:hover {
  border-color: var(--arc-cyan);
  color: var(--arc-cyan);
}

/* ==========================================================================
   Hero Section (Main Attraction)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--topbar-height));
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 14px;
}

.hero-tag::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--electric-blue);
}

.hero-title {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.hero-title .highlight {
  color: var(--arc-cyan);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.hero-title .accent-red {
  color: var(--iron-red);
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--steel-mid);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-subtle);
  flex-wrap: wrap;
}

.hero-stat-item {
  border-left: 2px solid var(--arc-cyan);
  padding-left: 14px;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.hero-stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--steel-mid);
  text-transform: uppercase;
  margin-top: 4px;
}

/* 3D Arc Reactor Canvas Container */
.reactor-stage {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#reactor-canvas {
  width: 100%;
  height: 100%;
  outline: none;
  display: block;
}

/* HUD Labels Around Arc Reactor */
.hud-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arc-cyan);
  padding: 4px 10px;
  background: rgba(3, 8, 20, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-sm);
  pointer-events: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.hud-label .hud-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--arc-cyan);
  box-shadow: 0 0 6px var(--arc-cyan);
}

.hud-label.top-left { top: 12%; left: 0%; }
.hud-label.top-right { top: 12%; right: 0%; }
.hud-label.bottom-left { bottom: 12%; left: 2%; }
.hud-label.bottom-right { bottom: 12%; right: 2%; }

/* WebGL Fallback Schematic (if WebGL disabled) */
.reactor-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.fallback-active .reactor-fallback {
  display: flex;
}

/* ==========================================================================
   J.A.R.V.I.S. Interactive Diagnostic Section
   ========================================================================== */
.jarvis-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  position: relative;
}

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

.jarvis-head h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.jarvis-head p {
  color: var(--steel-mid);
}

.jarvis-interface {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.jarvis-telemetry-panel {
  padding: 30px;
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.telemetry-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-white);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.telemetry-status-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--arc-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric-box {
  background: rgba(3, 8, 20, 0.6);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--steel-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
}

.metric-val.cyan { color: var(--arc-cyan); }
.metric-val.green { color: #00FF88; }
.metric-val.orange { color: var(--energy-orange); }

/* J.A.R.V.I.S. Mode Selector */
.jarvis-modes {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.mode-btn {
  flex: 1;
  background: rgba(0, 175, 255, 0.06);
  border: 1px solid var(--line-color);
  color: var(--steel-mid);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans-fast);
  text-align: center;
}

.mode-btn:hover, .mode-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--arc-cyan);
  color: var(--arc-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.jarvis-radar-panel {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hud-radar-wrap {
  width: 260px;
  height: 260px;
  position: relative;
  border-radius: 50%;
  border: 1px dashed var(--line-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 229, 255, 0.35) 0deg, transparent 60deg, transparent 360deg);
  animation: radar-spin 4s linear infinite;
}

.radar-crosshair-x {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 229, 255, 0.2);
}

.radar-crosshair-y {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(0, 229, 255, 0.2);
}

.radar-center-core {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--arc-cyan) 0%, rgba(0, 175, 255, 0.4) 70%, transparent 100%);
  box-shadow: 0 0 25px var(--arc-cyan);
  z-index: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jarvis-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--steel-dim);
  text-align: center;
  margin-top: 14px;
}

/* ==========================================================================
   Speed Diagnostic Section
   ========================================================================== */
.speedtest-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--line-color);
}

.speedtest-card {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.speedtest-info {
  max-width: 580px;
}

.speedtest-info h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.speedtest-info p {
  color: var(--steel-mid);
  margin-bottom: 22px;
}

.speed-gauge-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.speed-gauge {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--arc-cyan) 0deg 240deg, rgba(255, 255, 255, 0.08) 240deg 360deg);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
  flex-shrink: 0;
}

.speed-gauge-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.speed-gauge-val {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
}

.speed-gauge-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--steel-mid);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   Troubleshooting FAQ Section
   ========================================================================== */
.trouble-section {
  padding: 90px 0;
  position: relative;
}

.trouble-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.trouble-head h2 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.trouble-head p {
  color: var(--steel-mid);
  max-width: 440px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.faq-card.open {
  border-color: var(--arc-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  transition: color var(--trans-fast);
}

.faq-btn:hover {
  color: var(--arc-cyan);
}

.faq-icon-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--arc-cyan);
  flex-shrink: 0;
  transition: transform var(--trans-smooth), background var(--trans-smooth);
}

.faq-card.open .faq-icon-indicator {
  transform: rotate(45deg);
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--arc-cyan);
}

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

.faq-card.open .faq-content {
  max-height: 220px;
  padding-bottom: 22px;
}

.faq-content p {
  color: var(--steel-mid);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 820px;
}

/* ==========================================================================
   Current Offers Section
   ========================================================================== */
.offers-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.offers-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.offers-head h2 {
  font-size: 2.1rem;
}

.offers-head p {
  color: var(--steel-mid);
  max-width: 440px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--iron-red);
  background: rgba(217, 39, 39, 0.12);
  border: 1px solid rgba(217, 39, 39, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  width: fit-content;
  margin-bottom: 14px;
}

.offer-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.offer-card p {
  color: var(--steel-mid);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  padding: 95px 0;
  position: relative;
}

.features-head {
  max-width: 640px;
  margin-bottom: 50px;
}

.features-head h2 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.features-head p {
  color: var(--steel-mid);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 34px 28px;
  background: var(--bg-panel);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  position: relative;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--arc-cyan);
  box-shadow: 0 12px 30px -10px rgba(0, 229, 255, 0.35);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--arc-cyan);
  display: inline-block;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.feature-card p {
  color: var(--steel-mid);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Internet Packages Section
   ========================================================================== */
.packages-section {
  padding: 95px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  position: relative;
}

.packages-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 55px;
}

.packages-head h2 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.packages-head p {
  color: var(--steel-mid);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.package-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: var(--arc-cyan);
  box-shadow: var(--glow-cyan);
}

/* Mark III Recommended Accent */
.package-card.recommended {
  border-color: var(--energy-orange);
  box-shadow: 0 0 25px rgba(255, 106, 0, 0.35);
  background: linear-gradient(180deg, rgba(20, 36, 68, 0.95), rgba(8, 20, 38, 0.9));
}

.recommended-ribbon {
  position: absolute;
  top: -13px;
  left: 20px;
  background: linear-gradient(135deg, var(--energy-orange), var(--iron-red));
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(217, 39, 39, 0.5);
}

.package-tier-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 8px;
}

.package-speed {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1;
}

.package-card.recommended .package-speed {
  color: var(--arc-cyan);
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.package-features-list {
  list-style: none;
  margin-bottom: 26px;
  flex-grow: 1;
}

.package-features-list li {
  font-size: 0.88rem;
  color: var(--steel-mid);
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-features-list li::before {
  content: "▸";
  color: var(--arc-cyan);
  font-size: 1.1rem;
  line-height: 1;
}

.package-card.recommended .package-features-list li::before {
  color: var(--energy-orange);
}

.package-price-wrap {
  margin-bottom: 22px;
}

.package-price-wrap .price-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.package-price-wrap .price-period {
  color: var(--steel-mid);
  font-size: 0.82rem;
}

/* ==========================================================================
   Hardware Products Section
   ========================================================================== */
.products-section {
  padding: 90px 0;
  position: relative;
}

.products-head {
  max-width: 640px;
  margin-bottom: 50px;
}

.products-head h2 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.products-head p {
  color: var(--steel-mid);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.product-icon-frame {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 175, 255, 0.2), rgba(0, 229, 255, 0.05));
  border: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arc-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 18px;
}

.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #FFFFFF;
  text-transform: none;
}

.product-card p {
  color: var(--steel-mid);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ==========================================================================
   Support & Report Ticket Section
   ========================================================================== */
.report-section {
  padding: 95px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--line-color);
}

.report-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.report-info h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.report-info p {
  color: var(--steel-mid);
  line-height: 1.6;
}

.report-steps {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.report-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--steel-mid);
  font-size: 0.92rem;
}

.report-step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--arc-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 229, 255, 0.3);
  flex-shrink: 0;
}

/* Support Ticket Form */
.report-form {
  padding: 34px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

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

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-mid);
  margin-bottom: 6px;
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--line-color);
  color: var(--text-white);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--arc-cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
}

.form-dispatch-options {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.form-feedback-msg {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--arc-cyan);
  min-height: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.main-footer {
  background: #02050D;
  border-top: 1px solid var(--line-color);
  padding: 80px 0 35px;
  position: relative;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-color);
}

.footer-brand span {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-desc {
  color: var(--steel-mid);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-mid);
  transition: all var(--trans-fast);
}

.footer-social-link:hover {
  color: var(--arc-cyan);
  border-color: var(--arc-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--steel-mid);
  margin-bottom: 20px;
}

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

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--steel-light);
}

.footer-links-list a:hover {
  color: var(--arc-cyan);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--steel-mid);
}

.footer-contact-list b {
  color: var(--steel-light);
}

.footer-bottom {
  border-top: 1px solid var(--line-subtle);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--steel-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 14px;
}

.editor-trigger-btn {
  background: none;
  border: 1px solid var(--line-subtle);
  color: var(--steel-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.editor-trigger-btn:hover {
  color: var(--arc-cyan);
  border-color: var(--arc-cyan);
}

/* ==========================================================================
   Boot Loader Screen (Arc Reactor Initializing)
   ========================================================================== */
#boot-loader {
  position: fixed;
  inset: 0;
  background: #02050D;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#boot-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  padding: 24px;
}

.loader-arc-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--arc-cyan);
  box-shadow: 0 0 35px var(--arc-cyan), inset 0 0 25px var(--arc-cyan);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  animation: pulse-core 1.8s infinite ease-in-out;
}

.loader-arc-core::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.5);
  animation: radar-spin 12s linear infinite;
}

.loader-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.loader-status-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--arc-cyan);
  text-transform: uppercase;
  min-height: 22px;
  margin-bottom: 16px;
}

.loader-progress-bar {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--electric-blue), var(--arc-cyan));
  box-shadow: 0 0 10px var(--arc-cyan);
  transition: width 0.2s ease;
}

/* ==========================================================================
   Local Content Editor Modal
   ========================================================================== */
#editor-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 13, 0.88);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#editor-modal.show {
  display: flex;
}

.editor-box {
  background: var(--bg-secondary);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--glow-cyan);
  overflow: hidden;
}

.editor-header {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.editor-header h3 {
  font-size: 1.2rem;
  color: #FFFFFF;
  margin: 0;
}

.editor-close-btn {
  background: none;
  border: 1px solid var(--line-color);
  color: var(--steel-mid);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-close-btn:hover {
  color: var(--arc-cyan);
  border-color: var(--arc-cyan);
}

.editor-notice-banner {
  background: rgba(0, 175, 255, 0.08);
  border-bottom: 1px solid var(--line-color);
  padding: 12px 26px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--arc-cyan);
  line-height: 1.5;
}

.editor-body {
  padding: 26px;
  overflow-y: auto;
  flex-grow: 1;
}

.editor-group {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 22px;
}

.editor-group:last-child {
  border-bottom: none;
}

.editor-group h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--arc-cyan);
  margin-bottom: 16px;
}

.editor-field {
  margin-bottom: 14px;
}

.editor-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel-mid);
  margin-bottom: 6px;
}

.editor-field input, .editor-field textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--line-color);
  color: var(--text-white);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.editor-field textarea {
  resize: vertical;
  min-height: 60px;
}

.editor-footer {
  padding: 18px 26px;
  border-top: 1px solid var(--line-color);
  background: #02050D;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.editor-status-txt {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--arc-cyan);
  min-height: 18px;
}

.editor-actions {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   Ticket Confirmation Modal
   ========================================================================== */
#ticket-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 13, 0.9);
  backdrop-filter: blur(12px);
  z-index: 2500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#ticket-modal.show {
  display: flex;
}

.ticket-box {
  background: var(--bg-secondary);
  border: 1px solid var(--arc-cyan);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 34px;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.35);
  text-align: center;
  position: relative;
}

.ticket-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--arc-cyan);
  box-shadow: 0 0 20px var(--arc-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arc-cyan);
  margin: 0 auto 20px;
}

.ticket-id {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--arc-cyan);
  background: rgba(0, 229, 255, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin: 14px 0 20px;
  border: 1px dashed var(--arc-cyan);
}
