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

:root {
  --bg: #0A0A14;
  --bg-2: #12121F;
  --bg-3: #1A1A2E;
  --surface: #1E1E35;
  --border: rgba(255,255,255,0.06);
  --text: #E8E8F0;
  --text-muted: #8888A0;
  --text-dim: #5A5A72;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-glow: rgba(201,168,76,0.15);
  --green: #2D6A4F;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #D4A843);
  color: #1A1A1A;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(10,10,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--gold);
  color: #1A1A1A;
  padding: 10px 22px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 13px;
}
.nav-links .nav-cta:hover {
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(10,10,20,0.95);
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
}
.mobile-menu .nav-cta {
  background: var(--gold);
  color: #1A1A1A;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: var(--bg-3);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.08);
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 80px var(--gold-glow);
  position: relative;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--bg);
  border-radius: 12px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0D0D1A 0%, #1A1A2E 100%);
  border-radius: 24px;
  overflow: hidden;
  padding: 48px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-header {
  text-align: center;
  padding: 8px 0;
}
.mock-kaaba { font-size: 28px; margin-bottom: 4px; }
.mock-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--gold);
}
.mock-tagline {
  font-size: 9px;
  color: var(--text-dim);
  margin-top: 2px;
}

.mock-countdown {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.mock-count-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.mock-count-nums {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.mock-num {
  text-align: center;
}
.mock-num span {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}
.mock-num small {
  font-size: 8px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.mock-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-city {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid var(--border);
}
.mock-city-name {
  font-size: 14px;
  font-weight: 700;
}
.mock-city-prayer {
  font-size: 11px;
  color: var(--gold);
  margin-top: 2px;
}

/* ===== Sections Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.gold-tag { color: var(--gold); }
.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Features Grid ===== */
.features {
  padding: 100px 0;
  background: var(--bg-2);
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Premium ===== */
.premium {
  padding: 100px 0;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.premium-card {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,168,76,0.06) 100%);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
}
.premium-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.08);
}

.p-emoji {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}
.premium-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.premium-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Pricing */
.pricing-section {
  max-width: 480px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-3);
  border: 1.5px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.pricing-plans {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-bottom: 28px;
}

.plan { text-align: center; flex: 1; }
.plan-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}
.plan-name {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.plan-price {
  font-size: 28px;
  font-weight: 800;
}
.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.plan-sub {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}
.plan-save {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.pricing-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ===== Unique / Why ===== */
.unique {
  padding: 100px 0;
  background: var(--bg-2);
}

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

.unique-item { text-align: center; }
.unique-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.unique-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.unique-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Download ===== */
.download {
  padding: 100px 0;
  position: relative;
}

.download-content {
  text-align: center;
  position: relative;
}

.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.download h2 {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
}
.download p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  position: relative;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}
.store-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.store-btn svg { color: var(--text); }
.store-btn small {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 500;
}
.store-btn strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.coming-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 16px;
  position: relative;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}
.footer-company {
  font-size: 11px !important;
  color: var(--text-dim) !important;
  margin-top: 4px !important;
}

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

.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

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

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

  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero h1 { font-size: 40px; }
  .hero-sub {
    margin: 0 auto 28px;
    font-size: 15px;
  }
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-visual { order: -1; }
  .phone-mockup {
    width: 240px;
    height: 500px;
  }

  .section-header h2 { font-size: 32px; }

  .feature-grid,
  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .unique-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .download h2 { font-size: 32px; }
  .store-buttons { flex-direction: column; align-items: center; }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }

  .feature-grid,
  .unique-grid {
    grid-template-columns: 1fr;
  }
  .premium-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats { gap: 12px; }
  .stat-num { font-size: 22px; }

  .pricing-plans {
    flex-direction: column;
    gap: 16px;
  }
  .plan-divider {
    width: 60%;
    height: 1px;
  }
}
