@import url('https://fonts.googleapis.com/css2?family=Anek+Gujarati:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================
   APP THEME DESIGN TOKENS (from lib/core/theme/theme.dart)
   ========================================================== */
:root {
  --primary: #8F4E00;                  /* Deep Sacred Ochre */
  --primary-hover: #733E00;
  --primary-light: #FFF0DF;            /* Soft ochre tint */
  --primary-border: #FFD29E;
  --primary-container: #FF9933;        /* Vibrant Saffron / Bhagwa */
  --on-primary-container: #693800;

  --secondary: #B22B1D;                /* Vermilion / Sindoor Red */
  --secondary-light: #FEECE9;

  --flame: #E87A1E;                    /* Daily Streak Fire */
  --flame-bg: #FDECDA;

  --bg-color: #FFF8F1;                 /* Sacred Parchment Light */
  --surface-card: #FFFFFF;
  --surface-translucent: rgba(255, 248, 241, 0.88);

  --text-main: #1E1B17;                /* Charcoal */
  --text-muted: #554336;               /* Earthy Warm Tone */
  --text-light: #887364;               /* Muted Outline */
  --border-color: #EEDBCC;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(143, 78, 0, 0.05);
  --shadow-md: 0 10px 28px rgba(143, 78, 0, 0.08);
  --shadow-lg: 0 20px 44px rgba(143, 78, 0, 0.12);
}

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

a,
button,
[role="button"],
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 153, 51, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(178, 43, 29, 0.05) 0%, transparent 45%);
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section-wrap {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ==========================================================
   NAVBAR & BRAND (COLUMN VIEW FOR BRAND TEXT)
   ========================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 241, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  cursor: default;
  user-select: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(143, 78, 0, 0.2);
  border: 1.5px solid var(--primary-border);
}

.brand-fallback-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rozha One', serif;
  font-size: 20px;
}

/* Strict column view for brand title & tagline */
.brand-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  line-height: 1.2 !important;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.brand-tagline {
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block !important;
  margin-top: 2px !important;
  line-height: 1 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-links li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
  display: inline-block;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #181512;
  color: #FFFFFF;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
  flex-shrink: 0;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav-cta > * {
  position: relative;
  z-index: 2;
}

.nav-cta::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -120%;
  width: 70%;
  height: 140%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(255, 255, 255, 0.30) 50%,
    rgba(255, 245, 220, 0.38) 55%,
    rgba(255, 255, 255, 0.04) 80%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 1;
  animation: downloadBtnShimmer 6.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 1.2s;
}

.nav-cta:hover {
  background: #000000;
  border-color: rgba(255, 153, 51, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.26), 0 0 16px rgba(255, 153, 51, 0.20);
}

.nav-cta:hover::after {
  animation: downloadBtnShimmerHover 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.nav-cta svg {
  flex-shrink: 0;
}

/* ==========================================================
   NAV ACTIONS & LANGUAGE PICKER (INDIC TRANSLATION)
   ========================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-picker-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.lang-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  padding: 4px 12px 4px 5px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
  user-select: none;
}

.lang-picker-btn:hover {
  background: #FFFFFF;
  border-color: var(--primary-border);
  box-shadow: 0 4px 16px rgba(143, 78, 0, 0.12);
  transform: translateY(-1px);
}

.lang-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF0DF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lang-picker-btn:hover .lang-badge-icon {
  transform: scale(1.05);
}

.lang-badge-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.lang-current-label {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.86rem;
  letter-spacing: -0.1px;
}

.lang-chevron {
  color: var(--text-light);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.lang-picker-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

/* Floating Dropdown Menu */
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(143, 78, 0, 0.16);
  padding: 6px;
  min-width: 180px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.90rem;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.lang-option-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.lang-option-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.lang-opt-name {
  font-weight: 600;
}

.lang-opt-native {
  font-size: 0.76rem;
  color: var(--text-light);
  margin-left: auto;
  margin-right: 8px;
}

.lang-option-item.active .lang-opt-native {
  color: var(--primary);
}

.lang-check {
  font-size: 0.85rem;
  color: var(--primary);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
  font-weight: 700;
}

.lang-option-item.active .lang-check {
  opacity: 1;
  transform: scale(1);
}

/* Indic Typography Enhancements */
html[lang="hi"] body,
html[lang="mr"] body {
  font-family: 'Poppins', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html[lang="gu"],
html[lang="gu"] body,
html[lang="gu"] button,
html[lang="gu"] input,
html[lang="gu"] select,
html[lang="gu"] textarea {
  font-family: 'Anek Gujarati', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lang-option-item[data-lang="gu"] {
  font-family: 'Anek Gujarati', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Prevent top clipping of Indic matras, bindus, and shirorekha */
html[lang="hi"] .hero-title,
html[lang="mr"] .hero-title,
html[lang="gu"] .hero-title {
  line-height: 1.36 !important;
  letter-spacing: normal !important;
  padding-top: 6px;
  overflow: visible;
}

html[lang="hi"] .section-heading h2,
html[lang="mr"] .section-heading h2,
html[lang="gu"] .section-heading h2,
html[lang="hi"] .cta-box h2,
html[lang="mr"] .cta-box h2,
html[lang="gu"] .cta-box h2 {
  line-height: 1.36 !important;
  letter-spacing: normal !important;
  padding-top: 4px;
}


/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  padding: 34px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: flex-start;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  height: 34px;
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  padding: 0 10px;
  overflow: hidden;
  box-sizing: border-box;
  user-select: none;
}

.hero-badge-roller {
  height: 32px;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: block;
}

.hero-badge-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  animation: heroBadgeRotate 7.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.hero-badge:hover .hero-badge-track {
  animation-play-state: paused;
}

.hero-badge-item {
  height: 32px;
  line-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--primary);
  font-weight: 600;
  margin: 0;
  padding: 0;
}

@keyframes heroBadgeRotate {
  0%, 26% {
    transform: translateY(0);
  }
  33.333%, 59.333% {
    transform: translateY(-25%);
  }
  66.666%, 92.666% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(-75%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge-track {
    animation: none;
  }

  .btn-google-play::after,
  .nav-cta::after {
    display: none !important;
    animation: none !important;
  }
}

.hero-title {
  font-size: clamp(1.65rem, 2.8vw + 0.85rem, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-title span.saffron-highlight {
  background: linear-gradient(135deg, #FF9933 0%, #E87A1E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  padding-top: 0.22em;
  padding-bottom: 0.08em;
  margin-top: 3px;
  margin-bottom: -0.08em;
  line-height: inherit;
  overflow: visible;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 520px;
}

.hero-award-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -3px;
  margin-right: 7px;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}

.hero-award-icon:hover {
  transform: scale(1.15) rotate(-3deg);
}

.hero-award-svg {
  width: 20px;
  height: 20px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.28));
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 240, 0.9));
  border: 1px solid rgba(255, 153, 0, 0.25);
  width: 236px;
  height: 52px;
  padding: 0 22px 0 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  box-shadow: 0 2px 12px rgba(255, 153, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
  flex: none;
  flex-shrink: 0;
  white-space: nowrap;
  box-sizing: border-box;
}

.hero-trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(255, 153, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(255, 153, 0, 0.2);
}

.trust-icon svg {
  filter: drop-shadow(0 1px 2px rgba(255, 153, 0, 0.3));
}

.trust-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.trust-stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
}

.trust-star {
  color: #FF9900;
  font-size: 0.80rem;
  line-height: 1;
  display: inline-block;
  animation: starPop 0.4s ease-out backwards;
  filter: drop-shadow(0 0 2px rgba(255, 153, 0, 0.4));
}

.trust-star:nth-child(1) { animation-delay: 0.1s; }
.trust-star:nth-child(2) { animation-delay: 0.2s; }
.trust-star:nth-child(3) { animation-delay: 0.3s; }
.trust-star:nth-child(4) { animation-delay: 0.4s; }
.trust-star:nth-child(5) { animation-delay: 0.5s; }

@keyframes starPop {
  0% { opacity: 0; transform: scale(0) rotate(-30deg); }
  60% { transform: scale(1.3) rotate(5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.trust-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.trust-label strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: nowrap;
}

.btn-google-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #1A1A1A;
  color: #FFFFFF;
  width: 236px;
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  transition: all 0.25s ease;
  border: 1px solid #333333;
  flex: none;
  flex-shrink: 0;
  white-space: nowrap;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.btn-google-play > * {
  position: relative;
  z-index: 2;
}

.btn-google-play::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -120%;
  width: 70%;
  height: 140%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(255, 255, 255, 0.30) 50%,
    rgba(255, 245, 220, 0.38) 55%,
    rgba(255, 255, 255, 0.04) 80%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 1;
  animation: downloadBtnShimmer 6.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.cta-box .btn-google-play::after {
  animation-delay: 0.6s;
}

.btn-google-play:hover {
  background: #000000;
  border-color: rgba(255, 153, 51, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 153, 51, 0.22);
}

.btn-google-play:hover::after {
  animation: downloadBtnShimmerHover 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.btn-google-play svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

/* Download Buttons Shimmer Keyframes */
@keyframes downloadBtnShimmer {
  0% {
    left: -120%;
  }
  38% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

@keyframes downloadBtnShimmerHover {
  0% {
    left: -120%;
  }
  100% {
    left: 150%;
  }
}

.btn-play-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn-play-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #D1D5DB;
}

.btn-play-main {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
}

.hero-features-strip {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: start;
  row-gap: 16px;
  column-gap: 32px;
  margin-top: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
}

.strip-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4 !important;
  white-space: nowrap;
}

.strip-bullet {
  color: var(--primary) !important;
  font-size: 0.85rem !important;
  flex-shrink: 0 !important;
  line-height: 1.4 !important;
  height: 1.4em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.strip-item strong {
  color: var(--text-main);
  font-weight: 600;
}

/* ==========================================================
   SMARTPHONE MOCKUP (FEATURING AUTHENTIC APP SCREENSHOTS)
   ========================================================== */
.mockup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Unified Phone Frame: 228px width x 490px height matches all section phone frames */
.phone-wrapper {
  position: relative;
  width: 228px;
  height: 490px;
  background: #1F1B18;
  border-radius: 32px;
  padding: 6px;
  box-shadow: 
    0 16px 36px rgba(143, 78, 0, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.09),
    inset 0 0 0 1.5px #38312B;
  flex-shrink: 0;
  margin: 0 auto;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1F1B18;
  border-radius: 26px;
  overflow: hidden;
  display: block;
}

.phone-notch,
.phone-notch-mini {
  display: none !important;
}

.mockup-screen-tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), visibility 0.3s ease;
  will-change: opacity;
}

.mockup-screen-tab.prev-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: none;
}

.mockup-screen-tab.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
  transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mockup-real-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 26px;
  display: block;
}

/* Invisible tap targets over the bottom nav bar of the real screenshot */
.phone-screen-touch-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 40;
}

.phone-screen-touch-nav div {
  cursor: pointer;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

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

/* Reusable Phone Frame for Feature Sections */
.section-phone-frame {
  width: 228px;
  height: 490px;
  background: #1F1B18;
  border-radius: 32px;
  padding: 6px;
  box-shadow: 
    0 16px 36px rgba(143, 78, 0, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.09),
    inset 0 0 0 1.5px #38312B;
  position: relative;
  flex-shrink: 0;
  margin: 0 auto;
}



.section-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 26px;
  display: block;
}


/* ==========================================================
   FEATURE SECTIONS GENERAL
   ========================================================== */
.section-wrap {
  padding: 68px 0;
}

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

.section-heading {
  margin-bottom: 36px;
}

.section-tag-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.section-main-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-main-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.65;
}

/* ==========================================================
   FEATURE 1: READING & CUSTOMIZATION
   ========================================================== */
.reading-content-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

/* Sacred Stutis & Kathas Library Strip */
.reading-library-footer {
  margin-top: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.library-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  row-gap: 16px;
  column-gap: 10px;
}

.stuti-chip {
  background: var(--bg-color);
  border: 1px solid rgba(143, 78, 0, 0.14);
  color: var(--text-main);
  font-size: 0.80rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  cursor: default;
}

.stuti-chip:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.customizer-feature-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  row-gap: 4px;
  align-items: start;
  margin-bottom: 8px;
}

.customizer-feature-item:last-child {
  margin-bottom: 0;
}

.feature-item-header {
  display: contents;
}

.feat-header-icon {
  grid-row: 1 / span 2;
  grid-column: 1;
  align-self: start;
  margin-top: 1px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  background: rgba(143, 78, 0, 0.09);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s ease;
}

.feat-header-icon svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  flex-shrink: 0;
}

.customizer-feature-item:hover .feat-header-icon {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.06);
}

.feature-item-header strong {
  grid-row: 1;
  grid-column: 2;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  display: block;
}

.feature-item-desc {
  grid-row: 2;
  grid-column: 2;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.48;
  padding-left: 0;
  margin: 0;
}

/* ==========================================================
   FEATURE CONTENT COLUMNS (READING, AUDIO, VIDEO, JAAP, INSIGHT, SADHANA)
   ========================================================== */
.reading-content-col,
.audio-content-col,
.video-content-col,
.jaap-content-col,
.insight-content-col,
.sadhana-content-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.video-tiles-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.video-tile-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(143, 78, 0, 0.05);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.video-tile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(143, 78, 0, 0.12);
  border-color: var(--primary-border);
}

.video-tile-thumb {
  position: relative;
  width: 118px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}

.video-tile-card:hover .video-tile-thumb {
  transform: scale(1.03);
}

/* Devotional Aura Gradients */
.video-thumb-bg-1 {
  background: radial-gradient(circle at center, rgba(255, 140, 0, 0.3) 0%, transparent 70%),
              linear-gradient(135deg, #B83B00 0%, #4D1801 65%, #240900 100%);
}

.video-thumb-bg-2 {
  background: radial-gradient(circle at center, rgba(255, 180, 0, 0.3) 0%, transparent 70%),
              linear-gradient(135deg, #C26600 0%, #522A00 65%, #291500 100%);
}

.video-thumb-bg-3 {
  background: radial-gradient(circle at center, rgba(255, 80, 0, 0.28) 0%, transparent 70%),
              linear-gradient(135deg, #8E1500 0%, #400800 65%, #1F0300 100%);
}

.video-thumb-bg-4 {
  background: radial-gradient(circle at center, rgba(240, 160, 40, 0.28) 0%, transparent 70%),
              linear-gradient(135deg, #7A4200 0%, #3B2000 65%, #1B0E00 100%);
}

.video-play-glyph {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #E87A1E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  padding-left: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: all 0.22s ease;
  z-index: 2;
}

.video-tile-card:hover .video-play-glyph {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(232, 122, 30, 0.45);
}

.video-badge-hd {
  position: absolute;
  top: 5px;
  left: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #FFD54F;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.video-badge-dur {
  position: absolute;
  bottom: 5px;
  right: 6px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  z-index: 2;
}

.video-tile-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.video-tile-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
  min-width: 0;
  width: 100%;
}

.video-tile-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.video-views-badge {
  font-size: 0.70rem;
  font-weight: 700;
  color: #E87A1E;
  background: #FFF3E6;
  border: 1px solid rgba(232, 122, 30, 0.25);
  padding: 1px 7px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.video-tile-artist {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.video-tile-artist strong {
  color: var(--text-main);
  font-weight: 600;
}

.video-tags-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  min-width: 0;
}

.video-tag-chip {
  font-size: 0.66rem;
  color: var(--primary);
  background: rgba(143, 78, 0, 0.08);
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 600;
  white-space: nowrap;
}

.video-heart-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #FFFDF9;
  color: #C2B6AA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  flex-shrink: 0;
  padding: 0;
}

.video-heart-btn:hover {
  background: #FFEBEE;
  border-color: #FFCDD2;
  color: #E53935;
  transform: scale(1.12);
}

.video-heart-btn.active {
  background: #FFEBEE;
  border-color: #EF5350;
  color: #E53935;
}

.video-heart-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-heart-btn.active svg {
  transform: scale(1.15);
}

.video-features-strip {
  margin-top: 14px;
  background: #FFF9F2;
  border: 1px solid var(--primary-border);
  border-radius: 14px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.video-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-feat-item .feat-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.video-feat-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 2px;
}

.video-feat-item span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================
   FEATURE 4: JAAP MALA
   ========================================================== */
.jaap-split {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.jaap-feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.jaap-bead-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFF6ED 0%, #FFFFFF 100%);
  border: 2px dashed var(--primary-border);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
}

.jaap-bead-visual:hover {
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(255, 153, 51, 0.25);
  border-color: var(--primary-container);
}

.jaap-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.15s ease;
}

.jaap-total-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 4px;
}

.jaap-haptics-row {
  display: flex;
  justify-content: space-around;
  background: #FFF8F1;
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.8rem;
}

/* ==========================================================
   FEATURE 5: DAILY WISDOM & FEATURE 6: DAILY SADHANA & STREAK
   ========================================================== */
.insight-content-col,
.sadhana-content-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}


/* ==========================================================
   DOWNLOAD CTA
   ========================================================== */
.cta-banner-wrap {
  padding: 56px 0 72px;
}

.cta-box {
  background: linear-gradient(135deg, #301908 0%, #150B05 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: #FFFFFF;
  text-align: center;
  border: 1px solid rgba(255, 153, 51, 0.25);
  box-shadow: var(--shadow-lg);
  max-width: 820px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.cta-box p {
  font-size: 1rem;
  color: #E5E7EB;
  margin-bottom: 26px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================
   FOOTER (COLUMN VIEW FOR BRAND TEXT)
   ========================================================== */
footer {
  background: #140E0A;
  color: #9C938C;
  padding: 50px 0 26px;
  border-top: 1px solid #281D17;
  font-size: 0.88rem;
}

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

.footer-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
}

.footer-links-list a {
  color: #BDB3AC;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-legal-bar {
  border-top: 1px solid #281D17;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.footer-legal-bar a {
  color: var(--primary-container);
  text-decoration: none;
}

/* Feature Section Phone Embeds */
.section-feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.section-feature-split-rev {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ==========================================================
   APP SCREENSHOT SHOWCASE GALLERY — AUTO CAROUSEL
   ========================================================== */
.gallery-section-wrap {
  padding: 80px 0 60px;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
}

/* Carousel Viewport — clips everything outside */
.gallery-carousel {
  position: relative;
  overflow: hidden;
  padding: 24px 0 16px;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Slides Track — moves via translateX in JS */
.carousel-track {
  display: flex;
  align-items: center;
  gap: 28px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 30px 0;
}

/* Individual Slide */
.carousel-slide {
  flex: 0 0 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.3;
  transform: scale(0.78);
  filter: blur(2px);
  cursor: pointer;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1.1);
  filter: blur(0);
  z-index: 5;
}

.carousel-slide.neighbor {
  opacity: 0.6;
  transform: scale(0.92);
  filter: blur(0.5px);
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(143, 78, 0, 0.15);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  -webkit-user-select: none;
  user-select: none;
}

.carousel-arrow:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(143, 78, 0, 0.25);
  transform: translateY(-60%) scale(1.1);
}

.carousel-arrow:active {
  transform: translateY(-60%) scale(0.95);
}

.carousel-arrow-left { left: max(2%, 20px); }
.carousel-arrow-right { right: max(2%, 20px); }

/* Dot Indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 16px 12px 8px;
  flex-wrap: wrap;
  max-width: 100%;
}

.carousel-dot {
  position: relative;
  width: 22px;
  height: 5px;
  border-radius: 3px;
  border: none;
  background: rgba(143, 78, 0, 0.15);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
}

.carousel-dot.active {
  width: 36px;
  background: rgba(143, 78, 0, 0.12);
}

.dot-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 3px;
  pointer-events: none;
  will-change: width;
}


/* Pause Hint */
.carousel-pause-hint {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 6px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-pause-hint.visible {
  display: flex;
  opacity: 1;
}

/* Gallery Phone Card */
.gallery-phone-card {
  width: 228px;
  height: 490px;
  background: #1F1B18;
  border-radius: 32px;
  padding: 6px;
  box-shadow:
    0 16px 36px rgba(143, 78, 0, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.09),
    inset 0 0 0 1.5px #38312B;
  position: relative;
  overflow: hidden;
  margin: 0 auto 12px;
  transition: box-shadow 0.5s ease;
}

.carousel-slide.active .gallery-phone-card {
  box-shadow:
    0 24px 48px rgba(143, 78, 0, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1.5px #38312B;
}



.gallery-phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 26px;
  display: block;
}

.gallery-caption-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0;
  transition: opacity 0.4s ease;
}

.gallery-caption-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
  transition: opacity 0.4s ease;
}

/* Only show captions on active */
.carousel-slide:not(.active) .gallery-caption-title,
.carousel-slide:not(.active) .gallery-caption-sub {
  opacity: 0;
}

/* ==========================================================
   RESPONSIVE DESIGN SYSTEM (DESKTOP, TABLET & MOBILE)
   ========================================================== */

/* Medium Desktop & Tablet Landscape (<= 1140px) */
@media (max-width: 1140px) {
  .nav-container {
    gap: 10px;
  }

  .nav-links {
    gap: clamp(8px, 1.1vw, 12px);
  }

  .nav-links a {
    font-size: 0.88rem;
    white-space: nowrap;
  }

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

/* Tablet Landscape & Half-Screen Desktop (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 28px;
  }

  .hero-features-strip {
    row-gap: 14px;
    column-gap: 32px;
    margin-top: 24px;
    padding: 20px 0;
  }

  .section-feature-split-rev,
  .jaap-split {
    grid-template-columns: 204px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  .section-phone-frame,
  .phone-wrapper,
  .gallery-phone-card {
    width: 204px;
    height: 438px;
    border-radius: 28px;
    padding: 5px;
  }

  .phone-screen,
  .mockup-real-screen-img,
  .section-phone-frame img,
  .gallery-phone-card img {
    border-radius: 23px;
  }

  .carousel-slide {
    flex: 0 0 204px;
  }

  .section-phone-frame .phone-notch-mini,
  .gallery-phone-card .phone-notch-mini {
    top: 9px;
    width: 44px;
    height: 10px;
    border-radius: 6px;
  }

  .phone-notch {
    top: 4px;
    width: 44px;
    height: 10px;
    border-radius: 6px;
  }

  .video-tile-card {
    padding: 8px 12px;
    gap: 12px;
  }

  .video-tile-thumb {
    width: 104px;
    height: 66px;
  }

  .video-tile-title {
    font-size: 0.88rem;
  }

  .video-features-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px;
  }

  .video-feat-item strong {
    font-size: 0.76rem;
  }

  .video-feat-item span {
    font-size: 0.66rem;
  }
}

/* Tablet Breakpoint (<= 1040px) */
@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .reading-customizer-box,
  .reading-stutis-panel,
  .audio-features-panel {
    height: auto;
    min-height: auto;
  }

  .video-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================
   LARGE MOBILE & COMPACT TABLET (<= 768px)
   ========================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .nav-container {
    gap: 10px;
    height: 64px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-tagline {
    font-size: 0.66rem;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .lang-picker-btn {
    padding: 4px 10px 4px 5px;
    gap: 6px;
    font-size: 0.82rem;
  }

  .lang-badge-icon {
    width: 28px;
    height: 28px;
  }

  .lang-badge-icon svg {
    width: 16px;
    height: 16px;
  }

  .lang-current-label {
    font-size: 0.82rem;
  }

  .nav-cta {
    padding: 7px 14px;
    font-size: 0.84rem;
    gap: 7px;
    flex-shrink: 0;
  }

  .section-wrap {
    padding: 46px 0;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden;
    box-sizing: border-box !important;
  }

  /* All feature grids strictly convert to bounded single column */
  .hero-grid,
  .reading-grid,
  .audio-split,
  .jaap-split,
  .sadhana-grid,
  .section-feature-split,
  .section-feature-split-rev {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Universal grid direct children constraint (excluding phone mockups) */
  .hero-grid > *:not(.mockup-container),
  .reading-grid > *:not(.section-phone-frame),
  .audio-split > *:not(.section-phone-frame),
  .jaap-split > *:not(.section-phone-frame),
  .sadhana-grid > *:not(.section-phone-frame),
  .section-feature-split > *:not(.section-phone-frame),
  .section-feature-split-rev > *:not(.section-phone-frame) {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* All feature cards & panels constrained to container bounds */
  .reading-customizer-box,
  .reading-stutis-panel,
  .audio-features-panel,
  .jaap-feature-card,
  .insight-share-card,
  .streak-widget-card,
  .video-features-strip {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: auto !important;
  }

  .hero-section {
    padding: 34px 0 46px;
  }

  .section-main-title {
    font-size: clamp(1.45rem, 4.2vw, 1.80rem);
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .nav-links {
    display: none;
  }

  /* Feature columns mobile tuning */
  .reading-content-col,
  .audio-content-col,
  .video-content-col,
  .jaap-content-col,
  .insight-content-col,
  .sadhana-content-col {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .video-tiles-list {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .video-tile-card {
    padding: 8px 10px;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: flex;
    align-items: center;
  }

  .video-tile-thumb {
    width: 86px;
    height: 58px;
    flex-shrink: 0;
  }

  .video-tile-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .video-tile-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
    width: 100%;
    margin-bottom: 2px;
  }

  .video-tile-title {
    font-size: 0.84rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-main);
    min-width: 0;
    flex: 1 1 120px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .video-views-badge {
    font-size: 0.64rem;
    padding: 1px 6px;
    flex-shrink: 0;
    white-space: nowrap;
    align-self: flex-start;
  }

  .video-tile-artist {
    font-size: 0.72rem;
    margin-bottom: 4px;
    min-width: 0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .video-tags-row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    min-width: 0;
  }

  .video-heart-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .video-features-strip {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 12px;
    padding: 14px 16px;
  }

  .video-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    width: 100%;
  }

  .video-feat-item div {
    min-width: 0;
    flex: 1;
  }

  /* Feature panels */
  .audio-features-grid,
  .reading-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .audio-features-panel,
  .reading-unified-panel {
    padding: 20px 18px;
  }

  .jaap-feature-card,
  .streak-widget-card,
  .insight-share-card {
    padding: 24px 20px;
  }

  .cta-box {
    padding: 36px 22px;
  }

  .cta-box h2 {
    font-size: 1.7rem;
  }

  /* Phone wrappers & frames */
  .phone-wrapper {
    width: 204px;
    height: 438px;
    border-radius: 28px;
    padding: 5px;
    margin: 0 auto;
  }

  .phone-screen {
    border-radius: 23px;
  }

  .mockup-real-screen-img {
    border-radius: 23px;
  }

  .phone-notch {
    top: 4px;
    width: 44px;
    height: 10px;
    border-radius: 6px;
  }

  .section-phone-frame {
    width: 204px !important;
    height: 438px !important;
    border-radius: 28px;
    padding: 5px;
    margin: 0 auto 16px !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  .section-phone-frame img {
    border-radius: 23px;
  }

  .section-phone-frame .phone-notch-mini {
    top: 9px;
    width: 44px;
    height: 10px;
    border-radius: 6px;
  }

  /* Carousel */
  .gallery-section-wrap {
    padding: 52px 0 42px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .gallery-carousel {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .carousel-track {
    gap: 18px;
    padding: 20px 0;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .carousel-arrow-left { left: 8px; }
  .carousel-arrow-right { right: 8px; }

  .carousel-slide {
    flex: 0 0 204px;
  }

  .gallery-phone-card {
    width: 204px;
    height: 438px;
    border-radius: 28px;
    padding: 5px;
  }

  .gallery-phone-card img {
    border-radius: 23px;
  }

  .gallery-phone-card .phone-notch-mini {
    top: 9px;
    width: 44px;
    height: 10px;
    border-radius: 6px;
  }
}

/* ==========================================================
   MOBILE DEVICES (<= 640px)
   ========================================================== */
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0 0 28px 0;
    flex-wrap: wrap;
  }

  .btn-google-play,
  .hero-trust-badge {
    width: 236px;
    max-width: 100%;
    height: 52px;
    flex: none;
    box-sizing: border-box;
    margin: 0;
  }

  .btn-secondary {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .audio-loop-selector-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  .audio-pill-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .audio-loop-btn {
    width: 100%;
    text-align: center;
    padding: 7px 4px;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .audio-strip-track {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .cta-box .btn-google-play {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    justify-content: center;
  }

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

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

/* ==========================================================
   COMPACT MOBILE (<= 480px)
   ========================================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .section-wrap {
    padding: 38px 0;
  }

  .navbar {
    padding: 8px 0;
  }

  .navbar .container {
    padding: 0 12px !important;
  }

  .nav-container {
    height: 56px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: 0.94rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .lang-picker-wrap {
    flex-shrink: 0;
  }

  .lang-picker-btn {
    padding: 3px 7px 3px 4px;
    gap: 5px;
    font-size: 0.76rem;
    flex-shrink: 0;
  }

  .lang-badge-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .lang-badge-icon svg {
    width: 15px;
    height: 15px;
  }

  .lang-current-label {
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .lang-chevron {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
  }

  .lang-dropdown-menu {
    right: 0;
    min-width: 160px;
  }

  .nav-cta {
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .nav-cta svg {
    width: 14px;
    height: 15px;
    flex-shrink: 0;
  }

  .hero-section {
    padding: 24px 0 38px;
  }

  .hero-subtitle {
    font-size: 0.90rem;
    line-height: 1.58;
    margin-bottom: 18px;
  }

  .hero-award-icon {
    vertical-align: -2.5px;
    margin-right: 6px;
  }

  .hero-award-svg {
    width: 17px;
    height: 17px;
  }

  .btn-google-play,
  .hero-trust-badge {
    width: 236px;
    max-width: 100%;
    height: 52px;
    flex: none;
    box-sizing: border-box;
    margin: 0;
  }

  .trust-icon {
    width: 28px;
    height: 28px;
  }

  .trust-star {
    font-size: 0.74rem;
  }

  .hero-features-strip {
    grid-template-columns: max-content max-content;
    justify-content: start;
    column-gap: 32px;
    row-gap: 10px;
    margin-top: 16px;
    padding: 16px 0;
  }

  .strip-item {
    font-size: 0.76rem;
  }

  .phone-wrapper {
    width: 190px;
    height: 408px;
    border-radius: 26px;
    padding: 5px;
    margin: 0 auto;
  }

  .phone-screen {
    border-radius: 21px;
  }

  .mockup-real-screen-img {
    border-radius: 21px;
  }

  .phone-notch {
    top: 3px;
    width: 40px;
    height: 9px;
    border-radius: 6px;
  }

  .section-phone-frame {
    width: 190px !important;
    height: 408px !important;
    border-radius: 26px;
    padding: 5px;
    margin: 0 auto 16px !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  .section-phone-frame img {
    border-radius: 21px;
  }

  .section-phone-frame .phone-notch-mini {
    top: 8px;
    width: 40px;
    height: 9px;
    border-radius: 6px;
  }

  .carousel-slide {
    flex: 0 0 190px;
  }

  .gallery-phone-card {
    width: 190px;
    height: 408px;
    border-radius: 26px;
    padding: 5px;
  }

  .gallery-phone-card img {
    border-radius: 21px;
  }

  .gallery-phone-card .phone-notch-mini {
    top: 8px;
    width: 40px;
    height: 9px;
    border-radius: 6px;
  }

  /* Video Tiles (<= 480px) */
  .video-tile-card {
    padding: 7px 9px;
    gap: 8px;
    border-radius: 12px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .video-tile-thumb {
    width: 78px;
    height: 52px;
    flex-shrink: 0;
  }

  .video-play-glyph {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }

  .video-badge-hd {
    font-size: 0.50rem;
    padding: 1px 3px;
  }

  .video-badge-dur {
    font-size: 0.54rem;
    padding: 1px 3px;
  }

  .video-tile-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .video-tile-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3px;
    min-width: 0;
    width: 100%;
    margin-bottom: 2px;
  }

  .video-tile-title {
    font-size: 0.78rem;
    line-height: 1.28;
    color: var(--text-main);
    font-weight: 700;
    min-width: 0;
    flex: 1 1 100px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .video-views-badge {
    font-size: 0.58rem;
    padding: 1px 5px;
    border-radius: 6px;
    flex-shrink: 0;
    white-space: nowrap;
    align-self: flex-start;
  }

  .video-tile-artist {
    font-size: 0.66rem;
    margin-bottom: 3px;
    min-width: 0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .video-tags-row {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
    min-width: 0;
  }

  .video-tag-chip {
    font-size: 0.56rem;
    padding: 1px 5px;
    border-radius: 4px;
  }

  .video-heart-btn {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .video-heart-btn svg {
    width: 13px;
    height: 13px;
  }

  /* Reading Panel (<= 480px) */
  .reading-customizer-box,
  .reading-stutis-panel {
    padding: 16px 13px;
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .chaupai-lang-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-bottom: 7px;
    width: 100%;
  }

  .chaupai-lang-btn {
    padding: 3px 8px;
    font-size: 0.70rem;
  }

  .chaupai-preview-text {
    font-size: 0.94rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .chaupai-preview-meaning {
    font-size: 0.72rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .stuti-list-item {
    padding: 6px 6px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .stuti-item-title-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    width: 100%;
  }

  .stuti-item-title-row strong {
    font-size: 0.80rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
  }

  .stuti-sub-tag {
    font-size: 0.62rem;
    padding: 1px 5px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .stuti-item-desc {
    font-size: 0.66rem;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
  }

  /* Audio Panel (<= 480px) */
  .audio-features-panel {
    padding: 16px 13px;
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .audio-feat-card {
    padding: 4px 0;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
  }

  .audio-feat-info strong {
    font-size: 0.78rem;
    display: block;
    word-break: break-word;
  }

  .audio-feat-info p {
    font-size: 0.70rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .audio-interactive-strip {
    padding: 11px 11px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .audio-strip-track {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  .audio-loop-selector-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    width: 100%;
  }

  .audio-selector-label {
    font-size: 0.72rem;
  }

  .audio-pill-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .audio-loop-btn {
    width: 100%;
    text-align: center;
    padding: 6px 2px;
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Jaap Panel (<= 480px) */
  .jaap-feature-card {
    padding: 18px 13px;
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .jaap-bead-visual {
    width: 156px;
    height: 156px;
    margin: 0 auto 14px;
  }

  .jaap-number {
    font-size: 2.3rem;
  }

  .jaap-haptics-row {
    font-size: 0.72rem;
    padding: 8px 4px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .jaap-haptics-row div strong {
    font-size: 0.76rem !important;
  }

  .jaap-haptics-row div p {
    font-size: 0.66rem !important;
  }


  .insight-share-card,
  .streak-widget-card {
    padding: 18px 13px;
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .insight-verse-hindi {
    font-size: 1.10rem;
    word-break: break-word;
  }

  .streak-flame-circle {
    width: 36px;
    height: 36px;
    font-size: 1.20rem;
  }

  .streak-week-dots {
    margin: 12px 0;
  }

  .dot-circle {
    width: 27px;
    height: 27px;
    font-size: 0.70rem;
  }

  .week-dot-col {
    gap: 3px;
    font-size: 0.64rem;
  }

  /* Unified Phone Frames (<= 480px) */
  .phone-wrapper {
    width: 172px;
    height: 368px;
    border-radius: 24px;
    padding: 4.5px;
  }

  .phone-screen,
  .mockup-real-screen-img {
    border-radius: 19.5px;
  }

  .phone-notch {
    top: 2.5px;
    width: 36px;
    height: 8px;
    border-radius: 5px;
  }

  .section-phone-frame {
    width: 172px !important;
    height: 368px !important;
    border-radius: 24px;
    padding: 4.5px;
  }

  .section-phone-frame img {
    border-radius: 19.5px;
  }

  .section-phone-frame .phone-notch-mini {
    top: 7px;
    width: 36px;
    height: 8px;
    border-radius: 5px;
  }

  /* Carousel (<= 480px) */
  .carousel-slide {
    flex: 0 0 172px;
  }

  .gallery-phone-card {
    width: 172px;
    height: 368px;
    border-radius: 24px;
    padding: 4.5px;
  }

  .gallery-phone-card img {
    border-radius: 19.5px;
  }

  .gallery-phone-card .phone-notch-mini {
    top: 7px;
    width: 36px;
    height: 8px;
    border-radius: 5px;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .carousel-arrow-left { left: 4px; }
  .carousel-arrow-right { right: 4px; }

  .carousel-dots {
    gap: 5px;
    padding: 12px 8px 6px;
  }

  .carousel-dot {
    width: 14px;
    height: 4px;
  }

  .carousel-dot.active {
    width: 24px;
  }

  .gallery-caption-title {
    font-size: 0.80rem;
  }

  .gallery-caption-sub {
    font-size: 0.66rem;
  }

  /* CTA Banner (<= 480px) */
  .cta-box {
    padding: 26px 14px;
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cta-box h2 {
    font-size: 1.35rem;
  }

  .cta-box p {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }

  .footer-links-list {
    gap: 8px 14px;
    font-size: 0.78rem;
    justify-content: center;
  }
}

/* ==========================================================
   ULTRA-COMPACT MOBILE (<= 380px) & NARROWEST PHONES (<= 340px)
   ========================================================== */
@media (max-width: 380px) {
  .navbar .container {
    padding: 0 8px !important;
  }

  .nav-container {
    gap: 5px;
    height: 52px;
  }

  .brand {
    gap: 6px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.4px;
  }

  .nav-actions {
    gap: 4px;
  }

  .lang-picker-btn {
    padding: 2px 5px 2px 3px;
    gap: 3px;
    font-size: 0.72rem;
  }

  .lang-badge-icon {
    width: 24px;
    height: 24px;
  }

  .lang-badge-icon svg {
    width: 13px;
    height: 13px;
  }

  .lang-current-label {
    font-size: 0.72rem;
  }

  .lang-chevron {
    width: 8px;
    height: 8px;
  }

  .nav-cta {
    padding: 5px 9px;
    font-size: 0.74rem;
    gap: 5px;
  }

  .nav-cta svg {
    width: 13px;
    height: 14px;
  }
}

@media (max-width: 340px) {
  .lang-current-label {
    display: none;
  }

  .lang-picker-btn {
    padding: 2px 4px 2px 2px;
  }

  .nav-cta {
    padding: 5px 8px;
    font-size: 0.70rem;
    gap: 4px;
  }
}

/* ==========================================================
   NARROWEST PHONES (<= 360px)
   ========================================================== */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero-badge {
    font-size: 0.72rem;
    width: 154px;
    min-width: 154px;
    max-width: 154px;
    height: 30px;
    padding: 0 8px;
  }

  .hero-badge-roller,
  .hero-badge-item {
    height: 30px;
    line-height: 30px;
  }

  .phone-wrapper {
    width: 154px;
    height: 330px;
    border-radius: 22px;
    padding: 4px;
  }

  .phone-screen,
  .mockup-real-screen-img {
    border-radius: 18px;
  }

  .phone-notch {
    top: 2px;
    width: 32px;
    height: 7px;
    border-radius: 4px;
  }

  .section-phone-frame {
    width: 154px !important;
    height: 330px !important;
    border-radius: 22px;
    padding: 4px;
    margin: 0 auto 16px !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  .section-phone-frame img {
    border-radius: 18px;
  }

  .section-phone-frame .phone-notch-mini {
    top: 6px;
    width: 32px;
    height: 7px;
    border-radius: 4px;
  }

  .video-tile-thumb {
    width: 66px;
    height: 46px;
  }

  .video-tile-title {
    font-size: 0.74rem;
    flex: 1 1 85px;
  }

  .video-views-badge {
    font-size: 0.54rem;
    padding: 1px 4px;
  }

  .video-heart-btn {
    width: 26px;
    height: 26px;
  }

  .video-tags-row .video-tag-chip:nth-child(n+3) {
    display: none;
  }

  .dot-circle {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  .carousel-slide {
    flex: 0 0 154px;
  }

  .gallery-phone-card {
    width: 154px;
    height: 330px;
    border-radius: 22px;
    padding: 4px;
  }

  .gallery-phone-card img {
    border-radius: 18px;
  }

  .gallery-phone-card .phone-notch-mini {
    top: 6px;
    width: 32px;
    height: 7px;
    border-radius: 4px;
  }

  .audio-loop-btn {
    font-size: 0.64rem;
    padding: 5px 1px;
  }

  .cta-box {
    padding: 22px 10px;
  }

  .cta-box h2 {
    font-size: 1.25rem;
  }
}

/* ==========================================================
   CINEMATIC SECTION SCROLL & DYNAMIC REVEAL ANIMATIONS
   ========================================================== */
section[id] {
  scroll-margin-top: 86px;
}

/* Base states when JS animations are active */
html.js-scroll-anim .section-heading {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-scroll-anim .section-phone-frame {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-scroll-anim .customizer-feature-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-scroll-anim .gallery-carousel,
html.js-scroll-anim .cta-box {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Cascading stagger delays for feature item cards */
html.js-scroll-anim .customizer-feature-item:nth-child(1) { transition-delay: 0.05s; }
html.js-scroll-anim .customizer-feature-item:nth-child(2) { transition-delay: 0.10s; }
html.js-scroll-anim .customizer-feature-item:nth-child(3) { transition-delay: 0.15s; }
html.js-scroll-anim .customizer-feature-item:nth-child(4) { transition-delay: 0.20s; }

/* In-view states triggered continuously on scroll / nav */
.section-wrap.is-visible .section-heading,
.gallery-section-wrap.is-visible .section-heading,
.cta-banner-wrap.is-visible .section-heading {
  opacity: 1;
  transform: translateY(0);
}

.section-wrap.is-visible .section-phone-frame,
.gallery-section-wrap.is-visible .gallery-carousel,
.cta-banner-wrap.is-visible .cta-box {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.section-wrap.is-visible .customizer-feature-item {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: Instantly disable transforms and transitions for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html.js-scroll-anim .section-heading,
  html.js-scroll-anim .section-phone-frame,
  html.js-scroll-anim .customizer-feature-item,
  html.js-scroll-anim .gallery-carousel,
  html.js-scroll-anim .cta-box {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
