/* nowpray marketing site — purple spiritual glass aesthetic */

:root {
  --bg-primary: #0e0d12;
  --bg-surface: #14121c;
  --bg-card: rgba(110, 98, 152, 0.35);
  --text-primary: #f5f3fa;
  --text-secondary: #a9a3c4;
  --accent: #7b61ff;
  --accent-soft: #9b89f5;
  --accent-glow: rgba(155, 137, 245, 0.45);
  --border-glass: rgba(155, 137, 245, 0.22);
  --success: #52b788;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --nav-height: 72px;
  --max-width: 1120px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Aurora backdrop */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #1a1530 0%,
    var(--bg-primary) 40%,
    #08070c 100%
  );
}

.aurora__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite alternate;
}

.aurora__orb--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #9b89f5 0%, transparent 70%);
  top: -8%;
  left: -10%;
}

.aurora__orb--2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #3d2b6e 0%, transparent 70%);
  top: 30%;
  right: -12%;
  animation-delay: -6s;
}

.aurora__orb--3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7b61ff55 0%, transparent 70%);
  bottom: -15%;
  left: 20%;
  animation-delay: -12s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, -30px) scale(1.08);
  }
}

/* Layout */
.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Glass card */
.glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(14, 13, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-glass);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #3d2b6e, #2e1a47);
  border: 1.5px solid var(--accent-soft);
  box-shadow: 0 0 24px var(--accent-glow);
}

.brand__icon img {
  width: 22px;
  height: 22px;
}

.brand__wordmark {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand__wordmark span:first-child {
  font-weight: 300;
}

.brand__wordmark span:last-child {
  color: var(--accent-soft);
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text-primary);
  background: rgba(155, 137, 245, 0.12);
}

.nav__cta {
  margin-left: 0.5rem;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow var(--transition),
    background var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: #000;
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(155, 137, 245, 0.35),
    0 8px 32px rgba(123, 97, 255, 0.35);
}

.btn--primary:hover {
  box-shadow:
    0 0 0 1px rgba(155, 137, 245, 0.55),
    0 12px 40px rgba(123, 97, 255, 0.5);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn--ghost:hover {
  background: rgba(155, 137, 245, 0.12);
}

/* Hero */
.hero {
  padding: calc(var(--nav-height) + 4rem) 0 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(155, 137, 245, 0.12);
  border: 1px solid var(--border-glass);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #c4b5f0, #7b61ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-soft);
}

.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Phone mockup */
.phone {
  position: relative;
  justify-self: center;
  width: min(100%, 300px);
}

.phone__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from {
    opacity: 0.6;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

.phone__frame {
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #2a2540, #14121c);
  border: 2px solid rgba(155, 137, 245, 0.35);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone__screen {
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-primary);
  aspect-ratio: 9 / 19;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Real app screenshot fills the screen edge-to-edge (no mock padding). */
.phone__screen--shot {
  padding: 0;
  gap: 0;
}

.phone__screen--shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.phone__hero-card {
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(160deg, #3d2b6e88, #2e1a4766);
  border: 1px solid var(--border-glass);
  text-align: center;
}

.phone__hero-card small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.phone__countdown {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px var(--accent-glow);
}

.phone__prayer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  font-size: 0.72rem;
}

.phone__prayer--active {
  border-color: var(--accent-soft);
  box-shadow: 0 0 16px var(--accent-glow);
}

.phone__prayer .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.phone__nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 0.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  font-size: 0.55rem;
  color: var(--text-secondary);
}

.phone__nav span.active {
  color: var(--accent-soft);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section__lead {
  color: var(--text-secondary);
  max-width: 36rem;
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(123, 97, 255, 0.15);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(123, 97, 255, 0.15);
  border: 1px solid var(--border-glass);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.5rem;
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(155, 137, 245, 0.25);
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Privacy */
.privacy {
  padding: 5rem 0 6rem;
}

.privacy__wrapper {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.privacy__toc {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  padding: 1.25rem;
}

.privacy__toc h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

.privacy__toc ul {
  list-style: none;
}

.privacy__toc a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: color var(--transition), border-color var(--transition);
}

.privacy__toc a:hover,
.privacy__toc a.is-active {
  color: var(--text-primary);
  border-left-color: var(--accent-soft);
}

.privacy__content {
  padding: 2.5rem;
}

.privacy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.privacy__content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.privacy__content h2:first-of-type {
  margin-top: 0;
}

.privacy__content p,
.privacy__content li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.privacy__content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.privacy__content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.privacy__content a {
  color: var(--accent-soft);
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
}

.cta-band__inner {
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(123, 97, 255, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-band p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  position: relative;
}

.cta-band .btn {
  position: relative;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-glass);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 22rem;
}

.footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--transition),
    transform 0.7s var(--transition);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle,
  .section__lead {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__stats {
    justify-content: center;
  }

  .phone {
    order: -1;
  }

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

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

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

  .privacy__toc {
    position: static;
  }

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

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: rgba(14, 13, 18, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 1.25rem;
  }
}
