@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Apple Obsidian Surface Tokens */
  --bg: #030307;
  --bg-subtle: #08080D;
  --surface: rgba(18, 18, 26, 0.72);
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --surface-raised: rgba(26, 26, 36, 0.85);
  --surface-acrylic: rgba(255, 255, 255, 0.05);

  /* Borders & Specular Hairlines */
  --border: rgba(255, 255, 255, 0.09);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-specular: rgba(255, 255, 255, 0.18);
  
  /* Typography Colors */
  --text: #F5F5F7;
  --text-muted: #A1A1A6;
  --text-dim: #6E6E73;
  --text-inverse: #000000;
  
  /* Semantic Accent Palette */
  --accent: #0A84FF;
  --accent-hover: #0071E3;
  --accent-soft: rgba(10, 132, 255, 0.12);
  --accent-border: rgba(10, 132, 255, 0.35);
  --accent-text: #64D2FF;
  
  --ok: #30D158;
  --ok-soft: rgba(48, 209, 88, 0.12);
  --ok-border: rgba(48, 209, 88, 0.35);
  
  --fail: #FF453A;
  --fail-soft: rgba(255, 69, 58, 0.12);
  --fail-border: rgba(255, 69, 58, 0.35);

  --warn: #FF9F0A;
  --warn-soft: rgba(255, 159, 10, 0.12);
  --warn-border: rgba(255, 159, 10, 0.35);
  
  /* Corner Radius */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 28px -4px rgba(0, 0, 0, 0.5), 0 2px 8px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px -8px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 32px rgba(10, 132, 255, 0.25);

  /* Physics Transitions */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(30, 48, 88, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(20, 28, 48, 0.18), transparent 60%);
  background-attachment: fixed;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
  color: #F5F5F7;
}

::selection {
  background: rgba(10, 132, 255, 0.35);
  color: #FFFFFF;
}

button {
  font-family: inherit;
  cursor: pointer;
}

button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

/* ==========================================================================
   VIEW SWITCHING & FLOW LOGIC (3 VIEWS: HOME -> SELECT MODEL -> DIAGNOSTIC)
   ========================================================================== */
body.view-home #homeHero {
  display: grid;
  animation: fadeIn 0.3s ease;
}

body.view-home #homeGuideSection {
  display: block;
}

body.view-home #modelSelectSection,
body.view-home #diagnosticSection,
body.view-home #navBackBtn {
  display: none !important;
}

body.view-select-model #homeHero,
body.view-select-model #homeGuideSection,
body.view-select-model #diagnosticSection {
  display: none !important;
}

body.view-select-model #modelSelectSection {
  display: block !important;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.view-select-model #navBackBtn {
  display: inline-flex !important;
}

body.view-diagnostic #homeHero,
body.view-diagnostic #homeGuideSection,
body.view-diagnostic #modelSelectSection {
  display: none !important;
}

body.view-diagnostic #diagnosticSection {
  display: block !important;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.view-diagnostic #navBackBtn {
  display: inline-flex !important;
}

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

/* ==========================================================================
   TOP NAVIGATION BAR
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 3, 7, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
  width: 100%;
}

.nav-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: #FFFFFF;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.4);
}

.brand-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #F5F5F7;
}

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

.nav-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #E5E5EA;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: all 0.2s var(--ease-apple);
}

.nav-back-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-2px);
}

/* ==========================================================================
   MAIN CONTAINER
   ========================================================================== */
.main-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   1. HERO / HOME SECTION
   ========================================================================== */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: calc(100vh - 65px);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Left Half: Balanced Apple Content Layout (Spacious & Clean) */
.hero-left-pane {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 52px 40px max(40px, calc((100vw - 1360px) / 2 + 40px));
  background: transparent;
  z-index: 5;
}

.hero-content {
  width: 100%;
  max-width: 550px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E5E5EA;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 16px;
  width: fit-content;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30D158;
  box-shadow: 0 0 8px rgba(48, 209, 88, 0.6);
}

/* Apple-Style H1 Headline with Titanium Metallic Gradient */
.hero-headline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", sans-serif;
  font-size: clamp(36px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  background: linear-gradient(180deg, #FFFFFF 25%, #C2C2CB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 16px;
}

.headline-sub {
  background: linear-gradient(180deg, #9E9EA8 25%, #6E6E7A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  display: inline-block;
}

/* Apple-Style Clean Body Description */
.hero-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 26px;
  max-width: 490px;
}

.hero-desc strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* Apple-Style CTA Action Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.apple-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 14px 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.16);
  transition: all 0.25s var(--ease-apple);
}

.apple-primary-btn:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.28);
}

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

.hero-learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #E5E5EA;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 980px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: all 0.25s var(--ease-apple);
}

.hero-learn-more-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hero-learn-more-btn:active {
  transform: scale(0.98);
}

.arrow-right-icon {
  transition: transform 0.2s ease;
}

.apple-primary-btn:hover .arrow-right-icon {
  transform: translateX(3px);
}

.hero-meta-hint {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}

.hero-meta-hint .hint-icon {
  color: var(--text-dim);
  flex-shrink: 0;
}

.hero-top-wrap,
.hero-bottom-wrap {
  display: contents;
}

/* Minimalist Clean Feature Trust Row (Unboxed & Airy) */
.hero-feature-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.feature-item:hover {
  background: transparent;
  transform: translateY(-1px);
  box-shadow: none;
}

.feature-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #A1A1A6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.feature-item:hover .feature-icon-wrap {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.feature-title {
  font-size: 13px;
  font-weight: 600;
  color: #E5E5EA;
  line-height: 1.25;
}

.feature-desc {
  font-size: 11.5px;
  line-height: 1.35;
  color: #86868B;
}

/* Right Half: Canvas Visual */
.hero-right-pane {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 65px);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-right-pane::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    rgba(3, 3, 7, 0.95) 28%,
    rgba(3, 3, 7, 0.6) 60%,
    rgba(3, 3, 7, 0.15) 85%,
    rgba(3, 3, 7, 0) 100%
  );
  z-index: 4;
  pointer-events: none;
}

.hero-right-pane::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    transparent 12%,
    transparent 88%,
    var(--bg) 100%
  );
  z-index: 4;
  pointer-events: none;
}

#heroFrameCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   1B. PANDUAN LENGKAP & CARA KERJA UNTUK PENGGUNA AWAM (APPLE INDUSTRIAL DARK)
   ========================================================================== */
.home-guide-section {
  width: 100%;
  background: #060609;
  color: #F4F4F5;
  padding: 120px 32px 140px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 104px;
}

/* Header Block */
.guide-header-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.guide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 980px;
  padding: 6px 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #D1D1D6;
  text-transform: uppercase;
}

.guide-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: #71717A;
  box-shadow: none;
}

.guide-main-title {
  font-size: clamp(34px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin: 0;
}

.guide-main-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #9E9EA6;
  max-width: 620px;
  margin: 0;
}

.guide-main-lead strong {
  color: #FFFFFF;
}

/* Subheadings */
.guide-subhead-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.guide-subhead-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #A1A1AA;
  text-transform: uppercase;
}

.guide-subhead-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0;
}

.guide-subhead-desc {
  font-size: 15px;
  color: #8E8E93;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   EDITORIAL INVESTIGATIVE DOSSIER (UNBOXED 3-COLUMN LEDGER)
   ========================================================================== */
.guide-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-problem-card {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: background 0.25s var(--ease-apple);
}

.guide-problem-card:last-child {
  border-right: none;
}

.guide-problem-card:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: none;
  box-shadow: none;
}

.problem-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.problem-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.3);
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.problem-card-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #A1A1A6;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.problem-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

/* Reusable Industrial Spec Point List */
.guide-point-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.guide-point-list.compact {
  gap: 9px;
}

.guide-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #A1A1AA;
  transition: color 0.2s ease;
}

.guide-point-item strong {
  color: #F4F4F5;
  font-weight: 600;
}

/* Industrial Precision Hairline Spec Marker (Eliminates AI Cyan Bullet) */
.guide-point-bullet {
  width: 8px;
  height: 1.5px;
  border-radius: 1px;
  background: #52525B;
  margin-top: 10px;
  flex-shrink: 0;
  transition: background 0.2s ease, width 0.2s ease;
}

.guide-point-item:hover .guide-point-bullet {
  background: #D4D4D8;
  width: 12px;
}

.guide-point-item:hover {
  color: #E4E4E7;
}

.guide-point-risk {
  margin-top: 10px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #A1A1AA;
  display: flex;
  align-items: center;
  gap: 8px;
}

.risk-label {
  color: #FF6961;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.22);
}

/* ==========================================================================
   MISSION STATEMENT: APPLE KEYNOTE ASYMMETRIC SPLIT
   ========================================================================== */
.guide-mission-box {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: flex-start;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.mission-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #A1A1AA;
  margin-bottom: 12px;
  display: inline-block;
  text-transform: uppercase;
}

.mission-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.mission-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #A1A1A6;
  margin: 0;
  max-width: 440px;
}

.mission-features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mission-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mission-feat-item:first-child {
  padding-top: 0;
}

.mission-feat-item:last-child {
  border-bottom: none;
}

/* Industrial Precision Chamfered Micro-Plate */
.feat-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #D4D4D8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mission-feat-item:hover .feat-check-icon {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.mission-feat-item strong {
  display: block;
  font-size: 14.5px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.mission-feat-item span {
  font-size: 13.5px;
  color: #8E8E93;
  line-height: 1.55;
}

/* ==========================================================================
   CONTINUOUS HORIZONTAL ARCHITECTURAL TIMELINE STEPPER
   ========================================================================== */
.guide-steps-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  padding-top: 36px;
}

.guide-steps-flow::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  z-index: 1;
}

.guide-step-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
}

.guide-step-card:hover {
  transform: translateY(-2px);
  background: transparent;
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #F4F4F5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.guide-step-card:hover .step-num {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
}

.step-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717A;
  background: transparent;
  border: none;
  padding: 0;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

/* ==========================================================================
   TECHNICAL SPECIFICATION & KEY CHECKPOINTS LEDGER (UNBOXED)
   ========================================================================== */
.guide-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-pillar-card {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s var(--ease-apple);
}

.guide-pillar-card:last-child {
  border-right: none;
}

.guide-pillar-card:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: none;
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.pillar-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: #8E8E93;
  letter-spacing: 0.06em;
}

.pillar-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.35;
}

/* Kamus Awam: Apple Spec Sheet Data Ledger */
.guide-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s ease;
}

.guide-faq-item:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-faq-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-q {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
}

/* CTA Banner */
.guide-cta-banner {
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.85) 0%, rgba(10, 10, 15, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 64px 36px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.cta-banner-content {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-banner-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64D2FF;
  text-transform: uppercase;
}

.cta-banner-title {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.cta-banner-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #A1A1AA;
  margin: 0;
  max-width: 540px;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.guide-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
  transition: all 0.25s var(--ease-apple);
}

.guide-primary-cta:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.32);
}

.guide-scroll-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #D4D4D8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 980px;
  padding: 14px 22px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.guide-scroll-top-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. MODEL SELECTION SECTION (PILIH TIPE IPHONE — APPLE DESIGN)
   ========================================================================== */
.model-wave-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: none;
}

body.view-select-model .model-wave-canvas {
  display: block;
}

body.view-select-model {
  background: #000000 !important;
  color: #FFFFFF !important;
}

body.view-select-model .main-container {
  background: transparent !important;
}

body.view-select-model .top-nav {
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.view-select-model .top-nav .brand-text {
  color: #FFFFFF !important;
}

body.view-select-model .top-nav .brand-icon {
  background: #FFFFFF !important;
  color: #000000 !important;
}

body.view-select-model .nav-back-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #D4D4D8 !important;
}

body.view-select-model .nav-back-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
}

.model-select-section {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 32px 130px;
}

body.view-select-model .model-select-top-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.view-select-model .apple-back-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #F4F4F5 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

body.view-select-model .apple-back-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

body.view-select-model .apple-step-tag {
  color: #A1A1AA !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 6px 14px !important;
  border-radius: 980px !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px !important;
  letter-spacing: 0.05em;
}

body.view-select-model .model-select-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9) !important;
}

body.view-select-model .model-select-desc {
  color: #D4D4D8 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8) !important;
}

body.view-select-model .model-search-box input {
  background: rgba(22, 22, 30, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
  border-radius: 980px !important;
  padding: 14px 44px 14px 48px !important;
  font-size: 14.5px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

body.view-select-model .model-search-box input:focus {
  background: rgba(26, 26, 36, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 6px 30px rgba(0, 0, 0, 0.6) !important;
}

body.view-select-model .model-search-box input::placeholder {
  color: #8E8E93 !important;
}

body.view-select-model .model-search-box .search-icon {
  color: #A1A1AA !important;
}

body.view-select-model .clear-search-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

body.view-select-model .clear-search-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

body.view-select-model .series-pills-bar {
  background: rgba(20, 20, 28, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 980px !important;
  padding: 5px !important;
  gap: 4px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.view-select-model .series-pill {
  color: #A1A1AA !important;
  padding: 8px 18px !important;
  font-size: 13px !important;
}

body.view-select-model .series-pill:hover {
  color: #FFFFFF !important;
}

body.view-select-model .series-pill.active {
  background: #FFFFFF !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.25) !important;
}

body.view-select-model .apple-model-card {
  background: rgba(16, 16, 22, 0.68) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 20px !important;
  padding: 28px 24px !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.view-select-model .apple-model-card:hover {
  background: rgba(24, 24, 32, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.75), 0 0 32px rgba(255, 255, 255, 0.08) !important;
}

body.view-select-model .card-meta {
  color: #A1A1AA !important;
}

body.view-select-model .card-chip {
  color: #FFFFFF !important;
}

body.view-select-model .card-meta-sep {
  color: #52525B !important;
}

body.view-select-model .card-model-title {
  color: #FFFFFF !important;
}

body.view-select-model .model-tag {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #E4E4E7 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.view-select-model .card-desc {
  color: #A1A1AA !important;
}

body.view-select-model .card-action-row {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}

body.view-select-model .card-chevron {
  color: #A1A1AA !important;
}

body.view-select-model .apple-model-card:hover .card-chevron {
  color: #FFFFFF !important;
}

body.view-select-model .no-model-found {
  background: rgba(18, 18, 22, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #A1A1AA !important;
}

.model-select-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E5E5EA;
}

.apple-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F5F5F7;
  border: 1px solid #E5E5EA;
  border-radius: 980px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #1D1D1F;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-back-btn:hover {
  background: #E8E8ED;
  color: #000000;
  transform: translateX(-2px);
}

.apple-step-tag {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #86868B;
  letter-spacing: 0.02em;
}

/* Apple Header */
.model-select-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 44px;
}

.model-select-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #1D1D1F;
  margin: 0 0 14px;
  line-height: 1.15;
}

.model-select-desc {
  font-size: 16px;
  color: #6E6E73;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Apple Spotlight Search & Segmented Control */
.model-filter-controls {
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 800px;
}

.model-search-box {
  position: relative;
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: center;
}

.model-search-box .search-icon {
  position: absolute;
  left: 18px;
  color: #86868B;
  pointer-events: none;
}

.model-search-box input {
  width: 100%;
  background: #F5F5F7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 980px;
  padding: 14px 44px 14px 48px;
  font-size: 14.5px;
  font-weight: 400;
  color: #1D1D1F;
  transition: all 0.2s ease;
}

.model-search-box input:focus {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
  outline: none;
}

.model-search-box input::placeholder {
  color: #86868B;
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  background: #E5E5EA;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #6E6E73;
  line-height: 1;
}

.clear-search-btn:hover {
  background: #D2D2D7;
  color: #1D1D1F;
}

/* Apple Segmented Control Pills */
.series-segmented-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.series-segmented-wrap::-webkit-scrollbar {
  display: none;
}

.series-pills-bar {
  display: inline-flex;
  gap: 4px;
  background: #E5E5EA;
  padding: 4px;
  border-radius: 980px;
}

.series-pill {
  flex: none;
  background: transparent;
  border: none;
  border-radius: 980px;
  padding: 8px 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6E6E73;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.series-pill:hover {
  color: #1D1D1F;
}

.series-pill.active {
  background: #FFFFFF;
  color: #1D1D1F;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Apple Model Cards Grid */
.model-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.apple-model-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.apple-model-card:hover {
  border-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.card-head {
  margin-bottom: 12px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #86868B;
}

.card-chip {
  font-weight: 600;
  color: #1D1D1F;
}

.card-meta-sep {
  color: #C7C7CC;
  font-size: 10px;
}

.card-model-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1D1D1F;
  margin: 0;
}

.card-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

.model-tag {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: #424245;
  background: #F5F5F7;
  padding: 4px 10px;
  border-radius: 6px;
}

.card-desc {
  font-size: 13px;
  color: #6E6E73;
  line-height: 1.5;
  margin: 0 0 16px;
}

.card-action-row {
  padding-top: 14px;
  border-top: 1px solid #F2F2F7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: #1D1D1F;
  transition: color 0.2s ease;
}

.card-chevron {
  font-size: 17px;
  color: #86868B;
  transition: transform 0.2s ease, color 0.2s ease;
}

.apple-model-card:hover .card-chevron {
  transform: translateX(4px);
  color: #1D1D1F;
}

.no-model-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: #FFFFFF;
  border: 1px dashed #E5E5EA;
  border-radius: 18px;
  color: #86868B;
}

/* ==========================================================================
   3. DIAGNOSTIC CHECKLIST SECTION
   ========================================================================== */
.diagnostic-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 24px 130px;
  position: relative;
  z-index: 2;
}

/* Top bar with back button & selected unit */
.diagnostic-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}

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

.diagnostic-right-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.selected-unit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.back-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #E5E5EA;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  transition: all 0.2s var(--ease-apple);
}

.back-link-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-2px);
}

.diagnostic-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.section-title-wrap {
  margin: 36px 0 28px;
}

.badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #A1A1A6;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30D158;
  box-shadow: 0 0 8px #30D158;
}

.section-title-wrap h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: 720px;
}

/* ---------- STEP NAV TABS ---------- */
.stepnav {
  display: flex;
  gap: 12px;
  margin: 28px 0 36px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}

.stepnav::-webkit-scrollbar {
  display: none;
}

.step-btn {
  flex: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #A1A1A6;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.25s var(--ease-apple);
  white-space: nowrap;
  min-height: 46px;
}

.step-btn .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #71717A;
}

.step-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.step-btn.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}

.step-btn.active .n {
  color: #000000;
}

.step-btn .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: #A1A1A6;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 9px;
  border-radius: 980px;
}

.step-btn.active .count {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
}

/* ---------- PANELS & CHECKLIST ITEMS ---------- */
.panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.panel.active {
  display: block;
}

.panel-head {
  margin-bottom: 24px;
}

.panel-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A1A1AA;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.panel-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: #71717A;
  box-shadow: none;
}

.panel-head h2 {
  font-size: 24px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.panel-head p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

.diagram-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 16px;
  border-radius: 12px;
}

.diagram-legend .swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(10, 132, 255, 0.25);
  border: 1.5px solid #0A84FF;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(10, 132, 255, 0.4);
}

/* ==========================================================================
   APPLE PRO UNIFIED DIAGNOSTIC CONSOLE LEDGER
   ========================================================================== */
#list-body, #list-camera, #list-model, #list-screen {
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  margin-bottom: 36px;
}

.check-item {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 0;
  box-shadow: none;
  transition: background 0.25s var(--ease-apple);
}

.check-item:last-child {
  border-bottom: none;
}

.check-item:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: none;
  box-shadow: none;
}

.check-item.status-ok {
  background: linear-gradient(90deg, rgba(48, 209, 88, 0.09) 0%, rgba(48, 209, 88, 0.02) 40%, transparent 100%);
  border-bottom-color: rgba(48, 209, 88, 0.2);
}

.check-item.status-issue {
  background: linear-gradient(90deg, rgba(255, 69, 58, 0.09) 0%, rgba(255, 69, 58, 0.02) 40%, transparent 100%);
  border-bottom-color: rgba(255, 69, 58, 0.2);
}

.check-item-main {
  flex: 1;
  min-width: 0;
}

.check-item-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #FFFFFF;
  letter-spacing: -0.015em;
}

.check-item-desc {
  font-size: 14.5px;
  color: #A1A1AA;
  margin: 0;
  line-height: 1.7;
}

/* Diagnostic Diagrams */
.diagram {
  flex-shrink: 0;
  width: 112px;
  height: 140px;
  background: rgba(10, 10, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}

.diagram svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.hl-ring {
  fill: none;
  stroke: #0A84FF;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 4px rgba(10, 132, 255, 0.6));
}

.hl-fill {
  fill: rgba(10, 132, 255, 0.2);
  stroke: #0A84FF;
  stroke-width: 1.5;
}

.hl-pulse {
  animation: hlPulse 2.2s ease-in-out infinite;
}

@keyframes hlPulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(10, 132, 255, 0.8)); }
  50% { opacity: 0.45; filter: drop-shadow(0 0 2px rgba(10, 132, 255, 0.3)); }
}

/* Status Toggle Buttons */
.status-toggle {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.status-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #A1A1A6;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 980px;
  min-width: 72px;
  min-height: 40px;
  transition: all 0.2s var(--ease-apple);
}

.status-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.status-btn[aria-pressed="true"].b-unset {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.status-btn[aria-pressed="true"].b-ok {
  background: rgba(48, 209, 88, 0.18);
  color: #30D158;
  border-color: rgba(48, 209, 88, 0.5);
  box-shadow: 0 0 16px rgba(48, 209, 88, 0.25);
}

.status-btn[aria-pressed="true"].b-issue {
  background: rgba(255, 69, 58, 0.18);
  color: #FF453A;
  border-color: rgba(255, 69, 58, 0.5);
  box-shadow: 0 0 16px rgba(255, 69, 58, 0.25);
}

/* ---------- CALLOUT BOX ---------- */
.callout {
  border: 1px solid rgba(10, 132, 255, 0.25);
  border-left: 4px solid #0A84FF;
  border-radius: 16px;
  background: rgba(10, 132, 255, 0.06);
  backdrop-filter: blur(16px);
  padding: 18px 22px;
  font-size: 14px;
  color: #E5E5EA;
  margin: 20px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.callout b {
  color: #FFFFFF;
}

.callout .title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64D2FF;
  display: block;
  margin-bottom: 6px;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 6px;
}

.badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 980px;
  border: 1px solid;
}

.badge.genuine {
  color: #30D158;
  border-color: rgba(48, 209, 88, 0.4);
  background: rgba(48, 209, 88, 0.12);
}

.badge.used {
  color: #FF9F0A;
  border-color: rgba(255, 159, 10, 0.4);
  background: rgba(255, 159, 10, 0.12);
}

.badge.unknown {
  color: #FF453A;
  border-color: rgba(255, 69, 58, 0.4);
  background: rgba(255, 69, 58, 0.12);
}

/* ---------- LOOKUP TOOL ---------- */
.lookup {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 26, 0.65);
  backdrop-filter: blur(20px);
  padding: 22px 24px;
  margin: 20px 0 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lookup label {
  font-size: 13.5px;
  font-weight: 600;
  color: #E5E5EA;
  display: block;
  margin-bottom: 12px;
}

.lookup-row {
  display: flex;
  gap: 10px;
}

.lookup input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.lookup input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.lookup input::placeholder {
  color: #6E6E73;
  text-transform: none;
}

.lookup-result {
  margin-top: 16px;
}

.lookup-result .hit {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(48, 209, 88, 0.4);
  background: rgba(48, 209, 88, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
}

.lookup-result .flag {
  font-size: 26px;
}

.lookup-result .country {
  font-weight: 700;
  font-size: 15px;
  color: #FFFFFF;
}

.lookup-result .note {
  font-size: 13px;
  color: #A1A1A6;
  margin-top: 3px;
}

.lookup-result .miss {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #A1A1A6;
}

.code-table {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(18, 18, 26, 0.65);
  box-shadow: var(--shadow-sm);
}

.code-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  align-items: center;
}

.code-row:last-child {
  border-bottom: none;
}

.code-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.code-row .code {
  font-family: 'JetBrains Mono', monospace;
  color: #64D2FF;
  font-weight: 700;
}

.code-row .cn {
  color: #F5F5F7;
}

.code-row .cn small {
  display: block;
  color: #8E8E93;
  font-size: 12px;
  margin-top: 2px;
}

/* ---------- NAV BUTTONS ---------- */
.step-nav-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  gap: 14px;
}

.nav-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #E5E5EA;
  padding: 13px 22px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  transition: all 0.25s var(--ease-apple);
}

.nav-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-btn.primary {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.nav-btn.primary:hover {
  background: #FFFFFF;
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.32);
  transform: translateY(-2px) scale(1.01);
}

.nav-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

.reset-btn {
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.35);
  color: #FF453A;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 980px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease-apple);
}

.reset-btn:hover {
  background: rgba(255, 69, 58, 0.2);
  border-color: #FF453A;
  transform: translateY(-1px);
}

/* ---------- SUMMARY TAB ---------- */
.sum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.sum-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 26, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sum-card .lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sum-card .val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
}

.sum-card .val.ok {
  color: #30D158;
}

.sum-card .val.issue {
  color: #FF453A;
}

.flag-list {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  background: rgba(18, 18, 26, 0.65);
}

.flag-item {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
}

.flag-item:last-child {
  border-bottom: none;
}

.flag-item .t {
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
}

.flag-item .s {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #FF453A;
  white-space: nowrap;
}

.empty-note {
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 26px;
  background: rgba(18, 18, 26, 0.4);
}

.verdict {
  border-radius: 20px;
  padding: 22px 26px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.verdict .title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.verdict p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #F5F5F7;
}

/* ---------- EXTRA TIPS ACCORDION ---------- */
.extra {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(18, 18, 26, 0.65);
  backdrop-filter: blur(20px);
  margin-top: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.extra summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

.extra summary::-webkit-details-marker {
  display: none;
}

.extra summary::-webkit-details-marker {
  display: none;
}

.extra summary .chev {
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  transition: transform 0.2s ease;
}

.extra[open] summary .chev {
  transform: rotate(180deg);
}

.extra-body {
  padding: 0 22px 20px;
}

.extra-item {
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.extra-item b {
  color: var(--text);
  font-weight: 700;
}

.footer-note {
  margin-top: 36px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .top-nav {
    padding: 12px 20px;
  }

  body.view-home #homeHero,
  .home-hero {
    display: grid !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    width: 100%;
    min-height: calc(100vh - 65px);
    position: relative;
    overflow: hidden;
    background: var(--bg);
  }
  
  .hero-left-pane {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 32px max(20px, calc((100vw - 1280px) / 2 + 24px));
    width: 100%;
    z-index: 5;
    background: transparent;
  }

  .hero-content {
    width: 100%;
    max-width: 520px;
    margin: 0;
  }

  .hero-right-pane {
    display: block !important;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: var(--bg);
    overflow: hidden;
    margin: 0;
  }

  .hero-right-pane::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 160px;
    background: linear-gradient(
      to right,
      var(--bg) 0%,
      rgba(3, 3, 7, 0.92) 28%,
      rgba(3, 3, 7, 0.55) 60%,
      rgba(3, 3, 7, 0.15) 85%,
      transparent 100%
    );
    z-index: 4;
    pointer-events: none;
  }

  .hero-right-pane::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      var(--bg) 0%,
      transparent 12%,
      transparent 88%,
      var(--bg) 100%
    );
    z-index: 4;
    pointer-events: none;
  }

  #heroFrameCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }

  .model-select-section {
    padding: 24px 16px 60px;
  }

  .model-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diagnostic-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   MOBILE VIEWPORT OPTIMIZATION (< 768px & SMARTPHONES)
   ========================================================================== */
@media (max-width: 768px) {
  /* Top Nav Bar on Mobile */
  .top-nav {
    padding: calc(env(safe-area-inset-top, 0px) + 8px) 16px 8px;
    height: calc(56px + env(safe-area-inset-top, 0px));
  }

  body.view-home .top-nav {
    background: rgba(3, 3, 7, 0.82) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  body.view-home .top-nav .brand-text {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
  }

  body.view-home .top-nav .brand-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #FFFFFF !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .brand-icon svg {
    width: 15px;
    height: 15px;
  }

  .brand-text {
    font-size: 12.5px;
    letter-spacing: 0.05em;
  }

  .nav-back-btn {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }

  /* Fix Blank White Space on Mobile Home View */
  body.view-home,
  body.view-home .main-container {
    background: #030307 !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }

  /* Home Hero (Cinematic Apple Dark Hero with 3D Teardown as Background) */
  body.view-home #homeHero,
  .home-hero {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-height: calc(100vh - 56px) !important;
    min-height: calc(100dvh - 56px) !important;
    padding: 0 !important;
    background: #030307 !important;
    overflow: hidden !important;
  }

  /* Video Breakdown Canvas as Background Layer - Covers 100% Height */
  .hero-right-pane {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    background: #030307 !important;
    z-index: 1 !important;
    overflow: hidden !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .hero-right-pane::before {
    display: none !important;
  }

  /* Elegant Dark Gradient Overlay: Ensures absolute legibility for text while showcasing 3D phone */
  .hero-right-pane::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(3, 3, 7, 0.94) 0%,
      rgba(3, 3, 7, 0.88) 22%,
      rgba(3, 3, 7, 0.52) 38%,
      rgba(3, 3, 7, 0.28) 50%,
      rgba(3, 3, 7, 0.68) 72%,
      rgba(3, 3, 7, 0.94) 88%,
      #030307 100%
    ) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  #heroFrameCanvas {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 0.92 !important;
  }

  /* Foreground Content Layer */
  .hero-left-pane {
    display: block !important;
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: calc(100vh - 56px) !important;
    min-height: calc(100dvh - 56px) !important;
    padding: 22px 18px 26px !important;
    margin: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
    gap: 16px !important;
  }

  /* Top Zone: Centered Apple Keynote Typography */
  .hero-top-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    padding-top: 4px !important;
    position: relative !important;
    z-index: 5 !important;
  }

  .hero-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #E4E4E7 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding: 5px 14px !important;
    border-radius: 980px !important;
    margin-bottom: 12px !important;
    width: fit-content !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }

  .eyebrow-dot {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #30D158 !important;
    box-shadow: 0 0 8px rgba(48, 209, 88, 0.6) !important;
  }

  .hero-headline {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Plus Jakarta Sans", "Inter", sans-serif !important;
    font-size: clamp(24px, 6.8vw, 32px) !important;
    font-weight: 800 !important;
    font-style: normal !important;
    line-height: 1.14 !important;
    letter-spacing: -0.035em !important;
    margin: 0 0 10px 0 !important;
    text-align: center !important;
    color: #FFFFFF !important;
  }

  .headline-main {
    display: inline-block !important;
    color: #FFFFFF !important;
    font-style: normal !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95) !important;
  }

  .headline-sub {
    display: inline-block !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-style: normal !important;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.9)) !important;
  }

  .hero-desc {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Plus Jakarta Sans", "Inter", sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.58 !important;
    color: #D4D4D8 !important;
    margin: 0 auto !important;
    max-width: 330px !important;
    text-align: center !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95) !important;
  }

  .hero-desc strong {
    color: #FFFFFF !important;
    font-weight: 600 !important;
  }

  /* Bottom Zone: 3-Pillar Dock + CTA Group */
  .hero-bottom-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    padding-bottom: 4px !important;
  }

  /* 3 Feature Pillars Strip in 3-Column Industrial Dock */
  .hero-feature-strip {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
    border-top: none !important;
    width: 100% !important;
    background: transparent !important;
  }

  .feature-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
    padding: 10px 5px !important;
    background: rgba(18, 18, 24, 0.82) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
  }

  .feature-icon-wrap {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #F4F4F5 !important;
  }

  .feature-icon-wrap svg {
    width: 14px !important;
    height: 14px !important;
  }

  .feature-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1px !important;
    width: 100% !important;
  }

  .feature-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
  }

  .feature-desc {
    font-size: 9.5px !important;
    color: #A1A1AA !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }

  .hero-cta-group {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 0 !important;
    width: 100% !important;
    border: none !important;
  }

  .apple-primary-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 980px !important;
    min-height: 48px !important;
    background: #FFFFFF !important;
    color: #000000 !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
    border: none !important;
    letter-spacing: -0.01em !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
  }

  .apple-primary-btn:active {
    transform: scale(0.985) !important;
    background: #E4E4E7 !important;
  }

  .apple-primary-btn .arrow-right-icon {
    color: #000000 !important;
  }

  .hero-learn-more-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 16px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border-radius: 980px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #E4E4E7 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    letter-spacing: -0.01em !important;
    min-height: 42px !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
  }

  .hero-learn-more-btn:active {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
  }

  .hero-meta-hint {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    color: #A1A1AA !important;
    padding: 2px 0 !important;
    text-align: center !important;
    letter-spacing: 0.01em !important;
  }

  .hero-meta-hint .hint-icon {
    color: #71717A !important;
    flex-shrink: 0 !important;
  }

  /* Model Selection Section Mobile */
  .model-select-section {
    padding: 18px 16px 60px !important;
  }

  .model-select-top-bar {
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    justify-content: flex-start !important;
  }

  .model-select-top-bar #modelSelectBackBtn {
    display: none !important; /* Disembunyikan karena sudah ada di sticky top header */
  }

  .apple-step-tag {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--accent) !important;
    background: var(--accent-soft) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
  }

  .model-select-header {
    margin-bottom: 20px !important;
  }

  .model-select-title {
    font-size: clamp(23px, 6.5vw, 28px) !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  .model-select-desc {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  .model-filter-controls {
    margin-top: 16px !important;
    gap: 12px !important;
  }

  .model-search-box input {
    font-size: 14px !important;
    padding: 12px 38px 12px 42px !important;
    border-radius: 12px !important;
  }

  .series-segmented-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 6px !important;
    margin: 0 -16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    scrollbar-width: none !important;
  }

  .series-segmented-wrap::-webkit-scrollbar {
    display: none !important;
  }

  .series-pills-bar {
    display: inline-flex !important;
    gap: 6px !important;
    padding: 4px !important;
    background: #E5E5EA !important;
    border-radius: 980px !important;
  }

  .series-pill {
    padding: 7px 14px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }

  .model-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 18px !important;
  }

  .model-card {
    padding: 16px 16px !important;
    border-radius: 16px !important;
  }

  .model-card-title {
    font-size: 16px !important;
  }

  .model-card-badges {
    gap: 5px !important;
  }

  .model-card-badge {
    font-size: 10.5px !important;
    padding: 3px 7px !important;
  }

  /* Diagnostic Checklist Section Mobile */
  .diagnostic-section {
    padding: 16px 14px calc(120px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .diagnostic-top-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    gap: 8px !important;
  }

  .diagnostic-left-actions {
    display: none !important; /* Tombol kembali sudah ada di sticky top header */
  }

  .diagnostic-right-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .selected-unit-badge {
    font-size: 12px !important;
    padding: 6px 12px !important;
    border-radius: 980px !important;
    white-space: nowrap !important;
  }

  .diagnostic-progress-pill {
    font-size: 11.5px !important;
    padding: 6px 10px !important;
    border-radius: 980px !important;
    white-space: nowrap !important;
  }

  .back-link-btn {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    border-radius: 980px !important;
  }

  /* Liquid Sticky Step Navigator for Mobile */
  .stepnav {
    position: sticky !important;
    top: calc(56px + env(safe-area-inset-top, 0px)) !important;
    z-index: 95 !important;
    background: rgba(3, 3, 7, 0.94) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 14px !important;
    margin: 0 -14px 18px !important;
    scrollbar-width: none !important;
    display: flex !important;
    gap: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
  }

  .stepnav::-webkit-scrollbar {
    display: none !important;
  }

  .step-btn {
    padding: 10px 16px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border-radius: 980px !important;
    gap: 6px !important;
    flex: none !important;
    min-height: 40px !important;
    touch-action: manipulation !important;
  }

  .panel {
    scroll-margin-top: calc(120px + env(safe-area-inset-top, 0px)) !important;
  }

  /* Specs & Flaws Cards */
  .model-specs-card {
    padding: 14px 14px !important;
    border-radius: 16px !important;
  }

  .specs-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .spec-cell {
    padding: 8px 10px !important;
  }

  .spec-label {
    font-size: 10px !important;
  }

  .spec-value {
    font-size: 11.5px !important;
  }

  .model-flaws-card {
    padding: 14px 14px !important;
    border-radius: 16px !important;
  }

  .flaws-card-title {
    font-size: 13.5px !important;
  }

  .flaw-item {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  /* Inspection Item Unified Console Ledger Mobile */
  .check-item {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 22px 18px !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .check-item:last-child {
    border-bottom: none !important;
  }

  .check-item-title {
    font-size: 15px !important;
  }

  .check-item-desc {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .diagram {
    width: 100% !important;
    height: 195px !important;
    border-radius: 12px !important;
    margin: 2px 0 !important;
  }

  .diagram.has-real-img {
    width: 100% !important;
    height: 190px !important;
    padding: 6px !important;
    aspect-ratio: auto !important;
  }

  .diagram.has-real-img .inspection-real-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  /* Ergonomic 44x44px Touch Targets for Status Buttons */
  .status-toggle {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .status-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 8px 4px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    touch-action: manipulation !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .status-btn:active {
    transform: scale(0.96) !important;
  }

  /* Full-width Stacked Bottom Navigation Buttons for Mobile */
  .step-nav-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 24px !important;
    width: 100% !important;
  }

  .step-nav-btns .nav-btn {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 14px !important;
    text-align: center !important;
    touch-action: manipulation !important;
  }

  .step-nav-btns .nav-btn:disabled {
    display: none !important;
  }

  .step-nav-btns .reset-btn {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    border-radius: 14px !important;
    text-align: center !important;
    touch-action: manipulation !important;
  }

  .code-row {
    grid-template-columns: 55px 1fr !important;
    font-size: 12px !important;
  }

  /* Summary Tab & Verdict Mobile Polish */
  .sum-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  .sum-card {
    padding: 14px 16px !important;
    border-radius: 14px !important;
  }

  .sum-card .lbl {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }

  .sum-card .val {
    font-size: 20px !important;
  }

  .flag-list {
    border-radius: 14px !important;
    margin-bottom: 20px !important;
  }

  .flag-item {
    padding: 14px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .flag-item .s {
    font-size: 11px !important;
  }

  .verdict {
    padding: 18px 18px !important;
    border-radius: 16px !important;
    margin-bottom: 20px !important;
  }

  .verdict .title {
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }

  .verdict p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .extra {
    border-radius: 14px !important;
    margin-top: 24px !important;
  }

  .extra summary {
    padding: 16px 18px !important;
    font-size: 14px !important;
    min-height: 48px !important;
  }

  /* Safe-area in bottom bar */
  .summary-bar,
  .diag-action-bar {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ==========================================================================
   MODEL-SPECIFIC HARDWARE PROFILE & TECHNICIAN ADVISORY CARD
   ========================================================================== */
.model-profile-wrap {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.model-specs-card {
  background: rgba(18, 18, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 26px 30px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.specs-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.specs-model-title {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
}

.specs-year-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.06);
  color: #D1D1D6;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-chip-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 980px;
  background: rgba(10, 132, 255, 0.15);
  color: #64D2FF;
  border: 1px solid rgba(10, 132, 255, 0.3);
}

.specs-header-right .spec-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #E5E5EA;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 980px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.spec-box {
  background: rgba(255, 255, 255, 0.035);
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.spec-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.spec-box-lbl {
  font-size: 10.5px;
  color: #8E8E93;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.spec-box-val {
  font-size: 13.5px;
  color: #FFFFFF;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.4;
}

/* Technician Advisory & Known Flaws Card */
.model-flaws-card {
  background: rgba(255, 159, 10, 0.06);
  border: 1px solid rgba(255, 159, 10, 0.2);
  border-left: 4px solid #FF9F0A;
  border-radius: 18px;
  padding: 20px 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.flaws-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.flaws-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFB340;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  letter-spacing: 0.02em;
}

.flaws-card-title svg {
  flex-shrink: 0;
  color: #FF9F0A;
}

.flaws-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 980px;
  background: rgba(255, 159, 10, 0.18);
  color: #FFB340;
  border: 1px solid rgba(255, 159, 10, 0.3);
}

.flaws-card-desc {
  font-size: 13.5px;
  color: #D1D1D6;
  line-height: 1.55;
  margin: 8px 0 0 0;
}

.flaws-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flaws-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: #D4D4D8;
  line-height: 1.55;
  margin-bottom: 0;
}

.flaws-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1.5px;
  background: #FF9F0A;
  border-radius: 1px;
}

.flaws-list li strong {
  color: #FFFFFF;
}

/* Specific Model Checkitem Badges */
.check-tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 980px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.check-tag-pill.tag-hardware {
  background: rgba(10, 132, 255, 0.15);
  color: #64D2FF;
  border: 1px solid rgba(10, 132, 255, 0.3);
}

.check-tag-pill.tag-critical {
  background: rgba(255, 69, 58, 0.15);
  color: #FF6961;
  border: 1px solid rgba(255, 69, 58, 0.3);
}

.check-tag-pill.tag-pro {
  background: rgba(191, 90, 242, 0.15);
  color: #DA8FFF;
  border: 1px solid rgba(191, 90, 242, 0.3);
}

.check-tag-pill.tag-warning {
  background: rgba(255, 159, 10, 0.15);
  color: #FFB340;
  border: 1px solid rgba(255, 159, 10, 0.3);
}

@media (max-width: 640px) {
  .model-specs-card {
    padding: 14px 16px;
  }
  .specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .model-flaws-card {
    padding: 14px 16px;
  }
}

/* Real Photorealistic Inspection Images & Lightbox */
.diagram {
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.diagram:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.12);
}

.diagram.has-real-img {
  width: 116px;
  height: 116px;
  aspect-ratio: 1 / 1;
  padding: 4px !important;
  overflow: hidden;
  background: radial-gradient(circle at center, #172033 0%, #080c16 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-sm);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.diagram.has-real-img .inspection-real-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
  border-radius: 6px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.diagram.has-real-img:hover .inspection-real-img {
  transform: scale(1.05);
}

.img-zoom-cue {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 9.5px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.diagram:hover .img-zoom-cue {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 5, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  background: rgba(18, 18, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: calc(100dvh - 40px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(30, 30, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.2s, transform 0.2s;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.06);
}

.lightbox-preview {
  width: 100%;
  height: 380px;
  background: #09090E;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-preview svg {
  max-width: 88%;
  max-height: 88%;
  width: auto;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.65));
}

.lightbox-info {
  padding: 20px 24px 24px;
}

.lightbox-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #64D2FF;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}

.lightbox-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.lightbox-desc {
  font-size: 13.5px;
  color: #A1A1A6;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 640px) {
  .lightbox-content {
    max-width: 100%;
    border-radius: 18px;
  }
  .lightbox-preview {
    height: 260px;
  }
  .diagram {
    width: 100%;
    height: 180px;
  }
}

/* Responsive Styles for Unboxed Editorial Guide Section */
@media (max-width: 992px) {
  .guide-problems-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .guide-problem-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0;
  }
  .guide-problem-card:last-child {
    border-bottom: none;
  }
  .guide-mission-box {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 0;
  }
  .guide-steps-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding-top: 0;
  }
  .guide-steps-flow::before {
    display: none;
  }
  .guide-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .guide-pillar-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 16px;
  }
  .guide-pillar-card:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .guide-pillar-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .guide-faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .guide-faq-item {
    border-right: none !important;
    padding: 24px 0;
  }
}

@media (max-width: 640px) {
  .home-guide-section {
    padding: 56px 18px 80px;
  }
  .guide-container {
    gap: 52px;
  }
  .guide-main-title {
    font-size: 27px;
    line-height: 1.2;
  }
  .guide-main-lead {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .guide-subhead-title {
    font-size: 20px;
    line-height: 1.3;
  }
  .guide-problem-card {
    padding: 28px 0;
  }
  .guide-steps-flow {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 0;
  }
  .guide-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .guide-pillar-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 20px 0 !important;
  }
  .guide-pillar-card:last-child {
    border-bottom: none !important;
  }
  .guide-cta-banner {
    padding: 36px 20px;
    border-radius: 20px;
  }
  .cta-banner-title {
    font-size: 22px;
  }
  .cta-banner-desc {
    font-size: 13.5px;
  }
  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .guide-primary-cta,
  .guide-scroll-top-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }
}


