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

:root {
  /* Backgrounds */
  --bg:          #fdf8f5;
  --bg-white:    #ffffff;
  --bg-lavender: #f5f0fc;
  --bg-blush:    #fce8f2;
  --bg-deep:     #2d1654;

  /* Text */
  --text:        #2d1654;
  --text-body:   #4a3b5c;
  --text-muted:  #7d6b8f;
  --text-light:  #f0eaf8;
  --text-dim:    #b8a8cc;

  /* Brand */
  --pink:        #e8609a;
  --pink-dark:   #c4456f;
  --pink-light:  #fce8f2;
  --purple:      #7c3aed;
  --purple-light:#ede0ff;
  --purple-mid:  #a855f7;

  /* Surfaces */
  --border:      rgba(45, 22, 84, 0.08);
  --border-pink: rgba(232, 96, 154, 0.28);
  --shadow-sm:   0 2px 16px rgba(45, 22, 84, 0.07);
  --shadow-md:   0 8px 36px rgba(45, 22, 84, 0.11);
  --shadow-lg:   0 24px 64px rgba(45, 22, 84, 0.15);
  --shadow-pink: 0 8px 32px rgba(232, 96, 154, 0.2);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --max-width: 1100px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-dark); }
img { display: block; max-width: 100%; }


/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}


/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  padding: 0.8rem 1.75rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-appstore {
  background: var(--pink);
  color: #fff;
  box-shadow: var(--shadow-pink);
}

.btn-appstore:hover {
  background: var(--pink-dark);
  color: #fff;
  box-shadow: 0 12px 40px rgba(232, 96, 154, 0.35);
}

/* Journey section — white button on dark bg */
.journey-text .btn-appstore {
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.journey-text .btn-appstore:hover {
  background: var(--pink-light);
  color: var(--pink-dark);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-nav {
  background: var(--pink);
  color: #fff;
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
  box-shadow: 0 2px 12px rgba(232, 96, 154, 0.28);
}

.btn-nav:hover {
  background: var(--pink-dark);
  color: #fff;
}

.apple-icon {
  width: 16px;
  height: 18px;
  flex-shrink: 0;
}


/* ── Sticky Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.9rem 0;
  background: rgba(253, 248, 245, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: 0 4px 28px rgba(45, 22, 84, 0.08);
}

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

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

.nav-brand:hover { text-decoration: none; }

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.nav-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}


/* ── Hero ── */
.hero {
  position: relative;
  padding: 6rem 0 7.5rem;
  background:
    linear-gradient(to right,
      rgba(253, 248, 245, 0.92) 0%,
      rgba(253, 248, 245, 0.82) 38%,
      rgba(253, 248, 245, 0.38) 65%,
      rgba(253, 248, 245, 0.10) 100%
    ),
    url('hero-bg.png') center / cover no-repeat;
  overflow: hidden;
}

/* Decorative blob — static, no animation */
.hero-glow {
  position: absolute;
  top: -160px;
  right: -140px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at 40% 40%,
    rgba(232, 96, 154, 0.1) 0%,
    rgba(168, 85, 247, 0.06) 40%,
    transparent 70%);
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  pointer-events: none;
}

/* Soft lavender wash — bottom left */
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-15px, 20px) scale(1.02); }
  66%       { transform: translate(10px, -12px) scale(0.98); }
}

.hero-inner {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--pink);
  padding: 0.38rem 1rem;
  background: var(--pink-light);
  border: 1px solid var(--border-pink);
  border-radius: 100px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-headline em {
  font-style: italic;
  color: var(--pink);
}

.hero-headline .accent { color: var(--pink); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 460px;
  line-height: 1.75;
  text-shadow: 0 1px 12px rgba(253, 248, 245, 0.9);
}


/* ── Hero phone visual ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 200px;
  border-radius: 44px;
  background: #1e0d3a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 8px rgba(232, 96, 154, 0.06),
    0 0 0 16px rgba(124, 58, 237, 0.04),
    var(--shadow-lg);
}

.phone-screen {
  width: 160px;
  height: 160px;
  border-radius: 32px;
  overflow: hidden;
  background: #0d0820;
}

.phone-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.phone-glow {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 180px;
  background: radial-gradient(ellipse at top, rgba(232, 96, 154, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-screenshot {
  width: 100%;
  max-width: 340px;
  border-radius: 20px;
  display: block;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 32%);
  mask-image: linear-gradient(to right, transparent 0%, black 32%);
}


/* ── Features Section ── */
.features-section {
  padding: 7rem 0 8rem;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-pink);
  transform: translateY(-5px);
  border-color: var(--border-pink);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--purple);
}

.feature-icon { width: 24px; height: 24px; }

.feature-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.68;
}


/* ── Screenshots Section ── */
.screenshots-section {
  padding: 6rem 0 7rem;
  background: var(--bg-lavender);
  overflow: hidden;
}

.screenshots-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  margin-top: 3.5rem;
  padding-bottom: 0.5rem;
}

.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshots-scroll.is-dragging { cursor: grabbing; user-select: none; }

.screenshots-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0.5rem calc((100vw - min(var(--max-width), 100% - 3.5rem)) / 2 + 1.75rem) 2rem;
}

.screenshot-item {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
}

.screenshot-img {
  width: 210px;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  pointer-events: none;
}

.screenshots-scroll.is-dragging .screenshot-img { pointer-events: none; }

.screenshot-item:hover .screenshot-img {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.screenshot-item figcaption {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}


/* ── Journey Section ── */
.journey-section {
  position: relative;
  padding: 7rem 0;
  background: var(--bg-deep);
  overflow: hidden;
}

.journey-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(232, 96, 154, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(124, 58, 237, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.journey-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: 5rem;
  position: relative;
  z-index: 1;
}

.journey-text {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.journey-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-light);
}

.journey-title em {
  font-style: italic;
  color: var(--pink);
}

.journey-body {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.78;
  max-width: 500px;
}

.journey-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(232, 96, 154, 0.4);
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--pink);
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}


/* ── Footer ── */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.5rem 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1px;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text-light); text-decoration: none; }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(184, 168, 204, 0.45);
  width: 100%;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.5rem;
}


/* ── Prose (privacy / terms) ── */
.prose {
  padding: 3rem 0 5rem;
  max-width: 700px;
}

.prose h1 {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.prose em {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-style: normal;
}

.prose h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.25rem 0 0.6rem;
}

.prose h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1.75rem 0 0.5rem;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.78;
}

.prose ul {
  padding-left: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.78;
}

.prose a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-meta {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 2rem !important;
}

.prose-callout {
  background: var(--purple-light);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0 2.5rem;
}

.prose-callout--urgent {
  background: #fff4f8;
  border-color: var(--border-pink);
}

.prose-callout-heading {
  font-family: var(--font-head);
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  margin-bottom: 0.75rem !important;
}

.prose-callout p {
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.prose-callout p:last-child { margin-bottom: 0; }

.prose-footer-note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

.prose-footer-note a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.prose-footer-note a:hover { color: var(--text); text-decoration: none; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
  transition: color var(--transition);
}

.back-link:hover { color: var(--text); text-decoration: none; }


/* ── Responsive ── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .journey-stats { grid-template-columns: repeat(4, 1fr); }
  .journey-body  { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero { padding: 4rem 0 3.5rem; }

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

  .journey-stats { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }

  .screenshots-track {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .screenshot-img { width: 180px; }

  .btn-label { display: none; }
  .btn-nav { gap: 0; padding: 0.55rem 0.9rem; }
}
