/* ===================== CSS VARIABLES ===================== */
:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #e2e8f0;
  --bg-tertiary: #cbd5e1;
  --card-bg: rgba(248, 250, 252, 0.9);
  --card-border: rgba(226, 232, 240, 0.8);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  --brand-blue: #1A73E8;
  --brand-blue-2: #0A52C4;
  --tech-blue: #3B82F6;
  --tech-blue-light: #60A5FA;
  --accent-teal: #0EA5E9;

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;

  --gradient-main: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  --gradient-blue: linear-gradient(135deg, #1A73E8 0%, #3B82F6 50%, #0EA5E9 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(241,245,249,0.9) 100%);

  --blur-sm: blur(8px);
  --blur-md: blur(12px);
  --blur-lg: blur(20px);

  --border-radius-sm: 12px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================== SECTIONS WRAPPER ===================== */
.tmgm-sections-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scoped section padding — only affects sections inside tmgm-app-content */
#tmgm-app-content section { padding: 80px 0; }

/* ===================== TICKER BAR ===================== */
.ticker-bar {
  position: relative;
  z-index: 10;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 2px 20px rgba(26, 115, 232, 0.08);
  padding: 10px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 28px;
  border-right: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 13px;
  font-weight: 500;
}

.ticker-symbol {
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ticker-price {
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.ticker-change.up { color: #16a34a; }
.ticker-change.down { color: #dc2626; }

.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  opacity: 0.6;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Flip animation */
.flip-num {
  display: inline-block;
  animation: flip 0.4s ease-in-out;
}
@keyframes flip {
  0% { transform: rotateX(0deg); opacity: 1; }
  50% { transform: rotateX(-90deg); opacity: 0; }
  100% { transform: rotateX(0deg); opacity: 1; }
}

/* ===================== SECTION TITLES ===================== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-title .highlight {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ===================== STATS SECTION ===================== */
.stats-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

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

.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--card-shadow);
  backdrop-filter: var(--blur-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-blue);
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26, 115, 232, 0.12); }
.stat-card:hover::before { opacity: 1; }

.stat-icon {
  width: 48px; height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}

.stat-value {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-value .stat-unit {
  font-size: 20px;
  color: var(--brand-blue);
}

.stat-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

.stars-row {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 8px;
}

.star {
  color: #f59e0b;
  font-size: 20px;
  opacity: 0;
  animation: star-appear 0.3s ease forwards;
}
.star:nth-child(1) { animation-delay: 0.1s; }
.star:nth-child(2) { animation-delay: 0.2s; }
.star:nth-child(3) { animation-delay: 0.3s; }
.star:nth-child(4) { animation-delay: 0.4s; }
.star:nth-child(5) { animation-delay: 0.5s; }

@keyframes star-appear {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* ===================== FEATURES SECTION ===================== */
.features-section {
  padding: 80px 0;
}

.features-header { text-align: center; margin-bottom: 60px; }
.features-header .section-subtitle { margin: 0 auto; }

.features-fan {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 28px 22px;
  box-shadow: var(--card-shadow);
  backdrop-filter: var(--blur-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; transform-origin: bottom center; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }

/* Middle card bigger */
.feature-card:nth-child(3) {
  transform: translateY(40px) scale(1.04);
  z-index: 2;
}
.feature-card.visible:nth-child(3) {
  transform: translateY(0) scale(1.04);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-blue);
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}

.feature-card:hover::before { opacity: 0.04; }

.feature-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 48px rgba(26, 115, 232, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Connector lines */
.feature-connector {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(59,130,246,0.3), rgba(14,165,233,0.1));
  z-index: 10;
}
.feature-card:last-child .feature-connector { display: none; }

.feature-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.feature-link {
  font-size: 12px;
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.feature-link:hover { gap: 8px; }

/* ===================== TRUST REVIEWS ===================== */
.reviews-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(226, 232, 240, 0.4) 50%, transparent 100%);
}

.reviews-header { text-align: center; margin-bottom: 60px; }

.reviews-stack-wrapper {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card {
  position: absolute;
  width: 340px;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 28px;
  box-shadow: var(--card-shadow);
  backdrop-filter: var(--blur-sm);
  cursor: pointer;
  transition: var(--transition-slow);
  transform-origin: bottom center;
  user-select: none;
}

.review-card.active {
  z-index: 10;
  transform: translateY(0) scale(1) rotate(0deg);
  box-shadow: 0 20px 60px rgba(26, 115, 232, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 16px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-blue);
  border: 2px solid rgba(59, 130, 246, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.reviewer-info {
  font-size: 12px;
  color: var(--text-muted);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.review-stars span { color: #f59e0b; font-size: 14px; }

.review-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.reviews-nav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: var(--transition);
}

.reviews-nav-dot.active {
  background: var(--brand-blue);
  width: 24px;
  border-radius: 4px;
  border-color: var(--brand-blue);
}

/* ===================== FAQ SECTION ===================== */
.faq-section {
  padding: 80px 0;
}

.faq-header { margin-bottom: 48px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  backdrop-filter: var(--blur-sm);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.faq-item:hover { box-shadow: 0 4px 20px rgba(26, 115, 232, 0.08); }
.faq-item.open { border-color: rgba(59, 130, 246, 0.3); }

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.faq-bar {
  width: 3px;
  height: 20px;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.4);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-bar { background: var(--brand-blue); }

.faq-q-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-arrow {
  width: 28px; height: 28px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--brand-blue);
  font-size: 14px;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); background: rgba(59, 130, 246, 0.15); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 24px 43px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  background: rgba(241, 245, 249, 0.5);
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding-top: 16px;
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-answer-inner strong { color: var(--brand-blue); }

.faq-deep-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  transition: var(--transition);
}

.faq-deep-link:hover { background: rgba(59, 130, 246, 0.14); }

/* ===================== COMPLIANCE SECTION ===================== */
.compliance-section {
  padding: 60px 0;
}

.compliance-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--card-shadow);
  backdrop-filter: var(--blur-md);
}

.compliance-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-bottom: 1px solid var(--card-border);
}

.compliance-row:last-child { border-bottom: none; padding-bottom: 0; }
.compliance-row:first-child { padding-top: 0; }

.compliance-row-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100px;
  flex-shrink: 0;
}

.compliance-badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; flex: 1; }

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
}

.compliance-badge:hover {
  background: var(--gradient-blue);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.25);
}

.badge-icon { font-size: 18px; }

/* ===================== DOWNLOAD BAR ===================== */
.download-bar {
  position: sticky;
  bottom: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
  padding: 16px 0;
}

.download-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.download-bar-text {
  flex: 1;
}

.download-bar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.download-bar-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.download-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid;
  position: relative;
  overflow: hidden;
}

.dl-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: var(--transition);
}

.dl-btn:hover::before { opacity: 0.1; }

.dl-btn-ios {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border-color: rgba(59, 130, 246, 0.3);
}

.dl-btn-ios:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--brand-blue);
  transform: translateY(-1px);
}

.dl-btn-ios:hover {
  animation: none;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3); }
  50% { box-shadow: 0 4px 28px rgba(26, 115, 232, 0.55); }
}

.dl-btn-android {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border-color: rgba(59, 130, 246, 0.3);
}

.dl-btn-android:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--brand-blue);
  transform: translateY(-1px);
}

.dl-btn-official {
  background: var(--gradient-blue);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

.dl-btn-official:hover {
  box-shadow: 0 6px 24px rgba(26, 115, 232, 0.4);
  transform: translateY(-1px);
  animation: btn-pulse 1.5s ease-in-out infinite;
}

.qr-wrapper {
  position: relative;
}

.qr-btn {
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: var(--transition);
}

.qr-btn:hover { border-color: var(--brand-blue); background: rgba(59, 130, 246, 0.05); }

.qr-popup {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: white;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: none;
  width: 140px;
  text-align: center;
}

.qr-popup.show { display: block; animation: pop-up 0.2s ease; }
@keyframes pop-up {
  from { opacity: 0; transform: scale(0.9) translateY(4px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5px;
  margin-bottom: 8px;
}

.qr-cell {
  aspect-ratio: 1;
  border-radius: 1px;
}

.qr-cell.dark { background: #1e293b; }
.qr-cell.light { background: transparent; }

.qr-label { font-size: 11px; color: var(--text-muted); }

/* ===================== ANIMATIONS ===================== */
.count-up { display: inline-block; }

/* ===================== HERO INTRO SECTION ===================== */
.hero-intro-section {
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-intro-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-intro-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-intro-text { position: relative; z-index: 2; }

.hero-intro-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-intro-title .line2 {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-intro-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
  max-width: 460px;
}

.hero-intro-agent-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(148,163,184,0.1);
  border: 1px solid rgba(148,163,184,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 32px;
}

/* Stats row */
.hero-intro-stats {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}

.hero-stat-item {
  flex: 1;
  padding: 18px 20px;
  border-right: 1px solid var(--card-border);
  position: relative;
}

.hero-stat-item:last-child { border-right: none; }

.hero-stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-blue);
  opacity: 0;
  transition: var(--transition);
}

.hero-stat-item:hover::before { opacity: 1; }

.hero-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.hero-stat-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 3px;
}

.hero-stat-stars span { color: #f59e0b; font-size: 13px; }

.hero-stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-intro-emotion {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  border-left: 3px solid rgba(59,130,246,0.3);
  padding-left: 14px;
  margin-bottom: 36px;
  font-style: italic;
}

/* CTA buttons */
.hero-intro-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hi-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}

.hi-btn-primary {
  background: var(--gradient-blue);
  color: white;
  box-shadow: 0 4px 20px rgba(26,115,232,0.28);
}

.hi-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,115,232,0.4);
}

.hi-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.hi-btn-primary:hover::after { left: 150%; }

.hi-btn-ios {
  background: rgba(255,255,255,0.9);
  color: var(--text-primary);
  border-color: rgba(226,232,240,0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.hi-btn-ios:hover {
  border-color: rgba(59,130,246,0.4);
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,115,232,0.1);
}

.hi-btn-android {
  background: rgba(255,255,255,0.9);
  color: var(--text-primary);
  border-color: rgba(226,232,240,0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.hi-btn-android:hover {
  border-color: rgba(59,130,246,0.4);
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,115,232,0.1);
}

.hi-btn-icon { font-size: 18px; flex-shrink: 0; }

.btn-text-hover { display: none; }
.hi-btn:hover .btn-text-default { display: none; }
.hi-btn:hover .btn-text-hover { display: inline; }

/* Phone area */
.hero-intro-phone-area {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.hi-phone-3d-container {
  position: relative;
  display: inline-block;
}

.hi-phone-mockup {
  width: 220px;
  background: linear-gradient(145deg, #e8eef4 0%, #dde5ef 100%);
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 2px 0 1px rgba(255,255,255,0.9),
    0 20px 60px rgba(26,115,232,0.18),
    0 40px 100px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
  animation: phone-float 4s ease-in-out infinite;
  position: relative;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.8);
}

@keyframes phone-float {
  0%, 100% { transform: perspective(900px) rotateY(-8deg) rotateX(4deg) translateY(0px); }
  50%       { transform: perspective(900px) rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}

.hi-phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 9/19.5;
  position: relative;
}

.hi-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hi-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 10px;
  background: #0f172a;
  border-radius: 6px;
  z-index: 5;
}

.hi-phone-ui-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 60%, #0f2744 100%);
  display: flex;
  flex-direction: column;
  padding: 32px 14px 14px;
  gap: 10px;
}

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

.hi-ui-logo { color: #60a5fa; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; }
.hi-ui-time { color: rgba(255,255,255,0.4); font-size: 10px; }

.hi-ui-pair {
  color: white;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hi-ui-price {
  font-size: 26px;
  font-weight: 900;
  color: #34d399;
  letter-spacing: -0.04em;
  margin: -4px 0 2px;
}

.hi-ui-change {
  font-size: 11px;
  color: #34d399;
  background: rgba(52,211,153,0.12);
  border-radius: 4px;
  padding: 2px 7px;
  display: inline-block;
  margin-bottom: 10px;
}

.hi-ui-chart {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 48px;
  margin-bottom: 10px;
}

.hi-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(96,165,250,0.25);
  transition: all 0.4s ease;
}

.hi-bar.up { background: rgba(52,211,153,0.5); }
.hi-bar.hi { background: rgba(96,165,250,0.7); }

.hi-ui-btn-row {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.hi-ui-buy {
  flex: 1;
  background: linear-gradient(135deg, #1A73E8, #3B82F6);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 9px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hi-ui-sell {
  flex: 1;
  background: rgba(239,68,68,0.8);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 9px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hi-ui-tag {
  background: rgba(26,115,232,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 6px;
  color: #93c5fd;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  text-align: center;
}

.hi-screen-glare {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  border-radius: 28px 28px 0 0;
  pointer-events: none;
  z-index: 4;
}

.hi-phone-reflection {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%) scaleY(-1) perspective(200px) rotateX(20deg);
  width: 220px;
  height: 80px;
  background: linear-gradient(180deg, rgba(26,115,232,0.12) 0%, transparent 100%);
  filter: blur(10px);
  border-radius: 36px;
  z-index: 1;
  animation: reflection-float 4s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes reflection-float {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleY(-1) translateY(0px); }
  50% { opacity: 0.35; transform: translateX(-50%) scaleY(-1) translateY(6px); }
}

.hi-orbit-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hi-orbit-label {
  position: absolute;
  background: var(--gradient-card);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(26,115,232,0.10);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hi-orbit-label:hover {
  background: var(--gradient-blue);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(26,115,232,0.25);
  transform: scale(1.05);
}

.hi-orbit-label .lbl-icon {
  width: 20px; height: 20px;
  background: rgba(59,130,246,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  transition: var(--transition);
}

.hi-orbit-label:hover .lbl-icon { background: rgba(255,255,255,0.2); }

.hi-orbit-label:nth-child(1) { top: 4%;  left: -30%; animation: lbl-float 3.8s ease-in-out infinite; }
.hi-orbit-label:nth-child(2) { top: 22%; right: -38%; animation: lbl-float 4.2s ease-in-out infinite 0.4s; }
.hi-orbit-label:nth-child(3) { top: 45%; left: -35%; animation: lbl-float 3.5s ease-in-out infinite 0.8s; }
.hi-orbit-label:nth-child(4) { top: 65%; right: -33%; animation: lbl-float 4.5s ease-in-out infinite 1.2s; }
.hi-orbit-label:nth-child(5) { top: 80%; left: -28%; animation: lbl-float 3.9s ease-in-out infinite 0.5s; }
.hi-orbit-label:nth-child(6) { top: 92%; right: -30%; animation: lbl-float 4.1s ease-in-out infinite 1.0s; }

@keyframes lbl-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.hi-orbit-label::after {
  content: '';
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand-blue);
  opacity: 0.4;
}

.hi-orbit-label:nth-child(odd)::after  { right: -20px; top: 50%; transform: translateY(-50%); }
.hi-orbit-label:nth-child(even)::after { left: -20px; top: 50%; transform: translateY(-50%); }

.hi-phone-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 520px;
  border-radius: 50px;
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.12),
    0 0 40px rgba(59,130,246,0.08),
    0 0 80px rgba(59,130,246,0.04);
  animation: glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(59,130,246,0.12), 0 0 40px rgba(59,130,246,0.08), 0 0 80px rgba(59,130,246,0.04); }
  50% { box-shadow: 0 0 0 1px rgba(59,130,246,0.2), 0 0 60px rgba(59,130,246,0.13), 0 0 100px rgba(59,130,246,0.07); }
}

/* ===================== SPREAD TABLE SECTION ===================== */
.spread-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(241,245,249,0.5) 0%, transparent 100%);
}

.spread-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.spread-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--card-border);
  background: var(--gradient-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
}

.spread-tab:hover {
  border-color: rgba(59,130,246,0.35);
  color: var(--brand-blue);
  background: rgba(59,130,246,0.04);
}

.spread-tab.active {
  background: var(--gradient-blue);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(26,115,232,0.25);
}

.spread-tab i { font-size: 13px; }

.spread-table-wrap {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  backdrop-filter: var(--blur-sm);
  overflow: hidden;
}

.spread-panel { display: none; }
.spread-panel.active { display: block; }

table.spread-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

table.spread-tbl thead tr {
  background: rgba(241,245,249,0.8);
  border-bottom: 2px solid rgba(59,130,246,0.1);
}

table.spread-tbl thead th {
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

table.spread-tbl thead th:first-child {
  padding-left: 28px;
}

table.spread-tbl thead th.th-right,
table.spread-tbl tbody td.td-right {
  text-align: right;
}

table.spread-tbl tbody tr {
  border-bottom: 1px solid rgba(226,232,240,0.5);
  transition: var(--transition);
}

table.spread-tbl tbody tr:last-child { border-bottom: none; }

table.spread-tbl tbody tr:hover {
  background: rgba(59,130,246,0.03);
}

table.spread-tbl tbody td {
  padding: 14px 20px;
  color: var(--text-primary);
  vertical-align: middle;
}

table.spread-tbl tbody td:first-child {
  padding-left: 28px;
  font-weight: 700;
}

.tbl-symbol {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tbl-sym-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(14,165,233,0.1));
  border: 1px solid rgba(59,130,246,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.tbl-sym-name { font-weight: 700; font-size: 14px; color: var(--text-primary); }
.tbl-sym-full { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

.spread-val {
  font-weight: 700;
  color: var(--brand-blue);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.spread-val.tight { color: #16a34a; }
.spread-val.wide  { color: #ea580c; }

.leverage-badge {
  display: inline-block;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
}

.spread-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #16a34a;
  font-weight: 500;
}

.spread-live-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.spread-footer {
  padding: 14px 28px;
  border-top: 1px solid rgba(226,232,240,0.6);
  background: rgba(248,250,252,0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.spread-footer-note {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.spread-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--gradient-blue);
  color: white;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(26,115,232,0.22);
}

.spread-footer-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(26,115,232,0.32);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-intro-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-intro-phone-area {
    min-height: 380px;
    order: -1;
  }
  .hi-phone-mockup {
    width: 180px;
  }
  .hi-orbit-label:nth-child(1) { left: -18%; }
  .hi-orbit-label:nth-child(3) { left: -20%; }
  .hi-orbit-label:nth-child(5) { left: -16%; }
  .hi-orbit-label:nth-child(2) { right: -24%; }
  .hi-orbit-label:nth-child(4) { right: -20%; }
  .hi-orbit-label:nth-child(6) { right: -18%; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-card:last-child { grid-column: span 2; }
  .features-fan { grid-template-columns: 1fr 1fr; }
  .features-fan .feature-card:nth-child(5) { grid-column: span 2; }
  .features-fan .feature-card:nth-child(3) { transform: none !important; }
  .features-fan .feature-card.visible:nth-child(3) { transform: none !important; }
  .download-bar-inner { flex-wrap: wrap; }
  .compliance-card { padding: 24px; }
  .compliance-row { flex-direction: column; align-items: flex-start; }
  .hero-intro-stats { flex-direction: column; }
  .hero-stat-item { border-right: none; border-bottom: 1px solid var(--card-border); }
  .hero-stat-item:last-child { border-bottom: none; }
  table.spread-tbl thead th,
  table.spread-tbl tbody td { padding: 12px 12px; }
  table.spread-tbl thead th:first-child,
  table.spread-tbl tbody td:first-child { padding-left: 16px; }
  .spread-tabs { gap: 6px; }
  .spread-tab { padding: 7px 14px; font-size: 12px; }
}

@media (max-width: 540px) {
  .tbl-col-hide { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat-card:last-child { grid-column: span 1; }
  .features-fan { grid-template-columns: 1fr; }
  .features-fan .feature-card:nth-child(5) { grid-column: span 1; }
  #tmgm-app-content section { padding: 48px 0; }
  .download-buttons { flex-wrap: wrap; }
  .hero-intro-cta { flex-direction: column; }
  .hi-btn { justify-content: center; }
  .hi-orbit-label { display: none; }
}

/* ===================== APP INFO SECTION ===================== */
.app-info-section {}

/* --- Overview Card --- */
.app-overview-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 36px;
}

.app-overview-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--card-border);
  flex-wrap: wrap;
}

.app-icon-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-icon-img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  display: block;
}

.app-icon-svg {
  font-size: 28px;
  color: #fff;
}

.app-overview-meta {
  flex: 1;
  min-width: 0;
}

.app-overview-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
  line-height: 1.3;
}

.app-overview-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 10px;
}

.app-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
}

.app-stat-item:first-child {
  padding-left: 0;
}

.app-stat-divider {
  width: 1px;
  height: 22px;
  background: var(--card-border);
}

.app-stat-icon {
  font-size: 13px;
}

.app-stat-icon.star { color: #f59e0b; }
.app-stat-icon.dl   { color: var(--brand-blue); }
.app-stat-icon.ver  { color: var(--accent-teal); }
.app-stat-icon.upd  { color: #10b981; }

.app-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.app-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.app-overview-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--gradient-blue);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(26,115,232,0.25);
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 4px;
}

.app-overview-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,115,232,0.35);
}

/* --- Description --- */
.app-desc-wrap {
  padding: 22px 28px 24px;
  position: relative;
}

.app-desc-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
  white-space: pre-line;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  transition: -webkit-line-clamp 0.3s;
}

.app-desc-text.expanded {
  -webkit-line-clamp: unset;
}

.app-desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: transparent;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.app-desc-toggle:hover {
  background: rgba(26,115,232,0.06);
  border-color: var(--brand-blue);
}

/* --- Screenshots --- */
.app-screenshots-block,
.app-reviews-block {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 28px;
  padding: 24px 28px;
}

.app-screenshots-header,
.app-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.app-screenshots-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-screenshots-label i {
  color: var(--brand-blue);
}

.app-screenshots-nav {
  display: flex;
  gap: 8px;
}

.app-shots-nav-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.app-shots-nav-btn:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.app-shots-track-wrap {
  overflow: hidden;
  border-radius: 12px;
}

.app-shots-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.app-shots-track::-webkit-scrollbar { display: none; }

.app-shot-item {
  flex-shrink: 0;
  width: 160px;
  height: 284px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: var(--transition);
  background: #e2e8f0;
}

.app-shot-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 28px rgba(26,115,232,0.2);
  border-color: var(--brand-blue);
}

.app-shot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-shots-empty {
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Screenshot lightbox */
.app-shot-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.app-shot-lightbox.show {
  display: flex;
}

.app-shot-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}

.app-shot-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: var(--transition);
}

.app-shot-lightbox-close:hover { opacity: 1; transform: rotate(90deg); }

/* --- Reviews --- */
.app-reviews-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.app-filter-btn:hover {
  background: rgba(26,115,232,0.06);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.app-filter-btn.active {
  background: var(--gradient-blue);
  border-color: transparent;
  color: #fff;
}

.app-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.app-review-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: var(--transition);
  position: relative;
}

.app-review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

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

.app-review-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1;
}

.app-rating-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.app-rating-badge.positive {
  background: rgba(16,185,129,0.12);
  color: #059669;
}

.app-rating-badge.neutral {
  background: rgba(59,130,246,0.12);
  color: #2563eb;
}

.app-rating-badge.below {
  background: rgba(245,158,11,0.12);
  color: #d97706;
}

.app-rating-badge.negative {
  background: rgba(239,68,68,0.12);
  color: #dc2626;
}

.app-review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.app-review-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.app-review-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
}

.app-review-content {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.app-reviews-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Avatar initials */
.app-review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .app-overview-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .app-overview-cta {
    width: 100%;
    justify-content: center;
  }
  .app-overview-stats {
    gap: 0;
  }
  .app-stat-item {
    padding: 0 10px;
  }
  .app-stat-item:first-child { padding-left: 0; }
  .app-reviews-grid {
    grid-template-columns: 1fr;
  }
  .app-screenshots-block,
  .app-reviews-block {
    padding: 18px 16px;
  }
  .app-desc-wrap { padding: 18px 16px; }
  .app-overview-header { padding: 18px 16px 14px; }
}

@media (max-width: 480px) {
  .app-stat-divider { display: none; }
  .app-overview-stats { gap: 14px; }
  .app-stat-item { padding: 0; }
}
