/* ═══════════════════════════════════════════════════════
   GRACION LANDING PAGE — CSS
   Design system: Navy (#0D1B2A) • Gold (#C4A55A) • Ivory (#FAF8F5)
   Fonts: Cormorant Garamond (headings) • Inter (body)
   ═══════════════════════════════════════════════════════ */

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

:root {
  --navy:       #0D1B2A;
  --navy-soft:  #1B2D45;
  --gold:       #C4A55A;
  --gold-light: #D9BF84;
  --ivory:      #FAF8F5;
  --parchment:  #F0EDE6;
  --text:       #0D1B2A;
  --text-muted: #6B7280;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── Utility ─── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}

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

/* ═══════════════════ NAV ═══════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(13, 27, 42, 0.08);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.2);
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 165, 90, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-float 8s ease-in-out infinite;
}

@keyframes glow-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 20px;
}

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

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 27, 42, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(13, 27, 42, 0.15);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

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

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(13, 27, 42, 0.12);
}

/* ═══════════════════ PHONE MOCKUP ═══════════════════ */
.hero-phone {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: var(--navy);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(196, 165, 90, 0.3),
    0 30px 80px rgba(13, 27, 42, 0.3),
    0 15px 40px rgba(13, 27, 42, 0.15),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  animation: phone-float 6s ease-in-out infinite;
}

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

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: var(--navy);
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ivory);
  border-radius: 34px;
  overflow: hidden;
}

/* Screen content switching */
.screen-content {
  position: absolute;
  inset: 0;
  bottom: 52px;
  padding: 40px 16px 16px;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow-y: auto;
}

.screen-content.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.screen-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

/* Devotion screen */
.devotion-card {
  background: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(13, 27, 42, 0.06);
}

.devotion-date {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 600;
}

.devotion-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 8px 0;
}

.devotion-body {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.devotion-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--navy);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.devotion-verse cite {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--gold);
  margin-top: 4px;
}

.devotion-actions {
  display: flex;
  gap: 8px;
}

.mock-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: default;
  border: none;
}

.mock-btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.mock-btn-filled {
  background: var(--navy);
  color: white;
}

/* Community screen */
.feed-card {
  background: white;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(13, 27, 42, 0.05);
}

.feed-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.avatar-gold { background: var(--gold); }

.feed-card-header strong { font-size: 12px; }
.feed-time { font-size: 10px; color: var(--text-muted); }

.feed-text {
  font-size: 11px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 8px;
}

.feed-actions { font-size: 10px; }
.pray-btn-mock {
  font-size: 10px;
  color: var(--gold);
  font-weight: 600;
}

.voice-player-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(196, 165, 90, 0.08);
  border-radius: 10px;
  margin-bottom: 8px;
}

.vp-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

.vp-wave {
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 40%, var(--parchment) 40%);
  border-radius: 2px;
}

.vp-label {
  font-size: 9px;
  color: var(--gold);
  font-weight: 600;
}

/* Prayer screen */
.prayer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}

.prayer-icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 165, 90, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(196, 165, 90, 0); }
}

.prayer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.prayer-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.prayer-types {
  display: flex;
  gap: 8px;
}

.prayer-type {
  font-size: 10px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--parchment);
  color: var(--text-muted);
  font-weight: 500;
}

.prayer-type.active {
  background: var(--navy);
  color: white;
}

/* Tab bar */
.phone-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--parchment);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 12px;
  transition: color 0.2s;
}

.tab span { font-size: 9px; font-weight: 500; }
.tab.active { color: var(--gold); }
.tab svg { stroke: currentColor; }

/* ═══════════════════ FEATURES ═══════════════════ */
.features {
  padding: 100px 24px;
  background: white;
}

.features .section-label,
.features .section-title {
  text-align: center;
}

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

.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--ivory);
  border: 1px solid rgba(13, 27, 42, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 27, 42, 0.08);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(196, 165, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

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

/* ═══════════════════ SHOWCASE ═══════════════════ */
.showcase {
  padding: 100px 24px;
}

.showcase-alt { background: white; }

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }

.showcase-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

/* Showcase cards */
.showcase-card {
  background: var(--ivory);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow:
    0 20px 60px rgba(13, 27, 42, 0.06),
    0 1px 3px rgba(13, 27, 42, 0.04);
  border: 1px solid rgba(13, 27, 42, 0.04);
}

.showcase-alt .showcase-card { background: var(--ivory); }

.sc-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
}

.sc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin: 10px 0 14px;
}

.sc-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.sc-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  line-height: 1.5;
}

.sc-verse cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--gold);
  margin-top: 6px;
}

/* Community showcase card */
.sc-community { padding: 24px; }

.sc-feed-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
}

.sc-feed-item + .sc-feed-item { border-top: 1px solid var(--parchment); }

.sc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.sc-avatar-gold { background: var(--gold); }

.sc-feed-item strong { font-size: 14px; }
.sc-time { font-size: 12px; color: var(--text-muted); }

.sc-feed-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 6px 0;
  line-height: 1.5;
}

.sc-pray {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

.sc-voice {
  display: inline-block;
  font-size: 12px;
  background: rgba(196, 165, 90, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--gold);
  font-weight: 500;
  margin: 6px 0;
}

/* ═══════════════════ DOWNLOAD CTA ═══════════════════ */
.download {
  padding: 100px 24px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 165, 90, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.download-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.download-icon { margin-bottom: 24px; }

.download-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
}

.download-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  text-decoration: none;
  color: white;
  transition: all 0.25s;
}

.store-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.store-btn small {
  display: block;
  font-size: 11px;
  opacity: 0.6;
  margin-bottom: 1px;
}

.store-btn strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  padding: 40px 24px;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-desc { margin: 0 auto 32px; }

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

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

  .hero-phone {
    order: -1;
  }

  .phone-frame {
    width: 240px;
    height: 500px;
    border-radius: 36px;
  }

  .phone-screen { border-radius: 28px; }

  .nav-links a:not(.nav-cta) { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 48px auto 0;
  }

  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .showcase-visual { order: -1; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════ ANIMATIONS ═══════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
