/* ==========================================================================
   VIEWVILLAGEPCKBRD - DESIGN SYSTEM & STYLESHEET
   Aesthetic: Emerald Obsidian & Warm Amber (Zero Blue Palette)
   Card Style: Data Grid with High-Definition Real Product Imaging
   Features: Interactive CSS 3D Smartphone Model with Dynamic Lighting
   ========================================================================== */

:root {
  /* Color Palette - Completely Blue-Free, Emerald & Obsidian Theme */
  --color-bg: #f8faf7;
  --color-surface: #ffffff;
  --color-surface-subtle: #f1f4ee;
  --color-surface-tint: #ecfdf5;
  --color-text-main: #141814;
  --color-text-muted: #4a5449;
  --color-text-light: #6d786c;
  --color-border: #e0e6dd;
  --color-border-dark: #cbd4c8;

  /* Accent Emerald & Warm Gold-Amber */
  --color-primary: #059669;
  --color-primary-hover: #047857;
  --color-primary-light: #d1fae5;
  --color-primary-dark: #064e3b;
  --color-accent: #d97706;
  --color-accent-hover: #b45309;
  --color-accent-light: #fef3c7;
  --color-focus: #059669;
  --color-error: #dc2626;
  --color-error-bg: #fef2f2;

  /* Dark Surface Elements */
  --color-dark-bg: #121614;
  --color-dark-surface: #1a201c;
  --color-dark-border: #2e3831;
  --color-dark-text: #e2e8e0;
  --color-dark-muted: #95a393;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --line-height-normal: 1.6;
  --line-height-tight: 1.25;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(18, 22, 20, 0.06);
  --shadow-md: 0 4px 8px -1px rgba(18, 22, 20, 0.08), 0 2px 4px -2px rgba(18, 22, 20, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(18, 22, 20, 0.12), 0 4px 6px -2px rgba(18, 22, 20, 0.04);
  --shadow-3d: 0 20px 40px -10px rgba(5, 150, 105, 0.25), 0 30px 60px -15px rgba(0, 0, 0, 0.35);
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1200px;
}

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

html {
  font-size: 16px;
  color-scheme: light;
  scroll-behavior: smooth;
  background-color: var(--color-bg);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: var(--line-height-normal);
  min-width: 0;
}

h1, h2, h3, h4, h5, h6,
.brand-name,
.nav-link,
.btn {
  overflow-wrap: anywhere;
}

h1, h2, h3, h4 {
  color: var(--color-text-main);
  line-height: var(--line-height-tight);
}

p {
  margin-bottom: 16px;
}

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

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-primary-hover);
}

img, svg {
  display: block;
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

/* Layout Utilities */
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  min-width: 0;
}

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

.text-center {
  text-align: center;
}

.section-head {
  margin-bottom: 40px;
}

.text-center .section-head {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 8px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Badges */
.badge-pill {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-tint);
  color: var(--color-primary);
  border: 1px solid rgba(5, 150, 105, 0.2);
  margin-bottom: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-text-main);
  border-color: var(--color-border-dark);
}

.btn-secondary:hover {
  background-color: var(--color-surface-subtle);
  color: var(--color-text-main);
  border-color: var(--color-primary);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-text-main);
  border-color: var(--color-border-dark);
}

.btn-outline-dark:hover {
  background-color: var(--color-surface-subtle);
  color: var(--color-text-main);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  min-height: 38px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HEADER COMPONENT
   ========================================================================== */
.site-header {
  position: relative;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: 64px;
  z-index: 100;
}

.header-inner {
  height: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-main);
  min-width: 0;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
}

.nav-menu {
  display: flex;
  align-items: center;
  min-width: 0;
}

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

.nav-link {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 8px 4px;
  transition: color 0.15s ease;
}

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

.header-cta-wrapper {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-text-main);
  margin: 4px 0;
}

/* ==========================================================================
   HERO SECTION & 3D SMARTPHONE MODEL
   ========================================================================== */
.hero-section {
  padding-top: 64px;
  padding-bottom: 72px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8f3 100%);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

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

.hero-title {
  font-size: 2.85rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.18;
}

.hero-lead {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Interactive 3D Model Stage */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.model-stage-3d {
  perspective: 1200px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-model-3d {
  position: relative;
  width: 300px;
  height: 520px;
  background: #111412;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 
    0 0 0 2px #2f3832,
    0 0 0 5px #1c221e,
    -15px 25px 50px rgba(0, 0, 0, 0.4),
    0 15px 35px rgba(5, 150, 105, 0.2);
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(10deg) rotateZ(-2deg);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: grab;
}

.phone-model-3d:active {
  cursor: grabbing;
}

/* 3D Hardware Buttons & Chassis Bevel */
.phone-volume-keys {
  position: absolute;
  top: 110px;
  left: -7px;
  width: 4px;
  height: 90px;
  background: #2b332d;
  border-radius: 3px 0 0 3px;
  box-shadow: -2px 0 4px rgba(0,0,0,0.5);
}

.phone-power-key {
  position: absolute;
  top: 140px;
  right: -7px;
  width: 4px;
  height: 55px;
  background: #2b332d;
  border-radius: 0 3px 3px 0;
  box-shadow: 2px 0 4px rgba(0,0,0,0.5);
}

.phone-camera-island {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 96px;
  height: 96px;
  background: #1a201c;
  border-radius: 24px;
  box-shadow: 
    0 4px 10px rgba(0,0,0,0.5),
    inset 0 1px 1px rgba(255,255,255,0.1);
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 8px;
}

.camera-lens-pair {
  display: flex;
  justify-content: space-around;
}

.camera-lens {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #059669 0%, #064e3b 35%, #0a0d0b 70%);
  border: 2px solid #3d4941;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8), 0 2px 4px rgba(0,0,0,0.4);
}

.camera-flash {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fef08a;
  border: 2px solid #854d0e;
  box-shadow: 0 0 8px #fef08a;
}

/* 3D Glass Screen */
.phone-screen-3d {
  position: relative;
  width: 100%;
  height: 100%;
  background: #161b17;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.06);
}

.phone-screen-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 65%);
  pointer-events: none;
  z-index: 15;
}

.phone-dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  z-index: 25;
}

.screen-content-render {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-bg-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(1.2) contrast(1.1);
}

.screen-overlay-panel {
  position: relative;
  z-index: 10;
  padding: 44px 18px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f1f5f0;
  background: linear-gradient(180deg, rgba(17,20,18,0.75) 0%, rgba(17,20,18,0.4) 40%, rgba(17,20,18,0.92) 100%);
}

.screen-bench-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a7f3d0;
  background: rgba(5, 150, 105, 0.25);
  border: 1px solid rgba(5, 150, 105, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.screen-spec-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-spec-row {
  display: flex;
  justify-content: space-between;
  background: rgba(22, 27, 23, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
}

.mini-spec-row span {
  color: #9ca3af;
}

.mini-spec-row strong {
  color: #34d399;
}

.model-3d-caption {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   DYNAMIC BUDGET SLIDER SECTION
   ========================================================================== */
.budget-calc-section {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.slider-control-card {
  max-width: 840px;
  margin: 0 auto;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.slider-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.slider-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.slider-output-val {
  font-size: 1.85rem;
  font-weight: 850;
  color: var(--color-primary);
}

.range-slider {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-full);
  background: #cbd4c8;
  accent-color: var(--color-primary);
  outline: none;
  cursor: pointer;
  margin-bottom: 8px;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.slider-result-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.result-tier-name {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.result-tier-desc {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.result-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.result-spec-item {
  background-color: var(--color-bg);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.spec-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}

.spec-value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
}

/* ==========================================================================
   PRODUCT CARDS GRID (With Real Photography & Data Grid)
   ========================================================================== */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.data-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  min-width: 0;
}

.data-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* Card Real Photography Media */
.card-media-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #1a201c;
  overflow: hidden;
}

.card-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.data-card:hover .card-product-img {
  transform: scale(1.04);
}

.card-media-overlay-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(18, 22, 20, 0.82);
  backdrop-filter: blur(6px);
  color: #a7f3d0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(5, 150, 105, 0.4);
}

/* Card Header Stats Block */
.data-card-header {
  background-color: var(--color-surface-subtle);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 20px;
}

.stats-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
}

.grid-stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.grid-stat-cell:last-child {
  border-right: none;
}

.stat-meta {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--color-text-light);
  font-weight: 700;
  margin-bottom: 12px;
}

.stat-number {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-primary);
}

.data-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #ecfdf5;
  color: var(--color-primary);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge-sub {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--color-surface-subtle);
  color: var(--color-text-muted);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.card-item-title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.card-item-title a {
  color: var(--color-text-main);
  text-decoration: none;
}

.card-item-title a:hover {
  color: var(--color-primary);
}

.card-item-summary {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-spec-breakdown {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}

.spec-bullet {
  font-size: 0.875rem;
  color: var(--color-text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-bullet:last-child {
  margin-bottom: 0;
}

.bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  flex-shrink: 0;
}

.data-card-footer {
  margin-top: auto;
}

.card-cta {
  width: 100%;
}

/* ==========================================================================
   COMPARISON MATRIX TABLE
   ========================================================================== */
.comparison-matrix-section {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.table-responsive-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
  min-width: 650px;
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.data-table thead th {
  background-color: var(--color-surface-subtle);
  color: var(--color-text-main);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background-color: #f6faf5;
}

.table-score {
  font-weight: 800;
  color: var(--color-primary);
}

/* ==========================================================================
   SUPPORTING SECTION: METHODOLOGY & ADVISORY
   ========================================================================== */
.support-section {
  background-color: var(--color-bg);
}

.support-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.support-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.method-card-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.method-card {
  display: flex;
  gap: 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.method-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--color-surface-tint);
  color: var(--color-primary);
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.method-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.advisory-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.advisory-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.advisory-text {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.advisory-stat-box {
  background-color: var(--color-surface-tint);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.adv-stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.adv-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.advisory-note {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* ==========================================================================
   SUB-PAGE & ARTICLE STYLING (With Real Product Visuals)
   ========================================================================== */
.article-page {
  padding-top: 40px;
  padding-bottom: 64px;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb-trail a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb-trail a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--color-border-dark);
}

.article-header {
  max-width: 860px;
  margin-bottom: 32px;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
  margin-bottom: 16px;
}

.article-subtitle {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Real Image Feature Showcase */
.article-hero-media {
  max-width: 860px;
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  background: #141814;
}

.article-feature-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.media-caption {
  padding: 12px 18px;
  background: var(--color-surface-subtle);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.subpage-stat-card {
  margin-bottom: 40px;
  max-width: 860px;
}

.article-body-content {
  max-width: 860px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #141814;
}

.article-body-content h2 {
  font-size: 1.625rem;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.article-body-content p {
  margin-bottom: 20px;
}

.article-callout-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.article-callout-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.pro-con-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pro-column h4 {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.con-column h4 {
  color: var(--color-error);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pro-column ul,
.con-column ul {
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.pro-column li,
.con-column li {
  margin-bottom: 8px;
}

.article-nav-strip {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page-wrapper {
  padding-top: 40px;
  padding-bottom: 64px;
}

.legal-header {
  max-width: 860px;
  margin-bottom: 32px;
}

.legal-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.legal-content-card {
  max-width: 860px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-main);
}

.legal-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.legal-section p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.legal-section ul {
  padding-left: 20px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-contact-callout {
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 16px;
  font-size: 0.9375rem;
}

.cookie-reset-box {
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reset-confirm-msg {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* ==========================================================================
   CONTACT PAGE & FORMS
   ========================================================================== */
.contact-page-wrapper {
  padding-top: 40px;
  padding-bottom: 64px;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.card-section-title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-intro-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.req-star {
  color: var(--color-error);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  color: var(--color-text-main);
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
}

.form-control.is-invalid {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

.textarea-control {
  resize: vertical;
}

.form-error-msg {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: 4px;
  min-height: 1.2em;
}

.consent-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-label {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.form-success-banner {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.9375rem;
}

/* Contact Info Column */
.info-card {
  margin-bottom: 24px;
}

.detail-block {
  margin-bottom: 20px;
}

.detail-block:last-child {
  margin-bottom: 0;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.detail-text {
  font-size: 0.9375rem;
  color: var(--color-text-main);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Static Map Block (Styled in Emerald/Slate-Graphite, No Blue) */
.static-map-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.static-map-graphic {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e5eae3;
}

.map-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background-color: rgba(18, 22, 20, 0.88);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  font-size: 0.8125rem;
  border: 1px solid rgba(5, 150, 105, 0.35);
}

.map-badge-overlay strong {
  display: block;
  color: #ffffff;
}

.map-badge-overlay span {
  display: block;
  color: #a7f3d0;
  font-size: 0.75rem;
}

/* ==========================================================================
   FOOTER COMPONENT (Deep Charcoal & Emerald Accents, Zero Blue)
   ========================================================================== */
.site-footer {
  background-color: #121614;
  color: #9ba69a;
  padding-top: 64px;
  padding-bottom: 32px;
  border-top: 1px solid #28322a;
}

.footer-primary-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-col .brand-link {
  color: #f1f5f0;
  margin-bottom: 16px;
}

.footer-brand-col .brand-name {
  color: #f1f5f0;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9ba69a;
  margin-bottom: 24px;
  max-width: 440px;
}

.footer-contact-details {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #c5d0c4;
}

.footer-contact-details p {
  margin-bottom: 6px;
}

.footer-contact-details a {
  color: #34d399;
}

.footer-heading {
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f1f5f0;
  margin-bottom: 20px;
}

.footer-link-list {
  list-style: none;
}

.footer-link-list li {
  margin-bottom: 12px;
}

.footer-link-list a {
  font-size: 0.875rem;
  color: #9ba69a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link-list a:hover,
.footer-link-list a.is-active {
  color: #34d399;
  text-decoration: underline;
}

.footer-bottom-bar {
  padding-top: 24px;
  border-top: 1px solid #202722;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8125rem;
  color: #6b776a;
}

.copyright-notice {
  color: #9ba69a;
  margin-bottom: 0;
}

.footer-disclaimer {
  margin-bottom: 0;
}

/* ==========================================================================
   COOKIE CONSENT BANNER (Fixed Bottom, Emerald Accent)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #121614;
  color: #f1f5f0;
  border-top: 1px solid #28322a;
  padding: 18px 0;
  z-index: 999;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.25);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text-block {
  flex: 1 1 300px;
}

.cookie-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.cookie-desc {
  font-size: 0.8125rem;
  color: #9ba69a;
  margin-bottom: 0;
  line-height: 1.5;
}

.cookie-desc a {
  color: #34d399;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-actions .btn-outline-dark {
  border-color: #3d4941;
  color: #f1f5f0;
}

.cookie-actions .btn-outline-dark:hover {
  background-color: #1c221e;
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-visual {
    order: -1;
  }

  .phone-model-3d {
    width: 270px;
    height: 480px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-primary-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 52px;
  }

  .header-cta-wrapper {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    border-bottom: 2px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 24px;
  }

  .nav-menu.is-visible {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 8px 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--color-border);
  }

  .hero-title {
    font-size: 2.125rem;
  }

  .result-specs-grid {
    grid-template-columns: 1fr;
  }

  .slider-control-card {
    padding: 24px 16px;
  }

  .legal-content-card {
    padding: 24px 16px;
  }

  .contact-card {
    padding: 24px 16px;
  }

  .article-feature-img {
    height: 280px;
  }
}

@media (max-width: 400px) {
  .site-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .phone-model-3d {
    width: 250px;
    height: 440px;
  }

  .stats-data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .grid-stat-cell:nth-child(2) {
    border-right: none;
  }

  .grid-stat-cell:nth-child(1),
  .grid-stat-cell:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .phone-model-3d {
    transform: none !important;
    transition: none !important;
  }
}