/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --cream:      #F2EDE6;
  --white:      #FFFFFF;
  --gold:       #C9973A;
  --gold-light: #F5EDD8;
  --dark:       #1C1C1E;
  --mid:        #8A8A8E;
  --border:     rgba(0, 0, 0, 0.07);

  /* Emotion palette */
  --anxiety:    #E8EEF5;
  --sadness:    #EDE8F2;
  --joy:        #F5EDD8;
  --loneliness: #E5EEEC;
  --anger:      #F2E8E8;
  --gratitude:  #F0EEE8;

  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--dark);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--dark);
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
}

p { color: var(--mid); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.btn-appstore:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 237, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark);
}
.logo-sparkle { color: var(--gold); font-style: normal; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo { font-size: 1rem; }

.footer-copy {
  font-size: 0.875rem;
  color: var(--mid);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--dark); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: var(--cream);
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-text h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 300px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   WHAT IS
   ============================================================ */
#what-is { background: var(--white); }

.whatis-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.whatis-text h2 { margin-bottom: 20px; }

.whatis-text > p { margin-bottom: 16px; }

.whatis-intro { color: var(--mid); font-size: 1.0625rem; }

.whatis-bold {
  color: var(--dark) !important;
  font-weight: 600;
  font-size: 1.0625rem;
}

.whatis-list {
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatis-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--dark);
}

.whatis-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.whatis-tagline {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--gold) !important;
  line-height: 1.6;
}

.whatis-visual {
  display: flex;
  justify-content: center;
}

.whatis-visual img {
  width: 280px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   FEATURES
   ============================================================ */
#features { background: var(--cream); }

#features h2 { margin-bottom: 40px; }

/* Comparison table */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 64px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.9375rem;
}

.comparison-table thead tr {
  background: var(--white);
  border-bottom: 2px solid var(--border);
}

.comparison-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr:hover { background: rgba(242, 237, 230, 0.5); }

.col-highlight {
  background: rgba(201, 151, 58, 0.06);
  color: var(--gold) !important;
  font-weight: 600;
}

.comparison-table th.col-highlight {
  color: var(--gold) !important;
}

/* Emotion cards */
.emotions-header {
  margin-bottom: 8px;
}
.emotions-sub {
  font-size: 1rem;
  color: var(--mid);
  margin-bottom: 20px;
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  margin-bottom: 64px;
}

.emotion-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
}

.emotion-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.6);
}

.emotion-card strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.emotion-card span {
  font-size: 0.8125rem;
  color: var(--mid);
}

/* Full moment with God */
.full-moment h3 { margin-bottom: 8px; }
.full-moment > p { margin-bottom: 20px; }

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

.moment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.moment-num {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.moment-card strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.moment-card p {
  font-size: 0.875rem;
  color: var(--mid);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works { background: var(--white); }

.hiw-top {
  margin-bottom: 52px;
}

.hiw-top h2 { margin-bottom: 8px; }

.section-tag {
  font-size: 1.0625rem;
  color: var(--gold);
  font-weight: 500;
}

.hiw-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 42px;
  height: 42px;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

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

.hiw-visual img {
  width: 260px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   REVIEWS
   ============================================================ */
#reviews { background: var(--cream); }

#reviews h2 { margin-bottom: 40px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--gold);
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 16px;
}

.review-author {
  font-size: 0.8125rem;
  color: var(--mid);
  font-weight: 500;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.rating-stars {
  color: var(--gold);
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
}

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--white); }

#faq h2 { margin-bottom: 36px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
}

.faq-item {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-item summary h3 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  line-height: 1;
}

.faq-icon-plus { display: block; }
.faq-icon-minus { display: none; }

.faq-item[open] .faq-icon-plus { display: none; }
.faq-item[open] .faq-icon-minus { display: block; }

.faq-body {
  padding: 0 24px 20px;
  animation: fadeDown 0.2s ease;
}

.faq-body p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mid);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
#cta { background: var(--cream); }

.cta-inner {
  text-align: center;
}

.cta-inner h2 { margin-bottom: 16px; }

.cta-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-meta {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--mid);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .moment-grid { grid-template-columns: 1fr; }

  .hiw-inner {
    grid-template-columns: 1fr;
  }
  .hiw-visual {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual img { width: 240px; }

  .whatis-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .whatis-visual {
    display: flex;
    justify-content: center;
  }

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

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

@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
}
