/* ============================================================
   Omnivia Apps — Style Sheet
   Apple-inspired dark theme with glassmorphism
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg:          #0a0a0a;
  --bg-card:     #1c1c1e;
  --bg-card-alt: #2c2c2e;
  --border:      rgba(255,255,255,0.08);
  --border-light:rgba(255,255,255,0.14);
  --text:        #ffffff;
  --text-secondary: rgba(255,255,255,0.6);
  --text-tertiary:  rgba(255,255,255,0.4);
  --accent:      #34C759;
  --accent-dark: #2DB84E;
  --accent-glow: rgba(52,199,89,0.25);
  --gradient-hero: linear-gradient(160deg, #0a0a0a 0%, #0d1f15 40%, #0a1a2e 100%);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --max-width:   1200px;
  --transition:  0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }

.section {
  padding: 120px 0;
  position: relative;
}
.section-sm { padding: 80px 0; }

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

/* ---------- Category blocks (used inside #other-apps to group apps
   by category — Wellness / Productivity & Voice / Lifestyle) ---------- */
.category-block {
  margin-bottom: 64px;
}
.category-block:last-child {
  margin-bottom: 0;
}
.category-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  margin: 0 auto 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  max-width: 1100px;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10,10,10,0.75);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent), #28a745);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* glow orb behind hero */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.35;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Featured App (CaddieIQ) ---------- */
.featured {
  padding: 100px 0 120px;
  position: relative;
}

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

.featured-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--bg-card);
  border-radius: 36px;
  border: 2px solid var(--border-light);
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px var(--accent-glow);
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0d1f15 0%, #0a1a2e 100%);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  padding: 20px;
}

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

/* ── CaddieIQ screenshot carousel inside the phone frame ─── */
.phone-screen-carousel {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
}
.phone-screen-carousel .phone-screen-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: opacity;
}
.phone-screen-carousel .phone-screen-img.active { opacity: 1; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
}
.carousel-arrow:hover {
  background: rgba(52,199,89,0.85);
  transform: translateY(-50%) scale(1.05);
}
.carousel-arrow.prev { left: -56px; }
.carousel-arrow.next { right: -56px; }
@media (max-width: 600px) {
  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--accent, #34C759);
  transform: scale(1.3);
}
.carousel-dot:hover { background: rgba(255,255,255,0.5); }

.featured-info { max-width: 500px; }

.featured-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.featured-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: all var(--transition);
}
.feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-light);
}

.feature-card-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.feature-card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-card-desc {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ---------- App Cards Grid ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.app-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.app-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
  overflow: hidden;
}

/* When the icon contains a real PNG (CaddieIQ, SwingCaddieIQ,
   RangeCaddieIQ, TapMyScore, MyGolfHandicap), drop the gradient
   background and let the image fill the rounded square. */
.app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.app-card-icon.has-img {
  background: transparent !important;
}

.app-card-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.app-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.5;
}

.app-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}

.tag-hub       { background: rgba(52,199,89,0.15); color: var(--accent); }
.tag-companion { background: rgba(0,122,255,0.15); color: #0A84FF; }
.tag-standalone{ background: rgba(255,159,10,0.15); color: #FF9F0A; }
.tag-watch     { background: rgba(175,82,222,0.15); color: #BF5AF2; }

.store-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition);
}

.badge-play {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid var(--border);
}
.badge-play:hover {
  background: rgba(255,255,255,0.14);
}

.badge-apple {
  background: rgba(255,255,255,0.04);
  color: var(--text-tertiary);
  border: 1px solid rgba(255,255,255,0.05);
  cursor: default;
}

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

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.pricing-toggle span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.pricing-toggle span.active { color: var(--text); }

.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--bg-card-alt);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background var(--transition);
}
.toggle-switch.active {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle-knob {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform var(--transition);
}
.toggle-switch.active .toggle-knob {
  transform: translateX(24px);
}

.save-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(52,199,89,0.12);
  padding: 4px 10px;
  border-radius: 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-light);
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.pricing-popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ---------- About ---------- */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

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

.footer-copy {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }

/* ---------- Golf Page — Feature Detail ---------- */
.app-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.app-detail:last-child { border-bottom: none; }
.app-detail.reverse { direction: rtl; }
.app-detail.reverse > * { direction: ltr; }

.app-detail-info { max-width: 480px; }

.app-detail-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.app-detail-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
}

.feature-list li {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 600;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table thead th {
  text-align: center;
  padding: 16px 12px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.comparison-table thead th:first-child { text-align: left; }

.comparison-table tbody td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.comparison-table tbody td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.comparison-table .check { color: var(--accent); font-weight: 700; }
.comparison-table .dash  { color: var(--text-tertiary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }

  .section { padding: 80px 0; }

  .hero { min-height: 85vh; }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .featured-info { max-width: 100%; }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .app-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .app-detail {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-detail.reverse { direction: ltr; }
  .app-detail-info { max-width: 100%; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .comparison-table {
    font-size: 12px;
  }
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 6px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .phone-frame { width: 220px; height: 440px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .pricing-price { font-size: 32px; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-card-alt); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ---------- Feature modal (caddieiq-style, simpler than app modal) ---------- */
.feature-card-mini {
  position: relative;
}
.feature-card-mini .feature-more {
  margin-top: 16px;
  background: transparent;
  border: 1px solid rgba(52,199,89,0.4);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
  display: inline-block;
}
.feature-card-mini .feature-more:hover {
  background: rgba(52,199,89,0.12);
  border-color: rgba(52,199,89,0.7);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}
.modal-overlay.open {
  display: flex;
  opacity: 1;
}
.modal-card {
  background: #111;
  border: 1px solid rgba(52,199,89,0.3);
  border-radius: 22px;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
  transform: translateY(8px);
  transition: transform .25s ease;
}
.modal-overlay.open .modal-card { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,0.14); }
.modal-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(52,199,89,0.12);
  border: 1px solid rgba(52,199,89,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.modal-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.modal-tag {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
}
.modal-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.modal-card li {
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  padding-left: 26px;
  position: relative;
}
.modal-card li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.modal-card .modal-foot {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ---------- App Learn-more modal ---------- */
.badge-learn {
  background: rgba(52,199,89,0.12);
  color: #34C759;
  border: 1px solid rgba(52,199,89,0.35);
  cursor: pointer;
}
.badge-learn:hover {
  background: rgba(52,199,89,0.22);
  border-color: rgba(52,199,89,0.6);
}
.app-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}
.app-modal-overlay.open { display: flex; opacity: 1; }
.app-modal-card {
  background: #0f0f10;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.85);
  transform: translateY(8px);
  transition: transform .25s ease;
}
.app-modal-overlay.open .app-modal-card { transform: translateY(0); }
.app-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
}
.app-modal-close:hover { background: rgba(255,255,255,0.14); }
.app-modal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}
.app-modal-phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  background: #0a0a0a;
  border: 10px solid #111;
  border-radius: 42px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06) inset;
  overflow: hidden;
  margin: 0 auto;
}
.app-modal-phone .app-modal-screen {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}
.app-modal-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease;
}
.app-modal-screen img.active { opacity: 1; }
.app-modal-phone .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 4;
}
.app-modal-phone .carousel-arrow:hover { background: rgba(52,199,89,0.85); }
.app-modal-phone .carousel-arrow.prev { left: 6px; }
.app-modal-phone .carousel-arrow.next { right: 6px; }
.app-modal-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}
.app-modal-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
}
.app-modal-dots button.active {
  background: #34C759;
  transform: scale(1.3);
}
.app-modal-info h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.app-modal-tag {
  font-size: 16px;
  font-weight: 600;
  color: #34C759;
  margin-bottom: 18px;
}
.app-modal-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 11px;
}
.app-modal-info li {
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
}
.app-modal-info li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: #34C759;
  font-weight: 700;
}
.app-modal-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.app-modal-foot {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 10px;
}
@media (max-width: 760px) {
  .app-modal-grid { grid-template-columns: 1fr; gap: 24px; }
  .app-modal-card { padding: 24px 18px; }
  .app-modal-info h3 { font-size: 22px; }
  .app-modal-phone { width: 220px; }
}
