@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-green: #f2f8f5;
  --ink: #111111;
  --ink-secondary: #555558;
  --ink-tertiary: #86868b;
  --green: #006d3b;
  --green-bright: #1ae382;
  --line: rgba(0, 0, 0, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-arabic: 'Amiri', serif;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.logo img {
  width: 36px;
  height: 36px;
  display: block;
}

.nav-center {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.nav-center a:hover {
  color: var(--ink);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-download:hover {
  opacity: 0.88;
}

.btn-download-lg {
  background: var(--green);
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  padding: 18px 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-download-lg:hover {
  background: #00572f;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 110px 28px 96px;
  text-align: center;
}

.hero-mark {
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mark img {
  width: 68px;
  height: 68px;
  display: block;
}

.hero h1 {
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 28px;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}

.hero p {
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--ink-secondary);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.45;
  font-weight: 400;
}

.hero-sub {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-tertiary);
}

/* Editorial Feature Sections */
.feature-band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 28px;
}

.feature-panel {
  background: var(--surface);
  border-radius: 36px;
  padding: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
  overflow: hidden;
}

.feature-panel > *,
.pair-grid > * {
  min-width: 0;
}

.feature-panel.green-tint {
  background: var(--surface-green);
}

.feature-copy h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.feature-copy p {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-secondary);
  line-height: 1.55;
  max-width: 480px;
}

.feature-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.feature-art svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.nomusic-art-card {
  width: 240px;
  height: 240px;
  background: #ffffff;
  border-radius: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.nomusic-art-card img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  display: block;
}

/* Inline Verse inside Feature / Card */
.inline-verse {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.inline-verse-ar {
  font-family: var(--font-arabic);
  font-size: 24px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 6px;
}

.inline-verse-en {
  font-size: 15px;
  color: var(--ink-secondary);
  font-style: italic;
  line-height: 1.5;
}

.inline-verse-ref {
  font-size: 13px;
  font-style: normal;
  color: var(--ink-tertiary);
  margin-top: 4px;
  display: block;
}

/* Two-up Grid */
.pair-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pair-card {
  background: var(--surface);
  border-radius: 36px;
  padding: clamp(40px, 5.5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
}

.pair-card h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 18px;
}

.pair-card p {
  font-size: 18px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.pair-art {
  margin-top: 40px;
}

/* Quranic Reflection Section */
.statement {
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 28px;
  text-align: center;
}

.verse-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(18px, 3.2vw, 38px);
  line-height: 1.65;
  color: var(--green);
  margin-bottom: 20px;
  white-space: nowrap;
}

.verse-translation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto 12px;
}

.verse-surah {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-tertiary);
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}

.statement p {
  font-size: 19px;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* Closing Download */
.closing {
  max-width: 1120px;
  margin: 0 auto 96px;
  padding: 0 28px;
}

.closing-box {
  background: var(--ink);
  color: #ffffff;
  border-radius: 36px;
  padding: clamp(56px, 8vw, 108px) 32px;
  text-align: center;
}

.closing-box h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.closing-box p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

/* Legal Pages */
.legal-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 96px 28px 120px;
}

.legal-wrap h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.legal-date {
  font-size: 15px;
  color: var(--ink-tertiary);
  margin-bottom: 56px;
}

.legal-wrap h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 44px 0 12px;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 17px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.legal-wrap p {
  margin-bottom: 16px;
}

.legal-wrap ul {
  margin: 0 0 20px 20px;
}

.legal-wrap li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 28px;
  font-size: 14px;
  color: var(--ink-tertiary);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

@media (max-width: 860px) {
  .feature-panel {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 32px;
  }
  .feature-copy p {
    max-width: 100%;
  }
  .pair-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pair-card {
    min-height: auto;
  }
  .nav-center {
    display: none;
  }
  .verse-arabic {
    white-space: normal;
    font-size: clamp(22px, 5vw, 32px);
  }
}

@media (max-width: 600px) {
  .nav-wrap {
    padding: 0 18px;
    height: 60px;
  }
  .logo {
    font-size: 19px;
    gap: 10px;
  }
  .logo img {
    width: 30px;
    height: 30px;
  }
  .btn-download {
    font-size: 13px;
    padding: 8px 16px;
  }
  .hero {
    padding: 56px 20px 52px;
  }
  .hero-mark {
    margin-bottom: 22px;
  }
  .hero-mark img {
    width: 56px;
    height: 56px;
  }
  .hero h1 {
    font-size: clamp(38px, 11vw, 50px);
    margin-bottom: 18px;
  }
  .hero p {
    font-size: 17px;
    margin-bottom: 32px;
    line-height: 1.5;
  }
  .btn-download-lg {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    font-size: 16px;
    padding: 16px 28px;
  }
  .feature-band {
    padding: 10px 16px;
  }
  .feature-panel {
    border-radius: 26px;
    padding: 32px 22px;
    gap: 28px;
  }
  .feature-copy h2 {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 14px;
  }
  .feature-copy p {
    font-size: 16px;
  }
  .nomusic-art-card {
    width: 176px;
    height: 176px;
    border-radius: 34px;
  }
  .nomusic-art-card img {
    width: 96px;
    height: 96px;
  }
  .inline-verse {
    margin-top: 22px;
    padding-top: 18px;
  }
  .inline-verse-ar {
    font-size: 20px;
    line-height: 1.65;
  }
  .inline-verse-en {
    font-size: 14px;
  }
  .pair-grid {
    padding: 6px 16px 14px;
    gap: 16px;
  }
  .pair-card {
    border-radius: 26px;
    padding: 32px 22px;
  }
  .pair-card h3 {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 14px;
  }
  .pair-card p {
    font-size: 16px;
  }
  .pair-art {
    margin-top: 24px;
  }
  .pair-art svg {
    width: 68px;
    height: 68px;
  }
  .statement {
    padding: 68px 20px;
  }
  .verse-arabic {
    font-size: 23px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .verse-translation {
    font-size: 21px;
    line-height: 1.4;
  }
  .verse-surah {
    margin-bottom: 28px;
  }
  .statement p {
    font-size: 16px;
  }
  .closing {
    padding: 0 16px;
    margin-bottom: 56px;
  }
  .closing-box {
    border-radius: 26px;
    padding: 44px 22px;
  }
  .closing-box h2 {
    font-size: clamp(30px, 8.5vw, 40px);
    margin-bottom: 12px;
  }
  .closing-box p {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .legal-wrap {
    padding: 52px 20px 72px;
  }
  .legal-wrap h1 {
    font-size: 32px;
  }
  .legal-date {
    margin-bottom: 36px;
  }
  .legal-wrap p,
  .legal-wrap li {
    font-size: 16px;
  }
  .footer {
    padding: 28px 20px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-links {
    gap: 20px;
  }
}
