/* Mahj-ic marketing site — tropical botanical theme, matches in-app brand tokens */

:root {
  --blush: #fceeea;
  --blush-light: #fff8f6;
  --card-bg: #fffdfc;
  --card-warm: #fdf2ee;
  --olive: #3e5032;
  --olive-dark: #2e3d24;
  --olive-light: #617852;
  --button-olive: #506644;
  --button-olive-pressed: #3f5234;
  --coral: #d64545;
  --coral-light: #ffebeb;
  --green: #1b7340;
  --green-light: #e8f5e9;
  --gold: #d4af37;
  --gold-dark: #a6801c;
  --gold-light: #f3e5ab;
  --border-pink: #e8b5af;
  --divider: #e4aea9;
  --ornament: #d6726e;
  --text-primary: #283321;
  --text-secondary: #6b7a64;
  --text-muted: #94837f;
  --text-light: #faf5f3;
  --celebration-bg-dark: #081d13;
  --celebration-bg-medium: #103322;
  --celebration-card: #133d29;
  --celebration-gold: #f3cb67;
  --celebration-pink: #de7382;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blush);
  color: var(--text-primary);
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--olive);
  margin: 0 0 0.4em;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--divider);
}

.section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 18px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 238, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-pink);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand-word {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--olive);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--olive-dark);
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--coral);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--button-olive);
  color: var(--text-light) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 60px;
  position: relative;
}

.hero-corner {
  position: absolute;
  width: 300px;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.hero-corner.tl {
  top: -20px;
  left: -60px;
}

.hero-corner.tr {
  top: -20px;
  right: -60px;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 52px;
  margin-bottom: 0.3em;
}

.hero-copy .tagline {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 14px;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-copy .lede {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.price-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border-pink);
  border-radius: 16px;
  padding: 10px 18px;
}

.price-pill .amount {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--olive);
  font-weight: 700;
}

.price-pill .note {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-badges {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 13px;
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art .phone {
  width: 300px;
  border-radius: 34px;
  box-shadow: 0 30px 60px -20px rgba(46, 61, 36, 0.35);
  border: 6px solid #1a1a1a;
}

.hero-art .sparkle {
  position: absolute;
  color: var(--ornament);
  font-size: 22px;
}

/* ---------- App Store Button ---------- */

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: -apple-system, 'Segoe UI', sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

.appstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.45);
}

.appstore-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.appstore-btn .lines {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.appstore-btn .lines small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
}

.appstore-btn .lines strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- Three Questions ---------- */

.questions {
  background: var(--card-warm);
}

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

.q-card {
  background: var(--card-bg);
  border: 1px solid var(--border-pink);
  border-radius: 20px;
  padding: 32px 26px;
  text-align: center;
}

.q-card .glyph {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: var(--green-light);
  color: var(--green);
  font-size: 24px;
}

.q-card:nth-child(2) .glyph {
  background: var(--coral-light);
  color: var(--coral);
}

.q-card:nth-child(3) .glyph {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.q-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.q-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}

.feature-row:not(:last-child) {
  border-bottom: 1px solid var(--border-pink);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-art {
  order: 1;
}

.feature-copy .step {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

.feature-copy h3 {
  font-size: 30px;
}

.feature-copy p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 440px;
}

.feature-copy ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-copy li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--olive-dark);
}

.feature-copy li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

.feature-art {
  display: flex;
  justify-content: center;
}

.feature-art img {
  width: 260px;
  border-radius: 26px;
  box-shadow: 0 24px 48px -18px rgba(46, 61, 36, 0.3);
  border: 5px solid #1a1a1a;
}

/* ---------- Copyright-safe callout ---------- */

.honest-band {
  background: var(--olive);
  color: var(--text-light);
  border-radius: 24px;
  padding: 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.honest-band h3 {
  color: var(--gold-light);
  font-size: 26px;
}

.honest-band p {
  color: rgba(250, 245, 243, 0.85);
  margin: 0;
}

.honest-band .wrap {
  padding: 0;
}

/* ---------- Celebration section ---------- */

.celebration {
  background: radial-gradient(circle at 50% 0%, var(--celebration-bg-medium), var(--celebration-bg-dark) 70%);
  color: var(--text-light);
  text-align: center;
  position: relative;
}

.celebration .wrap {
  position: relative;
  z-index: 1;
}

.celebration-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.celebration .eyebrow {
  color: var(--celebration-pink);
}

.celebration .eyebrow::before,
.celebration .eyebrow::after {
  background: var(--celebration-gold);
  opacity: 0.5;
}

.celebration h2 {
  color: var(--celebration-gold);
  font-size: 40px;
}

.celebration p.lede {
  max-width: 560px;
  margin: 0 auto 36px;
  color: rgba(250, 245, 243, 0.85);
  font-size: 18px;
}

.celebration-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -20px;
  margin-top: 20px;
}

.celebration-visual img.crown {
  width: 150px;
}

.celebration-visual img.phone {
  width: 240px;
  border-radius: 26px;
  border: 5px solid #000;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.6);
  margin-left: -30px;
}

/* ---------- Pricing ---------- */

.pricing {
  text-align: center;
}

.price-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border-pink);
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 24px 48px -24px rgba(46, 61, 36, 0.25);
}

.price-card .big-price {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  color: var(--olive);
  font-weight: 700;
  margin-bottom: 0;
}

.price-card .big-price sup {
  font-size: 24px;
  top: -1.6em;
}

.price-card .sub {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--olive-dark);
}

.price-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--card-warm);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-pink);
  border-radius: 16px;
  padding: 6px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--olive-dark);
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--coral);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  color: var(--text-secondary);
  padding-bottom: 20px;
  margin: 0;
  font-size: 15px;
}

/* ---------- Final CTA ---------- */

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

.final-cta h2 {
  font-size: 38px;
}

.final-cta p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 18px;
}

/* ---------- Footer ---------- */

footer {
  background: var(--olive-dark);
  color: rgba(250, 245, 243, 0.75);
  padding: 48px 0 32px;
  font-size: 14px;
}

footer .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(250, 245, 243, 0.15);
  margin-bottom: 20px;
}

footer .brand-word {
  color: var(--text-light);
}

footer .foot-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

footer .foot-links a {
  text-decoration: none;
  color: rgba(250, 245, 243, 0.75);
}

footer .foot-links a:hover {
  color: var(--gold-light);
}

footer .disclaimer {
  max-width: 760px;
  color: rgba(250, 245, 243, 0.55);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy .lede {
    margin: 0 auto;
  }
  .hero-actions,
  .hero-badges {
    justify-content: center;
  }
  .hero-art {
    order: -1;
  }
  .hero-corner {
    width: 180px;
  }
  .q-grid {
    grid-template-columns: 1fr;
  }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-row .feature-copy,
  .feature-row.reverse .feature-copy {
    order: 2;
  }
  .feature-row .feature-art,
  .feature-row.reverse .feature-art {
    order: 1;
  }
  .feature-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .feature-copy li {
    justify-content: center;
  }
  .honest-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .celebration-visual {
    flex-direction: column;
  }
  .celebration-visual img.phone {
    margin-left: 0;
    margin-top: -20px;
  }
  footer .foot-top {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  h1, .hero-copy h1 {
    font-size: 38px;
  }
  .section {
    padding: 64px 0;
  }
  .price-card {
    padding: 36px 24px;
  }
}
