/* ==========================================================================
   Cricmad: IPTV Stream Player - Modern Tech Luxury Edition
   Typography Mix:
     - 'Space Grotesk' (Grand Geometric Display / Titles)
     - 'Manrope' (High-End Structural Headings & Controls)
     - 'DM Sans' (Refined Editorial Body & Descriptions)
     - 'Space Mono' (Technical Codec & Package Tags)
   Palette: Clean White (#ffffff), Subtle Slate Tints (#f8fafc, #f1f5f9), Deep Obsidian (#090d16)
   Mobile First: 100% responsive across 320px mobile to 4K displays
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
  /* Typography Families: Modern Luxury Tech Mix */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Surfaces */
  --bg-ground: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.94);

  /* Hairlines & Borders */
  --border-subtle: #e2e8f0;
  --border-muted: #cbd5e1;
  --border-strong: #0f172a;

  /* Typography Colors */
  --text-primary: #090d16;        /* Deep luxury black */
  --text-secondary: #475569;      /* Elegant slate body */
  --text-tertiary: #94a3b8;       /* Subtle metadata */
  --text-inverse: #ffffff;

  /* Brand Accents */
  --brand-black: #090d16;
  --brand-black-hover: #1e293b;
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-subtle: rgba(37, 99, 235, 0.08);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Soft Luxury Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
  --shadow-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-pill: 0 4px 14px rgba(0, 0, 0, 0.14);

  /* Layout Constrains */
  --max-width: 1180px;
  --max-width-narrow: 840px;
  --header-height: 76px;

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Typography Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-ground);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-ground);
  color: var(--text-primary);
  width: 100%;
}

body.menu-open-lock {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 13, 22, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

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

button, input, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Display Titles with Outfit */
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* Subheadings with Outfit / Plus Jakarta Sans */
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h4 {
  font-family: var(--font-ui);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

p {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
}

.mono-spec {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   3. Header Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-drawer-actions {
  display: none;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dev-nav-mobile {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.dev-nav-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dev-nav-link:hover {
  color: var(--text-primary);
  border-color: var(--border-muted);
  background: #ffffff;
  transform: translateY(-1px);
}

.nav-header-cta .btn-text-full {
  display: inline;
}

.nav-header-cta .btn-text-mobile {
  display: none;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius-xs);
  background-color: transparent;
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.mobile-menu-btn:hover {
  background-color: var(--bg-surface-subtle);
  border-color: var(--border-subtle);
}

.mobile-menu-btn:active {
  background-color: var(--border-subtle);
}

.mobile-menu-btn .menu-icon-bars {
  display: block;
}

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

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

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

/* --------------------------------------------------------------------------
   4. Buttons & Official Google Play Badge
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-black);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(9, 13, 22, 0.15);
}

.btn-primary:hover {
  background-color: var(--brand-black-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(9, 13, 22, 0.22);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--border-muted);
  background-color: var(--bg-surface);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* Official Google Play Store Badge with Authentic Vector Mark */
.btn-google-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 24px;
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: var(--shadow-pill);
  border: 1px solid #1e293b;
}

.btn-google-play:hover {
  background-color: #172033;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.btn-google-play:active {
  transform: translateY(0);
}

.play-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-text .subtext {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cbd5e1;
  line-height: 1.1;
}

.btn-text .maintext {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 84px 24px 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  max-width: 960px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 740px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-package-meta {
  font-size: 0.825rem;
  color: var(--text-tertiary);
  margin-bottom: 64px;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-dev-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.hero-dev-link:hover {
  color: var(--brand-blue);
}

.meta-sep {
  color: var(--border-muted);
}

/* --------------------------------------------------------------------------
   6. 3-Pillar Highlight Grid
   -------------------------------------------------------------------------- */
.pillars-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-muted);
  box-shadow: var(--shadow-card);
  background: #ffffff;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--border-muted);
  line-height: 1;
  margin-bottom: 16px;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. Core Features Grid (6 Master Cards)
   -------------------------------------------------------------------------- */
.section-wrapper {
  padding: 96px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  margin-bottom: 56px;
  text-align: left;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.65;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-subtle);
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

.feature-footer-tag {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-family: 'Space Mono', monospace;
}

/* --------------------------------------------------------------------------
   8. Supported Protocols & Ingestion
   -------------------------------------------------------------------------- */
.protocols-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.protocol-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.protocol-header {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.protocol-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.protocol-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.protocol-chip {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  font-family: 'Space Mono', monospace;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   9. Specifications Table
   -------------------------------------------------------------------------- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.spec-name {
  font-size: 0.925rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-ui);
}

.spec-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.spec-link:hover {
  color: var(--brand-blue);
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #15803d;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  margin-left: 8px;
  text-decoration: none;
  vertical-align: middle;
}

/* Developer Showcase Card */
.developer-showcase-card {
  margin-top: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.developer-showcase-card:hover {
  border-color: var(--border-muted);
  box-shadow: var(--shadow-card);
  background: #ffffff;
}

.dev-showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.dev-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.play-dev-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dev-badge-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.dev-id-chip {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  background: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

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

.dev-showcase-text {
  max-width: 600px;
}

.dev-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.dev-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.dev-showcase-action .dev-btn {
  padding: 12px 22px;
}

/* --------------------------------------------------------------------------
   10. Strict Legal & DMCA Disclaimer
   -------------------------------------------------------------------------- */
.disclaimer-container {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-left: 5px solid var(--text-primary);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.disclaimer-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: block;
}

.disclaimer-headline {
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.disclaimer-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.disclaimer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.disclaimer-bullet {
  color: var(--text-primary);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   11. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-trigger {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--brand-blue);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-content-inner {
  padding: 0 0 24px;
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 24px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--text-primary);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   13. Comprehensive Mobile Responsiveness (320px - 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .protocols-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    height: var(--header-height);
  }

  .nav-container {
    padding: 0 16px;
  }

  .brand-link {
    font-size: 1.25rem;
    gap: 8px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .dev-nav-link {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-muted);
    padding: 16px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    display: flex;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 40px rgba(9, 13, 22, 0.14);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
    z-index: 99;
  }

  .nav-menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: var(--radius-xs);
    border-bottom: 1px solid var(--bg-surface-subtle);
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    background-color: var(--bg-surface-subtle);
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .dev-nav-mobile {
    display: flex !important;
    color: var(--brand-blue) !important;
    font-weight: 700 !important;
  }

  .nav-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
  }

  .nav-drawer-btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.925rem;
    border-radius: var(--radius-sm);
  }

  .play-icon-sm {
    margin-right: 6px;
    flex-shrink: 0;
  }

  .nav-header-cta {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 44px 16px 36px;
  }

  .hero-title {
    font-size: clamp(2rem, 6.5vw, 3rem);
    line-height: 1.12;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .hero-cta-wrap {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 18px;
  }

  .btn-google-play,
  .btn-secondary {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    justify-content: center;
  }

  .hero-package-meta {
    font-size: 0.78rem;
    margin-bottom: 40px;
    gap: 6px;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  /* Specifications */
  .specs-table {
    border-radius: var(--radius-sm);
  }

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 18px;
  }

  .spec-name {
    font-size: 0.8rem;
  }

  .spec-value {
    font-size: 0.925rem;
    word-break: break-word;
  }

  .verified-tag {
    margin-left: 0;
    margin-top: 4px;
  }

  /* Developer Showcase */
  .developer-showcase-card {
    padding: 24px 18px;
    margin-top: 28px;
    gap: 16px;
  }

  .dev-showcase-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .dev-showcase-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .dev-title {
    font-size: 1.25rem;
  }

  .dev-desc {
    font-size: 0.88rem;
  }

  .dev-showcase-action {
    width: 100%;
  }

  .dev-showcase-action .dev-btn {
    width: 100%;
    min-height: 48px;
  }

  /* Disclaimer */
  .disclaimer-container {
    padding: 24px 18px;
  }

  .disclaimer-headline {
    font-size: 1.25rem;
  }

  .disclaimer-list {
    font-size: 0.9rem;
    gap: 12px;
  }

  /* FAQ */
  .faq-trigger {
    padding: 18px 0;
    font-size: 1.05rem;
  }

  /* Footer */
  .site-footer {
    padding: 48px 16px 32px;
  }

  .footer-inner {
    gap: 32px;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 28px;
  }

  .footer-links-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    width: 100%;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Small Mobile Screens (max-width: 480px down to 320px) */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 12px;
  }

  .brand-link {
    font-size: 1.15rem;
    gap: 6px;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .nav-header-cta {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .nav-header-cta .btn-text-full {
    display: none;
  }

  .nav-header-cta .btn-text-mobile {
    display: inline;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    padding: 6px;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.12;
  }

  .hero-subtitle {
    font-size: 0.925rem;
  }

  .section-wrapper {
    padding: 48px 14px;
  }

  .pillar-card,
  .feature-card,
  .protocol-box {
    padding: 20px 16px;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Extremely Small Screens (max-width: 340px) */
@media (max-width: 340px) {
  .brand-link span {
    font-size: 1.05rem;
  }

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

/* Reduced Motion */
@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;
  }
}
