/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --bg-main: #07070a;
  --bg-card: rgba(18, 18, 24, 0.7);
  --bg-card-hover: rgba(28, 28, 38, 0.8);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-active: rgba(0, 242, 254, 0.4);
  
  /* Palette */
  --text-primary: #ffffff;
  --text-secondary: #9ea4b0;
  --text-muted: #5e6675;
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-orange: #ff6a00;
  --accent-orange-glow: rgba(255, 106, 0, 0.25);
  --accent-cyan-glow: rgba(0, 242, 254, 0.25);
  
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-header: 'Space Grotesk', var(--font-sans);
  
  /* Dimensions & Spacing */
  --container-width: 1240px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   BACKGROUND VISUAL EFFECTS
   ========================================================================== */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  pointer-events: none;
  z-index: 0;
}

.glowing-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  background: var(--accent-blue);
  top: -200px;
  right: -100px;
}

.orb-2 {
  background: var(--accent-orange);
  bottom: -200px;
  left: -200px;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 70px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  font-family: var(--font-header);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
}

p:last-child {
  margin-bottom: 0;
}

.text-glow {
  background: linear-gradient(135deg, #fff 30%, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #000;
  box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.button-outline {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
}

.button-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  background-color: rgba(7, 7, 10, 0.7);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(7, 7, 10, 0.9);
  height: 70px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.logo-accent {
  color: var(--accent-cyan);
  margin-right: 8px;
  font-family: var(--font-mono);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

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

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  z-index: 110;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Open Mobile Menu State */
.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(7, 7, 10, 0.98);
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  text-align: center;
  padding: 0 40px;
}

.mobile-menu nav ul li a {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-menu nav ul li a.btn {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-content {
  z-index: 2;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 12px;
  background-color: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  border-radius: 4px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.hero-section h1 {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-glow {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hero-card-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-image {
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  transition: transform 0.5s ease;
  object-fit: cover;
}

.hero-card-glow:hover .hero-image {
  transform: scale(1.02);
}

.engine-part-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 4px 8px;
  background-color: rgba(7, 7, 10, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  color: var(--text-secondary);
}

.tag-top {
  top: 45px;
  left: 45px;
  border-left: 2px solid var(--accent-cyan);
}

.tag-bottom {
  bottom: 45px;
  right: 45px;
  border-right: 2px solid var(--accent-orange);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
}

.mouse-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s infinite;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

@keyframes scroll-wheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ==========================================================================
   TEARDOWN SECTION (INTERACTIVE VIEWER)
   ========================================================================== */
.teardown-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* List Panel */
.teardown-list-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.teardown-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.teardown-item:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.teardown-item.active {
  background-color: rgba(0, 242, 254, 0.03);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.05);
}

.teardown-item-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  opacity: 0.7;
}

.teardown-item.active .teardown-item-num {
  color: var(--accent-cyan);
  opacity: 1;
}

.teardown-item-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.teardown-item-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.chevron-icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.3;
  transition: var(--transition-smooth);
}

.teardown-item:hover .chevron-icon,
.teardown-item.active .chevron-icon {
  opacity: 1;
  color: var(--accent-cyan);
  transform: translateX(4px);
}

/* Image Viewer */
.teardown-viewer {
  background: radial-gradient(circle at center, rgba(18, 18, 24, 0.4) 0%, rgba(7, 7, 10, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  min-height: 480px;
}

.viewer-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.viewer-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

/* Hotspots */
.hotspot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  border: 3px solid #000;
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
  z-index: 10;
  transform: translate3d(-50%, -50%, 50px);
  transition: var(--transition-smooth);
}

.hotspot::after {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
  opacity: 0.5;
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.hotspot.active {
  background-color: var(--accent-orange);
  box-shadow: 0 0 15px var(--accent-orange-glow);
}

.hotspot.active::after {
  border-color: var(--accent-orange);
}

.hotspot:hover {
  transform: translate3d(-50%, -50%, 70px) scale(1.3);
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* Detail Panel */
.teardown-detail-panel {
  position: relative;
}

.detail-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.detail-card.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.detail-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.detail-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.detail-header h3 {
  margin-bottom: 0;
}

.detail-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.spec-list-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.spec-mini-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.spec-mini-item .label {
  color: var(--text-muted);
}

.spec-mini-item .val {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

.detail-action {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.detail-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ==========================================================================
   SPECS SHEET SECTION
   ========================================================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.spec-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
}

.spec-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.spec-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 242, 254, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

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

.spec-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.spec-card-value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.spec-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Specs Table */
.specs-table-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

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

.specs-table th {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 24px 32px;
  font-family: var(--font-header);
  font-size: 1.15rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 20px 32px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.table-label {
  font-weight: 600;
  color: var(--text-primary);
  width: 30%;
}

.table-val {
  color: var(--text-secondary);
}

/* ==========================================================================
   PHILOSOPHY SECTION
   ========================================================================== */
.philosophy-section {
  position: relative;
  padding: 140px 0;
  background-color: #07070a;
  overflow: hidden;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(255, 106, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.philosophy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-main) 0%, transparent 20%, transparent 80%, var(--bg-main) 100%);
  z-index: 1;
}

.philosophy-container {
  position: relative;
  z-index: 2;
}

.philosophy-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.philosophy-quote-icon {
  font-family: var(--font-header);
  font-size: 8rem;
  line-height: 0.1;
  color: var(--accent-orange);
  display: block;
  margin-bottom: 24px;
  opacity: 0.4;
  height: 30px;
}

.philosophy-content h2 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 32px;
}

.philosophy-lead {
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.4;
}

.philosophy-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.philosophy-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.signature-name {
  font-family: var(--font-header);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.signature-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-orange);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   DIAGNOSTICS & CONTACT SECTION
   ========================================================================== */
.diagnostics-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.troubleshoot-panel, .contact-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(8px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.5);
}

.troubleshoot-panel h3, .contact-panel h3 {
  margin-bottom: 10px;
}

.panel-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Symptom Checkboxes */
.symptom-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.symptom-checkbox {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.symptom-checkbox:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.symptom-checkbox input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.checkbox-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--accent-orange);
  border-radius: 1px;
  opacity: 0;
  transform: scale(0.6);
  transition: var(--transition-smooth);
}

.symptom-checkbox input:checked + .checkbox-custom {
  border-color: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange-glow);
}

.symptom-checkbox input:checked + .checkbox-custom::after {
  opacity: 1;
  transform: scale(1);
}

.symptom-checkbox input:checked ~ .symptom-text {
  color: var(--text-primary);
  font-weight: 500;
}

.symptom-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

/* Diagnosis Result Box */
.diagnosis-result-box {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.placeholder-icon {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.5;
}

.result-placeholder p {
  font-size: 0.85rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.danger-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 8px;
  background-color: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.2);
  color: var(--accent-orange);
  border-radius: 3px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.result-header h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.result-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.recommended-action {
  background-color: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-cyan);
  padding: 10px 14px;
  font-size: 0.85rem;
  border-radius: 0 4px 4px 0;
}

.recommended-action strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.recommended-action span {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* Contact Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group select option {
  background-color: var(--bg-main);
  color: var(--text-primary);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-cyan);
  background-color: rgba(0, 242, 254, 0.01);
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Form Success */
.form-success-message {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(0, 242, 254, 0.08);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success-message h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.form-success-message p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 30px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  border-top: 1px solid var(--border-color);
  background-color: #050508;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  padding-top: 80px;
  padding-bottom: 60px;
}

.footer-brand .logo {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.02);
}

.social-links a:hover {
  border-color: var(--accent-cyan);
  background-color: rgba(0, 242, 254, 0.04);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.social-icon {
  width: 18px;
  height: 18px;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

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

.footer-links ul a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links ul a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.footer-contact p strong {
  color: var(--text-primary);
  display: inline-block;
  min-width: 80px;
}

.working-hours {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem !important;
  color: var(--accent-orange) !important;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  background-color: rgba(0,0,0,0.2);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.specs-text {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.2rem; }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .teardown-layout {
    grid-template-columns: 1fr 1.2fr;
  }
  
  .teardown-detail-panel {
    grid-column: span 2;
    min-height: auto;
  }
  
  .detail-card {
    position: relative;
    height: auto;
    display: none;
  }
  
  .detail-card.active {
    display: flex;
  }
  
  .diagnostics-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  
  .desktop-nav, header .btn {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .hero-section {
    padding-top: calc(var(--header-height) + 20px);
  }
  
  .hero-section h1 {
    font-size: 2.6rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  
  .teardown-layout {
    grid-template-columns: 1fr;
  }
  
  .teardown-detail-panel {
    grid-column: span 1;
  }
  
  .teardown-item {
    padding: 16px;
  }
  
  .table-label {
    width: 40%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  
  .teardown-viewer {
    min-height: 360px;
    padding: 12px;
  }
  
  .viewer-container {
    max-width: 320px;
  }
  
  .hotspot {
    width: 16px;
    height: 16px;
  }
  
  .specs-table th, .specs-table td {
    padding: 16px;
  }
  
  .table-label {
    width: 50%;
  }
}

/* ==========================================================================
   ANIMATION CLASSES
   ========================================================================== */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-up-delay {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.animate-fade-in-up-delay-2 {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.animate-fade-in-up-delay-3 {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.animate-fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

code {
  font-family: var(--font-mono);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-cyan);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

