/* ==========================================================================
   ADHD Cleaning Planner one-pager styles (Luna-inspired)
   ========================================================================== */

:root {
  --color-bg: #fff;
  --color-bg-section: #fff;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-accent: #2d7d5e;
  --color-accent-soft: #e8f4ef;
  --color-cta: #c2185b;
  --color-cta-hover: #ad1457;
  --color-cta-soft: #fce4ec;
  --color-border: #eae8e5;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", ui-monospace, monospace;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.08);
  --space-section: clamp(4rem, 10vw, 6rem);
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Site header (logo top-left)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-cta);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.site-header__cta:hover {
  background: var(--color-cta-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(194, 24, 91, 0.35);
}

.site-header__cta-icon {
  width: 18px;
  height: 18px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: opacity 0.2s;
}

.site-header__brand:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-header__logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.site-header__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem var(--space-section);
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .hero__inner {
    justify-content: space-between;
    text-align: left;
  }
  .hero__content {
    flex: 1 1 320px;
    max-width: 420px;
  }
  .hero__media {
    flex: 0 0 auto;
    margin-top: 0;
  }
}

.hero__content {
  text-align: center;
}

@media (min-width: 720px) {
  .hero__content {
    text-align: left;
  }
}

.hero__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.hero__tagline {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--color-text-muted);
  font-weight: 500;
  margin: 0 0 2rem;
  max-width: 28ch;
}

.hero__content .hero__tagline {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 720px) {
  .hero__content .hero__tagline {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--color-text);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.hero__cta:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hero__cta svg {
  width: 20px;
  height: 20px;
}

.hero__badge {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero__media {
  margin-top: 3rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* iPhone-style frame, equal bezel on all sides */
.phone-frame {
  position: relative;
  padding: 12px;
  background: #1c1c1e;
  border-radius: 3rem;
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-frame__screen {
  position: relative;
  border-radius: 2.25rem;
  overflow: hidden;
  background: #000;
  /* Video aspect ratio (from app-preview.mp4: 239.44 × 426) */
  aspect-ratio: 239.44 / 426;
}

.phone-frame__screen img,
.phone-frame__screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   Section common
   ========================================================================== */

.section {
  padding: var(--space-section) 1.5rem;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.section--alt {
  background: var(--color-bg-section);
}

/* ==========================================================================
   Screenshots (App Store style row)
   ========================================================================== */

/* ==========================================================================
   About (why we made this)
   ========================================================================== */

.section--about {
  background: var(--color-bg-section);
}

.about {
  max-width: 600px;
  margin: 0 auto;
}

.about__title {
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--color-text);
}

.about__content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
}

.about__content p {
  margin: 0 0 1.25rem;
}

.about__content p:last-of-type {
  margin-bottom: 0;
}

.about__cta {
  margin: 3rem 0 0;
  text-align: center;
}

.about__cta .hero__cta {
  margin-bottom: 0;
}

/* ==========================================================================
   Screenshots (App Store style row)
   ========================================================================== */

.section--screenshots {
  background: var(--color-bg-section);
}

.screenshots {
  overflow: hidden;
}

.screenshots__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 520px) {
  .screenshots__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.screenshots__item {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.screenshots__item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* ==========================================================================
   Features grid (Luna-style cards)
   ========================================================================== */

.features__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  background: var(--color-bg-section);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-cta);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature:hover {
  border-left-color: var(--color-cta-hover);
  box-shadow: 0 4px 12px rgba(194, 24, 91, 0.12);
}

.feature__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-cta-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-cta);
  font-weight: bold;
}

.feature__icon::before {
  content: "\2713";
}

.feature__body {
  min-width: 0;
}

.feature__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.feature__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Highlights (Built for ADHD minds)
   ========================================================================== */

.highlights__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .highlights__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.highlights__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  background: var(--color-bg-section);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-cta);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.highlights__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-cta-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-cta);
  font-weight: bold;
}

.highlights__icon::before {
  content: "\2713";
}

.highlights__body {
  min-width: 0;
}

.highlights__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.highlights__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Review / testimonial
   ========================================================================== */

.section--review {
  background: var(--color-bg-section);
}

.review {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 2rem;
  text-align: center;
}

.review::before,
.review::after {
  position: absolute;
  font-size: 7rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.14);
  font-family: Georgia, serif;
}

.review::before {
  content: "\201C";
  top: 0.5rem;
  left: 1rem;
}

.review::after {
  content: "\201D";
  bottom: -3.5rem;
  right: 1rem;
}

.review__stars {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: #e6b800;
  margin: 0 0 0.75rem;
  line-height: 1;
}

.review__quote {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
  font-style: italic;
}

.review__meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 1rem 0 0;
}

/* ==========================================================================
   CTA block
   ========================================================================== */

.cta-block {
  text-align: center;
  padding: var(--space-section) 1.5rem;
}

.cta-block__title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.cta-block__text {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

.cta-block .hero__cta {
  margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  margin-top: auto;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-section);
}

.footer__copy {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer__links {
  margin-top: 0.75rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0.5rem;
}

.footer__links a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Legal pages (Privacy Policy, Terms of Use)
   ========================================================================== */

.legal-page {
  padding: var(--space-section) 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}

.legal-page__updated {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.legal-page p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 1rem;
}

.legal-page ul {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page a {
  color: var(--color-accent);
}

.legal-page .contact-email {
  color: var(--color-accent);
  font-weight: 500;
}
