/* ==========================================================================
   Glyco Landing Page Stylesheet
   Modern, accessible, responsive Material 3-inspired design
   ========================================================================== */

:root {
  /* Color Palette - Light Theme */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card-hover: #f8fafc;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-on-accent: #ffffff;
  
  /* Brand Accents */
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-subtle: #eff6ff;
  --color-accent: #10b981;
  --color-accent-subtle: #ecfdf5;
  
  /* GI & GL Badges (Material 3 semantics matching the app) */
  --gi-low-bg: #e8f5e9;
  --gi-low-text: #1b5e20;
  --gi-low-border: #81c784;
  
  --gi-med-bg: #fff3e0;
  --gi-med-text: #bf360c;
  --gi-med-border: #ffb74d;
  
  --gi-high-bg: #ffebee;
  --gi-high-text: #b71c1c;
  --gi-high-border: #ef9a9a;

  /* RuStore signature */
  --rustore-blue: #0077ff;
  --rustore-dark: #12161a;
  --rustore-border: #262c36;

  /* Borders & Shadows */
  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-strong: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.2);

  /* Layout & Geometry */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --container-max: 1200px;
  
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme toggle via data-theme attribute or auto */
[data-theme="dark"] {
  --bg-primary: #0b0f17;
  --bg-surface: #131b28;
  --bg-surface-elevated: #1a2334;
  --bg-subtle: #1e293b;
  --bg-card-hover: #1f2d42;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --color-primary: #3b82f6;
  --color-primary-hover: #60a5fa;
  --color-primary-subtle: rgba(59, 130, 246, 0.15);
  --color-accent: #34d399;
  --color-accent-subtle: rgba(52, 211, 153, 0.15);

  --gi-low-bg: #132e18;
  --gi-low-text: #81c784;
  --gi-low-border: #1b5e20;

  --gi-med-bg: #381f08;
  --gi-med-text: #ffb74d;
  --gi-med-border: #e65100;

  --gi-high-bg: #381114;
  --gi-high-text: #ef9a9a;
  --gi-high-border: #c62828;

  --border-subtle: rgba(51, 65, 85, 0.6);
  --border-strong: #334155;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

[data-theme="dark"] .header {
  background: rgba(11, 15, 23, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
  transform: rotate(-5deg) scale(1.05);
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  color: var(--color-primary);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-nav-rustore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rustore-dark);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-nav-rustore:hover {
  background: #232b35;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding-block: 60px 80px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(16, 185, 129, 0.08) 50%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .hero-bg-glow {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(52, 211, 153, 0.1) 50%, rgba(11, 15, 23, 0) 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge-pill svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-rustore-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--rustore-dark);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 16px;
  border: 1px solid var(--rustore-border);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.btn-rustore-primary:hover {
  background: #1f252e;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

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

.btn-rustore-sub {
  font-size: 0.72rem;
  color: #9aa4b2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.btn-rustore-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.hero-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-perk-item svg {
  color: var(--color-accent);
}

/* Smartphone Mockup */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-frame {
  width: 100%;
  max-width: 340px;
  background: #000000;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 0.4s ease;
}

.mockup-frame:hover {
  transform: translateY(-6px) rotate(0.5deg);
}

.mockup-screen {
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1080 / 2198;
  background: #121212;
}

.mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Floating Badges on Mockup */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: float 4s ease-in-out infinite alternate;
}

[data-theme="dark"] .floating-badge {
  background: rgba(19, 27, 40, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
}

.floating-badge-1 {
  top: 15%;
  left: -24px;
}

.floating-badge-2 {
  bottom: 18%;
  right: -24px;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.badge-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-box.green {
  background: var(--gi-low-bg);
  color: var(--gi-low-text);
}

.badge-icon-box.blue {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}

.badge-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

.badge-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section {
  padding-block: 80px;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Live Demo / Mini Catalog
   ========================================================================== */

.demo-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  max-width: 960px;
  margin-inline: auto;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.demo-search-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.demo-search-wrapper {
  position: relative;
  flex: 1;
}

.demo-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.demo-search-input {
  width: 100%;
  height: 48px;
  padding-left: 48px;
  padding-right: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.demo-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: var(--bg-surface);
}

.demo-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: none;
}

.demo-sort-select {
  height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.demo-sort-select:focus {
  border-color: var(--color-primary);
}

/* Category Filter Chips */
.category-chips-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.chip-btn {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  transition: var(--transition);
}

.chip-btn:hover {
  background: var(--border-strong);
  color: var(--text-primary);
}

.chip-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Demo Products Grid */
.demo-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.product-card-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.gi-badge, .gl-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.gi-badge.gi-low, .gl-badge.gl-low {
  background: var(--gi-low-bg);
  color: var(--gi-low-text);
  border: 1px solid var(--gi-low-border);
}

.gi-badge.gi-medium, .gl-badge.gl-medium {
  background: var(--gi-med-bg);
  color: var(--gi-med-text);
  border: 1px solid var(--gi-med-border);
}

.gi-badge.gi-high, .gl-badge.gl-high {
  background: var(--gi-high-bg);
  color: var(--gi-high-text);
  border: 1px solid var(--gi-high-border);
}

.product-card-nutrients {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.demo-footer-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Modal for Product Details */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--border-strong);
  color: var(--text-primary);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card:nth-child(2) .feature-icon-box {
  background: var(--color-accent-subtle);
  color: var(--color-accent);
}

.feature-card:nth-child(3) .feature-icon-box {
  background: #fef3c7;
  color: #d97706;
}

.feature-card:nth-child(4) .feature-icon-box {
  background: #f3e8ff;
  color: #9333ea;
}

.feature-card:nth-child(5) .feature-icon-box {
  background: #ffedd5;
  color: #ea580c;
}

.feature-card:nth-child(6) .feature-icon-box {
  background: #e0f2fe;
  color: #0284c7;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

/* ==========================================================================
   Educational Section: GI vs GL Scale
   ========================================================================== */

.gi-gl-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.scale-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.scale-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.scale-pill-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}

.scale-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.scale-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.level-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.level-row.low {
  background: var(--gi-low-bg);
  color: var(--gi-low-text);
  border-left: 4px solid #2e7d32;
}

.level-row.med {
  background: var(--gi-med-bg);
  color: var(--gi-med-text);
  border-left: 4px solid #e65100;
}

.level-row.high {
  background: var(--gi-high-bg);
  color: var(--gi-high-text);
  border-left: 4px solid #c62828;
}

.level-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.level-val {
  font-weight: 800;
  font-size: 0.9rem;
}

/* Watermelon Paradox Card */
.paradox-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.paradox-icon {
  font-size: 2.8rem;
}

.paradox-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.paradox-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Screenshots Section (Mockups & Slider)
   ========================================================================== */

.screens-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: center;
}

.screen-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: var(--transition);
}

.screen-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.screen-card-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  aspect-ratio: 1080 / 2198;
  background: #121212;
}

.screen-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.screen-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.screen-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Target Audience Section
   ========================================================================== */

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

.audience-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  transition: var(--transition);
}

.audience-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.audience-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.audience-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.audience-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   RuStore Download CTA Section
   ========================================================================== */

.download-banner {
  background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.download-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.download-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 520px;
}

.download-buttons-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.download-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-pill {
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* QR Code Display Card */
.qr-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-code-img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.qr-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f8fafc;
}

.qr-hint {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-container {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
  padding-bottom: 40px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-secondary);
}

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

.footer-disclaimer {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
  border-left: 3px solid var(--color-primary);
}

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-perks {
    justify-content: center;
  }

  .gi-gl-container {
    grid-template-columns: 1fr;
  }

  .download-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-subtitle {
    margin-inline: auto;
  }

  .download-buttons-wrap {
    align-items: center;
  }

  .download-meta-tags {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

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

  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

  .demo-search-row {
    flex-direction: column;
  }

  .demo-sort-select {
    width: 100%;
  }

  .paradox-card {
    flex-direction: column;
    text-align: center;
  }

  .floating-badge-1 {
    left: 0;
  }

  .floating-badge-2 {
    right: 0;
  }
}
