/* ============================================================
   BatteryBae — pastel-pink flirt landing page
   ============================================================ */
:root {
  --bg:        #ffd6e6;   /* single flat pastel pink */
  --cream:     #3d0f26;   /* primary text (deep plum) on pink */
  --muted:     #9c5870;   /* secondary text */
  --panel:     #ffffff99; /* translucent white cards */
  --pink:      #ff2e74;   /* accent */
  --coral:     #ff6f93;
  --hot:       #e01560;
  --lime:      #c9ff57;
  --line:      #3d0f2622;
  --radius:    20px;
  --glow:      0 24px 60px -24px #ff2e7466;
  --maxw:      1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* grain overlay (very subtle on light) */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* typography */
.display {
  font-family: "Fraunces", serif;
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
}
.display em { font-style: italic; font-weight: 500; color: var(--pink); }
.eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--hot); font-weight: 700; margin-bottom: 1.1rem;
}
.sub { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }

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

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, var(--pink), var(--hot));
  color: #fff; font-weight: 700; font-family: inherit;
  padding: .85rem 1.4rem; border-radius: 999px; border: none;
  box-shadow: 0 12px 30px -10px var(--hot), inset 0 1px 0 #ffffff66;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, filter .25s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 44px -12px var(--hot), inset 0 1px 0 #ffffff77; filter: saturate(1.08); }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-lg { font-size: 1.05rem; padding: 1.05rem 1.9rem; flex-direction: column; gap: .15rem; }
.btn-price { font-size: .72rem; font-weight: 500; opacity: .9; letter-spacing: .02em; }
.btn-ghost {
  background: #ffffff80; color: var(--cream);
  border: 1px solid var(--line); box-shadow: none; font-weight: 600;
}
.btn-ghost:hover { border-color: var(--pink); background: #fff; box-shadow: none; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 1.1rem 1.6rem;
  backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.3rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff;
  background: linear-gradient(140deg, var(--pink), var(--coral)); box-shadow: 0 6px 18px -6px var(--pink); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; font-size: .95rem; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--cream); }

/* hero */
.hero {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center;
  padding: 5rem 1.6rem 6rem;
}
.hero-glow { display: none; }
.hero-copy .display { font-size: clamp(3rem, 7vw, 5.4rem); margin-bottom: 1.5rem; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 40ch; margin-bottom: 2.2rem; }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.trust-inline { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--muted); font-size: .9rem; }
.trust-inline li { display: flex; align-items: center; gap: .35rem; }

/* hero device — original CSS MacBook (no third-party asset) */
.hero-demo { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.macbook { width: min(440px, 100%); }

/* lid + bezel */
.mb-lid {
  position: relative; background: #0b0b0d; border-radius: 22px; padding: 11px;
  box-shadow: inset 0 0 0 1px #ffffff1a, inset 0 0 0 3px #1b1b1e, 0 18px 40px -18px #6d203f55;
}
.mb-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 80px; height: 15px; background: #0b0b0d; border-radius: 0 0 9px 9px; }
.mb-display {
  position: relative; aspect-ratio: 16 / 10.3; border-radius: 11px; overflow: hidden;
  background: radial-gradient(130% 130% at 72% -10%, #ffe1ee 0%, #ff9ec3 55%, #ff7aa8 100%);
}

/* macOS menu bar */
.os-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 23px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 9px;
  background: #ffffff66; backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; color: #3d0f26;
}
.os-left { display: flex; align-items: center; gap: 9px; }
.os-bae { color: var(--pink); font-size: 12px; }
.os-menu { font-weight: 500; opacity: .65; }
.os-right { display: flex; align-items: center; gap: 7px; }
.os-batt { position: relative; width: 22px; height: 11px; border: 1.3px solid #3d0f26; border-radius: 3px; padding: 1.4px; }
.os-batt::after { content: ""; position: absolute; right: -3px; top: 50%; transform: translateY(-50%);
  width: 2px; height: 5px; background: #3d0f26; border-radius: 0 2px 2px 0; }
.os-batt-fill { display: block; height: 100%; width: 100%; background: #3d0f26; border-radius: 1px; transition: width .5s ease, background .5s; }
.os-batt-fill.low { background: var(--hot); }
.os-pct { font-variant-numeric: tabular-nums; }
.os-time { opacity: .8; }

/* desktop */
.os-desktop { position: absolute; inset: 23px 0 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.os-widget { position: absolute; left: 14px; bottom: 14px;
  background: #ffffffcc; border-radius: 14px; padding: 9px 13px; text-align: left;
  box-shadow: 0 8px 18px -10px #6d203f55; backdrop-filter: blur(4px); }
.os-widget-pct { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.7rem; line-height: 1; color: #3d0f26; }
.os-widget-pct i { font-size: .9rem; font-style: normal; opacity: .55; }
.os-widget-label { display: block; margin-top: 2px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* notification */
.notif {
  display: flex; gap: .7rem; max-width: 290px; width: calc(100% - 28px);
  background: #ffffffea; border: 1px solid #ffffff; border-radius: 15px;
  padding: .8rem .9rem; box-shadow: 0 14px 30px -14px #6d203f66;
  animation: notifPop .5s cubic-bezier(.2,.9,.2,1);
}
.notif.flash { animation: notifPop .45s cubic-bezier(.2,.9,.2,1); }
@keyframes notifPop { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
.notif-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff;
  background: linear-gradient(140deg, var(--pink), var(--coral)); }
.notif-body { display: flex; flex-direction: column; gap: .12rem; }
.notif-body strong { font-size: .78rem; color: #3d0f26; }
.notif-body span { font-family: "Fraunces", serif; font-style: italic; font-size: 1rem; line-height: 1.25; color: #3d0f26; }

/* base / deck */
.mb-base {
  position: relative; height: 13px; width: 112%; margin: 0 0 0 -6%;
  background: linear-gradient(#eceef2, #c7c9cf 52%, #a6a8af);
  border-radius: 2px 2px 13px 13px;
  box-shadow: inset 0 2px 2px #ffffffcc, inset 0 -1px 2px #00000022, 0 16px 24px -14px #6d203f66;
}
.mb-groove { position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 74px; height: 7px; background: #aeb0b7; border-radius: 0 0 8px 8px; box-shadow: inset 0 -1px 2px #00000033; }
.demo-caption { font-size: .82rem; color: var(--muted); }

/* trust strip */
.strip {
  max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.6rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.strip-item { display: flex; flex-direction: column; gap: .3rem; }
.strip-item b { color: var(--cream); font-size: 1.02rem; }
.strip-item span { color: var(--muted); font-size: .88rem; }

/* sections shared */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; display: flex; flex-direction: column; align-items: center; }
.section-head .sub { text-align: center; }

/* how / cards */
.how { max-width: var(--maxw); margin: 0 auto; padding: 6rem 1.6rem; }
.how .display { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; min-height: 150px;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-5px); border-color: #ff2e7455; box-shadow: 0 24px 50px -28px var(--pink); }
.card-tag { font-size: .82rem; font-weight: 700; color: var(--hot); letter-spacing: .02em; }
.card p { font-family: "Fraunces", serif; font-style: italic; font-size: 1.25rem; line-height: 1.3; color: var(--cream); }
.card-note { font-size: .8rem; color: var(--muted); font-style: normal; }
.card-hot { background: linear-gradient(160deg, #ffc2d8, #ffe1ea); border-color: #ff2e7444; }
.how-foot { text-align: center; color: var(--muted); margin-top: 2.4rem; font-size: .95rem; }

/* viral */
.viral { position: relative; text-align: center; max-width: 820px; margin: 0 auto; padding: 6rem 1.6rem; }
.viral-glow { display: none; }
.viral .display { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: .4rem 0 1.2rem; }
.viral .sub { margin: 0 auto 2.6rem; text-align: center; }
.tiers { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.tier {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 2.2rem; display: flex; flex-direction: column; gap: .3rem; min-width: 200px;
}
.tier-views { font-size: .9rem; color: var(--muted); letter-spacing: .04em; }
.tier-reward { font-family: "Fraunces", serif; font-style: italic; font-size: 1.8rem; color: var(--cream); }
.tier-max { background: linear-gradient(160deg, var(--pink), var(--hot)); border: none; box-shadow: 0 20px 50px -20px var(--hot); }
.tier-max .tier-views, .tier-max .tier-reward { color: #fff; }
.viral-fine { color: var(--muted); font-size: .9rem; }

/* pricing */
.pricing { display: grid; place-items: center; padding: 5rem 1.6rem; }
.price-card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(165deg, #ffffff, #fff0f5);
  border: 1px solid #ff2e7333; border-radius: 28px;
  padding: 3rem 3rem 2.4rem; max-width: 460px; width: 100%;
  box-shadow: 0 30px 70px -34px #ff2e7455;
}
.price-glow { display: none; }
.price-card > * { position: relative; z-index: 1; }
.price-amount { font-family: "Fraunces", serif; font-weight: 600; font-size: 5rem; line-height: 1; letter-spacing: -.03em; }
.price-cur { font-size: 2.4rem; vertical-align: super; color: var(--pink); }
.price-sub { color: var(--muted); margin: .6rem 0 1.8rem; }
.price-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.price-list li { padding-left: 1.7rem; position: relative; color: var(--cream); font-size: .96rem; }
.price-list li::before { content: "♥"; position: absolute; left: 0; color: var(--pink); }
.btn-buy { width: 100%; }
.price-foot { color: var(--muted); font-size: .82rem; margin-top: 1rem; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; padding: 5rem 1.6rem 6rem; }
.faq .display { font-size: clamp(2rem, 4.5vw, 3rem); text-align: center; margin-bottom: 2.6rem; }
.faq-grid { display: flex; flex-direction: column; gap: .8rem; }
details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.4rem; transition: border-color .25s;
}
details[open] { border-color: #ff2e7444; }
summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: "+"; color: var(--pink); font-size: 1.4rem; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: .8rem; font-size: .95rem; }

/* footer */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.6rem 4rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.2rem; align-items: center; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; font-family: "Fraunces", serif; font-size: 1.15rem; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--pink); }
.footer-fine { color: #a8788a; font-size: .8rem; max-width: 48ch; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 3rem; }
  .hero-demo { order: -1; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .price-card { padding: 2.2rem 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
