:root {
  --bg-main: #ffffff;
  --bg-body: #fbfbfd;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.86);
  --bg-glass-strong: rgba(255, 255, 255, 0.95);
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-subtle: #e2e8f0;
  --border-accent: rgba(217, 119, 6, 0.4);
  --accent-gold: #d97706;
  --accent-gold-dark: #b45309;
  --accent-gold-light: #f59e0b;
  --accent-gold-subtle: #fef3c7;
  --accent-copper: #ea580c;
  --accent-emerald: #059669;
  --accent-emerald-subtle: #ecfdf5;
  --accent-crimson: #dc2626;
  --accent-crimson-subtle: #fef2f2;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, -apple-system, "SF Pro Text", Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 8px 24px -4px rgba(217, 119, 6, 0.22);
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-64: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-body);
  background-image: 
    radial-gradient(circle at 50% 0%, #fff7ed 0%, rgba(254, 243, 199, 0.4) 30%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  background-attachment: fixed;
  overflow-x: auto;
}

a {
  color: var(--accent-gold-dark);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-copper);
  text-decoration: underline;
}

h1, h2, h3, h4, .brand-text {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: var(--space-16);
  color: var(--text-muted);
}

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

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Header */
.site-header {
  height: 72px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.header-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-24);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-copper));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.28);
}

.brand-logo svg {
  stroke: #ffffff;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.nav-links {
  display: flex;
  gap: var(--space-24);
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold-dark);
  text-decoration: none;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-copper));
  border-radius: var(--radius-full);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  text-decoration: none;
  color: #ffffff;
  filter: brightness(1.05);
}

/* 3-Dot Mobile Toggle Button */
.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.mobile-toggle:hover {
  background: var(--bg-surface-subtle);
  border-color: rgba(217, 119, 6, 0.4);
  color: var(--accent-gold-dark);
}

.mobile-toggle .icon-menu-close {
  display: none;
}

.mobile-toggle[aria-expanded="true"] {
  background: var(--accent-gold-subtle);
  border-color: var(--accent-gold);
  color: var(--accent-gold-dark);
}

.mobile-toggle[aria-expanded="true"] .icon-menu-dots {
  display: none;
}

.mobile-toggle[aria-expanded="true"] .icon-menu-close {
  display: block;
}

/* Mobile Nav Overlay Panel */
.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-24);
  z-index: 999;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
}

.mobile-nav-panel.is-visible {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.mobile-nav-list .nav-link {
  display: block;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.mobile-nav-list .nav-link:hover,
.mobile-nav-list .nav-link.active {
  background: var(--accent-gold-subtle);
  color: var(--accent-gold-dark);
  text-decoration: none;
}

.mobile-nav-list .nav-link.active::after {
  display: none;
}

.mobile-nav-cta-item {
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--border-subtle);
}

.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.96rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.28);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.mobile-nav-cta:hover {
  text-decoration: none;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-24);
}

.main-content {
  flex: 1 0 auto;
  padding-bottom: var(--space-64);
}

.section {
  padding: var(--space-64) 0;
}

/* Hero Section */
.hero-section {
  padding: var(--space-64) 0 var(--space-40);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--accent-gold-subtle);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-gold-dark);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-24);
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-sm);
}

.hero-badge span {
  color: var(--accent-gold);
}

.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: var(--space-16);
  background: linear-gradient(180deg, #0f172a 0%, #334155 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto var(--space-40);
  color: var(--text-muted);
  line-height: 1.7;
}

/* 3D Interactive WebGL Phone Stage */
.phone-viewport-container {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-32) var(--space-24);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-64);
  overflow: hidden;
}

.phone-viewport-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.8;
}

.device-picker-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-24);
  justify-content: center;
}

.device-tab-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.device-tab-btn:hover {
  background: #ffffff;
  color: var(--accent-gold-dark);
  border-color: rgba(217, 119, 6, 0.4);
  transform: translateY(-1px);
}

.device-tab-btn.is-active {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.viewport-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-32);
  align-items: center;
}

.phone-stage-3d {
  position: relative;
  width: 100%;
  height: 480px;
  background: radial-gradient(circle at 50% 32%, #ffffff 0%, #f1f5f9 65%, #e2e8f0 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03), var(--shadow-sm);
}

#phone-canvas-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#phone-canvas-container:active {
  cursor: grabbing;
}

.three-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.model-3d-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.model-view-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.model-view-btn:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.04);
}

.model-view-btn.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.model-hint-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}

.model-hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 6px rgba(217, 119, 6, 0.6);
}

/* Metric Bars */
.spec-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  background: var(--bg-surface-subtle);
  padding: var(--space-24);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.metric-device-meta {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-16);
  margin-bottom: var(--space-4);
}

.metric-device-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.metric-device-sub {
  font-size: 0.88rem;
  color: var(--accent-gold-dark);
  font-weight: 600;
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
}

.metric-label {
  color: var(--text-muted);
}

.metric-value {
  color: var(--text-main);
  font-weight: 700;
}

.metric-bar-track {
  height: 9px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-copper));
  border-radius: var(--radius-full);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.3);
}

/* Card Style: Glass Overlay with Real Photos */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-24);
}

.card-glass-overlay {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
  box-shadow: var(--shadow-sm);
}

.card-glass-overlay:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.45);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-media-bg {
  position: relative;
  height: 250px;
  width: 100%;
  overflow: hidden;
  background-color: #f1f5f9;
}

.card-media-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-glass-overlay:hover .card-media-bg img {
  transform: scale(1.05);
}

.card-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-gold-dark);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.card-content-overlay {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-gold-dark);
  margin-bottom: var(--space-8);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: var(--space-12);
  color: var(--text-main);
}

.card-excerpt {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: var(--space-24);
  flex-grow: 1;
  line-height: 1.6;
}

.card-stats-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-24);
  padding: 14px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.stat-item-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
}

.stat-item-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

.card-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  background: var(--accent-gold-subtle);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: var(--accent-gold-dark);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.card-link-btn:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: #ffffff;
  text-decoration: none;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

/* Side-by-Side Comparison Table Section */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  margin-top: var(--space-40);
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 820px;
}

.compare-table th,
.compare-table td {
  padding: var(--space-16);
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
}

.compare-table th {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  font-weight: 700;
  border-bottom: 2px solid #cbd5e1;
  letter-spacing: -0.01em;
}

.compare-table tbody tr {
  transition: background-color 0.15s ease;
}

.compare-table tbody tr:hover td {
  background: #fffbeb;
}

.compare-table .phone-header {
  font-size: 0.98rem;
  font-weight: 700;
}

.compare-table .phone-header a {
  color: var(--accent-gold-dark);
  font-weight: 700;
}

.compare-table .phone-header a:hover {
  color: var(--accent-copper);
}

/* Article & Content Template Styling */
.article-header {
  margin-bottom: var(--space-40);
  padding-bottom: var(--space-24);
  border-bottom: 1px solid var(--border-subtle);
}

.article-hero-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: var(--space-16);
  color: var(--text-main);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
}

.article-body h2 {
  font-size: 1.65rem;
  margin-top: var(--space-40);
  margin-bottom: var(--space-16);
  color: var(--text-main);
}

.article-body h3 {
  font-size: 1.25rem;
  margin-top: var(--space-24);
  margin-bottom: var(--space-12);
  color: var(--accent-gold-dark);
}

.article-hero-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-32);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  max-height: 480px;
  background: #f1f5f9;
}

.article-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-sheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-16);
  margin: var(--space-24) 0;
}

.spec-tile {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-16);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.spec-tile:hover {
  border-color: rgba(217, 119, 6, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.spec-tile-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.spec-tile-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
  margin: var(--space-40) 0;
}

.pros-card, .cons-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: var(--space-24);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.pros-card {
  border-left: 4px solid var(--accent-emerald);
  background: var(--accent-emerald-subtle);
}

.cons-card {
  border-left: 4px solid var(--accent-crimson);
  background: var(--accent-crimson-subtle);
}

.pros-card h3 {
  color: var(--accent-emerald) !important;
  font-weight: 700;
}

.cons-card h3 {
  color: var(--accent-crimson) !important;
  font-weight: 700;
}

.pros-card ul, .cons-card ul {
  list-style: none;
  margin-top: var(--space-12);
}

.pros-card li, .cons-card li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.55;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-40);
  align-items: start;
}

.contact-card-box {
  background: #ffffff;
  padding: var(--space-40);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-24);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-8);
  color: var(--text-main);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-input.is-invalid, .form-textarea.is-invalid {
  border-color: #ef4444;
}

.error-message {
  color: #dc2626;
  font-size: 0.82rem;
  margin-top: 6px;
  font-weight: 500;
  display: none;
}

.error-message.is-visible {
  display: block;
}

.btn-submit {
  padding: 13px 30px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.38);
  filter: brightness(1.05);
}

.static-map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f8fafc 100%);
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-24);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
  background-color: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-64) 0 var(--space-40);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-40);
  margin-bottom: var(--space-40);
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: var(--space-16);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--accent-gold-dark);
}

.footer-legal-bar {
  padding-top: var(--space-24);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Cookie Banner */
.cookie-banner-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-24);
  z-index: 9999;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
}

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

.cookie-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
}

.cookie-content p {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  gap: var(--space-12);
  flex-shrink: 0;
}

.btn-cookie-accept {
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn-cookie-reject {
  padding: 9px 18px;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-reject:hover {
  background: var(--bg-surface-subtle);
}

.btn-cookie-pref {
  padding: 9px 18px;
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-pref:hover {
  color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .viewport-layout {
    grid-template-columns: 1fr;
  }
  .phone-stage-3d {
    height: 400px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }
  .mobile-nav-panel {
    top: 64px;
    max-height: calc(100vh - 64px);
  }
  .nav-links, .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .container {
    padding: 0 var(--space-16);
  }
  .header-container {
    padding: 0 var(--space-16);
  }
  .device-picker-nav {
    gap: 6px;
  }
  .device-tab-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
  .phone-stage-3d {
    height: 340px;
  }
}

@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;
  }
}