:root {
  --color-primary: #d32f2f;
  --color-primary-dark: #b71c1c;
  --color-primary-light: #ff6659;
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-gray-50: #f8f5f0; /* Ivory/Off-white for elegant background */
  --color-gray-100: #eae5de;
  --color-gray-200: #d6d0c4;
  --color-gray-500: #6b7280;
  --color-gray-800: #1f2937;
  
  --font-main: 'Tajawal', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08);
  --shadow-float: 0 10px 20px -5px rgba(0,0,0,0.1);
  
  --transition: all 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body, html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--font-main);
  background-color: var(--color-gray-50);
  color: var(--color-gray-800);
  direction: rtl;
  line-height: 1.5;
}

body {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography & Brand */
.brand-word {
  display: inline-block;
  direction: ltr;
  white-space: nowrap;
}
.brand-t {
  color: var(--color-primary);
}
.brand-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand-arabic {
  font-weight: 800;
  color: var(--color-black);
}
.brand-separator {
  color: var(--color-gray-200);
  font-weight: 400;
}

/* Utility Containers */
.container {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
}
@media (min-width: 1024px) {
  .container { max-width: 960px; }
}

/* App Header */
.app-header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-gray-100);
}

/* Navigation / Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #FFF1F1;
  border: 1px solid rgba(211, 47, 47, 0.08);
  padding: 0 16px 0 20px;
  min-height: 42px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.06);
}

.back-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.back-link:active {
  transform: scale(0.96);
  background: #FDECEC;
  box-shadow: 0 1px 4px rgba(211, 47, 47, 0.04);
}

.back-link:active .back-icon {
  transform: translateX(4px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  min-height: 44px; /* Touch target size */
  transition: var(--transition);
  text-align: center;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:active { background: var(--color-primary-dark); transform: scale(0.98); }
.btn-outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn-outline:active { background: var(--color-primary); color: var(--color-white); }
.btn-block { width: 100%; }

/* Filter Chips */
.filter-scroll {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 8px 0;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-scroll::-webkit-scrollbar { display: none; }

.filter-chip {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gray-500);
  padding: 0 20px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.filter-chip:first-child {
  margin-right: 16px;
}
.filter-chip:last-child {
  margin-left: 16px;
}
.filter-chip:active {
  transform: scale(0.96);
}
.filter-chip.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Hero Section */
.hero-mobile {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--color-white);
  padding: 24px 16px 32px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 0.9rem;
  color: var(--color-gray-200);
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-search-wrapper {
  background: var(--color-white);
  padding: 4px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 6px;
  box-shadow: var(--shadow-md);
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 0 12px;
  padding-left: 70px !important;
  font-family: inherit;
  font-size: 0.95rem;
  border: none;
  background: transparent;
  min-height: 44px;
  color: var(--color-gray-800);
}
.search-input:focus { outline: none; }
.hero-search-wrapper .btn { border-radius: var(--radius-sm); padding: 0 16px; min-height: 44px; font-size: 0.95rem; }

/* Quick Access Cards (Stacked) */
.quick-access-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px 32px;
}

.quick-access-card {
  display: flex;
  align-items: center;
  background: var(--color-white);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(15px);
  animation: fadeSlideUp 0.4s ease forwards;
}

/* Staggered animation delays for up to 6 cards */
.quick-access-card:nth-child(1) { animation-delay: 0.05s; }
.quick-access-card:nth-child(2) { animation-delay: 0.1s; }
.quick-access-card:nth-child(3) { animation-delay: 0.15s; }
.quick-access-card:nth-child(4) { animation-delay: 0.2s; }
.quick-access-card:nth-child(5) { animation-delay: 0.25s; }
.quick-access-card:nth-child(6) { animation-delay: 0.3s; }

.quick-access-card:active {
  transform: scale(0.98);
  background-color: var(--color-gray-50);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.quick-access-icon {
  font-size: 24px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  margin-left: 16px;
  flex-shrink: 0;
}

.quick-access-content {
  flex-grow: 1;
}

.quick-access-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-gray-800);
  margin-bottom: 2px;
}

.quick-access-desc {
  font-size: 0.85rem;
  color: var(--color-gray-500);
}

.quick-access-arrow {
  font-size: 1.2rem;
  color: var(--color-gray-400);
  margin-right: 12px;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section { padding: 16px 0 32px; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 16px;
}
.section-title { font-size: 1.25rem; font-weight: 800; color: var(--color-black); }
.section-link { font-size: 0.85rem; font-weight: 700; color: var(--color-primary); }

/* Card Styles */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 16px;
}

.cards-scroll-x {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 4px 16px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cards-scroll-x::-webkit-scrollbar { display: none; }
.cards-scroll-x .card-item { flex: 0 0 280px; scroll-snap-align: start; }

.card-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--color-gray-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-item:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(211, 47, 47, 0.08);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-black);
  line-height: 1.4;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.5;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-gray-200);
}

.card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.card-meta {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  font-weight: 500;
}

/* Page Headers */
.page-header {
  background: var(--color-white);
  padding: 24px 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-gray-200);
}
.page-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.page-desc { font-size: 0.95rem; color: var(--color-gray-500); }

/* Block Search */
.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-clear-btn {
  position: absolute;
  left: 6px;
  background: var(--color-gray-100);
  color: var(--color-gray-600);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-pill);
  min-height: 34px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 2;
}

.search-clear-btn.visible {
  opacity: 1;
  visibility: visible;
}

.search-clear-btn:active {
  transform: scale(0.95);
  background: rgba(211, 47, 47, 0.08);
  color: var(--color-primary);
  border-color: rgba(211, 47, 47, 0.2);
}

.page-search-block {
  width: 100%;
  padding: 0 16px;
  margin-bottom: 16px;
}
.page-search-input {
  width: 100%;
  padding: 0 16px;
  padding-left: 72px !important;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
  min-height: 48px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.page-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Footer */
.app-footer {
  background: var(--color-white);
  padding: 32px 16px;
  text-align: center;
  margin-top: 32px;
  border-top: 1px solid var(--color-gray-200);
}
.app-footer .brand-logo {
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.5rem;
}
.app-footer p {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-bottom: 4px;
}

/* Offers Slider */
.offers-slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-bottom: 8px;
}

.offers-slider-track {
  display: flex;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.offers-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 16px;
}

.offers-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* Offers Page Cards */
.offer-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--color-gray-100);
}

.offer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.offer-badge {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.offer-time {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  font-weight: 500;
}

.offer-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-gray-800);
  line-height: 1.4;
  margin: 0;
}

.offer-merchant {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.offer-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--color-gray-100);
}

.offer-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
}

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

.btn-icon {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gray-700);
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:active {
  background: var(--color-gray-100);
  transform: scale(0.95);
}

.offer-actions .btn-primary {
  min-height: 40px;
  padding: 0 20px;
  font-size: 0.95rem;
}

/* Filter Selectors V2 */
.offers-selectors-section {
  padding: 0 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-selector-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 0 16px;
  min-height: 56px;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.filter-selector-btn:active {
  background: var(--color-gray-50);
  transform: scale(0.98);
}

.fs-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fs-icon {
  font-size: 1.2rem;
}

.fs-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gray-800);
}

.fs-value-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}

.fs-arrow {
  color: var(--color-gray-600);
}

/* Filter Options Bottom Sheet */
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 60vh;
  overflow-y: auto;
  padding-bottom: 40px;
}

.f-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-gray-800);
  cursor: pointer;
  transition: background 0.2s;
}

.f-option:active {
  background: var(--color-gray-50);
}

.f-option.active {
  color: var(--color-primary);
  background: #FFF1F1;
}

.f-option.active::after {
  content: "✓";
  font-weight: bold;
}

.no-results-msg {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-gray-500);
  font-size: 1.1rem;
  font-weight: 600;
  grid-column: 1 / -1;
}

/* Catalog Minimalist Mobile App Design */
.catalog-filters-section {
  padding: 0 16px 16px 16px;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin: 0 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
}

.catalog-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-100);
  cursor: pointer;
  transition: background 0.2s;
}

.catalog-list-item:last-child {
  border-bottom: none;
}

.catalog-list-item:active {
  background: var(--color-gray-50);
}

.cli-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cli-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-gray-800);
  margin: 0;
}

.cli-brand {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gray-500);
  margin: 0;
}

.cli-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cli-badge {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.cli-arrow {
  color: var(--color-gray-400);
}

/* Bottom Navigation V2 */
.bottom-nav-v2 {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) 12px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
  .bottom-nav-v2 {
    display: none !important;
  }
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-gray-500);
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  flex: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px 0;
}

.bnav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bnav-item:active .bnav-icon {
  transform: scale(0.85);
}

.bnav-item.active {
  color: var(--color-primary);
}

.bnav-item.active .bnav-icon {
  transform: translateY(-2px);
}

/* Bottom Sheet V2 */
.bsheet-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.bsheet-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bsheet-container {
  position: fixed;
  bottom: -100%;
  left: 0; right: 0;
  background: var(--color-white);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  z-index: 1002;
  transition: bottom 0.4s cubic-bezier(0.3, 1, 0.3, 1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.bsheet-container.active {
  bottom: 0;
}

.bsheet-header {
  position: relative;
  padding: 24px 20px 16px;
  text-align: center;
  border-bottom: 1px solid var(--color-gray-100);
}

.bsheet-drag-handle {
  width: 40px;
  height: 4px;
  background: var(--color-gray-200);
  border-radius: 4px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.bsheet-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-gray-800);
  margin: 0;
}

.bsheet-close {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-gray-50);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-600);
  cursor: pointer;
  transition: background 0.2s;
}

.bsheet-close:active {
  background: var(--color-gray-200);
}

.bsheet-content {
  padding: 8px 16px 24px;
  max-height: 70vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.bsheet-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  color: var(--color-gray-800);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.bsheet-link:active {
  background: var(--color-gray-50);
}

.bsheet-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FFF1F1;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Media Queries */
@media (min-width: 480px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-mobile { padding: 48px 32px; border-radius: var(--radius-lg); margin: 32px auto; max-width: 960px; }
  .hero-title { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Experiences Cards V2 */
.exp-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--color-gray-100);
}

.exp-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

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

.exp-city {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  font-weight: 600;
}

.exp-stars-wrap {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.exp-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-gray-800);
  line-height: 1.4;
  margin: 0;
}

.exp-desc {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exp-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-gray-100);
}

.exp-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gray-500);
}

/* Surveys Cards V1 */
.survey-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--color-gray-100);
}

.survey-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.survey-badge {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.survey-participants {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  font-weight: 600;
}

.survey-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gray-800);
  line-height: 1.5;
  margin: 0;
}

.survey-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.survey-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  min-height: 56px;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.survey-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.survey-opt-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-800);
  display: flex;
  align-items: center;
  gap: 12px;
}

.survey-opt-text::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-gray-300);
  border-radius: 50%;
  transition: all 0.2s;
}

.survey-opt-votes {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-gray-500);
}

.survey-radio:checked + .survey-opt-text::before {
  border-color: var(--color-primary);
  border-width: 6px;
}

.survey-radio:checked ~ .survey-opt-votes {
  color: var(--color-primary);
}

.survey-option:has(.survey-radio:checked) {
  border-color: var(--color-primary);
  background: #FFF1F1;
}

.survey-submit-btn {
  margin-top: 8px;
  min-height: 48px;
  font-size: 1.05rem;
}


/* =========================================
   Survey Detail Page Prototype
   ========================================= */

/* Header Adjustments */
.detail-header {
  padding-bottom: 20px;
}
.skeleton-text {
  background: #e2e8f0;
  border-radius: 4px;
  animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-title {
  height: 28px;
  width: 70%;
  margin-bottom: 8px;
}
.skeleton-desc {
  height: 16px;
  width: 90%;
}
@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}
.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.status-badge.bg-green { background-color: #10b981; }
.status-badge.bg-red { background-color: #ef4444; }
.votes-badge, .category-label-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background-color: #f1f5f9;
  color: #475569;
}

/* Option Cards */
.sqo-option-card {
  display: block;
  position: relative;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  -webkit-tap-highlight-color: transparent;
}
.opt-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
/* Selected state using :has */
.sqo-option-card:has(.opt-radio-input:checked) {
  border-color: #d32f2f;
  background-color: #fffafa;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.1);
}
.opt-card-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.opt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.opt-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
}
.opt-badge {
  background: #fef08a;
  color: #854d0e;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 12px;
}
.opt-subtitle {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.4;
}
.opt-stats {
  margin-top: 4px;
}
.opt-votes-count {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

/* Alert Messages */
.alert-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.alert-error {
  background-color: #fee2e2;
  color: #b91c1c;
}
.alert-success {
  background-color: #dcfce7;
  color: #15803d;
}

/* Results Display */
.results-list {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.result-item {
  margin-bottom: 16px;
}
.result-item:last-child {
  margin-bottom: 0;
}
.result-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}
.result-item.is-selected .res-name {
  color: #d32f2f;
}
.res-progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.res-progress-fill {
  height: 100%;
  background: #94a3b8;
  border-radius: 4px;
  transition: width 1s ease-in-out;
}
.result-item.is-selected .res-progress-fill {
  background: #d32f2f;
}
.pb-safe {
  padding-bottom: 90px;
}



/* =========================================
   Survey Detail Premium UX V2
   ========================================= */

/* Premium Header */
.premium-header-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
}
.premium-header-card .page-title {
  font-size: 22px;
  font-weight: 800;
  margin-top: 12px;
  margin-bottom: 8px;
}

/* Category Selector */
.premium-selector {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* Premium Options Cards */
.sqo-option-card {
  position: relative;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.opt-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.opt-card-inner {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.opt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.opt-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  transition: color 0.2s ease;
}
.opt-subtitle {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}
.opt-check-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.opt-check-indicator svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
}

/* Selected State */
.sqo-option-card:has(.opt-radio-input:checked) {
  border-color: #d32f2f;
  background-color: #fffafa;
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.08);
  transform: translateY(-2px);
}
.sqo-option-card:has(.opt-radio-input:checked) .opt-name {
  color: #d32f2f;
}
.sqo-option-card:has(.opt-radio-input:checked) .opt-check-indicator {
  background-color: #d32f2f;
  border-color: #d32f2f;
}
.sqo-option-card:has(.opt-radio-input:checked) .opt-check-indicator svg {
  opacity: 1;
  transform: scale(1);
}

/* Premium Results */
.premium-results-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.results-list {
  padding: 0;
  box-shadow: none;
}
.result-item {
  margin-bottom: 20px;
}
.result-header {
  font-size: 15px;
  margin-bottom: 8px;
}
.res-progress-bar {
  height: 10px;
  background: #f1f5f9;
  border-radius: 8px;
}
.res-progress-fill {
  background: #64748b;
  border-radius: 8px;
  position: relative;
}
.result-item.is-selected .res-name {
  color: #d32f2f;
  font-weight: 800;
}
.result-item.is-selected .res-progress-fill {
  background: linear-gradient(90deg, #ef4444, #d32f2f);
}
.res-percent {
  font-weight: 800;
}
.result-item.is-selected .res-percent {
  color: #d32f2f;
}
.top-result-badge {
  background: #fef08a;
  color: #854d0e;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Button States */
#btn-vote:disabled {
  background-color: #e2e8f0;
  color: #94a3b8;
  border-color: #e2e8f0;
  opacity: 1;
}

/* Bottom Sheet */
.premium-sheet-options .f-option.active {
  background-color: #fffafa;
  color: #d32f2f;
  border-color: #d32f2f;
}



/* =========================================
   Survey Detail Final Mobile Polish V3
   ========================================= */

/* Voted Button State */
.btn-voted {
  background-color: #f0fdf4 !important;
  color: #15803d !important;
  border-color: #16a34a !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
.btn-voted:disabled {
  background-color: #f0fdf4 !important;
  color: #15803d !important;
  border-color: #16a34a !important;
  opacity: 1 !important;
}

/* Compact Alert */
.alert-compact {
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: right;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.alert-compact strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}
.alert-compact .text-muted {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}

/* Enhanced Results Card */
.premium-results-card {
  padding: 24px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border: 1px solid #f1f5f9;
}
.result-item {
  margin-bottom: 24px;
}
.res-progress-bar {
  border-radius: 12px;
  height: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.res-progress-fill {
  border-radius: 12px;
}

/* Safe Area Spacing */
.survey-pb-safe {
  padding-bottom: 140px !important;
}



/* =========================================
   Survey Detail Native App Redesign V4
   ========================================= */

/* Body & Main */
.app-screen-body {
  background-color: #f8fafc; /* Ivory/off-white app background */
  padding-bottom: 0;
}
.app-main-content {
  padding: 0 16px;
}

/* Header */
.app-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 40;
}
.app-back-btn {
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.app-header-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  flex-grow: 1;
  text-align: center;
}
.app-header-actions {
  width: 40px; /* Balance for centering title */
}

/* Summary Card */
.app-summary-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}
.app-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.app-summary-badge {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}
.app-summary-badge.status-active { background: #ecfdf5; color: #059669; }
.app-summary-badge.status-closed { background: #fef2f2; color: #dc2626; }
.app-summary-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.app-summary-desc {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Group Section */
.app-group-section {
  margin-bottom: 24px;
}
.app-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 12px 12px;
  text-transform: uppercase;
}

/* Category Selector */
.app-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
  -webkit-tap-highlight-color: transparent;
}
.app-selector-row:active {
  background: #f8fafc;
}
.app-selector-label {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}
.app-selector-value-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-selector-value {
  font-size: 16px;
  color: #64748b;
}

/* Option Cards (App Native style) */
.app-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-option-card {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}
.app-option-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.app-option-content {
  flex-grow: 1;
}
.app-option-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
  transition: color 0.2s;
}
.app-option-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}
.app-option-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.app-option-indicator svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
  color: #ffffff;
}

/* Option Selected State */
.app-option-card:has(.app-option-input:checked) {
  border-color: #d32f2f;
  background-color: #fffafa;
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.08);
  transform: scale(0.99);
}
.app-option-card:has(.app-option-input:checked) .app-option-name {
  color: #d32f2f;
}
.app-option-card:has(.app-option-input:checked) .app-option-indicator {
  background-color: #d32f2f;
  border-color: #d32f2f;
}
.app-option-card:has(.app-option-input:checked) .app-option-indicator svg {
  opacity: 1;
  transform: scale(1);
}

/* Results Panel */
.app-results-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}
.app-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.app-results-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.app-results-subtitle {
  font-size: 13px;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 8px;
}
.app-res-item {
  margin-bottom: 20px;
}
.app-res-item:last-child {
  margin-bottom: 0;
}
.app-res-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
}
.app-res-name {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}
.app-res-votes {
  font-size: 13px;
  color: #94a3b8;
}
.app-res-percent {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.app-res-bar-bg {
  height: 8px;
  background: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
}
.app-res-bar-fill {
  height: 100%;
  background: #64748b;
  border-radius: 8px;
}
.app-res-item.is-selected .app-res-name,
.app-res-item.is-selected .app-res-percent {
  color: #d32f2f;
}
.app-res-item.is-selected .app-res-bar-fill {
  background: linear-gradient(90deg, #ef4444, #d32f2f);
}

/* Sticky Action Area */
.app-sticky-action-area {
  position: fixed;
  bottom: 80px; /* Above Bottom Nav */
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, #f8fafc 60%, rgba(248,250,252,0));
  z-index: 30;
  pointer-events: none;
}
.app-vote-btn {
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  background-color: #d32f2f;
  border: none;
  box-shadow: 0 8px 24px rgba(211,47,47,0.25);
  pointer-events: auto;
  transition: all 0.3s;
}
.app-vote-btn:disabled {
  background-color: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
}
.app-vote-btn.is-voted {
  background-color: #10b981;
  box-shadow: 0 8px 24px rgba(16,185,129,0.2);
}

/* Toast */
.app-toast {
  position: fixed;
  top: 80px;
  left: 16px;
  right: 16px;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 16px;
  border-radius: 16px;
  z-index: 50;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
.app-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.app-toast-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.app-toast-desc {
  font-size: 13px;
  color: #cbd5e1;
}

/* Bottom spacing so content is visible above sticky bar & nav */
.app-bottom-spacing {
  height: 160px;
}

.mb-huge {
  margin-bottom: 40px;
}



/* =========================================
   Survey Native App Typography & Info Hierarchy V5
   ========================================= */

/* Survey Listing Feed Card */
.app-feed-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid #f8fafc;
}
.app-feed-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
}
.app-feed-meta-dot {
  color: #cbd5e1;
  font-size: 16px;
}
.app-feed-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 10px 0;
}
.app-feed-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 20px 0;
}
.app-feed-action {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 14px;
}

/* Detail Summary Card V5 */
.app-summary-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
}
.app-summary-title-v5 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 12px 0;
}
.app-summary-desc-v5 {
  font-size: 17px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Selector Row V5 */
.app-selector-row-v5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  -webkit-tap-highlight-color: transparent;
}
.app-selector-label-v5 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}
.app-selector-value-wrap-v5 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-selector-value-v5 {
  font-size: 18px;
  font-weight: 700;
  color: #64748b;
}

/* Option Cards V5 */
.app-option-card-v5 {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  margin-bottom: 14px;
}
.app-option-name-v5 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  transition: color 0.2s;
}
.app-option-subtitle-v5 {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.app-option-card-v5:has(.app-option-input:checked) {
  border-color: #d32f2f;
  background-color: #fffafa;
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.08);
  transform: scale(0.985);
}
.app-option-card-v5:has(.app-option-input:checked) .app-option-name-v5 {
  color: #d32f2f;
}
.app-option-card-v5:has(.app-option-input:checked) .app-option-indicator {
  background-color: #d32f2f;
  border-color: #d32f2f;
}
.app-option-card-v5:has(.app-option-input:checked) .app-option-indicator svg {
  opacity: 1;
  transform: scale(1);
}

/* Section Title V5 */
.app-section-title-v5 {
  font-size: 17px;
  font-weight: 800;
  color: #475569;
  margin: 0 0 16px 12px;
}

/* Results Panel V5 */
.app-results-panel-v5 {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
.app-res-name-v5 {
  font-size: 17px;
  font-weight: 800;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-res-percent-v5 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.app-res-votes-v5 {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 600;
}



/* =========================================
   Global App-Like Stable Viewport Rules V1
   ========================================= */

/* Enforce 16px font-size on all mobile inputs to prevent iPhone Safari zoom */
input, textarea, select, button {
  font-size: 16px;
}

@media (min-width: 768px) {
  input, textarea, select, button {
    font-size: inherit; /* Can be smaller on desktop if needed */
  }
}

/* Ensure global horizontal overflow prevention */
html, body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Ensure box-sizing globally again just in case */
*, *::before, *::after {
  box-sizing: border-box;
}



/* =========================================================================
   Global iPhone Zoom Lock & Stability V2
   ========================================================================= */

html, body {
  width: 100%;
  max-width: 100%;
  /* Ensure NO text auto-scaling by iOS Safari on rotation/rendering */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  /* Use manipulation to allow scrolling but prevent double tap zoom if supported */
  touch-action: manipulation;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Redundant safety for box-sizing just in case */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Ensure no input text causes zoom */
input[type="text"], input[type="search"], input[type="tel"], input[type="url"], input[type="email"], input[type="number"], input[type="password"], textarea, select {
  font-size: 16px !important; /* Force to 16px to prevent zoom */
}



/* =========================================================================
   Videos App Library V1
   ========================================================================= */
.videos-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.video-card:active {
    transform: scale(0.98);
}

.video-card-thumb {
    width: 100%;
    height: 190px;
    background: #e2e8f0;
    position: relative;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.video-card-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.video-card-source {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #FF0000;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.video-card-source.submission {
    background: #6366f1;
}

.video-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
}

.video-card-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
}

.video-card-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

.video-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

.video-card-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-card-action {
    margin-top: 8px;
    width: 100%;
    background: #f8fafc;
    color: var(--color-primary);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    font-size: 15px;
}

.video-card-action:active {
    background: #f1f5f9;
}

/* Featured Video Grid */
.featured-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-radius: 24px 24px 0 0;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.video-modal.active, .video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.video-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-right: 12px;
}

.video-modal-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
}

.video-modal-body {
    padding: 20px 24px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
}

.video-iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 16px;
    overflow: hidden;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-mock-player {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    color:#fff; text-align:center; padding:20px;
    background: #1e293b;
}



/* =========================================================================
   Videos Native App Redesign V3
   ========================================================================= */

.app-media-hero {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin-bottom: 24px;
}

.app-media-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.app-media-dot {
    color: #cbd5e1;
}

.app-media-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.app-media-desc {
    font-size: 15px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* App Search Card V3 */
.app-search-card-v3 {
    background: #ffffff;
    border-radius: 16px;
    padding: 4px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
}

.app-search-icon-v3 {
    color: #94a3b8;
    margin: 0 12px;
}

.app-search-input-v3 {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
}

.app-search-input-v3::placeholder {
    color: #94a3b8;
}

.app-search-clear-v3 {
    background: #f1f5f9;
    border: none;
    color: #475569;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-left: 8px;
    cursor: pointer;
}

/* Promo Card */
.app-promo-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

.app-promo-content h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 800;
}

.app-promo-content p {
    margin: 0;
    font-size: 14px;
    color: #94a3b8;
}

.app-promo-action {
    background: rgba(255,255,255,0.1);
    padding: 10px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
}

.app-section-title-v3 {
    font-size: 20px;
    font-weight: 900;
    color: #1e293b;
    margin: 0 0 16px 0;
}

/* Featured Video V3 */
.featured-video-card-v3 {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 24px;
}

.feat-thumb-v3 {
    width: 100%;
    height: 220px;
    position: relative;
    background: #1e293b;
}

.feat-thumb-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.feat-gradient-v3 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.1) 50%, rgba(15,23,42,0.4) 100%);
}

.feat-play-btn-v3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.feat-top-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
}

.feat-badge-cat {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.feat-badge-dur {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.feat-body-v3 {
    padding: 20px;
}

.feat-title-v3 {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.feat-desc-v3 {
    font-size: 15px;
    color: #475569;
    margin: 0 0 16px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feat-stats-v3 {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 16px;
}

.feat-action-v3 {
    width: 100%;
    background: #f1f5f9;
    color: var(--color-primary);
    border: none;
    padding: 14px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
}

/* Normal Horizontal Video Card V3 */
.videos-list-v3 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-card-h-v3 {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.vc-thumb-wrap {
    width: 130px;
    min-width: 130px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #1e293b;
}

.vc-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.vc-play-sm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.vc-dur-sm {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.vc-body-v3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vc-title-v3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vc-meta-v3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 6px;
}

.vc-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.vc-badge-sub {
    background: #eef2ff;
    color: #4f46e5;
}

.vc-badge-pend {
    background: #fef3c7;
    color: #d97706;
}

/* Modal V3 */
.video-modal-overlay-v3 {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,0.8);
    backdrop-filter: blur(6px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-v3 {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #ffffff;
    border-radius: 28px 28px 0 0;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 95vh;
    display: flex;
    flex-direction: column;
}

.video-modal-v3.active, .video-modal-overlay-v3.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.video-modal-handle {
    width: 40px;
    height: 5px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 12px auto 0;
}

.video-modal-header-v3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.video-modal-title-v3 {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.video-modal-close-v3 {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
}

.video-modal-body-v3 {
    padding: 0 24px 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
}

.video-iframe-container-v3 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.15);
}

.video-iframe-container-v3 iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-desc-v3 {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 16px 0;
}

.video-stat-v3 {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
}

.app-empty-state-v3 {
    text-align: center;
    padding: 40px 20px;
}

.app-empty-state-v3 h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 16px 0 8px;
}

.app-empty-state-v3 p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}



/* =========================================================================
   Bottom Sheet and Icon Scaling Bug Fixes V4
   ========================================================================= */

/* Fix Bottom Nav Icons */
.bottom-nav-v2 svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    max-height: 24px;
}

/* Fix More Sheet Icons */
.bsheet-link-icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
}

/* Fix Video Type Selector Sheet Icons */
.app-list-item svg.check-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
    flex-shrink: 0;
}

/* Fix Filter Selector Value SVG */
.app-selector-value-wrap-v5 svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
}

/* General safety constraint for any SVG inside these components */
.bottom-sheet-content svg,
.bsheet-content svg {
    max-width: 24px;
    max-height: 24px;
}

/* Fix More Menu internal spacing */
.bsheet-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #1e293b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.bsheet-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 8px;
    color: var(--color-primary);
}

/* Fix Video Type Selector layout */
.app-list-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    border-radius: 12px;
}

.app-list-item.active {
    background: #f8fafc;
    color: var(--color-primary);
}

.app-list-item .check-icon {
    opacity: 0;
}

.app-list-item.active .check-icon {
    opacity: 1;
}



/* =========================================================================
   Global Android Vertical Scroll Restore Fix V3 (Overlay Pointer Events Fix)
   ========================================================================= */

.bsheet-overlay,
.video-modal-overlay,
.video-modal-overlay-v3 {
    pointer-events: none;
}

.bsheet-overlay.active,
.video-modal-overlay.active,
.video-modal-overlay-v3.active {
    pointer-events: auto;
}

.bsheet-container,
.video-modal,
.video-modal-v3 {
    pointer-events: none;
}

.bsheet-container.active,
.video-modal.active,
.video-modal-v3.active {
    pointer-events: auto;
}



/* =========================================================================
   About Page Mobile App Polish V1
   ========================================================================= */

.about-hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 24px;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(15,23,42,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-hero-logo {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
}

.about-hero-logo span.brand-t {
    color: #dc2626;
}

.about-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.about-section-title {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    margin: 32px 0 16px 0;
}

.about-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    margin-bottom: 16px;
}

.about-card-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.about-card-text:last-child {
    margin: 0;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
}

.about-list li:last-child {
    margin-bottom: 0;
}

.about-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    color: var(--color-primary);
    border-radius: 8px;
    flex-shrink: 0;
}

/* Features Grid */
.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.about-feature-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.about-feature-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Future Tag */
.about-future-tag {
    display: inline-block;
    font-size: 11px;
    background: #fef3c7;
    color: #d97706;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    margin-top: 4px;
}



/* =========================================================================
   Homepage Final Reorganization V1
   ========================================================================= */

.home-qa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px 24px;
}

.home-qa-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    /* Animation */
    opacity: 0;
    transform: translateY(15px);
    animation: fadeSlideUp 0.4s ease forwards;
}

.home-qa-card:active {
    transform: scale(0.97);
    background: #f8fafc;
}

.home-qa-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.home-qa-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.home-qa-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.trust-strip {
    background: #ffffff;
    padding: 16px;
    margin: 0 16px 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #f1f5f9;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.trust-icon {
    color: #10b981;
}

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

.home-section-title {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
}

.home-section-link {
    font-size: 14px;
    font-weight: 700;
    color: #dc2626;
    text-decoration: none;
}

