/* ==========================================================================
   Easy Zikr — Obsidian Sanctuary Design System
   Inspired by Stitch Project "Easy Zikr App Showcase" & Official Screenshots
   ========================================================================== */

:root {
  /* Obsidian Sanctuary Palette */
  --bg-root: #070e0b;
  --bg-surface: #0b1713;
  --bg-card: rgba(14, 27, 21, 0.78);
  --bg-card-hover: rgba(19, 36, 28, 0.9);
  --bg-card-high: #14241c;
  --bg-card-highest: #1a2f24;
  --bg-glass: rgba(11, 23, 19, 0.75);

  /* Accents */
  --emerald: #10b981;
  --emerald-light: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --emerald-glow-strong: rgba(16, 185, 129, 0.45);
  --emerald-dim: rgba(16, 185, 129, 0.12);

  --gold: #d4af37;
  --gold-light: #f5e6be;
  --gold-bright: #e9c349;
  --gold-glow: rgba(212, 175, 55, 0.28);
  --gold-dim: rgba(212, 175, 55, 0.12);

  /* Typography Colors */
  --text-high: #ffffff;
  --text-main: #f5e6be;
  --text-muted: #a7bdb5;
  --text-dim: #6e857c;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-emerald: rgba(16, 185, 129, 0.25);
  --border-gold: rgba(212, 175, 55, 0.35);

  /* Fonts */
  --font-serif: "Playfair Display", "Instrument Serif", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: Amiri, "Traditional Arabic", "Scheherazade New", serif;

  /* Layout */
  --container-max: 1240px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px -4px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.85);
  --shadow-emerald: 0 0 35px var(--emerald-glow);
  --shadow-gold: 0 0 30px var(--gold-glow);

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

@font-face {
  font-family: 'Amiri';
  src: url("./assets/amiri.ttf") format("truetype");
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background-color: var(--bg-root);
  color: var(--text-main);
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-root);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere & Islamic Arch Glow */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.atmosphere::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 580px;
  background: radial-gradient(ellipse at 50% 30%, rgba(16, 185, 129, 0.16) 0%, rgba(212, 175, 55, 0.08) 40%, transparent 75%);
  filter: blur(80px);
  border-radius: 50%;
}

.atmosphere::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 850px;
  background: radial-gradient(circle at 50% -10%, rgba(212, 175, 55, 0.12) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 80%);
  opacity: 0.9;
}

/* Islamic Arch Decorative Overlay */
.arch-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, transparent 100%);
}

/* Typography Presets */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-high);
  line-height: 1.2;
}

.arabic-text {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  line-height: 1.9;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 100;
  background: var(--emerald);
  color: #002b1c;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform var(--transition-fast);
}
.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 80;
  background: rgba(7, 14, 11, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(7, 14, 11, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 16px var(--emerald-glow);
  border: 1px solid var(--border-emerald);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-high);
  letter-spacing: -0.01em;
}

.brand-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-light);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 27, 21, 0.6);
  padding: 4px 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-high);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--emerald-light);
  background: var(--emerald-dim);
  border: 1px solid var(--border-emerald);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #032014;
  box-shadow: 0 4px 20px var(--emerald-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--emerald-glow-strong);
  color: #02180e;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-high);
  color: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-apple {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: linear-gradient(180deg, #1c3026 0%, #0d1e16 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-apple:hover {
  background: linear-gradient(180deg, #243d31 0%, #12271d 100%);
  border-color: var(--border-emerald);
  box-shadow: 0 6px 30px var(--emerald-glow);
  transform: translateY(-1px);
}

.btn-apple svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

.btn-apple-small {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-light);
}

.btn-apple-big {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-high);
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 14, 11, 0.98);
  backdrop-filter: blur(25px);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 79;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 20px var(--emerald-dim);
}

.badge-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
}

.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
  background: linear-gradient(135deg, #f5e6be 20%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-accent-line {
  width: 120px;
  height: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--gold) 0%, var(--emerald) 70%, transparent 100%);
  margin: 16px 0 24px 0;
  box-shadow: 0 0 12px var(--gold-glow);
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--gold-light);
}

.rating-stars {
  color: #fbbf24;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-dim);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-light);
}

/* Phone Mockup Frame */
.hero-stage {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 2.05;
  background: linear-gradient(145deg, #23352b 0%, #101c15 50%, #060b09 100%);
  border-radius: 50px;
  padding: 10px;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.95), 0 0 50px var(--emerald-dim);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: transform var(--transition-smooth);
}

.phone-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 90px -15px rgba(0, 0, 0, 0.98), 0 0 60px var(--emerald-glow);
}

.phone-screen-container {
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
}

.phone-screen-container picture,
.showcase-screen-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.phone-screen-container img,
.showcase-screen-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Decorative ambient glow circle behind phone */
.mockup-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.25) 0%, rgba(212, 175, 55, 0.1) 40%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  border-radius: 60px;
}

/* ==========================================================================
   Ayah Banner (Ar-Ra'd 13:28)
   ========================================================================== */
.ayah-banner {
  padding: 40px 0;
}

.ayah-card {
  background: linear-gradient(135deg, rgba(14, 27, 21, 0.85) 0%, rgba(19, 36, 28, 0.6) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md), 0 0 30px rgba(212, 175, 55, 0.08);
  position: relative;
  overflow: hidden;
}

.ayah-card::before {
  content: "ذِكْر";
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--font-arabic);
  font-size: 160px;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.ayah-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--gold-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

.ayah-translation {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 21px);
  color: #ffffff;
  max-width: 780px;
  margin-bottom: 12px;
  font-style: italic;
}

.ayah-ref {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-light);
}

/* ==========================================================================
   Interactive Showcase / Carousel of 10 Real App Screens
   ========================================================================== */
.showcase-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--emerald-light);
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(32px, 4vw, 46px);
  color: #ffffff;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.showcase-device {
  position: relative;
  max-width: 310px;
  margin: 0 auto;
}

.showcase-phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 2.05;
  background: #0f1c15;
  border-radius: 46px;
  padding: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--emerald-dim);
}

.showcase-screen-wrap {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #000000;
}

.showcase-screen-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 240ms ease;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.showcase-pill {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.showcase-pill:hover {
  background: var(--bg-card-high);
  color: var(--text-high);
}

.showcase-pill.active {
  background: var(--emerald-dim);
  border-color: var(--emerald);
  color: var(--emerald-light);
  font-weight: 600;
  box-shadow: 0 0 16px var(--emerald-dim);
}

.showcase-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.showcase-index {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.showcase-headline {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 12px;
}

.showcase-description {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.showcase-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.showcase-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   Bento Grid: The 10 Core Pillars of Easy Zikr
   ========================================================================== */
.pillars-section {
  padding: 80px 0;
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-emerald);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 24px var(--emerald-dim);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-light);
}

.bento-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  padding: 4px 10px;
  background: var(--gold-dim);
  border-radius: var(--radius-full);
}

.bento-title {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* Bento Card Inset Widgets */
.bento-widget {
  background: rgba(8, 16, 13, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: auto;
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  text-align: center;
}

.prayer-pill {
  padding: 8px 4px;
  background: var(--bg-card-high);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.prayer-pill.active {
  background: var(--emerald);
  color: #012417;
  font-weight: 700;
  box-shadow: 0 0 14px var(--emerald-glow);
}

/* ==========================================================================
   Interactive Live Tasbih Dial Widget
   ========================================================================== */
.tasbih-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 27, 21, 0.5) 50%, transparent 100%);
}

.tasbih-box {
  background: radial-gradient(circle at 50% 30%, rgba(20, 38, 29, 0.95) 0%, rgba(9, 17, 13, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 50px 30px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.dhikr-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.dhikr-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.dhikr-tab-btn:hover {
  background: var(--bg-card-high);
  color: #ffffff;
}

.dhikr-tab-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(212, 175, 55, 0.15) 100%);
  border-color: var(--emerald);
  color: var(--emerald-light);
  font-weight: 600;
  box-shadow: 0 0 16px var(--emerald-dim);
}

.tasbih-dial {
  position: relative;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #11221b 0%, #07100c 80%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--emerald-dim), inset 0 2px 4px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: pointer;
  transition: transform 120ms ease;
  margin-bottom: 28px;
}

.tasbih-dial:active {
  transform: scale(0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 50px var(--emerald-glow-strong);
}

.tasbih-svg-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.ring-bg {
  stroke: rgba(255, 255, 255, 0.08);
}

.ring-progress {
  stroke: var(--emerald);
  transition: stroke-dashoffset 240ms cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 6px var(--emerald));
}

.dial-arabic {
  font-family: var(--font-arabic);
  font-size: 26px;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.dial-translit {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 8px;
  max-width: 200px;
}

.dial-number {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.dial-target {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}

.dial-cue {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald-light);
  margin-top: 10px;
}

.tasbih-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12.5px;
}

.sound-toggle-btn.active {
  color: var(--emerald-light);
  border-color: var(--border-emerald);
}

/* ==========================================================================
   Apple Watch Showcase
   ========================================================================== */
.watch-section {
  padding: 80px 0;
}

.watch-card {
  background: linear-gradient(135deg, rgba(14, 27, 21, 0.9) 0%, rgba(9, 18, 14, 0.95) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.watch-info h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  color: #ffffff;
  margin-bottom: 16px;
}

.watch-info p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.watch-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.watch-feat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.watch-feat-box h4 {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.watch-feat-box p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.4;
  margin: 0;
}

/* Watch Mockup */
.watch-stage {
  display: flex;
  justify-content: center;
}

.watch-frame {
  position: relative;
  width: 220px;
  height: 270px;
  background: linear-gradient(145deg, #2b3932 0%, #111a15 60%, #070c09 100%);
  border-radius: 48px;
  padding: 10px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--emerald-dim);
}

.watch-crown {
  position: absolute;
  right: -5px;
  top: 55px;
  width: 8px;
  height: 40px;
  border-radius: 4px;
  background: #394840;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.watch-screen {
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 38px;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.watch-top-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-bright);
}

.watch-center-dhikr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.watch-arabic {
  font-family: var(--font-arabic);
  font-size: 20px;
  color: var(--emerald-light);
}

.watch-count {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin: 4px 0;
}

.watch-target {
  font-size: 12px;
  color: var(--text-dim);
}

.watch-bottom-status {
  font-size: 9.5px;
  color: var(--emerald-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Sadaqah Jariyah Ethical Pledge
   ========================================================================== */
.ethics-section {
  padding: 80px 0;
}

.ethics-card {
  background: linear-gradient(135deg, rgba(14, 27, 21, 0.8) 0%, rgba(10, 20, 15, 0.9) 100%);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg), 0 0 40px var(--emerald-dim);
}

.ethics-copy h2 {
  font-size: clamp(28px, 3vw, 38px);
  color: #ffffff;
  margin-bottom: 16px;
}

.ethics-copy p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.ethics-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ethics-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.ethics-badge-item svg {
  width: 24px;
  height: 24px;
  color: var(--emerald-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.ethics-badge-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.ethics-badge-desc {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   Final Call To Action
   ========================================================================== */
.cta-section {
  padding: 60px 0 100px 0;
}

.cta-box {
  background: radial-gradient(circle at 50% 0%, rgba(20, 42, 32, 0.95) 0%, rgba(9, 18, 14, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 60px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(16, 185, 129, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-box h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #050b08;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-hadith-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.footer-hadith-box span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--emerald-light);
  display: block;
  margin-bottom: 4px;
}

.footer-hadith-box p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-copy {
    align-items: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .trust-badges {
    justify-content: center;
  }
  .showcase-layout {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .watch-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px;
  }
  .watch-stage {
    order: -1;
  }
  .watch-feature-grid {
    grid-template-columns: 1fr;
  }
  .ethics-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .showcase-layout {
    padding: 20px;
  }
  .showcase-nav-pills {
    justify-content: center;
  }
  .tasbih-dial {
    width: 250px;
    height: 250px;
  }
  .dial-number {
    font-size: 42px;
  }
}

@media (max-width: 520px) {
  .header-actions .btn-apple .btn-apple-small {
    display: none;
  }
  .header-actions .btn-apple {
    padding: 8px 14px;
    white-space: nowrap;
  }
  .header-actions .btn-apple svg {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
