/* ============================================================
   Daisies in the Dark — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Design tokens — Midnight Garden design system */
:root {
  --bg:           #0f0d0e;
  --surface:      #1e1a1c;
  --card:         #282326;
  --border:       rgba(255,255,255,0.05);
  --primary:      #ffd57e;
  --primary-dark: #e8b84b;
  --text:         #eae1dd;
  --muted:        #d2c5b0;
  --subtle:       #9b8f7c;
  --radius:       24px;
  --radius-sm:    12px;
  --max-w:        1080px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: 80px; }

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(15, 13, 14, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav__logo:hover { text-decoration: none; }

/* Daisy petal icon — pure CSS */
.nav__daisy {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
}

.nav__daisy svg { width: 28px; height: 28px; }

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav__links a:hover {
  color: var(--text);
  text-decoration: none;
}

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

.hero {
  padding-block: 0 48px;
  text-align: center;
  position: relative;
}

.hero__image {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin-inline: auto;
}

.hero .container {
  margin-top: -80px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, rgba(232,184,75,0.15), rgba(232,184,75,0.08));
  border: 1px solid rgba(232,184,75,0.3);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero__tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 520px;
  margin-inline: auto;
}

.hero__hook {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text);
  opacity: 0.85;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 48px;
  font-style: italic;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* App Store button */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  line-height: 1.2;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,184,75,0.2);
  text-decoration: none;
  color: var(--bg);
}

.btn-appstore__icon { font-size: 1.4rem; line-height: 1; }

.btn-appstore__text { display: flex; flex-direction: column; }
.btn-appstore__text span:first-child { font-size: 0.65rem; font-weight: 500; opacity: 0.7; letter-spacing: 0.04em; text-transform: uppercase; }
.btn-appstore__text span:last-child  { font-size: 1rem; font-weight: 800; }


/* ============================================================
   Features
   ============================================================ */

.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(232,184,75,0.4);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(232,184,75,0.15), rgba(232,184,75,0.08));
  border: 1px solid rgba(232,184,75,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card__body {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   Hard days section
   ============================================================ */

.hard-days {
  text-align: center;
}

.hard-days__inner {
  max-width: 640px;
  margin-inline: auto;
}

.hard-days__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hard-days__body {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--muted);
  line-height: 1.8;
}

.hard-days__accent {
  display: inline-block;
  margin-top: 32px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

/* ============================================================
   Disclaimer
   ============================================================ */

.disclaimer {
  padding-block: 0 32px;
  text-align: center;
}

.disclaimer p {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.65;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.6;
}

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

.footer {
  border-top: 1px solid var(--border);
  padding-block: 32px;
}

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

.footer__copy {
  font-size: 0.825rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 0.825rem;
  color: var(--muted);
  transition: color 0.15s;
}

.footer__links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ============================================================
   Support page
   ============================================================ */

.page-header {
  padding-block: 72px 56px;
  max-width: 600px;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

/* FAQ accordion */
.faq { padding-block: 0 80px; }

.faq__list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-top: 1px solid var(--border);
}

.faq__item:last-child { border-bottom: 1px solid var(--border); }

.faq__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  font-size: 0.975rem;
  font-weight: 600;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s;
  font-family: inherit;
  line-height: 1.5;
}

.faq__question:hover { color: var(--primary); }

.faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.25s;
}

.faq__item.open .faq__chevron { transform: rotate(180deg); }
.faq__item.open .faq__question { color: var(--primary); }

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__answer-inner {
  padding-bottom: 20px;
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq__item.open .faq__answer { max-height: 400px; }

/* Contact block */
.contact-block {
  padding-block: 0 80px;
  max-width: 720px;
}

.contact-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-block p {
  color: var(--muted);
  font-size: 0.925rem;
}

/* ============================================================
   Privacy page
   ============================================================ */

.prose {
  max-width: 700px;
  padding-block: 0 80px;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.prose p {
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.prose ul {
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 20px;
}

.prose ul li { margin-bottom: 4px; }

.prose .effective-date {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.7;
  margin-bottom: 40px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
  section { padding-block: 56px; }

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

  .footer__inner { flex-direction: column; align-items: flex-start; }

  .hero { padding-block: 0 40px; }
  .hero__image { max-width: 100%; }
  .hero .container { margin-top: -60px; }

  .page-header { padding-block: 48px 36px; }
}

@media (max-width: 480px) {
  .nav__links { gap: 18px; }
  .container { padding-inline: 18px; }
}
