/* ==========================================================================
   NetMirror for iOS Design System
   Inspired by Neon Dark High-Impact UI (Electric Magenta -> Sunset Orange)
   Crafted for Maximum Core Web Vitals, Mobile Responsiveness, and E-E-A-T
   ========================================================================== */

:root {
  --bg-dark: #07070B;
  --bg-surface: #0E0D17;
  --bg-card: rgba(20, 18, 33, 0.72);
  --bg-card-hover: rgba(30, 27, 50, 0.85);
  --bg-card-solid: #131222;
  --bg-pill: rgba(255, 255, 255, 0.05);

  --text-main: #FFFFFF;
  --text-body: #C2C2D6;
  --text-muted: #8282A4;
  --text-highlight: #FF4588;

  --neon-magenta: #FF007F;
  --neon-pink: #FF1493;
  --neon-orange: #FF6600;
  --neon-amber: #FFA500;
  --neon-purple: #7928CA;
  --neon-cyan: #00F0FF;
  --neon-green: #10B981;

  --grad-primary: linear-gradient(135deg, #FF007F 0%, #FF6600 100%);
  --grad-primary-hover: linear-gradient(135deg, #FF1A8C 0%, #FF771A 100%);
  --grad-subtle: linear-gradient(135deg, rgba(255, 0, 127, 0.12) 0%, rgba(255, 102, 0, 0.12) 100%);
  --grad-purple-pink: linear-gradient(135deg, #6366F1 0%, #D946EF 100%);
  --grad-dark-glow: radial-gradient(circle at 50% 0%, rgba(255, 0, 127, 0.18) 0%, transparent 60%);

  --border-glass: rgba(255, 255, 255, 0.09);
  --border-neon: rgba(255, 0, 127, 0.35);
  --border-orange: rgba(255, 102, 0, 0.4);

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-neon: 0 0 25px rgba(255, 0, 127, 0.35);
  --shadow-orange: 0 0 25px rgba(255, 102, 0, 0.35);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1200px;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
}

code, pre, kbd, samp, .mono-text, [style*="monospace"] {
  word-break: break-all;
  overflow-wrap: anywhere;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-body);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Glows */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255, 0, 127, 0.12) 0%, rgba(255, 102, 0, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--neon-orange);
}

/* Accessible Inline Links for WCAG 2.1 AA Compliance */
p a,
.pro-tip-content a,
.lab-insight-text a {
  color: var(--neon-orange);
  text-decoration: underline;
  text-decoration-color: rgba(255, 102, 0, 0.7);
  text-underline-offset: 3px;
  font-weight: 600;
}

p a:hover,
.pro-tip-content a:hover,
.lab-insight-text a:hover {
  color: #FFF;
  text-decoration-color: var(--neon-magenta);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Top Verified Status Bar */
.top-notice-bar {
  background: rgba(14, 13, 23, 0.85);
  border-bottom: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  font-size: 0.815rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 100;
}

.notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-body);
}

.notice-pill strong {
  color: var(--text-main);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

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

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #10B981; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(7, 7, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 99;
  padding: 0.85rem 0;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.35rem;
  color: #FFF;
  box-shadow: 0 0 18px rgba(255, 0, 127, 0.4);
}

.brand-text-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-text-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-orange);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #FFF;
  background: var(--bg-pill);
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Mobile Toggle Button */
.mobile-toggle,
.mobile-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mobile-toggle:hover,
.mobile-toggle-btn:hover {
  background: rgba(255, 0, 127, 0.15);
  border-color: var(--neon-magenta);
  color: #FFF;
}

/* Fullscreen Modern Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(7, 7, 11, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.25rem;
}

.close-drawer-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #FFF;
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-drawer-btn:hover {
  background: rgba(255, 0, 127, 0.2);
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
}

.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.mobile-nav-group-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon-orange);
  font-weight: 800;
  margin: 1.25rem 0 0.35rem;
  padding-left: 0.5rem;
}

.mobile-nav-group-title:first-child {
  margin-top: 0;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.8rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none !important;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(255, 0, 127, 0.12);
  color: #FFF;
  padding-left: 1rem;
}

.mobile-nav-link.active {
  color: var(--neon-orange);
  background: rgba(255, 102, 0, 0.1);
  font-weight: 700;
}

.mobile-drawer-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-glass);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Primary Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-primary);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 0, 127, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--grad-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 102, 0, 0.5);
  color: #FFFFFF !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-orange);
  color: #FFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Direct AI Overview Hook Box (Targeting Position 0 / Answer Engines) */
.ai-overview-answer-card {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.08) 0%, rgba(255, 102, 0, 0.05) 100%);
  border: 1px solid rgba(255, 0, 127, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0 2.5rem;
  position: relative;
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.1);
}

.ai-answer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--grad-primary);
  color: #FFF;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.ai-meta-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ai-answer-lead {
  font-size: 1.075rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.ai-answer-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 2.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.pill-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--grad-subtle);
  border: 1px solid rgba(255, 0, 127, 0.3);
  color: #FF70A6;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-glass);
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-main);
}

.stat-pill .icon-green {
  color: #10B981;
}

.stat-pill .icon-amber {
  color: #F59E0B;
}

/* Hero Media Display */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
}

.hero-visual-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  transition: transform 0.5s ease;
}

.hero-visual-card:hover img {
  transform: scale(1.02);
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(7, 7, 11, 0.95) 0%, rgba(7, 7, 11, 0.4) 70%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-overlay-text h4,
.card-overlay-heading {
  color: #FFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card-overlay-text p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Section Headings */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.785rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Feature Grid & Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neon);
  box-shadow: 0 15px 35px -10px rgba(255, 0, 127, 0.2);
}

.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--grad-subtle);
  border: 1px solid rgba(255, 0, 127, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--neon-magenta);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.785rem;
  font-weight: 700;
  color: var(--neon-orange);
  background: rgba(255, 102, 0, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* 3-Step Setup Wizard */
.setup-wizard-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 5rem 0;
  margin: 4rem 0;
  position: relative;
}

.wizard-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.step-number-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFF;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.step-code-snippet {
  background: #050508;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-family: monospace;
  font-size: 0.85rem;
  color: #38BDF8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-copy-code {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.btn-copy-code:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.1);
}

/* Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  margin-bottom: 4rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-glass);
}

.comparison-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-body);
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.785rem;
  font-weight: 700;
}

.badge-yes {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
}

.badge-no {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
}

.badge-partial {
  background: rgba(245, 158, 11, 0.12);
  color: #FBBF24;
}

/* Author / E-E-A-T Box */
.author-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 4rem 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(255, 0, 127, 0.15);
}

.author-avatar-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--neon-magenta);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.35);
}

.author-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neon-orange);
  margin-bottom: 0.85rem;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.author-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.social-pill-btn:hover {
  background: var(--grad-primary);
  color: #FFF;
  border-color: transparent;
  transform: translateY(-2px);
}

/* FAQ Accordion */
.faq-section {
  max-width: 900px;
  margin: 0 auto 5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover, .faq-item.active {
  border-color: var(--border-neon);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--neon-orange);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* CTA Download Footer Block */
.cta-banner-section {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.15) 0%, rgba(255, 102, 0, 0.15) 100%);
  border: 1px solid rgba(255, 0, 127, 0.4);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 4rem 0;
  position: relative;
  box-shadow: 0 0 40px rgba(255, 0, 127, 0.2);
}

.cta-banner-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #FFF;
  margin-bottom: 1rem;
}

.cta-banner-section p {
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: var(--text-body);
}

/* Footer */
.site-footer {
  background: #050508;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4,
.footer-col .footer-heading,
.footer-heading {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav-list a:hover {
  color: var(--neon-orange);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Media Queries & Advanced Mobile Polish */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .wizard-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .author-profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-avatar-wrap {
    margin: 0 auto;
  }
  .author-social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }
  /* Hide the header 'Official APK' button so header NEVER wraps or squishes on mobile */
  .header-action-group .btn-primary,
  .header-action-group .btn-sm {
    display: none !important;
  }
  .mobile-toggle,
  .mobile-toggle-btn {
    display: inline-flex !important;
  }
  .site-header {
    padding: 0.5rem 0;
  }
  .header-inner {
    padding: 0;
    min-height: 48px;
  }
  .brand-text-subtitle {
    display: none !important; /* Keep brand text compact on mobile */
  }
  .brand-icon-box {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
  .brand-text-title {
    font-size: 1.15rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  /* Mobile Tables with smooth horizontal touch scrolling */
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
  }
  .comparison-table,
  .data-table {
    min-width: 580px; /* guarantees columns don't compress into vertical noodles */
  }
  .table-responsive::after {
    content: '⇄ Swipe table horizontally to inspect all metrics';
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--neon-orange);
    background: rgba(255, 102, 0, 0.08);
    text-align: center;
    border-top: 1px solid var(--border-glass);
    font-weight: 600;
  }
}

@media (max-width: 640px) {
  /* Container Padding on Mobile */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .hero-section {
    padding: 2rem 0 3rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.2rem) !important;
    line-height: 1.2;
  }
  .section-title {
    font-size: clamp(1.4rem, 5vw, 1.75rem) !important;
    line-height: 1.25;
  }
  .hero-lead,
  .section-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  /* Cards on Mobile */
  .card-glass,
  .feature-card,
  .step-card,
  .pro-tip-box,
  .lab-insight-box,
  .ai-overview-answer-card,
  .author-profile-card {
    padding: 1.25rem 1rem !important;
  }
  /* Buttons on Mobile: full width, 48px min touch target */
  .hero-cta-group,
  .hero-actions,
  .cta-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary,
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .cta-actions .btn-primary,
  .cta-actions .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
    font-size: 0.925rem !important;
  }
  /* Stat row: 2x2 grid */
  .hero-stat-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .stat-pill {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    padding: 0.4rem 0.5rem !important;
  }
  /* Device Diagnostic Selector */
  .device-diagnostic-selector {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .diag-device-btn {
    width: 100% !important;
    padding: 0.65rem 0.5rem !important;
    font-size: 0.8rem !important;
    min-height: 44px !important;
    text-align: center !important;
  }
  /* Tab Navigation in Guides */
  .tab-navigation {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }
  .tab-navigation .tab-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 44px !important;
  }
  /* Vertical Connected Timelines on Mobile */
  .timeline-steps {
    padding-left: 0 !important;
  }
  .timeline-steps::before {
    display: none !important;
  }
  .timeline-step-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .timeline-node {
    align-self: flex-start !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
  }
  .timeline-card {
    width: 100% !important;
  }
  /* Top Notice Bar on Mobile */
  .top-notice-bar {
    font-size: 0.72rem;
    padding: 0.35rem 0;
  }
  .notice-inner {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
  /* Interactive video player controls */
  .player-buttons-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }
  .player-interactive-btn {
    width: 100% !important;
    min-height: 40px !important;
    text-align: center !important;
  }
  /* Form Inputs (prevent iOS Safari zoom) */
  input,
  textarea,
  select {
    font-size: 16px !important;
    max-width: 100% !important;
  }
  /* Figures and code blocks */
  .article-featured-figure,
  .article-inline-figure {
    margin: 1.25rem 0 !important;
    border-radius: var(--radius-sm) !important;
  }
  figure figcaption {
    font-size: 0.78rem !important;
    padding: 0.65rem 0.85rem !important;
  }
  .step-code-snippet,
  pre,
  code {
    max-width: 100% !important;
    overflow-x: auto !important;
    word-break: break-word !important;
    font-size: 0.8rem !important;
  }
}

/* ==========================================================================
   Advanced Animations & Dynamic Micro-Interactions
   ========================================================================== */

/* Reading Progress Bar */
#readingProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #FF007F, #FF6600, #00F0FF);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.8), 0 0 5px rgba(255, 102, 0, 0.6);
  z-index: 99999;
  transition: width 0.1s ease-out;
}

/* Back to Top Floating Button */
#backToTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 13, 23, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 0, 127, 0.4);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#backToTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#backToTopBtn:hover {
  border-color: #FF007F;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.6), 0 0 35px rgba(255, 102, 0, 0.4);
  transform: translateY(-3px) scale(1.08);
}

/* Floating Animations */
@keyframes floatBadge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}

.hero-badge, .pill-badge, .live-badge {
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes pulseNeonRing {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.4); }
  70% { transform: scale(1.02); opacity: 1; box-shadow: 0 0 0 8px rgba(255, 0, 127, 0); }
  100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
}

.pulse-ring-glow {
  animation: pulseNeonRing 3s infinite;
}

/* Subtle Shimmer for Gradient Text */
@keyframes gradientShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text {
  background: linear-gradient(135deg, #FF007F 0%, #FF6600 50%, #FF1493 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShimmer 6s ease infinite;
}

/* Card Hover Micro-Lift & Neon Border Glow */
.feature-card, .card-glass, .step-card, .hero-visual-card {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover, .card-glass:hover, .step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 127, 0.5);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 0, 127, 0.25);
}

/* Interactive Button Hover Physics */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.2s ease;
}

.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.55), 0 0 20px rgba(255, 102, 0, 0.35);
  filter: brightness(1.08);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 102, 0, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 102, 0, 0.2);
}

/* Shimmer Highlight Effect on Primary Buttons */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.btn-primary:hover::after {
  left: 140%;
}

/* Responsive Table Horizontal Scrolling with Custom Scrollbar */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  position: relative;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}
.table-responsive::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 127, 0.4);
  border-radius: 9999px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: var(--neon-magenta);
}

/* ==========================================================================
   Smooth Scroll Reveal & Reading Micro-Interactions
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }

/* Interactive Reading Time & Progress Pill */
.read-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.read-meta-pill strong {
  color: var(--neon-orange);
}

/* Pro-Tip & Security Callout Boxes */
.pro-tip-box {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.08) 0%, rgba(255, 0, 127, 0.04) 100%);
  border: 1px solid rgba(255, 102, 0, 0.3);
  border-left: 4px solid var(--neon-orange);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}

.pro-tip-box h4 {
  color: var(--neon-orange);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pro-tip-box p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.62;
  margin: 0;
}

.lab-insight-box {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(121, 40, 202, 0.05) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-left: 4px solid var(--neon-cyan);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.lab-insight-box h4 {
  color: var(--neon-cyan);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lab-insight-box p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.62;
  margin: 0;
}

/* Connected Step-by-Step Flow Line */
.timeline-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2rem 0;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-magenta) 0%, var(--neon-orange) 50%, rgba(255, 255, 255, 0.1) 100%);
  z-index: 0;
}

@media (max-width: 640px) {
  .timeline-steps::before {
    left: 19px;
  }
}

.timeline-step-item {
  position: relative;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  z-index: 1;
}

.timeline-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--neon-magenta);
  color: #FFF;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 640px) {
  .timeline-node {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}

.timeline-step-item:hover .timeline-node {
  transform: scale(1.1);
  border-color: var(--neon-orange);
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
}

.timeline-card {
  flex: 1;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.timeline-card:hover {
  border-color: rgba(255, 0, 127, 0.4);
  transform: translateY(-2px);
}

/* Interactive Device Selector Widget */
.device-diagnostic-widget {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 3rem 0;
  box-shadow: 0 15px 40px -15px rgba(0,0,0,0.8), 0 0 25px rgba(255, 0, 127, 0.15);
  position: relative;
  overflow: hidden;
}

.device-diagnostic-widget::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.device-selector-tabs {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
}

.device-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.device-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  border-color: rgba(255, 102, 0, 0.4);
}

.device-tab-btn.active {
  background: var(--grad-primary);
  color: #FFF;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(255, 0, 127, 0.45);
}

.device-output-box {
  background: rgba(14, 13, 23, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  animation: fadeInPanel 0.35s ease;
}

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

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.diag-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.diag-item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.diag-item-value {
  font-size: 0.98rem;
  color: #FFF;
  font-weight: 700;
}

/* Interactive Video Player Mockup Preview */
.interactive-player-container {
  background: #0B0A14;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8);
  margin: 2.5rem 0;
}

.player-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(18, 16, 29, 0.95);
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.82rem;
}

.player-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #10B981;
  font-weight: 600;
}

.player-screen-area {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  background: #050508;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.player-screen-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.player-controls-strip {
  padding: 1rem 1.25rem;
  background: rgba(14, 13, 23, 0.98);
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.player-scrubber {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
}

.player-scrubber-fill {
  width: 42%;
  height: 100%;
  background: var(--grad-primary);
  border-radius: 9999px;
  position: relative;
}

.player-scrubber-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  width: 12px;
  height: 12px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.8);
}

.player-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.player-interactive-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.player-interactive-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
}

.player-interactive-btn.active {
  background: rgba(255, 0, 127, 0.2);
  border-color: var(--neon-magenta);
  color: #FFF;
}

/* ==========================================================================
   Article Media, Infographics & Human-Crafted Editorial Styling
   ========================================================================== */
.article-featured-figure,
.article-inline-figure {
  margin: 2.25rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-neon);
  background: var(--bg-surface);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.article-featured-figure:hover,
.article-inline-figure:hover {
  border-color: var(--neon-orange);
}

.responsive-hero-img,
.responsive-article-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
}

figure figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(14, 13, 23, 0.95);
  border-top: 1px solid var(--border-glass);
  text-align: center;
  line-height: 1.5;
}

figure figcaption strong {
  color: #FFF;
}

/* Diagnostic & Troubleshooting Cards Grid */
.diagnostic-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.diagnostic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.diagnostic-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-neon);
  box-shadow: var(--shadow-neon);
}

.diagnostic-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.diagnostic-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(255, 0, 127, 0.15);
  border: 1px solid rgba(255, 0, 127, 0.3);
  color: var(--neon-magenta);
}

.diagnostic-icon-box.orange {
  background: rgba(255, 102, 0, 0.15);
  border-color: rgba(255, 102, 0, 0.3);
  color: var(--neon-orange);
}

.diagnostic-icon-box.cyan {
  background: rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
}

.diagnostic-icon-box.green {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--neon-green);
}

.diagnostic-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
}

.diagnostic-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  margin-top: 0.85rem;
}

.diagnostic-action-pill strong {
  color: var(--neon-orange);
}

/* Comparison Metric Bars */
.spec-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
}

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

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
