/* ═══════════════════════════════════════════════════
   Joyful Muslims — Landing Page
   Dark + gold premium aesthetic
   ═══════════════════════════════════════════════════ */

:root {
  --bg: #080f1a;
  --bg-2: #0c1628;
  --bg-3: #111d35;
  --gold: #c9a758;
  --gold-light: #e6c87a;
  --gold-glow: rgba(201, 167, 88, 0.12);
  --text: #e9eef5;
  --text-dim: #8a96a8;
  --text-muted: #5a6578;
  --radius: 12px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--gold-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ═══ HEADER ═══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 167, 88, 0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px; font-weight: 700;
  color: var(--gold-light); letter-spacing: 0.3px;
  text-decoration: none;
}
.header-nav { display: flex; gap: 28px; align-items: center; }
.header-nav a { color: var(--text-dim); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.header-nav a:hover { color: var(--gold-light); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1a1208 !important; font-weight: 700 !important;
  padding: 8px 20px; border-radius: 999px; font-size: 13px !important;
}
.nav-cta:hover { opacity: 0.9; text-decoration: none !important; }

/* ═══ HERO ═══ */
.hero {
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(201, 167, 88, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(30, 60, 120, 0.08) 0%, transparent 60%),
    var(--bg);
}
.hero-full {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 0 80px;
}
.hero-center {
  text-align: center;
  max-width: 680px;
}
.hero-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-center .email-form { margin: 0 auto; }
.hero-center .form-note { text-align: center; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(201, 167, 88, 0.12);
  border: 1px solid rgba(201, 167, 88, 0.25);
  color: var(--gold-light); font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 24px;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px; font-weight: 700; line-height: 1.15;
  color: var(--text); margin-bottom: 20px;
}
.hero h1 .gold { color: var(--gold-light); }
.hero-sub {
  font-size: 18px; line-height: 1.7; color: var(--text-dim);
  margin-bottom: 32px; max-width: 520px;
}

/* ═══ EMAIL FORM ═══ */
.email-form {
  display: flex; gap: 10px; max-width: 460px;
}
.email-form input[type="email"] {
  flex: 1; padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201, 167, 88, 0.2);
  border-radius: var(--radius); color: var(--text);
  font-size: 15px; outline: none; transition: border-color 0.2s;
}
.email-form input[type="email"]::placeholder { color: var(--text-muted); }
.email-form input[type="email"]:focus { border-color: var(--gold); }
.email-form button {
  padding: 14px 28px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1a1208; font-weight: 700; font-size: 15px;
  border-radius: var(--radius); white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}
.email-form button:hover { opacity: 0.92; }
.email-form button:active { transform: scale(0.98); }
.email-form button:disabled { opacity: 0.7; cursor: not-allowed; }
.email-form button.success { background: #2ecc71; color: #fff; }
.form-note { color: var(--text-muted); font-size: 13px; margin-top: 10px; }

/* ═══ PHONE MOCKUP ═══ */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
  width: 280px; height: 560px;
  background: #111827;
  border-radius: 36px;
  border: 3px solid rgba(201, 167, 88, 0.25);
  padding: 12px;
  box-shadow:
    0 0 60px rgba(201, 167, 88, 0.08),
    0 20px 80px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.phone-screen {
  background: var(--bg-2);
  border-radius: 24px;
  height: 100%;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.mock-header {
  padding: 20px 20px 12px;
  text-align: center;
}
.mock-brand {
  font-family: Georgia, serif;
  font-size: 16px; color: var(--gold-light); font-weight: 700;
}
.mock-now-playing {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
}
.mock-cover {
  width: 180px; height: 180px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a2744 0%, #0d1a2c 40%, rgba(201, 167, 88, 0.15) 100%);
  border: 1px solid rgba(201, 167, 88, 0.15);
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.mock-title {
  font-family: Georgia, serif;
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 4px; text-align: center;
}
.mock-author {
  font-size: 13px; color: var(--text-dim); margin-bottom: 20px;
}
.mock-progress {
  width: 100%; height: 3px; background: rgba(255,255,255,0.1);
  border-radius: 2px; margin-bottom: 20px;
}
.mock-bar {
  width: 38%; height: 100%;
  background: var(--gold); border-radius: 2px;
}
.mock-controls {
  display: flex; gap: 32px; align-items: center;
  color: var(--text-dim); font-size: 14px;
}
.mock-play {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: #1a1208; font-size: 20px;
}

/* ═══ PROOF BAR ═══ */
.proof-bar {
  background: var(--bg-2);
  border-top: 1px solid rgba(201, 167, 88, 0.08);
  border-bottom: 1px solid rgba(201, 167, 88, 0.08);
  padding: 36px 0;
}
.proof-inner {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.proof-item { text-align: center; }
.proof-item strong {
  display: block; font-size: 32px; font-weight: 800;
  color: var(--gold-light); font-family: Georgia, serif;
}
.proof-item span { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.proof-divider { width: 1px; height: 40px; background: rgba(201, 167, 88, 0.15); }

/* ═══ SCHOLARS ═══ */
.scholars { padding: 100px 0; }
.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px; font-weight: 700; color: var(--gold-light);
  text-align: center; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--text-dim);
  font-size: 17px; max-width: 640px;
  margin: 0 auto 56px;
}
.scholar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.scholar-card {
  background: var(--bg-2);
  border: 1px solid rgba(201, 167, 88, 0.1);
  border-radius: var(--radius); padding: 32px 24px;
  transition: border-color 0.3s, transform 0.2s;
}
.scholar-card:hover {
  border-color: rgba(201, 167, 88, 0.3);
  transform: translateY(-4px);
}
.scholar-icon { font-size: 32px; margin-bottom: 16px; }
.scholar-card h3 {
  font-family: Georgia, serif;
  font-size: 18px; color: var(--text); margin-bottom: 4px;
}
.scholar-dates { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.scholar-work {
  font-size: 13px; color: var(--gold); font-weight: 600;
  margin-bottom: 12px; font-style: italic;
}
.scholar-desc { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
.scholar-count {
  font-size: 12px; font-weight: 700; color: var(--gold-light);
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ═══ FEATURES ═══ */
.features {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201, 167, 88, 0.04) 0%, transparent 60%),
    var(--bg-2);
}
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid rgba(201, 167, 88, 0.08);
  border-radius: var(--radius); padding: 32px 28px;
  transition: border-color 0.3s;
}
.feature-card:hover { border-color: rgba(201, 167, 88, 0.25); }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 {
  font-family: Georgia, serif;
  font-size: 18px; color: var(--text); margin-bottom: 8px;
}
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

/* ═══ HOW IT'S MADE ═══ */
.how-made { padding: 100px 0; }
.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 56px;
}
.how-step { text-align: center; }
.step-num {
  width: 48px; height: 48px; margin: 0 auto 16px;
  border-radius: 50%; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 20px; font-weight: 700;
  color: var(--gold-light);
}
.how-step h3 {
  font-family: Georgia, serif;
  font-size: 16px; color: var(--text); margin-bottom: 8px;
}
.how-step p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.how-note {
  text-align: center; margin-top: 40px;
  font-size: 14px; color: var(--gold); font-weight: 600;
  font-style: italic;
}

/* ═══ PRICING ═══ */
.pricing {
  padding: 100px 0;
  background: var(--bg-2);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.price-card {
  background: var(--bg);
  border: 1px solid rgba(201, 167, 88, 0.1);
  border-radius: var(--radius); padding: 36px 28px;
  text-align: center; position: relative;
  transition: border-color 0.3s, transform 0.2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(201, 167, 88, 0.1);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #1a1208;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  padding: 4px 16px; border-radius: 999px; letter-spacing: 0.5px;
}
.price-tier {
  font-family: Georgia, serif;
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 8px;
}
.price-amount {
  font-size: 48px; font-weight: 800; color: var(--gold-light);
  font-family: Georgia, serif;
}
.price-amount span { font-size: 18px; font-weight: 400; color: var(--text-dim); }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.price-features {
  list-style: none; text-align: left;
}
.price-features li {
  font-size: 14px; color: var(--text-dim);
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.price-features li::before {
  content: "✓ "; color: var(--gold); font-weight: 700;
}

/* ═══ APP SECTION ═══ */
.app-section { padding: 80px 0; text-align: center; }
.app-coming-soon { max-width: 480px; margin: 0 auto; }
.coming-badge {
  display: inline-block;
  font-size: 28px; font-family: Georgia, serif;
  color: var(--gold-light); font-weight: 700;
  margin-bottom: 12px;
}
.coming-text {
  font-size: 16px; color: var(--text-dim); margin-bottom: 28px;
}
.app-store-placeholder { opacity: 0.6; }

/* ═══ CTA ═══ */
.cta-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(201, 167, 88, 0.06) 0%, transparent 60%),
    var(--bg-2);
  text-align: center;
}
.cta-inner h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px; color: var(--gold-light); margin-bottom: 12px;
}
.cta-inner p { color: var(--text-dim); font-size: 17px; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-form {
  max-width: 460px; margin: 0 auto;
}

/* ═══ FOOTER ═══ */
.site-footer {
  border-top: 1px solid rgba(201, 167, 88, 0.1);
  padding-top: 60px;
}
.footer-inner {
  display: flex; justify-content: space-between;
  gap: 40px; padding-bottom: 40px;
}
.footer-brand { max-width: 360px; }
.footer-brand .logo { font-size: 20px; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--text-dim); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(201, 167, 88, 0.08);
  padding: 20px 0;
  font-size: 13px; color: var(--text-muted); text-align: center;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .email-form { margin: 0 auto; }
  .hero-visual { margin-top: 40px; }
  .scholar-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 600px) {
  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .email-form { flex-direction: column; }
  .email-form button { width: 100%; }
  .scholar-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .proof-inner { flex-direction: column; gap: 20px; }
  .proof-divider { width: 40px; height: 1px; }
  .section-title { font-size: 28px; }
  .header-nav a:not(.nav-cta) { display: none; }
  .phone-mockup { width: 240px; height: 480px; }
  .mock-cover { width: 140px; height: 140px; }
}
