/* ==========================================================
   Readmint — style.css
   Design tokens
   ========================================================== */
:root {
  --cream: #F7F2E7;
  --cream-deep: #F1EADB;
  --white: #FFFFFF;
  --ink: #2E3A2C;
  --ink-soft: #5B6858;
  --sage: #7C9473;
  --sage-deep: #5F7A57;
  --mint: #497e4a;
  --mint-soft: #E3EEDA;
  --coral: #E9A6A0;
  --radius-lg: 28px;
  --radius-xl: 42px;
  --shadow-soft: 0 20px 45px -25px rgba(46, 58, 44, 0.25);
  --shadow-deep: 0 40px 80px -20px rgba(46, 58, 44, 0.35);
  --ease: cubic-bezier(.22,.9,.32,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }

::selection { background: ; }

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

/* ---------- Buttons ---------- */
.btn-mint {
  background: #497e4a;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 10px 30px -8px rgba(95,122,87,0.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-mint:hover { color: #000; box-shadow: 0 14px 34px -6px rgba(95,122,87,0.7); }

.btn-outline-mint {
  background: rgba(255,255,255,0.6);
  border: 2px solid var(--mint);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(6px);
  transition: transform .25s var(--ease);
}
.btn-outline-mint:hover { color: var(--ink); }

.btn-cta {
  background: #fff;
  color: var(--sage-deep);
  border: none;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.2rem;
}
.btn-cta:hover { color: var(--sage-deep); }

.btn-lg { font-size: 1rem; padding: 1rem 1.9rem; }

.magnetic { will-change: transform; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding-top: 1rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  transition: all .3s var(--ease);
}
.site-nav.scrolled .nav-inner {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(46,58,44,0.08);
  padding: 0.6rem 1.3rem;
}
.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand-mark {
  width: 70px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.brand-name { font-family: 'Fraunces', serif; font-size: 2.15rem; color: var(--ink); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: opacity .2s; }
.nav-links a:hover { opacity: 0.7; }

.nav-toggle {
  background: none; border: none; font-size: 1.5rem; color: var(--ink);
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 600;
  background: #fcf9f4;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--ink); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; font-size: 1.6rem; color: var(--ink);
}

/* ---------- Ambient background ---------- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.35; }
.blob-mint { width: 420px; height: 420px; top: -140px; left: -100px; background: var(--mint); animation: blobFloat1 14s ease-in-out infinite; }
.blob-sage { width: 480px; height: 480px; top: 30%; right: -180px; background: var(--sage); opacity: 0.28; animation: blobFloat2 16s ease-in-out infinite; }
@keyframes blobFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,20px); } }
@keyframes blobFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-25px,-30px); } }

.particles { position: absolute; inset: 0; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--sage-deep); opacity: 0.25;
  animation: particleFloat 8s ease-in-out infinite;
}
@keyframes particleFloat { 0%,100% { transform: translateY(0); opacity: 0.15; } 50% { transform: translateY(-18px); opacity: 0.4; } }

.floaty { position: absolute; font-size: 2.2rem; opacity: 0.2; animation: floatEmoji 7s ease-in-out infinite; }
@keyframes floatEmoji { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(6deg); } }

.floaty-slow { animation: floatSlow 5s ease-in-out infinite; }
@keyframes floatSlow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
  overflow: hidden;
  background: #fcf9f4;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--sage-deep);
  font-size: 0.78rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.display-heading {
  font-size: 3.4rem;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.lead-copy {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 420px;
}
.hero-ctas { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-meta {
  margin-top: 2.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  font-size: 0.9rem; color: var(--ink-soft);
}
.hero-meta .bi-star-fill { color: #497e4a; margin-right: 0.3rem; }
.hero-meta strong { color: var(--ink); }
.divider { width: 1px; height: 16px; background: rgba(0,0,0,0.1); }

.hero-phone-wrap { position: relative; display: flex; justify-content: center; }
.hero-phone { width: 300px; }
.phone-shell {
  position: relative;
  border-radius: 2.6rem;
  background: #767e76;
  padding: 0.3rem;
}
.phone-shell img { border-radius: 2.2rem; width: 100%; object-fit: cover; object-position: top; max-height: 560px; }
.phone-notch {
  position: absolute; top: 0.5rem; left: 50%; transform: translateX(-50%);
  width: 90px; height: 20px; background: #111611; border-radius: 0 0 16px 16px; z-index: 2;
}
.streak-card {
  position: absolute;
  bottom: -20px; left: -10px;
  background: #fff;
  border-radius: 24px;
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 0.7rem;
  z-index: 3;
}
.streak-card i { color: var(--sage); font-size: 1.2rem; }
.streak-num { font-weight: 600; font-size: 1.05rem; }
.streak-label { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- Marquee ---------- */
.marquee-section { padding: 5px 0; background: #fcf9f4; position: relative; overflow: hidden; }
.marquee-row { overflow: hidden; margin-bottom: 1.5rem; }
.marquee-track { display: flex; gap: 1.5rem; width: max-content; }
.marquee-left { animation: marqueeLeft 38s linear infinite; }
.marquee-right { animation: marqueeRight 44s linear infinite; }
.marquee-row:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.mq-card {
  flex: 0 0 auto;
  width: 150px;
  background: #fff;
  border-radius: 1.8rem;
  padding: 0.4rem;
    transition: transform .3s var(--ease);
}
.mq-card:nth-child(odd) { transform: rotate(-3deg); }
.mq-card:nth-child(even) { transform: rotate(3deg); }
.mq-card:hover { transform: scale(1.06) rotate(0deg); z-index: 5; }
.mq-card img { border-radius: 1.4rem; height: 280px; object-fit: cover; object-position: top; width: 100%; }

/* ---------- Section heading ---------- */
.section-heading { max-width: 560px; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 0.8rem;
}
.section-heading h2 { font-size: 2.3rem; line-height: 1.2; color: var(--ink); }
.section-heading p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; }
.section-heading.light h2 { color: var(--cream); }
.section-heading.light p { color: rgba(247,242,231,0.7); }

/* ---------- Features ---------- */
.features-section { padding: 7rem 0; background: #fcf9f4; }
.features-grid { margin-top: 3.5rem; }
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--mint-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-deep);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  transition: transform .3s var(--ease);
}
.feature-card:hover .feature-icon { transform: rotate(8deg) scale(1.08); }
.feature-card h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* ---------- Sticky phone ---------- */
.sticky-section { position: relative; background: #fcf9f4; height: 360vh; }
.sticky-inner { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.sticky-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; }
.sticky-text-wrap { position: relative; min-height: 160px; }
.sticky-text {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.sticky-text.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-text h3 { font-size: 2rem; margin-bottom: 0.9rem; color: var(--ink); }
.sticky-text p { color: var(--ink-soft); max-width: 380px; line-height: 1.6; }
.sticky-dots { display: flex; gap: 0.5rem; margin-top: 2rem; }
.sticky-dots .dot { height: 6px; width: 10px; border-radius: 999px; background: rgba(95,122,87,0.25); transition: width .3s, background .3s; }
.sticky-dots .dot.active { width: 28px; background: var(--sage); }
.sticky-phone-wrap { display: flex; justify-content: center; perspective: 1200px; }
.sticky-phone-wrap .phone-shell { width: 300px; transition: transform .4s var(--ease); }

/* ---------- Timeline ---------- */
.timeline-section { padding: 7rem 0; background: var(--cream); }
.timeline-container { max-width: 720px; }
.timeline-track { position: relative; margin-top: 4rem; padding-left: 0; }
.timeline-line { position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: rgba(95,122,87,0.15); }
.timeline-line-fill { position: absolute; left: 8px; top: 8px; width: 2px; height: 0%; background: var(--sage); transition: height .2s linear; }
.timeline-item { position: relative; padding-left: 2.5rem; margin-bottom: 1.5rem; }
.timeline-dot { position: absolute; left: 0; top: 1.5rem; width: 16px; height: 16px; border-radius: 50%; background: var(--sage); transform: scale(0); transition: transform .4s var(--ease); }
.timeline-item.in-view .timeline-dot { transform: scale(1); }
.timeline-card { background: #fff; border-radius: 26px; padding: 1.5rem; box-shadow: var(--shadow-soft); }
.tc-top { display: flex; justify-content: space-between; align-items: baseline; }
.tc-top h4 { font-size: 1.25rem; margin: 0; color: var(--ink); }
.tc-top span { font-size: 0.78rem; color: var(--ink-soft); }
.tc-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--ink-soft); margin: 0.4rem 0 1rem; }
.tc-bar { height: 10px; border-radius: 999px; background: var(--cream-deep); overflow: hidden; }
.tc-fill { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--sage), var(--sage-deep)); transition: width 1s var(--ease); }
.tc-pct { text-align: right; margin-top: 0.4rem; font-size: 0.8rem; font-weight: 700; color: var(--sage-deep); }

/* ---------- Stats ---------- */
.stats-section { padding: 7rem 0; background: #487d49; }
.stats-grid { margin-top: 3.5rem; }
.stat-num { font-family: 'Fraunces', serif; font-size: 3rem; color: var(--mint); }
.stat-label { margin-top: 0.5rem; font-size: 0.92rem; color: rgba(247,242,231,0.6); }

/* ---------- Reviews ---------- */
.reviews-section { padding: 7rem 0; background: #fcf9f4; }
.review-stars i, .stars-sm i { color:#497e4a; }
.review-stars i { font-size: 1.3rem; margin: 0 2px; }
.reviews-section h2 { font-family: 'Fraunces', serif; font-size: 2.2rem; }
.reviews-note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.3rem; }

.review-carousel { position: relative; height: 280px; margin-top: 3rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.review-slide {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.review-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.stars-sm { margin-bottom: 1rem; }
.stars-sm i { font-size: 0.85rem; margin: 0 1px; }
.review-slide p { font-family: 'Fraunces', serif; font-size: 1.25rem; line-height: 1.5; max-width: 1150px; color: var(--ink); }
.review-name { margin-top: 1.2rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.review-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.rdot { width: 8px; height: 6px; border-radius: 999px; background: rgba(95,122,87,0.25); border: none; cursor: pointer; transition: width .3s, background .3s; }
.rdot.active { width: 24px; background: var(--sage); }

/* ---------- CTA ---------- */
.cta-section { position: relative; padding: 7rem 0; background: var(--sage); overflow: hidden; }
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-section h2 { color: #fff; font-size: 2.6rem; }
.cta-section p { color: rgba(255,255,255,0.85); margin-top: 1rem; }
.cta-phone { margin-top: 4rem; display: flex; justify-content: center; }
.cta-phone .phone-shell { width: 220px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 3.5rem 0 1.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-inner .brand-name { color: #fff; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(247,242,231,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(247,242,231,0.6); font-size: 1.1rem; }
.footer-social a:hover { color: #fff; }
.footer-bottom {
  max-width: 1140px; margin: 2rem auto 0; padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem; text-align: center; color: rgba(247,242,231,0.4);
}

/* ---------- Demo overlay ---------- */
.demo-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(46,58,44,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.demo-overlay.open { opacity: 1; pointer-events: auto; }
.demo-box {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2.5rem; max-width: 400px; text-align: center;
  position: relative; box-shadow: var(--shadow-deep);
}
.demo-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.2rem; color: var(--ink-soft); }


.faq-container{
    max-width:850px;
    margin:50px auto 0;
}

.faq-item{
    background:rgba(255,255,255,.55);
    backdrop-filter:blur(18px);
    border-radius:18px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    margin-bottom:18px;
    overflow:hidden;
    transition:.35s ease;
}

.faq-item:hover{
    transform:translateY(-3px);
}

.faq-question{
    width:100%;
    border:none;
    background:none;
    padding:24px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    font-size:1.1rem;
    font-weight:600;
    color:#2d3d2f;
    text-align:left;
}

.faq-question .icon{
    font-size:1.6rem;
    color:#6D8B74;
    transition:.3s;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease;
}

.faq-answer p{
    padding:0 30px 25px;
    margin:0;
    color:#5c665f;
    line-height:1.8;
    font-size:1rem;
}

.faq-item.active .faq-answer{
    max-height:250px;
}

.faq-item.active .icon{
    transform:rotate(180deg);
}

@media(max-width:768px){

    .faq-question{
        padding:20px;
        font-size:1rem;
    }

    .faq-answer p{
        padding:0 20px 20px;
    }

}

/* ---------- Reveal-on-scroll base states ---------- */
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }
.app-section {
  position: relative;
  padding: 100px 0;
}

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

.app-text {
  display: none;
}

.app-text.active {
  display: block;
}

.app-dots {
  display: flex;
  gap: 10px;
  margin-top: 35px;
}

.app-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.25s ease;
}

.app-dot.active {
  background: #111;
  transform: scale(1.2);
}

.app-dot:hover {
  transform: scale(1.2);
}

.app-phone-wrap {
  display: flex;
  justify-content: center;
}

.app-phone {
  position: relative;
}

.app-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-slide-text {
  display: none;
}

.hero-slide-text.active {
  display: block;
}
.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #111;
}