:root {
  --canvas: #09090b;
  --surface: #121215;
  --surface-elevated: #18181b;
  --surface-subtle: #16161a;
  --surface-hover: #1f1f24;
  --border: #27272a;
  --border-highlight: #3f3f46;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-muted: rgba(99, 102, 241, 0.15);
  --positive: #10b981;
  --positive-muted: rgba(16, 185, 129, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background-color: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--canvas);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background Ambient Lighting */
.ambient-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(16, 185, 129, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navigation Header */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--positive);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 80px 0 50px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-highlight);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 10px var(--positive);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-gradient {
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 75%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 400;
}

/* Download Section (Dual Cards) */
.download-hub {
  padding: 20px 0 70px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
  align-items: stretch;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.download-card.primary {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, var(--surface) 100%);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--positive-muted);
  color: var(--positive);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.platform-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.platform-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.meta-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.meta-item svg {
  width: 16px;
  height: 16px;
  fill: var(--positive);
  flex-shrink: 0;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.2s;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-download:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

.btn-download.android {
  background: #0ea5e9;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.btn-download.android:hover {
  background: #0284c7;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.file-info {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-family: var(--font-mono);
}

/* QR Code Section for Android */
.qr-container {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 18px;
}

.qr-box {
  width: 96px;
  height: 96px;
  background: #ffffff;
  padding: 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-box img, .qr-box svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.qr-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* Windows Performance & Specs Grid (Option 1) */
.windows-badge-container {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.windows-specs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.specs-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.specs-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

.specs-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.spec-cell {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.2s;
}

.spec-cell:hover {
  border-color: var(--border-highlight);
}

.spec-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.spec-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Features Section */
.features {
  padding: 70px 0;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-icon.emerald {
  color: var(--positive);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Installation Guide */
.guide {
  padding: 70px 0;
  border-top: 1px solid var(--border);
}

.guide-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.tab-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--surface-elevated);
  border-color: var(--accent);
  color: var(--text-primary);
}

.guide-panel {
  display: none;
}

.guide-panel.active {
  display: block;
}

.guide-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  max-width: 800px;
  margin: 0 auto;
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-item {
  display: flex;
  gap: 20px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.step-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Security Guarantee Banner */
.security-banner {
  margin: 60px 0 80px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.security-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.security-desc {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 20px;
  font-size: 1rem;
}

/* Privacy & Terms Prose Styling */
.prose {
  padding: 60px 0 100px;
  max-width: 840px;
}

.prose h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.prose .date-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  color: #fff;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.prose p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.prose ul {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose strong {
  color: var(--text-primary);
}

.prose .callout {
  background: var(--surface-elevated);
  border-left: 4px solid var(--positive);
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--surface);
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

/* APK Options Selector inside Android Card */
.apk-options-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.apk-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  color: var(--text-primary);
  gap: 12px;
}

.apk-option-item:hover {
  background: var(--surface-hover);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.apk-option-item.highlight {
  border-color: rgba(14, 165, 233, 0.35);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, var(--surface-elevated) 100%);
}

.apk-option-item.highlight:hover {
  border-color: #0ea5e9;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
}

.apk-info-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.apk-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.apk-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.apk-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 4px;
}

.apk-badge.older {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.apk-badge.modern {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.apk-badge.universal {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.apk-badge.emulator {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.apk-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.apk-download-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-highlight);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.apk-download-pill svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.apk-option-item:hover .apk-download-pill {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #ffffff;
}

.apk-helper-box {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  text-align: left;
}

.apk-helper-box strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Mobile-First Platform Switcher & Responsive Enhancements
   ========================================================================== */

.platform-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 24px;
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  box-sizing: border-box;
}

.platform-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 8px 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.platform-tab:hover {
  color: var(--text-primary);
  background: var(--surface-elevated);
}

.platform-tab.active {
  background: var(--surface-elevated);
  border-color: var(--border-highlight);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.platform-tab[data-platform="android"].active {
  border-color: rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.platform-tab[data-platform="windows"].active {
  border-color: rgba(99, 102, 241, 0.45);
  color: #a5b4fc;
}

.platform-tab svg {
  flex-shrink: 0;
}

.device-pill {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 9999px;
  background: var(--positive-muted);
  color: var(--positive);
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}

.download-card.android-primary {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--surface) 100%);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.08);
}

/* On desktop (>= 769px), keep both cards side-by-side untouched */
@media (min-width: 769px) {
  .platform-tabs {
    display: none;
  }
  .download-card {
    display: flex !important;
  }
}

/* Comprehensive Mobile Optimization */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .ambient-glow {
    width: 100%;
    left: 0;
    transform: none;
    height: 350px;
  }
  .container {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .nav-container {
    height: 60px;
  }
  .nav-links {
    display: none;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 0.98rem;
  }
  .brand-subtitle {
    font-size: 0.64rem;
  }
  .nav-cta {
    padding: 6px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .hero {
    padding: 30px 0 20px;
  }
  .badge {
    font-size: 0.76rem;
    padding: 5px 10px;
    margin-bottom: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.45;
  }
  .section-header {
    margin-bottom: 20px;
  }
  .section-title {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  .section-desc {
    font-size: 0.88rem;
  }
  .download-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-bottom: 30px;
    width: 100%;
  }
  .download-card {
    padding: 18px 14px;
    border-radius: 16px;
    min-width: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }
  .download-card.tab-hidden {
    display: none !important;
  }
  #cardAndroid {
    order: -1;
  }
  .platform-title {
    font-size: 1.3rem;
  }
  .platform-desc {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }
  .meta-list {
    margin-bottom: 16px;
    gap: 8px;
  }
  .meta-item {
    font-size: 0.82rem;
  }
  .apk-options-container {
    gap: 8px;
    margin-top: 14px;
  }
  .apk-option-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    box-sizing: border-box;
  }
  .apk-info-left {
    width: 100%;
  }
  .apk-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    flex-wrap: wrap;
  }
  .apk-name {
    font-size: 0.88rem;
  }
  .apk-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .apk-desc {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .apk-download-pill {
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 0.84rem;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .apk-helper-box {
    font-size: 0.76rem;
    padding: 8px 12px;
  }
  .windows-badge-container {
    padding-top: 16px;
  }
  .specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .spec-cell {
    padding: 6px 8px;
  }
  .spec-label {
    font-size: 0.65rem;
  }
  .spec-value {
    font-size: 0.78rem;
  }
  .qr-container {
    display: none !important;
  }
  .features {
    padding: 40px 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 20px 16px;
  }
  .guide {
    padding: 40px 0;
  }
  .guide-tabs {
    gap: 6px;
    margin-bottom: 20px;
  }
  .tab-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .guide-content {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .step-item {
    gap: 12px;
  }
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
  .step-title {
    font-size: 0.95rem;
  }
  .step-desc {
    font-size: 0.84rem;
  }
  .security-banner {
    padding: 24px 14px;
    margin: 30px 0 40px;
    border-radius: 14px;
  }
  .security-title {
    font-size: 1.25rem;
  }
  .security-desc {
    font-size: 0.88rem;
  }
  .footer {
    padding: 32px 0;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}

/* ==========================================================================
   AUTHENTIC HERO APP PREVIEW WINDOW
   ========================================================================== */
.hero-preview-section {
  padding: 0 0 60px;
  position: relative;
  z-index: 10;
}

.app-window-mockup {
  max-width: 1020px;
  margin: 0 auto;
  background: #0e0e11;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.85), 0 0 40px rgba(99, 102, 241, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-window-mockup:hover {
  box-shadow: 0 35px 90px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(16, 185, 129, 0.15);
}

.window-titlebar {
  background: #18181b;
  border-bottom: 1px solid #27272a;
  height: 42px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-dots .dot.red { background: #ef4444; }
.window-dots .dot.yellow { background: #f59e0b; }
.window-dots .dot.green { background: #10b981; }

.window-title {
  font-size: 0.78rem;
  color: #a1a1aa;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.window-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 3px 9px;
  border-radius: 9999px;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.app-interface-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 520px;
}

/* Mock Sidebar */
.mock-sidebar {
  background: #121215;
  border-right: 1px solid #27272a;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #27272a;
}

.mock-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.mock-brand-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  display: block;
  line-height: 1.1;
}

.mock-brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.8px;
}

.mock-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #a1a1aa;
}

.mock-nav-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #ffffff;
  font-weight: 700;
  border-left: 3px solid #6366f1;
}

.mock-shortcut {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #27272a;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #a1a1aa;
}

.mock-shortcut kbd {
  background: #27272a;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* Mock Main Area */
.mock-main {
  background: #09090b;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-view-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #a1a1aa;
}

.mock-view-tag .view-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
}

.mock-view-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
}

.mock-vault-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
}

.vault-emerald-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Metrics Row */
.mock-metrics-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.mock-metric-card {
  background: #121215;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 16px;
}

.mock-metric-card.net-worth-highlight {
  border-color: rgba(99, 102, 241, 0.35);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, #121215 100%);
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #a1a1aa;
}

.metric-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.metric-badge.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.metric-badge.blue {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  font-family: var(--font-sans);
}

.metric-footer {
  font-size: 0.72rem;
  color: #71717a;
  margin-top: 4px;
}

.cashflow-metrics {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.cf-item {
  display: flex;
  flex-direction: column;
}

.cf-label {
  font-size: 0.68rem;
  color: #71717a;
  text-transform: uppercase;
}

.cf-val {
  font-size: 1.05rem;
  font-weight: 700;
}

.cf-val.positive { color: #10b981; }
.cf-val.negative { color: #ef4444; }

.mock-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #71717a;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Accounts Carousel */
.mock-accounts-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mock-acc-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 85px;
}

.mock-acc-card.liability {
  border-color: rgba(239, 68, 68, 0.3);
}

.acc-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acc-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.acc-icon-box.bank { background: rgba(99, 102, 241, 0.15); }
.acc-icon-box.savings { background: rgba(16, 185, 129, 0.15); }
.acc-icon-box.cash { background: rgba(245, 158, 11, 0.15); }
.acc-icon-box.card { background: rgba(239, 68, 68, 0.15); }

.acc-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.acc-type {
  font-size: 0.65rem;
  color: #a1a1aa;
}

.acc-bottom {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.acc-bal-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #71717a;
}

.acc-bal-label.savings { color: #38bdf8; }
.acc-bal-label.negative { color: #ef4444; }

.acc-amount {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.acc-amount.negative { color: #ef4444; }

/* Transactions List */
.mock-transactions-list {
  background: #121215;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.mock-tx-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tx-dot.green { background: #10b981; }
.tx-dot.red { background: #ef4444; }
.tx-dot.blue { background: #6366f1; }

.tx-desc {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.tx-sub {
  font-size: 0.68rem;
  color: #71717a;
}

.tx-amount {
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-sans);
}

.tx-amount.positive { color: #10b981; }
.tx-amount.negative { color: #ef4444; }
.tx-amount.blue { color: #818cf8; }

/* ==========================================================================
   INDEPENDENT TRUST & INTEGRITY BAR
   ========================================================================== */
.trust-bar-section {
  padding: 0 0 48px;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.trust-card.link:hover {
  border-color: var(--accent);
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box.green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.trust-icon-box.indigo { background: rgba(99, 102, 241, 0.12); color: #818cf8; }
.trust-icon-box.blue { background: rgba(14, 165, 233, 0.12); color: #38bdf8; }
.trust-icon-box.purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; }

.trust-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.trust-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ==========================================================================
   DYNAMIC SMART OS AUTO-DETECTION HERO CTA
   ========================================================================== */
.smart-os-container {
  max-width: 820px;
  margin: 0 auto 32px;
}

.smart-os-cta {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(16, 185, 129, 0.06) 50%, var(--surface) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.smart-os-cta.android-style {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(16, 185, 129, 0.06) 50%, var(--surface) 100%);
  border-color: rgba(14, 165, 233, 0.35);
}

.smart-os-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-highlight);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.smart-os-badge strong {
  color: var(--positive);
}

.smart-os-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.smart-os-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.smart-os-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.smart-os-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.smart-os-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-primary-smart {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary-smart:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.55);
}

.btn-primary-smart.android {
  background: #0ea5e9;
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
}

.btn-primary-smart.android:hover {
  background: #0284c7;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.55);
}

.smart-secondary-link {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  cursor: pointer;
}

.smart-secondary-link:hover {
  color: #fff;
}

/* ==========================================================================
   ALTERNATE ARCHITECTURES ACCORDION
   ========================================================================== */
.arch-toggle-container {
  text-align: center;
  margin: 16px 0 28px;
}

.arch-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arch-toggle-btn:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.arch-toggle-btn .chevron-icon {
  transition: transform 0.25s ease;
}

.arch-toggle-btn.open .chevron-icon {
  transform: rotate(180deg);
}

.alternate-arch-panel {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.alternate-arch-panel.visible {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Checksums Modal / Drawer */
.checksum-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0 36px;
}

.checksum-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.checksum-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checksum-table-wrapper {
  overflow-x: auto;
}

.checksum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.checksum-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--surface-elevated);
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.checksum-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.checksum-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.checksum-table code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #818cf8;
  word-break: break-all;
}

.btn-copy-hash {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-copy-hash:hover {
  background: var(--surface-hover);
  color: #fff;
  border-color: var(--border-highlight);
}

.btn-copy-hash.copied {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.4);
}

@media (max-width: 900px) {
  .app-interface-grid {
    grid-template-columns: 1fr;
  }
  .mock-sidebar {
    display: none;
  }
  .mock-accounts-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  .mock-metrics-row {
    grid-template-columns: 1fr;
  }
  .smart-os-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .smart-os-actions {
    width: 100%;
  }
  .btn-primary-smart {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive text toggles */
.mobile-text {
  display: none !important;
}
.desktop-text {
  display: inline !important;
}

/* ==========================================================================
   APP SHOWCASE PREVIEW - MOBILE RESPONSIVE POLISH (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .desktop-text {
    display: none !important;
  }
  .mobile-text {
    display: inline !important;
  }

  .hero-preview-section {
    padding: 0 0 36px;
  }

  .app-window-mockup {
    border-radius: 18px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 48px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(99, 102, 241, 0.08);
  }

  /* Titlebar: Fix status pill wrapping & hide desktop dots */
  .window-titlebar {
    height: 38px;
    padding: 0 12px;
    gap: 8px;
    background: #141417;
  }

  .window-dots {
    display: none !important;
  }

  .window-title {
    font-size: 0.72rem;
    color: #a1a1aa;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
    gap: 6px;
  }

  .window-title span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .window-status-pill {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    height: 22px;
    line-height: 1;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    box-sizing: border-box;
  }

  .status-pulse {
    width: 5px;
    height: 5px;
    flex-shrink: 0;
  }

  /* Main container: Compact padding to give content room */
  .mock-main {
    padding: 14px 12px;
    gap: 12px;
  }

  /* Header: Balanced title and active vault badge */
  .mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .mock-header > div:first-child {
    min-width: 0;
    flex: 1;
  }

  .mock-view-tag {
    font-size: 0.64rem;
    letter-spacing: 0.6px;
    gap: 5px;
  }

  .mock-view-tag .view-dot {
    width: 5px;
    height: 5px;
  }

  .mock-view-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mock-vault-badge {
    font-size: 0.66rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap !important;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .vault-emerald-dot {
    width: 5px;
    height: 5px;
    flex-shrink: 0;
  }

  /* Net Worth Card */
  .mock-metrics-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mock-metric-card {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .metric-top {
    margin-bottom: 6px;
  }

  .metric-label {
    font-size: 0.64rem;
    letter-spacing: 0.6px;
  }

  .metric-badge {
    font-size: 0.64rem;
    padding: 2px 6px;
    white-space: nowrap;
  }

  .metric-value {
    font-size: 1.4rem;
    letter-spacing: -0.3px;
    line-height: 1.15;
  }

  .metric-footer {
    font-size: 0.66rem;
    margin-top: 3px;
  }

  /* Monthly Cash Flow Card */
  .cashflow-metrics {
    gap: 16px;
    margin-top: 3px;
  }

  .cf-label {
    font-size: 0.62rem;
  }

  .cf-val {
    font-size: 0.96rem;
  }

  /* Section Header */
  .mock-section-label {
    font-size: 0.64rem;
    letter-spacing: 0.6px;
    margin-top: 2px;
  }

  /* Accounts: Fix "Emergency Res..." truncation & beautify 2x2 grid */
  .mock-accounts-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .mock-acc-card {
    padding: 10px 8px;
    min-height: 98px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .acc-top {
    gap: 6px;
    align-items: flex-start;
  }

  .acc-icon-box {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    border-radius: 5px;
    flex-shrink: 0;
  }

  .acc-name {
    font-size: 0.74rem;
    line-height: 1.18;
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word;
  }

  .acc-type {
    font-size: 0.6rem;
    color: #a1a1aa;
    margin-top: 1px;
    line-height: 1.1;
  }

  .acc-bottom {
    margin-top: 6px;
  }

  .acc-bal-label {
    font-size: 0.54rem;
    letter-spacing: 0.3px;
  }

  .acc-amount {
    font-size: 0.86rem;
    font-weight: 700;
  }

  /* Recent Transactions List on Mobile */
  .mock-transactions-list {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 10px;
  }

  .mock-tx-row {
    padding: 3px 0;
  }

  .tx-left {
    gap: 8px;
    min-width: 0;
    flex: 1;
  }

  .tx-dot {
    width: 6px;
    height: 6px;
  }

  .tx-desc {
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tx-sub {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tx-amount {
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 6px;
  }
}

@media (max-width: 380px) {
  .mock-main {
    padding: 10px 8px;
    gap: 10px;
  }
  .mock-view-title {
    font-size: 0.95rem;
  }
  .mock-vault-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
  .metric-value {
    font-size: 1.25rem;
  }
  .acc-amount {
    font-size: 0.78rem;
  }
  .mock-acc-card {
    padding: 8px 6px;
    min-height: 92px;
  }
}


/* ==========================================================================
   MODERN UI / UX & INTERACTIVE ENHANCEMENTS (v1.1.0)
   ========================================================================== */

/* Hero CTA Button Group & Trust Stats */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.45), 0 0 15px rgba(99, 102, 241, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(99, 102, 241, 0.6), 0 0 25px rgba(99, 102, 241, 0.35);
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.hero-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Showcase Switcher (UI vs Video) */
.showcase-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.showcase-tab.active {
  background: rgba(99, 102, 241, 0.15);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

/* Video Window Mockup */
.video-window-mockup {
  max-width: 1020px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(99, 102, 241, 0.15);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #09090b;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile Hamburger Toggle & Drawer */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  z-index: 110;
}

.mobile-nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #ffffff;
  border-radius: 9999px;
  transition: all 0.25s ease-in-out;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(9, 9, 11, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-item {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  color: #ffffff;
}

/* Privacy & Architecture Comparison Grid */
.comparison-section {
  padding: 70px 0 40px;
  position: relative;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.comparison-card {
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.comparison-card.highlight {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--surface) 100%);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.15);
}

.comparison-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.comparison-card.highlight .comparison-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--positive);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.comparison-card.dimmed .comparison-badge {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.comparison-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.comparison-row.pos {
  color: var(--text-primary);
}

.comparison-row svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Floating Back-to-Top Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 18, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Responsive Overrides for New UI Components */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
  .hero-stats-row {
    gap: 8px;
  }
  .hero-stat-item {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .comparison-card {
    padding: 22px 18px;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}


/* ==========================================================================
   SUBPAGE & ENHANCED MOBILE RESPONSIVENESS (MULTI-PAGE ARCHITECTURE)
   ========================================================================== */

/* Subpage Header */
.page-header {
  padding: 50px 0 35px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.page-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Navigation Active State */
.nav-link.active {
  color: #ffffff !important;
  font-weight: 700;
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 9999px;
  box-shadow: 0 0 8px var(--accent);
}

.mobile-nav-item.active {
  color: var(--accent) !important;
  font-weight: 700;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

/* FAQ Accordion */
.faq-section {
  padding: 50px 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 840px;
  margin: 30px auto 0;
}

.faq-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-card.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  display: none;
}

.faq-card.open .faq-answer {
  display: block;
}

/* Technical Specs Table */
.specs-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  margin-top: 28px;
}

.specs-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.specs-data-table th, .specs-data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.specs-data-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-weight: 700;
}

.specs-data-table tr:last-child td {
  border-bottom: none;
}

/* Comprehensive Mobile Enhancements (max-width: 768px) */
@media (max-width: 768px) {
  /* Prevent any horizontal page scrolling */
  html, body {
    overflow-x: hidden !important;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Compact container margins */
  .container {
    padding: 0 16px !important;
    max-width: 100% !important;
  }

  /* Navbar header mobile height */
  .navbar {
    height: 62px;
  }
  .nav-container {
    height: 62px;
  }

  /* Page headers */
  .page-header {
    padding: 32px 0 20px;
  }
  .page-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }
  .page-title {
    font-size: 1.8rem;
    line-height: 1.22;
  }
  .page-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  /* Mobile touch target minimum sizing */
  button, .btn-primary-smart, .btn-hero-primary, .btn-hero-secondary, .nav-cta, .tab-btn, .showcase-tab {
    min-height: 44px;
    box-sizing: border-box;
  }

  /* Mobile Checksum table scrolling */
  .checksum-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 14px;
  }

  .checksum-table {
    min-width: 600px;
  }

  .checksum-table th, .checksum-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .checksum-table code {
    font-size: 0.68rem;
    max-width: 180px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Quick step list items on mobile */
  .step-item {
    gap: 12px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
    flex-shrink: 0;
  }

  /* Security banner */
  .security-banner {
    padding: 24px 18px;
    text-align: center;
  }

  .security-title {
    font-size: 1.3rem;
  }
  
  .security-desc {
    font-size: 0.88rem;
  }
}


/* ==========================================================================
   WEB ACCESSIBILITY (a11y), FOCUS OUTLINES & COMPLIANCE
   ========================================================================== */

/* Focus Outlines for Keyboard Navigation (WCAG AA Compliance) */
:focus-visible {
  outline: 2px solid #818cf8 !important;
  outline-offset: 3px !important;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #818cf8 !important;
  outline-offset: 3px !important;
}

/* Skip to Main Content Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 15px;
}

/* GDPR / ePrivacy Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 32px);
  max-width: 820px;
  background: rgba(18, 18, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(99, 102, 241, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-content {
  flex: 1;
  min-width: 0;
}

.cookie-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-text {
  font-size: 0.82rem;
  color: #a1a1aa;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background: var(--accent-hover);
}

.btn-cookie-essential {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-cookie-essential:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.cookie-link {
  color: var(--accent);
  text-decoration: underline;
  font-size: 0.82rem;
}

/* Footer Business Details */
.footer-business-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  text-align: left;
}

.business-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.business-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.business-text {
  color: var(--text-secondary);
  line-height: 1.4;
}

.business-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.business-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 16px;
    padding: 16px;
    gap: 14px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: stretch;
  }
  .btn-cookie-accept, .btn-cookie-essential {
    flex: 1;
    text-align: center;
  }
  .footer-business-details {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
}


picture {
  display: contents;
}


/* ==========================================================================
   OFFICIAL LEGAL & COMPLIANCE STYLES (PDF CHARTER FIDELITY)
   ========================================================================== */
.legal-header-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.legal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}

.legal-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.015);
}

.legal-meta-row:nth-child(even) {
  border-left: 1px solid var(--border);
}

.legal-meta-label {
  color: var(--text-muted);
  font-weight: 600;
}

.legal-meta-value {
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
}

.legal-attestation-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0 36px;
}

.legal-attestation-title {
  color: #10b981;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-attestation-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.legal-warning-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
}

.legal-warning-title {
  color: #ef4444;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-warning-box p {
  color: #fca5a5;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.legal-subheading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #818cf8;
  margin: 24px 0 8px;
}

.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.legal-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 768px) {
  .legal-meta-grid {
    grid-template-columns: 1fr;
  }
  .legal-meta-row:nth-child(even) {
    border-left: none;
  }
  .legal-contact-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   REAL APP PREVIEWS & SCREENSHOT PRESENTATION
   ========================================================================== */
.real-screenshot-frame {
  width: 100%;
  background: #09090b;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.real-app-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  transition: opacity 0.25s ease;
}

.feature-screenshot-card {
  margin-top: 24px;
  background: #0e0e11;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-screenshot-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.feature-screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--surface-elevated);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screenshot-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
}


/* ==========================================================================
   DOWNLOAD HUB, PLATFORM CARDS, ACTION BUTTONS & QR CODE
   ========================================================================== */

/* Grid Layouts */
.download-grid-container {
  margin-top: 36px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Platform Download Cards */
.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.download-card.featured {
  border-color: rgba(99, 102, 241, 0.35);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, var(--surface) 100%);
}

.download-card.featured:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-icon.windows {
  background: rgba(0, 120, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 120, 212, 0.35);
}

.platform-icon.android {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.platform-icon.legacy {
  background: rgba(161, 161, 170, 0.12);
  color: #a1a1aa;
  border: 1px solid rgba(161, 161, 170, 0.25);
}

.platform-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.platform-target {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.download-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Download Button Stack */
.download-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-download-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-download-action.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-download-action.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-download-action.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border);
}

.btn-download-action.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-highlight);
  color: #ffffff;
}

.btn-download-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-main-label {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.btn-sub-label {
  font-size: 0.72rem;
  opacity: 0.8;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.8);
}

.smart-os-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* QR Code Hub Card */
.qr-hub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.qr-content {
  flex: 1;
}

.qr-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.qr-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.qr-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.qr-code-box {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.qr-code-img {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-img canvas,
.qr-code-img img {
  width: 160px !important;
  height: 160px !important;
  display: block;
}

.qr-caption {
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #18181b;
  text-align: center;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .qr-hub-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 24px;
  }
}


/* ==========================================================================
   ANDROID SMARTPHONE MOCKUP & SHOWCASE
   ========================================================================== */

.phone-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .phone-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
    gap: 36px;
  }
}

.phone-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-normal);
}

.phone-mockup-wrapper:hover {
  transform: translateY(-6px);
}

.phone-mockup-card {
  width: 100%;
  max-width: 320px;
  background: #09090b;
  border: 4px solid #27272a;
  border-radius: 36px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(99, 102, 241, 0.12);
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.phone-mockup-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.9), 0 0 45px rgba(99, 102, 241, 0.25);
}

.phone-mockup-screen {
  width: 100%;
  display: block;
  line-height: 0;
  background: #09090b;
}

.phone-mockup-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
}

.phone-caption-box {
  margin-top: 18px;
  text-align: center;
  width: 100%;
  padding: 0 8px;
}

.phone-caption-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-caption-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.phone-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.guide-two-col {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 768px) {
  .guide-two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
