/* DeenNest Website Mockup Stylesheet

   Palette: Forest Green (#245c45), Warm Cream (#f7f5ef), Kaaba Gold (#e6ce94), Sage Cream (#e4eadb)

   Subtle 3D Depth, Layered Cards, Tactile Shadows, and High Accessibility Contrast

*/



:root {

  --brand: #245c45;

  --brand-dark: #194432;

  --brand-light: #2e7356;

  --brand-glow: rgba(36, 92, 69, 0.14);

  

  --bg: #f7f5ef;

  --bg-warm: #eaece5;

  --bg-card: #fffdf9;

  

  --accent: #e6ce94;

  --accent-gold: #c99d3e;

  --accent-deep: #a87d25;

  --accent-soft: rgba(230, 206, 148, 0.28);

  

  --hero: #e4eadb;

  --hero-border: #d0dac6;

  

  --ink: #253e34;

  --ink-soft: #385548;

  --muted: #647369;

  --line: #dfe3d7;

  --line-strong: #cbd2c3;

  

  --radius-sm: 10px;

  --radius-md: 18px;

  --radius-lg: 26px;

  --radius-full: 9999px;

  

  --shadow-sm: 0 2px 6px rgba(36, 92, 69, 0.05);

  --shadow-md: 0 10px 24px rgba(36, 92, 69, 0.07), 0 2px 6px rgba(0, 0, 0, 0.03);

  --shadow-lg: 0 20px 45px rgba(36, 92, 69, 0.11), 0 4px 14px rgba(0, 0, 0, 0.04);

  --shadow-3d: 0 30px 60px -15px rgba(36, 92, 69, 0.22), 0 0 0 1px rgba(223, 227, 215, 0.9);

}



*, *::before, *::after {

  box-sizing: border-box;

}



html {

  scroll-behavior: smooth;

  font-size: 16px;

}



body {

  margin: 0;

  padding: 0;

  background-color: var(--bg);

  color: var(--ink);

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  line-height: 1.65;

  min-height: 100vh;

  display: flex;

  flex-direction: column;

  -webkit-font-smoothing: antialiased;

}



/* Typography */

h1, h2, h3, h4, .font-serif {

  font-family: Georgia, Cambria, "Times New Roman", serif;

  color: var(--brand);

  font-weight: normal;

  letter-spacing: -0.02em;

  line-height: 1.25;

}



h1 {

  font-size: clamp(2.2rem, 5vw, 3.4rem);

  margin: 0 0 1rem;

}



h2 {

  font-size: clamp(1.8rem, 3.5vw, 2.4rem);

  margin: 0 0 1rem;

}



h3 {

  font-size: 1.35rem;

  margin: 0 0 0.5rem;

  color: var(--brand);

  font-weight: 600;

}



p {

  margin: 0 0 1.25rem;

  color: var(--ink);

}



p.lead {

  font-size: 1.18rem;

  line-height: 1.7;

  color: var(--ink-soft);

}



.eyebrow {

  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  font-size: 0.76rem;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: var(--brand);

  margin-bottom: 0.85rem;

}



.bismillah {

  font-family: Georgia, serif;

  font-style: italic;

  font-size: 1.1rem;

  color: var(--accent-deep);

  margin-bottom: 0.5rem;

}



/* Layout Containers */

.container {

  width: 100%;

  max-width: 1160px;

  margin: 0 auto;

  padding: 0 1.5rem;

}



.section {

  padding: 5rem 0;

  position: relative;

}



.section-hero {

  padding: 3.5rem 0 5rem;

  background: radial-gradient(circle at 80% 20%, rgba(230, 206, 148, 0.25) 0%, transparent 60%),

              radial-gradient(circle at 10% 80%, rgba(228, 234, 219, 0.5) 0%, transparent 50%),

              var(--bg);

}



.section-cream {

  background-color: var(--bg-card);

  border-top: 1px solid var(--line);

  border-bottom: 1px solid var(--line);

}



.section-sage {

  background-color: var(--hero);

}



/* Banner */

.top-notice-bar {

  background-color: var(--brand);

  color: #ffffff;

  font-size: 0.82rem;

  padding: 0.6rem 1rem;

  text-align: center;

  border-bottom: 1px solid var(--brand-dark);

}



.top-notice-bar a {

  color: var(--accent);

  text-decoration: underline;

  font-weight: 600;

}



/* Navigation Header */

header.site-header {

  position: sticky;

  top: 0;

  z-index: 100;

  background: rgba(247, 245, 239, 0.94);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--line);

  padding: 0.9rem 0;

}



.nav-wrapper {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1.5rem;

}



.brand-link {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  text-decoration: none;

  color: var(--brand);

}



.brand-logo-img {

  width: 40px;

  height: 40px;

  border-radius: 10px;

  object-fit: cover;

  box-shadow: var(--shadow-sm);

  border: 1px solid var(--accent);

}



.brand-wordmark {

  font-family: Georgia, serif;

  font-size: 1.75rem;

  font-weight: 500;

  letter-spacing: -0.8px;

  color: var(--ink);

}



.brand-wordmark span {

  color: var(--brand);

  font-weight: bold;

}



.nav-wrapper {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1.5rem;

  flex-wrap: nowrap;

}



.nav-menu {

  display: flex;

  align-items: center;

  gap: 1.25rem;

  list-style: none;

  margin: 0;

  padding: 0;

  flex-wrap: nowrap;

  white-space: nowrap;

}



.nav-menu a {

  text-decoration: none;

  color: var(--ink);

  font-size: 0.92rem;

  font-weight: 500;

  padding: 0.4rem 0.6rem;

  border-radius: var(--radius-sm);

  transition: color 0.15s ease, background-color 0.15s ease;

  white-space: nowrap;

  display: inline-flex;

  align-items: center;

  gap: 0.4rem;

}



.nav-menu a:hover {

  color: var(--brand);

  background-color: var(--hero);

}



.nav-menu a.active {

  color: var(--brand);

  font-weight: 600;

}



.nav-cta {

  display: flex;

  align-items: center;

  gap: 0.65rem;

  flex-shrink: 0;

  white-space: nowrap;

}



/* Apple Icon across navbar, buttons, and badges */

.apple-icon {

  height: 1.15em;

  width: auto;

  vertical-align: -0.15em;

  display: inline-block;

  object-fit: contain;

}



.btn-primary .apple-icon,

.btn-dark .apple-icon {

  filter: brightness(0) invert(1);

}



/* Buttons */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.5rem;

  font-size: 0.95rem;

  font-weight: 600;

  padding: 0.75rem 1.4rem;

  border-radius: 14px;

  text-decoration: none;

  cursor: pointer;

  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, background-color 0.18s ease, filter 0.18s ease;

  border: 1px solid transparent;

}



.btn:hover {

  transform: translateY(-2px);

}



.btn:active {

  transform: translateY(0);

}



.btn-primary {

  background-color: var(--brand);

  color: #ffffff;

  border-color: var(--brand-dark);

  box-shadow: 0 4px 12px rgba(36, 92, 69, 0.22);

}



.btn-primary:hover {

  background-color: var(--brand-light);

  box-shadow: 0 6px 18px rgba(36, 92, 69, 0.3);

  color: #ffffff;

}



.btn-secondary {

  background-color: #ffffff;

  color: var(--brand);

  border-color: var(--line-strong);

  box-shadow: var(--shadow-sm);

}



.btn-secondary:hover {

  background-color: var(--hero);

  border-color: var(--brand);

}



.btn-gold {

  background: linear-gradient(135deg, #e6ce94 0%, #d8ba78 100%);

  color: #20352c;

  font-weight: 700;

  border-color: #c99d3e;

  box-shadow: 0 4px 14px rgba(201, 157, 62, 0.28);

}



.btn-gold:hover {

  filter: brightness(1.04);

  box-shadow: 0 6px 20px rgba(201, 157, 62, 0.38);

}



.btn-apple {

  background-color: #ffffff;

  color: var(--ink);

  border: 1.5px solid var(--accent-gold);

  box-shadow: var(--shadow-sm);

}



.btn-apple:hover {

  background-color: var(--bg);

  border-color: var(--brand);

  color: var(--brand);

}



.btn-sm {

  padding: 0.5rem 1rem;

  font-size: 0.85rem;

  border-radius: 10px;

}



/* Hero Section Layout */

.hero-grid {

  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  align-items: center;

  gap: 3.5rem;

}



.hero-content {

  z-index: 2;

}



.hero-actions {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 1rem;

  margin-top: 2rem;

}



.hero-badges {

  display: flex;

  flex-wrap: wrap;

  gap: 0.75rem;

  margin-top: 2.25rem;

  padding-top: 1.5rem;

  border-top: 1px solid var(--line);

}



.badge-item {

  display: inline-flex;

  align-items: center;

  gap: 0.45rem;

  font-size: 0.82rem;

  color: var(--muted);

}



.badge-item svg {

  color: var(--brand);

  width: 17px;

  height: 17px;

}



/* 3D Phone Stage & Mockup */

.phone-3d-stage {

  perspective: 1400px;

  display: flex;

  justify-content: center;

  align-items: center;

  position: relative;

  padding: 1.5rem 0;

}



.phone-mockup-wrapper {

  position: relative;

  transform-style: preserve-3d;

  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);

  will-change: transform;

}



/* Pixel Phone Shell, Centered Punch-Hole Camera & Status Bar */
.phone-device {
  width: 320px;
  height: 640px;
  background-color: #121815;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 60px -15px rgba(10, 25, 18, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 2px #26382f;
  border: 3px solid #1e2b24;
  position: relative;
  transform: rotateY(-8deg) rotateX(5deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pixel-btn-power {
  position: absolute;
  right: -5.5px;
  top: 130px;
  width: 3px;
  height: 38px;
  background: #34483d;
  border-radius: 2px;
  box-shadow: 1px 0 2px rgba(0,0,0,0.4);
}

.pixel-btn-volume {
  position: absolute;
  right: -5.5px;
  top: 185px;
  width: 3px;
  height: 64px;
  background: #2b3b32;
  border-radius: 2px;
  box-shadow: 1px 0 2px rgba(0,0,0,0.4);
}

.pixel-speaker-slit {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: #24352b;
  border-radius: 2px;
  z-index: 25;
  opacity: 0.85;
}

.phone-device::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 240px;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.02) 65%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

/* Pixel Centered Circular Punch-Hole Camera */
.pixel-camera {
  width: 11px;
  height: 11px;
  background: #080c09;
  border: 1px solid #142018;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.9), 0 0 1px rgba(0,0,0,0.6);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pixel-camera::after {
  content: "";
  width: 3.5px;
  height: 3.5px;
  background: radial-gradient(circle, #386b52 20%, #152d21 80%);
  border-radius: 50%;
  box-shadow: 0 0 1px rgba(82, 183, 136, 0.6);
}

/* Pixel Status Bar */
.pixel-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 2px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  position: relative;
  z-index: 20;
  user-select: none;
}

.pixel-status-time {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.2px;
  font-weight: 700;
  color: var(--ink);
  font-size: 11.5px;
}

.pixel-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  opacity: 0.85;
}

.pixel-nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0 6px;
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.pixel-nav-pill {
  width: 76px;
  height: 3.5px;
  background: #7a8c82;
  border-radius: 2px;
  opacity: 0.6;
}

.phone-screen {

  width: 100%;

  height: 100%;

  background-color: var(--bg);

  border-radius: 36px;

  overflow: hidden;

  display: flex;

  flex-direction: column;

  color: var(--ink);

  font-size: 13px;

  position: relative;

}



.phone-screen-header {
  padding: 6px 16px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}



.phone-wordmark {

  font-family: Georgia, serif;

  font-size: 19px;

  font-weight: bold;

  letter-spacing: -0.5px;

  color: var(--ink);

}



.phone-wordmark span {

  color: var(--brand);

}



.phone-avatar-thumb {

  width: 28px;

  height: 28px;

  border-radius: 50%;

  background-color: var(--hero);

  border: 1px solid var(--accent);

  display: grid;

  place-items: center;

  font-weight: 700;

  font-size: 11px;

  color: var(--brand);

}



.phone-screen-body {

  flex: 1;

  padding: 10px 12px;

  display: flex;

  flex-direction: column;

  gap: 8px;

  overflow-y: auto;

  scrollbar-width: none;

}

.phone-screen-body::-webkit-scrollbar {

  display: none;

}



/* Real App Style: Location Button */

.phone-location-pill {

  display: inline-flex;

  align-items: center;

  gap: 5px;

  font-size: 11px;

  color: var(--ink-soft);

  padding: 3px 6px;

  border-radius: 6px;

  font-weight: 500;

}



/* Real App Style: Hero Card */

.mockup-hero-card {

  background: linear-gradient(135deg, var(--hero) 0%, #dde8d0 100%);

  border-radius: 14px;

  padding: 12px 14px;

  position: relative;

  overflow: hidden;

  border: 1px solid var(--hero-border);

}



.mockup-hero-card::after {

  content: "🕋";

  position: absolute;

  right: 8px;

  bottom: 4px;

  font-size: 46px;

  opacity: 0.18;

  line-height: 1;

  pointer-events: none;

}



.mockup-prayer-eyebrow {

  font-size: 8.5px;

  letter-spacing: 1.2px;

  font-weight: 700;

  color: var(--brand);

  text-transform: uppercase;

}



.mockup-prayer-name {

  font-family: Georgia, serif;

  font-size: 17px;

  font-weight: bold;

  color: var(--brand-dark);

  margin: 2px 0 0;

}



.mockup-countdown {

  font-family: Georgia, serif;

  font-size: 24px;

  font-weight: 600;

  color: var(--ink);

  font-variant-numeric: tabular-nums;

  margin: 2px 0;

}



.mockup-subtext {

  font-size: 9px;

  color: var(--muted);

}



.mockup-nest-status {

  display: inline-flex;

  align-items: center;

  gap: 5px;

  font-size: 9.5px;

  background: rgba(255, 255, 255, 0.85);

  padding: 3px 8px;

  border-radius: 20px;

  color: var(--brand-dark);

  font-weight: 600;

  margin-top: 6px;

  border: 1px solid rgba(47, 93, 71, 0.15);

}



.mockup-nest-dot {

  width: 6px;

  height: 6px;

  background-color: var(--brand);

  border-radius: 50%;

  display: inline-block;

}



/* Real App Style: Continue Reading Card */

.mockup-continue-card {

  background: var(--bg-card);

  border: 1px solid var(--line);

  border-radius: 12px;

  padding: 8px 10px;

  display: flex;

  align-items: center;

  gap: 10px;

}



.mockup-continue-icon {

  width: 28px;

  height: 28px;

  border-radius: 8px;

  background: var(--hero);

  color: var(--brand);

  display: grid;

  place-items: center;

  flex-shrink: 0;

}



.mockup-continue-icon svg {

  width: 14px;

  height: 14px;

}



.mockup-continue-text {

  flex: 1;

  min-width: 0;

}



.mockup-continue-text small {

  display: block;

  font-size: 8.5px;

  color: var(--muted);

  text-transform: uppercase;

  letter-spacing: 0.5px;

}



.mockup-continue-text strong {

  display: block;

  font-size: 11px;

  color: var(--ink);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.mockup-continue-arrow {

  color: var(--muted);

  font-size: 13px;

  font-weight: bold;

}



/* Real App Style: Quick Chips Row */

.mockup-quick-chips {

  display: flex;

  gap: 6px;

}



.mockup-chip {

  flex: 1;

  background: var(--bg-card);

  border: 1px solid var(--line);

  border-radius: 20px;

  padding: 5px 4px;

  text-align: center;

  font-size: 9.5px;

  font-weight: 600;

  color: var(--ink);

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 4px;

}



.mockup-chip svg {

  width: 12px;

  height: 12px;

  color: var(--brand);

}



/* Real App Style: Today's Prayers Schedule */

.mockup-schedule-card {

  background: var(--bg-card);

  border-radius: 12px;

  border: 1px solid var(--line);

  padding: 8px 10px;

}



.mockup-schedule-header {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 6px;

  padding-bottom: 4px;

  border-bottom: 1px solid var(--line);

}



.mockup-schedule-header strong {

  font-size: 10px;

  font-weight: 700;

  color: var(--ink);

}



.mockup-schedule-header span {

  font-size: 9px;

  color: var(--muted);

}



.mockup-schedule-row {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 4px 0;

  border-bottom: 1px solid rgba(0, 0, 0, 0.04);

  font-size: 10.5px;

}



.mockup-schedule-row:last-child {

  border-bottom: none;

}



.mockup-schedule-row.active {

  color: var(--brand);

  font-weight: 700;

  background: var(--hero);

  margin: 0 -6px;

  padding: 4px 6px;

  border-radius: 6px;

}



.mockup-schedule-row .time {

  font-variant-numeric: tabular-nums;

}



/* Bottom Dock inside Phone */

.phone-bottom-nav {

  padding: 8px 8px 14px;

  background: var(--bg);

  border-top: 1px solid var(--line);

  display: flex;

  justify-content: space-around;

  font-size: 8.5px;

  color: var(--muted);

  flex-shrink: 0;

}



.phone-nav-item {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 3px;

}



.phone-nav-item svg {

  width: 15px;

  height: 15px;

}



.phone-nav-item.active {

  color: var(--brand);

  font-weight: 700;

}



/* Defensive containment: no SVG inside phone can ever blow out */

.phone-screen svg {

  max-width: 100%;

  max-height: 100%;

  vertical-align: middle;

  display: inline-block;

}



/* Floating 3D Badge Accent */

.floating-3d-badge {

  position: absolute;

  top: 15%;

  right: -25px;

  background: #ffffff;

  border: 1.5px solid var(--accent);

  padding: 10px 14px;

  border-radius: 16px;

  box-shadow: var(--shadow-lg);

  display: flex;

  align-items: center;

  gap: 10px;

  z-index: 25;

  transform: translateZ(50px);

}



.floating-3d-badge-icon {

  width: 34px;

  height: 34px;

  background-color: var(--hero);

  color: var(--brand);

  border-radius: 10px;

  display: grid;

  place-items: center;

}



.floating-3d-badge-text strong {

  display: block;

  font-size: 0.85rem;

  color: var(--brand);

}



.floating-3d-badge-text span {

  font-size: 0.75rem;

  color: var(--muted);

}



.floating-3d-badge-bottom {

  position: absolute;

  bottom: 12%;

  left: -20px;

  background: #ffffff;

  border: 1.5px solid var(--line);

  padding: 10px 14px;

  border-radius: 16px;

  box-shadow: var(--shadow-lg);

  display: flex;

  align-items: center;

  gap: 10px;

  z-index: 25;

  transform: translateZ(40px);

}



/* Feature Grid Cards */

.features-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 1.75rem;

  margin-top: 3rem;

}



.feature-card {

  background-color: var(--bg-card);

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);

  padding: 2rem;

  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;

  position: relative;

  overflow: hidden;

  box-shadow: var(--shadow-sm);

  display: flex;

  flex-direction: column;

}



.feature-card:hover {

  transform: translateY(-5px);

  box-shadow: var(--shadow-lg);

  border-color: var(--accent);

}



.feature-icon-box {

  width: 52px;

  height: 52px;

  border-radius: 16px;

  background: linear-gradient(135deg, var(--hero) 0%, rgba(230, 206, 148, 0.25) 100%);

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--brand);

  margin-bottom: 1.35rem;

  border: 1px solid var(--line);

}



.feature-icon-box svg {

  width: 26px;

  height: 26px;

}



.feature-tag {

  align-self: flex-start;

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.5px;

  padding: 4px 10px;

  border-radius: 20px;

  margin-top: auto;

  margin-top: 1.25rem;

  background-color: var(--hero);

  color: var(--brand-dark);

}



.feature-tag.coming-soon {

  background-color: #fff2d9;

  color: #8c5d14;

  border: 1px solid #ebd39f;

}



/* Accordion Downloads Section */

.accordion-wrapper {

  max-width: 860px;

  margin: 2.5rem auto 0;

  display: flex;

  flex-direction: column;

  gap: 1.25rem;

}



.accordion-item {

  background-color: var(--bg-card);

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  overflow: hidden;

  box-shadow: var(--shadow-sm);

  transition: border-color 0.2s ease, box-shadow 0.2s ease;

}



.accordion-item:hover {

  border-color: var(--accent);

}



.accordion-item[open] {

  border-color: var(--brand);

  box-shadow: var(--shadow-md);

}



.accordion-summary {

  padding: 1.35rem 1.75rem;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: space-between;

  font-size: 1.15rem;

  font-weight: 600;

  color: var(--brand);

  list-style: none;

  user-select: none;

  background-color: var(--bg-card);

}



.accordion-summary::-webkit-details-marker {

  display: none;

}



.accordion-title-group {

  display: flex;

  align-items: center;

  gap: 1rem;

}



.accordion-icon {

  width: 38px;

  height: 38px;

  border-radius: 12px;

  background-color: var(--hero);

  display: grid;

  place-items: center;

  color: var(--brand);

}



.accordion-icon svg {

  width: 20px;

  height: 20px;

}



.accordion-chevron {

  transition: transform 0.2s ease;

  color: var(--muted);

}



.accordion-item[open] .accordion-chevron {

  transform: rotate(180deg);

  color: var(--brand);

}



.accordion-content {

  padding: 0 1.75rem 1.75rem;

  border-top: 1px solid var(--line);

  background-color: #fbfaf6;

}



.accordion-content p {

  margin-top: 1.25rem;

}



.athan-highlight-line {

  background-color: var(--hero);

  border-left: 3px solid var(--brand);

  padding: 0.85rem 1.1rem;

  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;

  font-size: 0.92rem;

  font-weight: 500;

  color: var(--ink);

  margin: 1rem 0;

}



.accordion-actions {

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 1rem;

  margin-top: 1.5rem;

}



.apple-prompt-box {

  background: linear-gradient(135deg, rgba(230, 206, 148, 0.2) 0%, rgba(228, 234, 219, 0.4) 100%);

  border: 1.5px dashed var(--accent-gold);

  border-radius: var(--radius-md);

  padding: 1.5rem;

  margin-top: 1.5rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 1.25rem;

}



.apple-prompt-text {

  max-width: 520px;

}



.apple-prompt-text strong {

  display: block;

  font-size: 1.05rem;

  color: var(--brand-dark);

  margin-bottom: 0.25rem;

}



.apple-prompt-text p {

  margin: 0;

  font-size: 0.9rem;

  color: var(--ink-soft);

}



/* Numbered Steps Box for Apple & Support Guides */

.steps-list {

  list-style: none;

  counter-reset: custom-step;

  padding: 0;

  margin: 1.25rem 0;

}



.steps-list li {

  counter-increment: custom-step;

  position: relative;

  padding-left: 3rem;

  margin-bottom: 1.15rem;

  font-size: 0.98rem;

}



.steps-list li::before {

  content: counter(custom-step);

  position: absolute;

  left: 0;

  top: 0;

  width: 2rem;

  height: 2rem;

  background-color: var(--brand);

  color: #ffffff;

  border-radius: 50%;

  display: grid;

  place-items: center;

  font-size: 0.88rem;

  font-weight: bold;

}



/* Workaround Info Cards on Apple Page */

.workaround-card {

  background: var(--bg-card);

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  padding: 1.75rem;

  margin-bottom: 1.5rem;

  box-shadow: var(--shadow-sm);

}



/* Donation Box */

.donation-box {

  background: linear-gradient(135deg, #fffdf8 0%, #f6f3e7 100%);

  border: 2px solid var(--accent);

  border-radius: var(--radius-lg);

  padding: 2.5rem;

  text-align: center;

  max-width: 680px;

  margin: 3.5rem auto 0;

  box-shadow: var(--shadow-md);

}



.donation-box h3 {

  font-size: 1.6rem;

  margin-bottom: 0.75rem;

}



.donation-box p {

  color: var(--ink-soft);

  max-width: 540px;

  margin: 0 auto 1.25rem;

}



.donation-disclaimer {

  font-size: 0.85rem;

  color: var(--muted);

  font-style: italic;

  margin-top: 1rem;

}



/* Privacy & Support Specific Styling */

.policy-card {

  background: var(--bg-card);

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);

  padding: 2.5rem;

  box-shadow: var(--shadow-sm);

  margin-bottom: 2rem;

}



.policy-card h2 {

  font-size: 1.6rem;

  border-bottom: 1px solid var(--line);

  padding-bottom: 0.75rem;

  margin-bottom: 1.25rem;

}



.contact-card {

  background: linear-gradient(135deg, var(--hero) 0%, rgba(230, 206, 148, 0.3) 100%);

  border: 1.5px solid var(--hero-border);

  border-radius: var(--radius-lg);

  padding: 2.5rem;

  text-align: center;

  box-shadow: var(--shadow-md);

}



.email-pill {

  display: inline-flex;

  align-items: center;

  gap: 0.75rem;

  background-color: #ffffff;

  padding: 0.75rem 1.5rem;

  border-radius: var(--radius-full);

  font-family: monospace;

  font-size: 1.15rem;

  color: var(--brand);

  border: 1px solid var(--line-strong);

  margin: 1rem 0;

  box-shadow: var(--shadow-sm);

}



/* Toast Notifications */

#toast-notification {

  position: fixed;

  bottom: 24px;

  right: 24px;

  background-color: var(--brand-dark);

  color: #ffffff;

  padding: 0.85rem 1.4rem;

  border-radius: 12px;

  font-size: 0.9rem;

  box-shadow: var(--shadow-lg);

  z-index: 1000;

  display: flex;

  align-items: center;

  gap: 0.5rem;

  transform: translateY(100px);

  opacity: 0;

  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;

  pointer-events: none;

  border: 1px solid var(--accent);

}



#toast-notification.show {

  transform: translateY(0);

  opacity: 1;

  pointer-events: auto;

}



/* Site Footer - Tightened, Organized & Open */

footer.site-footer {

  margin-top: auto;

  background-color: #1a2922;

  color: #d1dcce;

  padding: 3rem 0 2rem;

  border-top: 3px solid var(--accent);

}



.footer-cta-banner {

  background: linear-gradient(135deg, rgba(230, 206, 148, 0.08) 0%, rgba(36, 92, 69, 0.28) 100%);

  border: 1px solid rgba(230, 206, 148, 0.22);

  border-radius: var(--radius-md);

  padding: 1.5rem 1.75rem;

  margin-bottom: 2.25rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 1.25rem;

}



.footer-cta-content {

  flex: 1;

  min-width: 280px;

  text-align: left;

}



.footer-cta-eyebrow {

  display: block;

  font-size: 0.72rem;

  font-weight: 700;

  color: var(--accent);

  letter-spacing: 2px;

  margin-bottom: 0.35rem;

}



.footer-cta-title {

  font-family: Georgia, serif;

  font-size: 1.25rem;

  color: #ffffff;

  margin: 0 0 0.35rem;

}



.footer-cta-sub {

  color: #b1c3ad;

  font-size: 0.88rem;

  margin: 0;

  line-height: 1.5;

}



.footer-cta-action {

  flex-shrink: 0;

}



.footer-grid {

  display: grid;

  grid-template-columns: 1.35fr 1fr 1fr 1fr;

  gap: 2rem;

  margin-bottom: 2.25rem;

  align-items: start;

}



.footer-brand-header {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  margin-bottom: 0.75rem;

}



.footer-logo-img {

  width: 38px;

  height: 38px;

  border-radius: 9px;

  border: 1px solid var(--accent);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);

  flex-shrink: 0;

}



.footer-brand h4 {

  font-family: Georgia, serif;

  font-size: 1.35rem;

  color: #ffffff;

  margin: 0;

  line-height: 1.2;

}



.footer-brand-sub {

  font-size: 0.75rem;

  color: var(--accent);

  text-transform: uppercase;

  letter-spacing: 1px;

  font-weight: 600;

  margin-top: 2px;

}



.footer-brand-desc {

  color: #a4b5a0;

  font-size: 0.88rem;

  line-height: 1.6;

  margin: 0 0 0.75rem;

}



.footer-trust-chips {

  display: flex;

  flex-wrap: wrap;

  gap: 0.4rem;

  margin: 0.75rem 0 0.9rem;

}



.trust-chip {

  display: inline-flex;

  align-items: center;

  gap: 0.3rem;

  font-size: 0.74rem;

  font-weight: 600;

  padding: 0.2rem 0.6rem;

  border-radius: var(--radius-full);

  background: rgba(230, 206, 148, 0.12);

  color: var(--accent);

  border: 1px solid rgba(230, 206, 148, 0.24);

}



.trust-chip svg {

  flex-shrink: 0;

  stroke: var(--accent);

}



.footer-support-line {

  font-size: 0.85rem;

  color: #8c9e89;

}



.footer-support-link {

  color: var(--accent);

  text-decoration: underline;

  transition: color 0.15s ease;

}



.footer-support-link:hover {

  color: #ffffff;

}



.footer-col h5 {

  color: var(--accent);

  font-size: 0.82rem;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  margin: 0 0 1rem;

  font-weight: 700;

}



.footer-col ul {

  list-style: none;

  padding: 0;

  margin: 0;

}



.footer-col li {

  margin-bottom: 0.6rem;

}



.footer-col a {

  color: #cbd5c8;

  text-decoration: none;

  font-size: 0.88rem;

  transition: color 0.15s ease, transform 0.15s ease;

  display: inline-block;

}



.footer-col a:hover {

  color: var(--accent);

  transform: translateX(3px);

}



.footer-bottom {

  padding-top: 1.5rem;

  border-top: 1px solid rgba(223, 227, 215, 0.12);

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 1rem;

  font-size: 0.82rem;

  color: #8c9e89;

}



/* Mobile & Tablet Responsiveness */

@media (max-width: 900px) {

  .hero-grid {

    grid-template-columns: 1fr;

    text-align: center;

    gap: 1.5rem;

  }

  .phone-3d-stage {
    display: none !important;
  }

  

  .hero-actions {

    justify-content: center;

  }

  

  .hero-badges {

    justify-content: center;

  }

  

  .phone-device {

    transform: none !important;

  }

  

  .floating-3d-badge {

    right: 0;

  }

  

  .floating-3d-badge-bottom {

    left: 0;

  }

  

  .footer-grid {

    grid-template-columns: repeat(2, 1fr);

    gap: 2rem;

  }

  .footer-cta-banner {

    flex-direction: column;

    text-align: center;

  }

  .footer-cta-content {

    text-align: center;

  }

  .footer-cta-action {

    width: 100%;

  }

  .footer-cta-action .btn {

    width: 100%;

  }

}



@media (max-width: 1040px) {
  .nav-menu {
    display: none;
  }
}

@media (max-width: 850px) {

  

  .phone-device {

    width: 290px;

    height: 580px;

  }

  

  .apple-prompt-box {

    text-align: center;

    justify-content: center;

  }

}





/* ==========================================================================

   Interactive Enhancements: Scroll-Reveal, Card Tilt, Explorer, Prayer Widget,

   "A Note From Us", and Closing Dua Styles

   ========================================================================== */



/* 1. Scroll-Reveal Animations */

.reveal-on-scroll {

  opacity: 0;

  transform: translateY(32px);

  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);

  will-change: opacity, transform;

}



.reveal-on-scroll.is-revealed {

  opacity: 1;

  transform: translateY(0);

}



/* 2. Interactive Card Tilt & Explorer Triggers */

.feature-card {

  cursor: pointer;

  transform-style: preserve-3d;

  perspective: 1000px;

  position: relative;

  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 

              box-shadow 0.28s ease, 

              border-color 0.28s ease;

}



.feature-card:hover {

  transform: translateY(-8px) scale(1.015);

  box-shadow: 0 20px 40px rgba(36, 92, 69, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);

  border-color: var(--accent-gold);

}



.feature-card-explore-hint {

  display: inline-flex;

  align-items: center;

  gap: 0.4rem;

  font-size: 0.82rem;

  font-weight: 600;

  color: var(--brand);

  margin-top: 1.25rem;

  padding-top: 0.75rem;

  border-top: 1px dashed var(--line);

  transition: transform 0.2s ease, color 0.2s ease;

}



.feature-card:hover .feature-card-explore-hint {

  transform: translateX(5px);

  color: var(--brand-dark);

}



/* 3. Smooth Animated Accordions */

.accordion-item {

  transition: border-color 0.25s ease, box-shadow 0.25s ease;

}



.accordion-content {

  display: grid;

  grid-template-rows: 0fr;

  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  overflow: hidden;

  padding: 0 1.75rem;

  border-top: none;

}



.accordion-item[open] .accordion-content {

  grid-template-rows: 1fr;

  padding-bottom: 1.75rem;

  border-top: 1px solid var(--line);

}



.accordion-inner-wrap {

  overflow: hidden;

}



/* 4. Interactive Prayer Times Preview Widget */

.prayer-widget-section {

  padding: 4.5rem 0;

  background: radial-gradient(circle at 85% 15%, rgba(230, 206, 148, 0.2) 0%, transparent 55%),

              radial-gradient(circle at 15% 85%, rgba(228, 234, 219, 0.45) 0%, transparent 50%),

              var(--bg);

}



.prayer-widget-box {

  background: var(--bg-card);

  border: 2px solid var(--hero-border);

  border-radius: var(--radius-lg);

  padding: 2.5rem;

  box-shadow: var(--shadow-lg);

  position: relative;

  overflow: hidden;

}



.prayer-widget-box::before {

  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 5px;

  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 50%, var(--brand) 100%);

}



.prayer-widget-header {

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  flex-wrap: wrap;

  gap: 1.5rem;

  margin-bottom: 2rem;

  padding-bottom: 1.5rem;

  border-bottom: 1px solid var(--line);

}



/* Searchable City Combobox Dropdown */

.city-search-container {

  position: relative;

  width: 100%;

  max-width: 380px;

}



.city-search-input-wrapper {

  position: relative;

  display: flex;

  align-items: center;

}



.city-search-icon {

  position: absolute;

  left: 14px;

  color: var(--brand);

  pointer-events: none;

  width: 18px;

  height: 18px;

}



.city-search-input {

  width: 100%;

  padding: 0.75rem 2.5rem 0.75rem 2.6rem;

  background-color: #ffffff;

  border: 1.5px solid var(--line-strong);

  border-radius: var(--radius-md);

  font-size: 0.95rem;

  color: var(--ink);

  outline: none;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;

}



.city-search-input:focus {

  border-color: var(--brand);

  box-shadow: 0 0 0 3px rgba(36, 92, 69, 0.15);

}



.city-search-clear-btn {

  position: absolute;

  right: 12px;

  background: none;

  border: none;

  color: var(--muted);

  cursor: pointer;

  padding: 4px;

  display: none;

  border-radius: 50%;

  font-size: 1.1rem;

  line-height: 1;

}



.city-search-clear-btn.visible {

  display: block;

}



.city-dropdown-menu {

  position: absolute;

  top: calc(100% + 6px);

  left: 0;

  right: 0;

  background: #ffffff;

  border: 1.5px solid var(--accent);

  border-radius: var(--radius-md);

  box-shadow: 0 14px 35px rgba(36, 92, 69, 0.18);

  max-height: 280px;

  overflow-y: auto;

  z-index: 100;

  display: none;

  padding: 0.35rem 0;

}



.city-dropdown-menu.open {

  display: block;

}



.city-dropdown-item {

  padding: 0.7rem 1.1rem;

  display: flex;

  justify-content: space-between;

  align-items: center;

  cursor: pointer;

  font-size: 0.92rem;

  color: var(--ink);

  transition: background-color 0.15s ease, color 0.15s ease;

}



.city-dropdown-item:hover, .city-dropdown-item.focused {

  background-color: var(--hero);

  color: var(--brand-dark);

}



.city-dropdown-item.selected {

  background-color: #f2f7f0;

  font-weight: 600;

  color: var(--brand);

}



.city-tz-badge {

  font-size: 0.75rem;

  color: var(--muted);

  background: var(--bg);

  padding: 2px 7px;

  border-radius: 6px;

  border: 1px solid var(--line);

}



/* Location Status Banner & Geolocation Button */

.location-status-bar {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 1rem;

  background: var(--hero);

  border: 1px solid var(--hero-border);

  border-radius: var(--radius-md);

  padding: 0.9rem 1.4rem;

  margin-bottom: 1.5rem;

  font-size: 0.92rem;

}



.location-status-text {

  color: var(--ink);

}



.location-status-text strong {

  color: var(--brand-dark);

}



.change-city-link {

  color: var(--brand);

  text-decoration: underline;

  font-weight: 700;

  cursor: pointer;

  margin-left: 4px;

}



.change-city-link:hover {

  color: var(--brand-dark);

}



.btn-geolocation {

  display: inline-flex;

  align-items: center;

  gap: 0.4rem;

  background-color: #ffffff;

  color: var(--brand);

  border: 1px solid var(--line-strong);

  padding: 0.45rem 0.95rem;

  border-radius: var(--radius-full);

  font-size: 0.82rem;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.2s ease;

  box-shadow: var(--shadow-sm);

}



.btn-geolocation:hover {

  background-color: var(--brand);

  color: #ffffff;

  border-color: var(--brand);

}



/* Asr & Auto Method Bar */

.asr-controls-row {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 1.25rem;

  background: var(--bg);

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  padding: 1.15rem 1.4rem;

  margin-bottom: 1.75rem;

}



.auto-method-notice {

  font-size: 0.88rem;

  color: var(--brand);

  font-weight: 600;

  display: flex;

  align-items: center;

  gap: 0.45rem;

}



.asr-selector-group {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  flex-wrap: wrap;

}



.asr-selector-group label {

  font-size: 0.85rem;

  font-weight: 700;

  color: var(--ink);

}



.asr-note {

  font-size: 0.78rem;

  color: var(--muted);

  display: block;

}



/* Travel Safe Section */

.travel-safe-card {

  background: linear-gradient(135deg, #ffffff 0%, var(--hero) 100%);

  border: 1.5px solid var(--hero-border);

  border-radius: var(--radius-lg);

  padding: clamp(2rem, 5vw, 3rem);

  box-shadow: var(--shadow-md);

  margin-top: 2rem;

}



.travel-features-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 1.5rem;

  margin-top: 1.5rem;

}



.travel-feature-item {

  background: #ffffff;

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  padding: 1.25rem;

}



.travel-feature-item h4 {

  margin: 0 0 0.4rem;

  color: var(--brand);

  font-size: 1.05rem;

}



.travel-feature-item p {

  margin: 0;

  font-size: 0.9rem;

  color: var(--ink-soft);

}



/* Built Together, Never Finished Section */

.built-together-box {

  background: var(--bg-card);

  border: 2px solid var(--accent);

  border-radius: var(--radius-lg);

  padding: clamp(2rem, 5vw, 3.5rem);

  box-shadow: var(--shadow-md);

  margin-top: 2rem;

}



.quran-quote-card {

  background: linear-gradient(135deg, #183327 0%, #0e2119 100%);

  color: #ffffff;

  border: 1px solid var(--accent-gold);

  border-radius: var(--radius-md);

  padding: 1.75rem 2rem;

  margin: 1.5rem 0;

  box-shadow: 0 8px 24px rgba(14, 33, 25, 0.25);

}



.quran-quote-arabic {

  font-family: 'Amiri', 'Traditional Arabic', Georgia, serif;

  font-size: clamp(1.4rem, 2.8vw, 1.85rem);

  line-height: 2.1;

  color: #f7e6b8;

  direction: rtl;

  text-align: right;

  margin-bottom: 0.85rem;

}



.quran-quote-translation {

  font-size: 0.98rem;

  line-height: 1.7;

  color: #d1dcce;

  margin-bottom: 0.5rem;

}



.quran-quote-ref {

  font-size: 0.82rem;

  color: var(--accent);

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 1px;

}



/* Large CTA Button in Footer (styled in Site Footer) */



.prayer-grid-table {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));

  gap: 1rem;

  margin: 1.75rem 0;

}



.prayer-time-card {

  background: var(--bg);

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  padding: 1.15rem 0.85rem;

  text-align: center;

  position: relative;

  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;

}



.prayer-time-card:hover {

  transform: translateY(-3px);

  border-color: var(--accent);

}



.prayer-time-card.is-active {

  background: linear-gradient(135deg, #ffffff 0%, var(--hero) 100%);

  border: 2px solid var(--accent-gold);

  box-shadow: 0 8px 24px rgba(201, 157, 62, 0.22);

}



.prayer-time-card.is-active::after {

  content: "NEXT";

  position: absolute;

  top: -9px;

  left: 50%;

  transform: translateX(-50%);

  background: var(--accent-gold);

  color: #1a2c24;

  font-size: 0.65rem;

  font-weight: 800;

  letter-spacing: 1px;

  padding: 1px 7px;

  border-radius: 10px;

}



.prayer-name-label {

  font-size: 0.85rem;

  font-weight: 600;

  color: var(--muted);

  text-transform: uppercase;

  letter-spacing: 0.5px;

  margin-bottom: 0.4rem;

}



.prayer-time-card.is-active .prayer-name-label {

  color: var(--brand-dark);

}



.prayer-time-val {

  font-family: Georgia, serif;

  font-size: 1.45rem;

  font-weight: bold;

  color: var(--ink);

  font-variant-numeric: tabular-nums;

}



.prayer-time-card.is-active .prayer-time-val {

  color: var(--brand);

}



.prayer-widget-footer {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 1.25rem;

  background: var(--hero);

  padding: 1.25rem 1.75rem;

  border-radius: var(--radius-md);

  margin-top: 1.5rem;

}



.live-countdown-box {

  display: flex;

  align-items: center;

  gap: 0.75rem;

}



.pulse-dot {

  width: 10px;

  height: 10px;

  background-color: var(--brand);

  border-radius: 50%;

  box-shadow: 0 0 0 0 rgba(36, 92, 69, 0.7);

  animation: pulse-green 2s infinite;

}



@keyframes pulse-green {

  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(36, 92, 69, 0.7); }

  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(36, 92, 69, 0); }

  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(36, 92, 69, 0); }

}



.live-countdown-val {

  font-family: Georgia, serif;

  font-size: 1.5rem;

  font-weight: bold;

  color: var(--brand-dark);

  font-variant-numeric: tabular-nums;

}



.btn-audio-preview {

  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  background-color: #ffffff;

  color: var(--brand);

  border: 1.5px solid var(--accent);

  padding: 0.6rem 1.15rem;

  border-radius: var(--radius-full);

  font-size: 0.88rem;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.2s ease;

}



.btn-audio-preview:hover {

  background-color: var(--brand);

  color: #ffffff;

  border-color: var(--brand);

}



/* 5. Clickable Feature Explorer Modal */

.feature-modal-backdrop {

  position: fixed;

  inset: 0;

  background: rgba(22, 38, 31, 0.65);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  z-index: 1000;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 1.5rem;

  opacity: 0;

  visibility: hidden;

  transition: opacity 0.28s ease, visibility 0.28s ease;

}



.feature-modal-backdrop.is-open {

  opacity: 1;

  visibility: visible;

}



.feature-modal-dialog {

  background: var(--bg-card);

  border: 2px solid var(--accent);

  border-radius: var(--radius-lg);

  width: 100%;

  max-width: 820px;

  max-height: 90vh;

  overflow-y: auto;

  box-shadow: var(--shadow-3d);

  position: relative;

  transform: scale(0.94) translateY(15px);

  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);

  padding: 2.25rem;

}



.feature-modal-backdrop.is-open .feature-modal-dialog {

  transform: scale(1) translateY(0);

}



.modal-close-btn {

  position: absolute;

  top: 1.25rem;

  right: 1.25rem;

  width: 36px;

  height: 36px;

  background: var(--hero);

  border: 1px solid var(--line);

  border-radius: 50%;

  display: grid;

  place-items: center;

  cursor: pointer;

  color: var(--ink);

  font-size: 1.1rem;

  transition: background 0.15s ease, transform 0.15s ease;

}



.modal-close-btn:hover {

  background: var(--brand);

  color: #ffffff;

  transform: rotate(90deg);

}



.modal-layout-grid {

  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  gap: 2rem;

  align-items: center;

  margin-top: 1.25rem;

}



@media (max-width: 768px) {

  .modal-layout-grid {

    grid-template-columns: 1fr;

  }

}



.modal-mock-screen {

  background: #192721;

  border-radius: 20px;

  padding: 16px;

  box-shadow: var(--shadow-lg);

  border: 2px solid #2d453b;

  color: #ffffff;

}



.modal-nav-controls {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-top: 2rem;

  padding-top: 1.25rem;

  border-top: 1px solid var(--line);

}



/* 6. "A Note from Us" Section */

.note-from-us-card {

  background: linear-gradient(135deg, #fffdf8 0%, #f6f3e6 100%);

  border: 2px solid var(--accent);

  border-radius: var(--radius-lg);

  padding: clamp(2rem, 5vw, 3.5rem);

  box-shadow: var(--shadow-lg);

  position: relative;

  overflow: hidden;

}



.note-from-us-card::before {

  content: "🕋";

  position: absolute;

  right: -20px;

  bottom: -30px;

  font-size: 180px;

  opacity: 0.05;

  pointer-events: none;

}



.note-divider {

  width: 70px;

  height: 3px;

  background: linear-gradient(90deg, var(--brand) 0%, var(--accent-gold) 100%);

  border-radius: 2px;

  margin: 1.25rem 0 1.75rem;

}



.note-signature {

  margin-top: 2.25rem;

  padding-top: 1.5rem;

  border-top: 1px dashed var(--line-strong);

}



.note-signature p {

  margin-bottom: 0.25rem;

  color: var(--muted);

  font-style: italic;

}



.note-signature strong {

  font-family: Georgia, serif;

  font-size: 1.15rem;

  color: var(--brand);

}



/* 7. Closing Dua Section (Quran 2:201) */

.closing-dua-section {

  padding: 5rem 0 6rem;

  background: linear-gradient(180deg, var(--bg) 0%, #edf1e6 100%);

  position: relative;

}



.dua-arabic-card {

  background: linear-gradient(135deg, #1b382d 0%, #0f241d 100%);

  color: #ffffff;

  border: 2px solid var(--accent-gold);

  border-radius: var(--radius-lg);

  padding: clamp(2.5rem, 6vw, 4rem);

  text-align: center;

  box-shadow: 0 25px 60px rgba(15, 36, 29, 0.35);

  position: relative;

  overflow: hidden;

}



.dua-arabic-card::before {

  content: "";

  position: absolute;

  top: 8px;

  left: 8px;

  right: 8px;

  bottom: 8px;

  border: 1px solid rgba(230, 206, 148, 0.35);

  border-radius: calc(var(--radius-lg) - 6px);

  pointer-events: none;

}



.arabic-quran-text {

  font-family: "Amiri", "Traditional Arabic", Georgia, serif;

  font-size: clamp(1.85rem, 4.2vw, 3rem);

  line-height: 2.2;

  color: #f7e6b8;

  direction: rtl;

  margin: 1.5rem auto 1.75rem;

  max-width: 900px;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);

  letter-spacing: 0;

}



.dua-transliteration {

  font-family: Georgia, serif;

  font-style: italic;

  font-size: clamp(1rem, 2vw, 1.2rem);

  color: #e4eadb;

  margin-bottom: 1rem;

  line-height: 1.6;

}



.dua-translation {

  font-size: clamp(0.95rem, 1.8vw, 1.1rem);

  color: #d1dcce;

  max-width: 720px;

  margin: 0 auto 2rem;

  line-height: 1.7;

}



.dua-community-prayer {

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(230, 206, 148, 0.3);

  border-radius: var(--radius-md);

  padding: 1.35rem 1.75rem;

  max-width: 700px;

  margin: 0 auto;

  font-size: 0.98rem;

  line-height: 1.7;

  color: #ffffff;

}



/* Flowing Built Together Section Styles */

.gold-ornament {

  color: var(--accent-gold);

  font-size: 1.55rem;

  letter-spacing: 6px;

  margin-bottom: 0.6rem;

  text-align: center;

  user-select: none;

}



.built-together-flowing-text {

  font-family: Georgia, 'Playfair Display', 'Times New Roman', serif;

  font-size: clamp(1.15rem, 2.2vw, 1.32rem);

  line-height: 2.05;

  color: var(--ink);

  max-width: 760px;

  margin: 1.75rem auto 2.25rem;

  text-align: center;

}



.built-together-flowing-text .gold-ref {

  color: var(--accent-gold);

  font-size: 0.88em;

  font-weight: 700;

  white-space: nowrap;

}





/* ==========================================================================

   Listen Section, FAQ Accordion, Uvez Olia Signature, & Download Install Boxes

   ========================================================================== */



/* 1. Listen Section Styles - Uniform Twin Audio Cards */
.listen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.25rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .listen-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.listen-player-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.listen-player-card:hover {
  box-shadow: var(--shadow-md);
}

.listen-player-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.listen-player-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--hero);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.listen-player-titles {
  flex: 1;
  min-width: 180px;
}

.listen-player-title {
  font-family: Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.listen-player-subtitle {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.listen-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.listen-btns-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.listen-credit {
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 600;
  background: rgba(47, 93, 71, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(47, 93, 71, 0.15);
  white-space: nowrap;
}

.btn-athan-play,
.btn-fatiha-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(47, 93, 71, 0.25);
}

.btn-athan-play:hover,
.btn-fatiha-play:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-athan-stop,
.btn-fatiha-stop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--hero);
  color: var(--ink);
  border: 1px solid var(--hero-border);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-athan-stop:hover,
.btn-fatiha-stop:hover {
  background: #e2ede5;
  border-color: var(--brand);
}

.listen-progress-wrapper,
.athan-progress-wrapper,
.fatiha-progress-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.athan-progress-bar {
  width: 100%;
  accent-color: var(--brand);
  cursor: pointer;
  height: 6px;
}

.athan-time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.fatiha-tabs {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
  margin-left: auto;
}

.fatiha-tab-btn {
  background: transparent;
  border: none;
  border-radius: 25px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fatiha-tab-btn:hover {
  color: var(--brand);
}

.fatiha-tab-btn.active {
  background: var(--brand);
  color: #ffffff;
}

.listen-player-footer {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  margin-top: auto;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .listen-player-card {
    padding: 1.25rem;
  }
  .fatiha-tabs {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* 2. Uvez Olia Signature & Personal Letter */

.personal-letter-card {

  background: #ffffff;

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  padding: 2.5rem 2rem;

  box-shadow: var(--shadow-sm);

  position: relative;

}



.letter-p {

  font-family: Georgia, serif;

  font-size: 1.12rem;

  line-height: 1.85;

  color: var(--ink);

  margin-bottom: 1.25rem;

}



.letter-signature-container {

  margin-top: 2rem;

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 0.2rem;

}



.signature-name {

  font-family: 'Great Vibes', 'Brush Script MT', cursive;

  font-size: 3.2rem;

  color: var(--accent-gold);

  line-height: 1.1;

  text-shadow: 0 1px 2px rgba(201, 157, 62, 0.25);

}



.signature-flourish {

  line-height: 1;

}



.signature-seal {

  width: 42px;

  height: 42px;

  border-radius: 50%;

  border: 1.8px solid var(--accent-gold);

  color: var(--accent-gold);

  font-family: Georgia, serif;

  font-weight: 700;

  font-size: 0.88rem;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  background: rgba(201, 157, 62, 0.08);

  letter-spacing: 1px;

  margin-top: 0.25rem;

}



/* 3. Install Step Callouts in Downloads */

.install-steps-box {

  background: rgba(247, 245, 239, 0.75);

  border: 1px solid var(--line);

  border-left: 3.5px solid var(--accent-gold);

  border-radius: 8px;

  padding: 0.85rem 1.1rem;

  margin: 1rem 0;

  font-size: 0.9rem;

  color: var(--ink-soft);

  line-height: 1.55;

}



.download-badge {

  display: inline-flex;

  align-items: center;

  gap: 0.35rem;

  font-size: 0.82rem;

  font-weight: 600;

  color: var(--brand);

  background: var(--hero);

  padding: 0.3rem 0.7rem;

  border-radius: 20px;

}



@media (max-width: 580px) {

  .footer-grid {

    grid-template-columns: 1fr;

    gap: 1.75rem;

  }

  .footer-bottom {

    flex-direction: column;

    text-align: center;

    gap: 0.5rem;

  }

}



/* ==========================================================================

   Email Action Menu Component (3 Options: Gmail, Email App, Copy Address)

   ========================================================================== */

.email-menu-container {

  position: relative;

  display: inline-block;

  vertical-align: middle;

}



.email-menu-trigger {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.5rem;

  cursor: pointer;

  position: relative;

  font-weight: 600;

  user-select: none;

}



.email-menu-trigger .dropdown-chevron {

  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);

  flex-shrink: 0;

}



.email-menu-trigger[aria-expanded="true"] .dropdown-chevron {

  transform: rotate(180deg);

}



.email-menu-dropdown {

  display: none;

  position: absolute;

  top: calc(100% + 8px);

  left: 50%;

  transform: translateX(-50%);

  min-width: 275px;

  max-width: 330px;

  background: #ffffff;

  border: 1.5px solid var(--line);

  border-top: 3px solid var(--accent);

  border-radius: var(--radius-md);

  box-shadow: 0 16px 36px rgba(36, 92, 69, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);

  padding: 0.5rem;

  z-index: 1050;

  text-align: left;

}



.email-menu-container.dropup .email-menu-dropdown {

  top: auto;

  bottom: calc(100% + 8px);

}



.email-menu-dropdown.is-open {

  display: block;

  animation: emailMenuSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;

}



@keyframes emailMenuSlideIn {

  from {

    opacity: 0;

    transform: translateX(-50%) translateY(5px);

  }

  to {

    opacity: 1;

    transform: translateX(-50%) translateY(0);

  }

}



.email-menu-item {

  display: flex;

  align-items: center;

  gap: 0.85rem;

  padding: 0.75rem 0.85rem;

  color: var(--ink);

  text-decoration: none;

  border-radius: var(--radius-sm);

  background: transparent;

  border: none;

  width: 100%;

  font-family: inherit;

  font-size: 0.92rem;

  cursor: pointer;

  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;

  box-sizing: border-box;

  text-align: left;

}



.email-menu-item:hover,

.email-menu-item:focus,

.email-menu-item:focus-visible {

  background-color: var(--hero);

  color: var(--brand);

  outline: none;

  transform: translateX(2px);

}



.email-menu-item svg {

  flex-shrink: 0;

  color: var(--brand);

}



.email-item-text {

  display: flex;

  flex-direction: column;

  line-height: 1.25;

}



.email-item-text strong {

  font-size: 0.92rem;

  font-weight: 600;

  color: var(--ink);

}



.email-menu-item:hover .email-item-text strong,

.email-menu-item:focus .email-item-text strong {

  color: var(--brand);

}



.email-item-text small {

  font-size: 0.76rem;

  color: var(--muted);

  margin-top: 2px;

}



.email-menu-item.copied {

  background-color: rgba(36, 92, 69, 0.08);

}



.email-menu-item.copied .copy-icon {

  display: none !important;

}



.email-menu-item.copied .check-icon {

  display: inline-block !important;

}



.email-menu-item.copied .copy-label {

  color: var(--brand) !important;

}



.email-menu-item.copied .copy-hint {

  color: var(--brand) !important;

  font-weight: 600;

}



/* Touch & Mobile adjustments */

@media (max-width: 480px) {

  .email-menu-dropdown {

    position: fixed;

    top: auto;

    bottom: 20px;

    left: 16px;

    right: 16px;

    transform: none;

    min-width: 0;

    max-width: none;

    width: auto;

    border-radius: 18px;

    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);

  }



  @keyframes emailMenuSlideIn {

    from {

      opacity: 0;

      transform: translateY(20px);

    }

    to {

      opacity: 1;

      transform: translateY(0);

    }

  }

}


/* Audio Stop & Master Player Enhancements */
.athan-controls-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.btn-athan-play,
.btn-fatiha-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(36, 92, 69, 0.2);
}

.btn-athan-play:hover,
.btn-fatiha-play:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(36, 92, 69, 0.25);
}

.btn-athan-stop,
.btn-fatiha-stop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--hero);
  color: var(--ink);
  border: 1px solid var(--hero-border);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-athan-stop:hover,
.btn-fatiha-stop:hover {
  background: #ecd9b3;
  color: #194432;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-athan-stop svg,
.btn-fatiha-stop svg {
  color: var(--accent-deep);
}

.fatiha-player-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 1.5rem;
}

.fatiha-controls-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.fatiha-progress-wrapper {
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .fatiha-controls-row {
    flex-direction: column;
    align-items: stretch;
  }
  .fatiha-controls-row .btn-fatiha-play,
  .fatiha-controls-row .btn-fatiha-stop {
    width: 100%;
  }
  .fatiha-controls-row .fatiha-credit {
    margin-left: 0 !important;
    text-align: center;
    margin-top: 0.25rem;
  }
}

/* Older Versions Component in Downloads Section */
.older-versions-box {
  margin-top: 2rem;
  background: var(--bg-card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.older-versions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.older-versions-header h4 {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0;
}

.older-versions-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brand);
  background: var(--hero);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--hero-border);
}

.older-versions-empty {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  padding: 1rem 0;
  text-align: center;
}

.older-versions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.older-version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.older-version-row:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(36, 92, 69, 0.08);
}

.older-version-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.older-version-num {
  font-weight: 700;
  color: var(--brand);
  font-size: 1rem;
}

.older-version-platform {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--hero);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.older-version-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.signature-plain-name {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 0.35rem;
  font-style: normal;
}


/* ==========================================================================
   Mobile Responsive Layout (Compact & Optimized for 320px - 430px & Landscape)
   ========================================================================== */

/* 1. Header Navigation & CTA on Mobile */
@media (max-width: 640px) {
  .nav-cta {
    display: none !important;
  }
  .nav-wrapper {
    gap: 0.75rem;
    justify-content: space-between;
  }
}

/* 2. Tablet & Mobile Global Compacting (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 2.75rem 0;
  }
  .section-hero {
    padding: 2rem 0 2.25rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  h1 {
    font-size: 2.25rem;
    line-height: 1.25;
  }
  h2 {
    font-size: 1.85rem;
    line-height: 1.3;
  }
  .lead {
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .bismillah {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
  }
  .eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
  }
  .hero-badges {
    gap: 0.5rem;
    margin-top: 1.25rem;
  }
  .hero-actions {
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }
  .hero-actions .btn {
    padding: 0.75rem 1.25rem;
  }
  .site-footer {
    padding: 3rem 0 1.5rem;
  }
}

/* 3. Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .section {
    padding: 2rem 0;
  }
  .section-hero {
    padding: 1.5rem 0 1.75rem;
  }
  .section-header {
    margin-bottom: 1.5rem;
  }
  h1 {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }
  h2 {
    font-size: 1.55rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  .lead {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  .nav-wrapper {
    gap: 0.5rem;
  }
  .brand-wordmark {
    font-size: 1.35rem;
  }
  .brand-logo-img {
    width: 32px;
    height: 32px;
  }
  .nav-cta .btn-sm {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* Compact Hero Actions & Badges */
  .badge-item {
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    font-size: 0.92rem;
  }

  /* Compact Listen Section */
  .listen-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
  }
  .listen-player-card {
    padding: 1.15rem 0.95rem;
    gap: 0.9rem;
  }
  .listen-player-title {
    font-size: 1.08rem;
  }
  .fatiha-tabs {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
  .listen-controls-row,
  .athan-controls-row,
  .fatiha-controls-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .listen-btns-group {
    width: 100%;
    justify-content: center;
  }
  .listen-credit {
    text-align: center;
    white-space: normal;
  }

  /* Compact Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .feature-card {
    padding: 1.2rem 1rem;
  }
  .feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }
  .feature-card p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* Compact Prayer Widget */
  .prayer-widget-section {
    padding: 2rem 0;
  }
  .prayer-widget-box {
    padding: 1.25rem 0.95rem;
  }
  .prayer-widget-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    gap: 0.85rem;
  }
  .prayer-grid-table {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
  }
  .prayer-time-card {
    padding: 0.85rem 0.5rem;
  }
  .prayer-time-val {
    font-size: 1.2rem;
  }
  .prayer-widget-footer {
    padding: 0.85rem 1rem;
    margin-top: 1rem;
  }

  /* Compact Personal Letter */
  .personal-letter-card {
    padding: 1.5rem 1rem;
  }
  .letter-body p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
  }

  /* Compact Downloads & Older Versions */
  .download-card {
    padding: 1.25rem 1rem;
  }
  .download-card h3 {
    font-size: 1.25rem;
  }
  .older-versions-box {
    margin-top: 1.25rem;
    padding: 1rem 0.85rem;
  }
  .older-version-row {
    padding: 0.65rem 0.85rem;
  }

  /* Compact FAQ */
  .faq-list {
    gap: 0.65rem;
  }
  .faq-item {
    padding: 1rem 0.95rem;
  }
  .faq-question {
    font-size: 0.98rem;
  }

  /* Compact Footer */
  .footer-cta-banner {
    padding: 1.25rem 1rem;
    margin-bottom: 1.75rem;
  }
  .footer-cta-content {
    min-width: 0;
  }
  .footer-cta-title {
    font-size: 1.15rem;
  }
  .footer-grid {
    gap: 1.25rem;
  }
  .site-footer {
    padding: 2.25rem 0 1.25rem;
  }

  /* Support & Privacy Cards */
  .contact-card,
  .policy-card {
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem;
  }
  .email-pill {
    font-size: 0.88rem;
    padding: 0.5rem 0.8rem;
    max-width: 100%;
    word-break: break-all;
  }
  .footer-support-link {
    word-break: break-all;
  }

  /* Modals */
  .feature-modal-dialog {
    padding: 1.25rem 1rem;
    width: calc(100% - 1.5rem);
    margin: 0.75rem;
  }
}

/* 4. Extra Small Phones (<= 360px down to 320px) */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }
  .section {
    padding: 1.65rem 0;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .lead {
    font-size: 0.88rem;
  }
  .brand-wordmark {
    font-size: 1.18rem;
  }
  .brand-logo-img {
    width: 28px;
    height: 28px;
  }
  .nav-cta .btn-sm {
    padding: 0.35rem 0.55rem;
    font-size: 0.74rem;
  }
  .email-pill {
    font-size: 0.78rem;
    padding: 0.45rem 0.65rem;
  }
  .fatiha-tab-btn {
    padding: 0.3rem 0.55rem;
    font-size: 0.78rem;
  }
}


/* ==========================================================================
   Mobile Hamburger Navigation Button & Slide-Down Drawer
   ========================================================================== */

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  padding: 8px 7px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav-hamburger-btn:hover {
  border-color: var(--brand);
  background: var(--hero);
}

.nav-hamburger-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--brand-dark);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* Morphing hamburger to X */
.nav-hamburger-btn.is-open .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger-btn.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger-btn.is-open .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav Drawer Overlay */
.mobile-nav-menu {
  position: fixed;
  inset: 0;
  background: rgba(18, 30, 24, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  overflow-y: auto;
  padding: 0.75rem;
}

.mobile-nav-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-bottom: 3px solid var(--accent-gold);
  padding: 1.25rem 1.25rem 1.75rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  border-radius: 18px;
  transform: translateY(-16px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 440px;
  margin: 0.5rem auto 2rem;
}

.mobile-nav-menu.is-open .mobile-nav-inner {
  transform: translateY(0);
}

.mobile-nav-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-close-btn {
  background: var(--hero);
  border: 1px solid var(--hero-border);
  color: var(--brand);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mobile-nav-close-btn:hover {
  background: #ecd9b3;
  color: #194432;
  transform: scale(1.05);
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-nav-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  padding-left: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active,
.mobile-nav-link.active {
  background: rgba(47, 93, 71, 0.08);
  color: var(--brand);
}

.mobile-nav-link svg,
.mobile-nav-link .apple-icon {
  color: var(--brand);
  flex-shrink: 0;
}

.mobile-nav-downloads-group {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-nav-btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 1040px) {
  .nav-hamburger-btn {
    display: flex;
  }
}

@media (min-width: 1041px) {
  .nav-hamburger-btn,
  .mobile-nav-menu {
    display: none !important;
  }
}
