/**
 * Khushoo - Sacred Minimalism Theme
 * Matching the iOS app's contemplative design aesthetic
 */

/* CSS Variables - Sacred Minimalism Palette */
:root {
  --sacred-gold: #C4A574;
  --sacred-gold-light: rgba(196, 165, 116, 0.15);
  --sacred-gold-glow: rgba(196, 165, 116, 0.3);
  --bg-primary: #14171C;
  --bg-secondary: #1E2126;
  --bg-tertiary: #262A30;
  --text-primary: #FFFFFF;
  --text-secondary: #B0BEC5;
  --text-muted: #78909C;
  --soft-green: #8CAE8C;
  --muted-purple: #8C73A6;
  --warm-gray: #666B6B;
  --border-subtle: rgba(196, 165, 116, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --tracking-wide: 0.12em;
  --tracking-wider: 0.15em;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: var(--sacred-gold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 720px;
}

.gold-text {
  color: var(--sacred-gold);
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  color: var(--sacred-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label.center {
  text-align: center;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled,
.navbar.menu-open {
  background: rgba(20, 23, 28, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  opacity: 1;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 8px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 20px 24px 24px;
  background: rgba(20, 23, 28, 0.98);
}

.mobile-nav-link {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s ease;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--sacred-gold);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu:not(.hidden) {
    display: flex;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 140px 24px 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 70% 30%, var(--sacred-gold-light) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 520px;
}

.hero-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  color: var(--sacred-gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--sacred-gold);
  color: var(--bg-primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--sacred-gold-glow);
}

.btn-primary.large {
  padding: 18px 32px;
  font-size: 15px;
}

/* Hero Feature Highlights */
.hero-feature-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.highlight-item svg {
  color: var(--sacred-gold);
  flex-shrink: 0;
}

/* iPhone 15 Pro Mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.iphone-container {
  position: relative;
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.iphone-container:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

/* iPhone 15 Pro Frame - Natural Titanium */
.iphone-frame {
  position: relative;
  width: 280px;
  background: linear-gradient(135deg, #8A8A8F 0%, #6E6E73 20%, #8A8A8F 40%, #5A5A5E 60%, #7A7A7E 80%, #6E6E73 100%);
  border-radius: 50px;
  padding: 10px;
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.5),
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}

/* Side Buttons */
.iphone-button {
  position: absolute;
  background: linear-gradient(to bottom, #8A8A8F, #6E6E73, #5A5A5E);
  border-radius: 2px;
}

.iphone-button.action-button {
  left: -3px;
  top: 100px;
  width: 3px;
  height: 28px;
  border-radius: 2px 0 0 2px;
}

.iphone-button.volume-up {
  left: -3px;
  top: 150px;
  width: 3px;
  height: 42px;
  border-radius: 2px 0 0 2px;
}

.iphone-button.volume-down {
  left: -3px;
  top: 200px;
  width: 3px;
  height: 42px;
  border-radius: 2px 0 0 2px;
}

.iphone-button.power-button {
  right: -3px;
  top: 160px;
  width: 3px;
  height: 70px;
  border-radius: 0 2px 2px 0;
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 34px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  box-shadow:
    inset 0 0 2px rgba(255, 255, 255, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.3);
}

.dynamic-island-camera {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 30% 30%, #1a1a2e, #0a0a14);
  border-radius: 50%;
  box-shadow:
    inset 0 0 2px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Status Bar */
.status-bar {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 26px;
  z-index: 50;
}

.status-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.signal-bars {
  display: flex;
  gap: 1px;
  align-items: flex-end;
}

.signal-bar {
  width: 3px;
  background: var(--text-primary);
  border-radius: 1px;
}

.signal-bar:nth-child(1) { height: 4px; }
.signal-bar:nth-child(2) { height: 6px; }
.signal-bar:nth-child(3) { height: 8px; }
.signal-bar:nth-child(4) { height: 10px; }

.wifi-icon {
  color: var(--text-primary);
}

.battery-icon {
  width: 24px;
  height: 11px;
  border: 1.5px solid var(--text-primary);
  border-radius: 3px;
  padding: 1px;
  position: relative;
}

.battery-icon::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 5px;
  background: var(--text-primary);
  border-radius: 0 1px 1px 0;
}

.battery-level {
  width: 85%;
  height: 100%;
  background: var(--text-primary);
  border-radius: 1px;
}

.iphone-screen {
  background: var(--bg-primary);
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  height: 570px;
  display: flex;
  flex-direction: column;
}

.iphone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  z-index: 100;
}

/* Mockup Scroll Area */
.mockup-scroll-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 56px 16px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mockup-scroll-area::-webkit-scrollbar {
  display: none;
}

/* Mockup Panels */
.mockup-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.mockup-panel.active {
  display: block;
}

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

/* Mockup Tab Bar */
.mockup-tab-bar {
  display: flex;
  justify-content: space-around;
  padding: 12px 8px 28px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}

.mockup-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s ease;
  border-radius: var(--radius-sm);
}

.mockup-tab:hover {
  color: var(--text-secondary);
}

.mockup-tab.active {
  color: var(--sacred-gold);
}

.mockup-tab svg {
  width: 22px;
  height: 22px;
}

.mockup-tab span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Mockup Content Styles */
.mockup-greeting {
  margin-bottom: 20px;
}

.greeting-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  color: var(--sacred-gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.greeting-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
}

/* Mockup Cards */
.mockup-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--border-subtle);
}

.card-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  color: var(--sacred-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Focus Status Card */
.focus-status-card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(196, 165, 116, 0.15) 100%);
  border-color: var(--sacred-gold);
}

.focus-status-card.active-blocking {
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 165, 116, 0); }
  50% { box-shadow: 0 0 20px 0 rgba(196, 165, 116, 0.2); }
}

.focus-status-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.focus-icon-wrap {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sacred-gold-light);
  color: var(--sacred-gold);
  border-radius: var(--radius-sm);
}

.focus-status-info {
  flex: 1;
}

.focus-status-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  color: var(--sacred-gold);
  text-transform: uppercase;
}

.focus-status-prayer {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.focus-status-details {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.blocking-text {
  color: var(--text-secondary);
}

.blocking-time {
  color: var(--sacred-gold);
}

/* Prayer Card */
.prayer-card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(140, 174, 140, 0.1) 100%);
}

.prayer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.prayer-current {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.prayer-time {
  font-size: 16px;
  font-weight: 400;
  color: var(--soft-green);
}

.prayer-next {
  font-size: 11px;
  color: var(--text-secondary);
}

.prayer-next .next-label {
  color: var(--text-muted);
}

/* Mockup Sections */
.mockup-section {
  margin-bottom: 20px;
}

.mockup-section .section-label {
  font-size: 9px;
  margin-bottom: 10px;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 10px;
}

.action-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.action-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sacred-gold-light);
  border-radius: var(--radius-sm);
  color: var(--sacred-gold);
}

.action-icon.purple {
  background: rgba(140, 115, 166, 0.15);
  color: var(--muted-purple);
}

.action-icon.green {
  background: rgba(140, 174, 140, 0.15);
  color: var(--soft-green);
}

.action-item span {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Verse Card */
.verse-card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--sacred-gold-light) 100%);
}

.verse-arabic {
  font-family: 'Scheherazade New', var(--font-serif);
  font-size: 18px;
  text-align: right;
  direction: rtl;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.verse-translation {
  font-size: 12px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.verse-reference {
  font-size: 10px;
  color: var(--sacred-gold);
}

/* Stats Section */
.stats-grid {
  display: flex;
  gap: 8px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--sacred-gold);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Focus Panel Styles */
.focus-panel-header {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
}

.focus-shield-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sacred-gold-light);
  color: var(--sacred-gold);
  border-radius: 50%;
  margin: 0 auto 16px;
}

.panel-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
}

.panel-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Step Header */
.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-indicator {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
}

.step-indicator.complete {
  background: var(--soft-green);
  color: white;
}

.step-info {
  flex: 1;
}

.step-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  color: var(--text-muted);
  text-transform: uppercase;
}

.step-desc {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Prayer Toggles */
.prayer-toggles {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.prayer-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
}

.prayer-toggle-row:last-child {
  border-bottom: none;
}

.prayer-toggle-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sacred-gold-light);
  color: var(--sacred-gold);
  border-radius: var(--radius-sm);
}

.prayer-toggle-icon.fajr {
  background: rgba(196, 165, 116, 0.15);
  color: var(--sacred-gold);
}

.prayer-toggle-icon.dhuhr {
  background: rgba(196, 165, 116, 0.15);
  color: var(--sacred-gold);
}

.prayer-toggle-icon.asr {
  background: rgba(217, 153, 102, 0.15);
  color: #D99966;
}

.prayer-toggle-icon.maghrib {
  background: rgba(217, 128, 102, 0.15);
  color: #D98066;
}

.prayer-toggle-icon.isha {
  background: rgba(140, 115, 166, 0.15);
  color: var(--muted-purple);
}

.prayer-toggle-info {
  flex: 1;
}

.prayer-toggle-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.prayer-toggle-arabic {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

/* Toggle Switch */
.toggle {
  width: 40px;
  height: 22px;
  background: var(--bg-tertiary);
  border-radius: 11px;
  position: relative;
  transition: background 0.2s ease;
}

.toggle::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--text-secondary);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toggle.active {
  background: var(--sacred-gold);
}

.toggle.active::before {
  left: 20px;
  background: var(--bg-primary);
}

/* Duration Options */
.duration-options {
  display: flex;
  gap: 8px;
}

.duration-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.duration-option.selected {
  background: var(--sacred-gold);
  border-color: var(--sacred-gold);
}

.duration-value {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-primary);
}

.duration-option.selected .duration-value {
  color: var(--bg-primary);
}

.duration-unit {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.duration-option.selected .duration-unit {
  color: var(--bg-primary);
}

/* Apps Selected Card */
.apps-selected-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.apps-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sacred-gold-light);
  color: var(--sacred-gold);
  border-radius: var(--radius-sm);
}

.apps-info {
  flex: 1;
}

.apps-title {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.apps-count {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.apps-selected-card svg:last-child {
  color: var(--text-muted);
}

/* Haya Mode Card */
.haya-mode-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(196, 165, 116, 0.1) 100%);
  border: 1px solid var(--sacred-gold-light);
  border-radius: var(--radius-md);
}

.haya-mode-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.haya-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sacred-gold-light);
  color: var(--sacred-gold);
  border-radius: var(--radius-sm);
}

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

.haya-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

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

.haya-note {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

/* Prayer Panel Styles */
.prayer-panel-header {
  margin-bottom: 20px;
}

.location-text {
  font-size: 12px;
  color: var(--text-secondary);
}

.current-prayer-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(140, 174, 140, 0.15) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.current-prayer-info .current-label {
  font-size: 9px;
  letter-spacing: var(--tracking-wider);
  color: var(--soft-green);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.current-prayer-info .current-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
}

.current-time {
  text-align: right;
}

.time-value {
  font-size: 28px;
  font-weight: 300;
  color: var(--text-primary);
}

.time-period {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 2px;
}

.prayer-countdown {
  text-align: center;
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.countdown-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 4px;
}

.countdown-value {
  font-size: 20px;
  font-weight: 400;
  color: var(--sacred-gold);
}

/* Prayer List */
.prayer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prayer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.prayer-row .prayer-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.prayer-row .prayer-time-small {
  font-size: 12px;
  color: var(--text-secondary);
  margin-left: auto;
  margin-right: 10px;
}

.prayer-row.completed {
  opacity: 0.6;
}

.prayer-row.completed .prayer-name {
  text-decoration: line-through;
}

.check-icon {
  color: var(--soft-green);
}

.prayer-row.active {
  border-color: var(--soft-green);
  background: rgba(140, 174, 140, 0.1);
}

.active-dot {
  width: 8px;
  height: 8px;
  background: var(--soft-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

/* Qibla Card */
.qibla-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qibla-degrees {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  margin-top: 6px;
  display: block;
}

.qibla-compass {
  width: 50px;
  height: 50px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  position: relative;
  border: 2px solid var(--border-subtle);
}

.compass-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 20px;
  background: var(--sacred-gold);
  border-radius: 2px;
  transform: translate(-50%, -80%) rotate(23deg);
  transform-origin: center bottom;
}

.compass-arrow::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--sacred-gold);
}

/* Profile Panel Styles */
.profile-header {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sacred-gold) 0%, var(--sacred-gold-light) 100%);
  color: var(--bg-primary);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 500;
  margin: 0 auto 12px;
}

.profile-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.profile-member {
  font-size: 11px;
  color: var(--sacred-gold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.profile-stats {
  display: flex;
  gap: 10px;
}

.profile-stat {
  flex: 1;
  text-align: center;
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.profile-stat-value {
  display: block;
  font-size: 22px;
  font-weight: 400;
  color: var(--sacred-gold);
  margin-bottom: 4px;
}

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

/* Settings List */
.settings-list {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--border-light);
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row span:first-child {
  font-size: 13px;
  color: var(--text-primary);
}

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

.settings-value.gold {
  color: var(--sacred-gold);
}

/* Shield Preview */
.shield-preview {
  position: fixed;
  bottom: 100px;
  right: 40px;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 1400px) {
  .shield-preview {
    display: none;
  }
}

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

.shield-card {
  background: rgba(20, 23, 28, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 240px;
  text-align: center;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}

.shield-icon-large {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sacred-gold-light);
  color: var(--sacred-gold);
  border-radius: 50%;
  margin: 0 auto 16px;
}

.shield-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.shield-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.shield-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.shield-button {
  width: 100%;
  padding: 12px 20px;
  background: var(--soft-green);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.shield-caption {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

.section-title {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 300;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.2;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sacred-gold);
  color: var(--bg-primary);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 500;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features Section */
.features {
  padding: 100px 24px;
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  padding: 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
}

.feature-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(196, 165, 116, 0.1) 100%);
  border-color: var(--sacred-gold);
  position: relative;
}

.feature-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: var(--sacred-gold);
  color: var(--bg-primary);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sacred-gold-light);
  color: var(--sacred-gold);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.feature-icon.purple {
  background: rgba(140, 115, 166, 0.15);
  color: var(--muted-purple);
}

.feature-icon.green {
  background: rgba(140, 174, 140, 0.15);
  color: var(--soft-green);
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, var(--sacred-gold-light) 0%, transparent 60%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Legal Pages */
.legal-page {
  padding: 140px 24px 80px;
  min-height: 100vh;
}

.page-title {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 300;
  margin-bottom: 8px;
}

.page-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--sacred-gold);
}

.faq-item {
  margin-bottom: 32px;
}

/* Footer */
.footer {
  padding: 48px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

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

.footer-brand .logo-text {
  font-size: 20px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: var(--tracking-wide);
}

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-feature-highlights {
    align-items: center;
  }

  .iphone-container {
    transform: rotateY(0deg) rotateX(0deg);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card.featured {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 120px 16px 60px;
  }

  .iphone-frame {
    width: 260px;
  }

  .iphone-screen {
    height: 520px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    gap: 20px;
  }
}
