/* Rewiring the Beast · abhisheksareen.com/beast */
:root {
  --ink: #0c0905; --ink2: #16120c; --ink3: #221c14;
  --cream: #f4ecdf; --cream2: #faf5ec; --paper: #ffffff;
  --fire: #d9472b; --fire2: #f0643f; --gold: #e9b44c;
  --text: #1c1e2b; --mute: #5e6272; --line: #e5ddcf;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--paper); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, .navbar-brand, .btn { font-family: 'Poppins', sans-serif; }
a { color: var(--fire); }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* buttons */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: .1px; transition: transform .15s ease, box-shadow .2s ease, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.02rem; }
.btn-fire { background: linear-gradient(135deg, var(--fire), var(--fire2)); color: #fff; border: 0; box-shadow: 0 8px 24px rgba(217, 71, 43, .35); }
.btn-fire:hover, .btn-fire:focus { color: #fff; box-shadow: 0 12px 30px rgba(217, 71, 43, .5); }
.btn-cream { background: var(--cream); color: var(--ink); border: 0; }
.btn-cream:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; border: 0; }
.btn-ink:hover { background: #2a2219; color: #fff; }
.btn-outline-ink { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { background: var(--ink); color: #fff; }

/* offer bar + nav */
.offer-bar { background: linear-gradient(90deg, #a72e17, var(--fire), #a72e17); color: #fff; text-align: center; font-size: .88rem; padding: .45rem 1rem; }
.offer-bar s { opacity: .75; margin-left: .25rem; }
.offer-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.navbar { background: rgba(12, 9, 5, .92); backdrop-filter: blur(10px); padding: .7rem 0; }
.navbar-brand { font-weight: 700; letter-spacing: .3px; display: flex; align-items: center; gap: .55rem; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--fire), var(--gold)); font-size: .85rem; font-weight: 800; color: #fff; }
.navbar .nav-link { color: #e9e1d2 !important; font-weight: 500; font-size: .95rem; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: #fff !important; }

/* hero */
.hero { background: radial-gradient(1000px 600px at 80% 20%, #3a2414 0%, transparent 60%), radial-gradient(700px 500px at 0% 100%, #2b120a 0%, transparent 60%), var(--ink); color: #f4ecdf; padding: 4.5rem 0 4rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 80%; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 360'><g transform='rotate(-25 150 180)' fill='%23ffffff' opacity='.05'><path d='M60,20 C95,130 110,240 100,350 C78,240 62,130 60,20Z'/><path d='M145,0 C182,120 198,240 190,360 C168,240 150,120 145,0Z'/><path d='M230,20 C262,130 276,240 268,350 C246,240 232,130 230,20Z'/></g></svg>") no-repeat center / contain; pointer-events: none; }
.kicker { font-family: 'Poppins'; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: .76rem; color: var(--gold); margin-bottom: .8rem; }
.kicker.dark { color: var(--fire); }
.hero-title { text-wrap: balance; font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -.5px; }
.fire-text { background: linear-gradient(90deg, var(--fire2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { font-size: 1.12rem; color: #d9cfbf; max-width: 600px; margin: 1.2rem 0 1.5rem; }
.hero-lede em { font-family: 'Lora'; color: #fff; }
.price-hero { display: inline-flex; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: .9rem 1.2rem; }
.badge-launch { display: inline-block; background: rgba(233, 180, 76, .16); color: var(--gold); border: 1px solid rgba(233, 180, 76, .4); border-radius: 999px; font-family: 'Poppins'; font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: .25rem .7rem; }
.badge-launch.big { font-size: .82rem; padding: .4rem 1rem; }
.price-line { display: flex; align-items: baseline; gap: .7rem; margin-top: .35rem; flex-wrap: wrap; }
.price-now { font-family: 'Poppins'; font-weight: 800; font-size: 2.6rem; line-height: 1; color: #fff; }
.price-mrp { color: #9d9384; font-size: 1.3rem; text-decoration-thickness: 2px; text-decoration-color: var(--fire2); }
.price-off { background: var(--fire); color: #fff; font-family: 'Poppins'; font-weight: 700; font-size: .78rem; padding: .2rem .55rem; border-radius: 6px; }
.price-note { color: #b4a995; font-size: .8rem; }
.hero-links a { color: #f4ecdf; font-size: .93rem; text-decoration: none; border-bottom: 1px dashed rgba(244, 236, 223, .4); }
.hero-links a:hover { color: #fff; border-bottom-color: #fff; }
.stars { color: var(--gold); letter-spacing: 2px; }
.hero-trust { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .86rem; color: #c8bda9; }
.hero-trust i { color: var(--gold); margin-right: .35rem; }

.book3d { position: relative; display: inline-block; width: min(330px, 78vw); transform: perspective(1400px) rotateY(-16deg) rotateX(3deg); transform-style: preserve-3d; transition: transform .4s ease; filter: drop-shadow(-24px 30px 40px rgba(0, 0, 0, .6)); }
.book3d img { border-radius: 3px 8px 8px 3px; display: block; width: 100%; }
.book-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .25), rgba(0, 0, 0, .25) 40%, transparent); border-radius: 3px 0 0 3px; }
.book-tags { display: flex; justify-content: center; gap: .6rem; margin-top: 1.6rem; flex-wrap: wrap; }
.book-tags span { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #d9cfbf; border-radius: 999px; font-size: .8rem; padding: .3rem .8rem; }
.book-tags b { color: #fff; }

/* stores */
.stores { background: var(--ink2); color: #d9cfbf; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.stores-lead { font-family: 'Poppins'; font-weight: 600; font-size: .92rem; }
.store { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; border-radius: 999px; padding: .38rem .95rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.store small { font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-left: .2rem; }
.store.live:hover { background: #fff; color: var(--ink); }

/* stats */
.stats-band { background: var(--cream2); padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.stat { background: #fff; border-radius: var(--r); padding: 1.1rem .5rem; border-top: 5px solid var(--c); box-shadow: 0 6px 18px rgba(28, 30, 43, .06); height: 100%; }
.stat b { display: block; font-family: 'Poppins'; font-size: 2.1rem; font-weight: 800; color: var(--c); line-height: 1.1; }
.stat span { font-size: .84rem; font-weight: 600; color: var(--mute); }

/* sections */
.section { padding: 5rem 0; }
.bg-cream { background: var(--cream2); }
.bg-ink { background: var(--ink); color: #e9e1d2; }
.h-sec { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -.3px; color: var(--ink); }
.h-sec.light { color: #fff; }
.u-fire { background: linear-gradient(transparent 62%, rgba(233, 180, 76, .55) 62%); padding: 0 .1em; }
.bg-ink .u-fire { background: linear-gradient(transparent 62%, rgba(217, 71, 43, .6) 62%); }
.sub { color: var(--mute); font-size: 1.05rem; max-width: 680px; margin: .6rem auto 0; }
.sub.light { color: #c8bda9; }
.lead-copy { font-size: 1.08rem; color: #3c3f52; }
.small-muted { color: var(--mute); font-size: .88rem; }
.container.narrow { max-width: 860px; }

/* voices */
.voices { background: var(--cream2); border-radius: 22px; padding: 1.6rem; border: 1px solid var(--line); }
.voice { border-radius: var(--r); padding: 1rem 1.2rem; font-family: 'Lora'; font-size: 1.12rem; font-style: italic; margin-bottom: .9rem; }
.voice span { display: block; font-family: 'Poppins'; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: 2px; margin-bottom: .3rem; }
.voice.beast { background: #fde4dc; color: #6d2414; margin-right: 2.5rem; }
.voice.beast span { color: var(--fire); }
.voice.tamer { background: #dcf1ed; color: #0b4a43; margin-left: 2.5rem; }
.voice.tamer span { color: #0e8a7e; }
.voice-note { font-size: .86rem; color: var(--mute); margin: .3rem 0 0; }

/* pains */
.pain { display: flex; flex-direction: column; gap: .7rem; height: 100%; background: #fff; border-radius: var(--r); padding: 1.15rem 1.2rem; text-decoration: none; border-left: 5px solid var(--c); box-shadow: 0 6px 18px rgba(28, 30, 43, .06); transition: transform .2s, box-shadow .2s; }
.pain:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28, 30, 43, .12); }
.pain-q { font-family: 'Lora'; font-style: italic; font-size: 1.08rem; color: var(--text); }
.pain-all { background: var(--ink); border-left-color: var(--fire); }
.pain-all .pain-q { color: #f4ecdf; font-family: 'Poppins'; font-style: normal; font-weight: 600; }
.pain-all .pain-a { color: var(--gold); }
.pain-a { font-family: 'Poppins'; font-weight: 600; font-size: .84rem; color: var(--c); margin-top: auto; }

/* flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.flow::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 3px; background: repeating-linear-gradient(90deg, #d8cfbf 0 10px, transparent 10px 18px); }
.flow-step { text-align: center; position: relative; }
.flow-ic { width: 68px; height: 68px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto .9rem; position: relative; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.flow-ic span { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; font-family: 'Poppins'; }
.flow-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; }
.flow-step p { font-size: .9rem; color: var(--mute); margin: 0; }
@media (max-width: 991px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow::before { display: none; } }

/* learn */
.learn { display: flex; gap: .9rem; align-items: flex-start; background: var(--ink3); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--r); padding: 1.05rem 1.1rem; height: 100%; font-size: .96rem; color: #cfc4b1; }
.learn i { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(217, 71, 43, .18); color: var(--fire2); font-size: 1.05rem; }
.learn b { color: #fff; }

/* look inside */
.page-card { display: block; width: 100%; border: 0; padding: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 28px rgba(28, 30, 43, .14); text-align: left; transition: transform .25s, box-shadow .25s; cursor: zoom-in; }
.page-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 18px 40px rgba(28, 30, 43, .22); }
.page-card img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.page-cap { display: block; padding: .7rem .9rem .85rem; font-size: .84rem; color: var(--mute); line-height: 1.4; }
.page-cap b { display: block; color: var(--ink); font-family: 'Poppins'; font-size: .92rem; }

/* parts */
.part { background: #fff; border-radius: var(--r); overflow: hidden; height: 100%; box-shadow: 0 6px 18px rgba(28, 30, 43, .07); }
.part-head { background: var(--c); color: #fff; padding: 1.1rem 1.2rem 1rem; position: relative; }
.part-no { font-family: 'Poppins'; font-size: .7rem; letter-spacing: 2.5px; font-weight: 600; opacity: .85; }
.part-head h3 { font-size: 1.35rem; font-weight: 700; margin: .1rem 0 .3rem; }
.part-head p { font-family: 'Lora'; font-style: italic; font-size: .92rem; margin: 0; opacity: .92; }
.part-list { list-style: none; margin: 0; padding: .7rem 1.2rem 1rem; }
.part-list li { display: flex; gap: .7rem; padding: .38rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.part-list li:last-child { border-bottom: 0; }
.part-list li span { font-family: 'Poppins'; font-weight: 700; color: var(--c); min-width: 22px; }

/* pricing */
.plan { position: relative; background: var(--ink3); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 2rem 1.8rem; height: 100%; }
.plan.best { background: linear-gradient(160deg, #2b1a10, #1b130c); border: 2px solid var(--fire); box-shadow: 0 20px 50px rgba(217, 71, 43, .2); }
.plan-flag { position: absolute; top: -13px; right: 1.5rem; background: var(--fire); color: #fff; font-family: 'Poppins'; font-weight: 700; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.plan-name { font-family: 'Poppins'; font-weight: 600; color: #fff; font-size: 1.1rem; margin-bottom: .4rem; }
.plan-price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.2rem; }
.plan-price span { font-family: 'Poppins'; font-weight: 800; font-size: 3rem; color: #fff; line-height: 1; }
.plan-price s { color: #8f8577; font-size: 1.25rem; text-decoration-color: var(--fire2); text-decoration-thickness: 2px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.plan li { padding: .4rem 0; color: #d9cfbf; }
.plan li i { color: #4cc3a5; margin-right: .6rem; }
.pay-note { color: #b4a995; font-size: .9rem; margin-bottom: .4rem; }

/* downloads */
.dl { display: flex; flex-direction: column; gap: .35rem; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.2rem; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.dl:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28, 30, 43, .12); border-color: var(--fire); color: var(--text); }
.dl-ic { font-size: 1.6rem; color: var(--fire); margin-bottom: .3rem; }
.dl b { font-family: 'Poppins'; font-size: 1.05rem; }
.dl span { font-size: .9rem; color: var(--mute); }
.dl em { font-style: normal; font-weight: 600; font-size: .84rem; color: var(--fire); margin-top: auto; padding-top: .5rem; }
.vis-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.vis-head h3 { font-size: 1.3rem; font-weight: 700; margin: 0; }
.vis-search { position: relative; flex: 1; max-width: 380px; min-width: 220px; }
.vis-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mute); }
.vis-search input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1rem .6rem 2.4rem; font-size: .95rem; outline: none; }
.vis-search input:focus { border-color: var(--fire); box-shadow: 0 0 0 3px rgba(217, 71, 43, .15); }
.vis { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.vis-img { border: 0; padding: 0; background: #fbf9f5; cursor: zoom-in; }
.vis-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.vis-body { position: relative; padding: .6rem 2.6rem .7rem .8rem; border-top: 1px solid var(--line); flex: 1; }
.vis-no { display: block; font-family: 'Poppins'; font-size: .66rem; letter-spacing: 1.5px; font-weight: 700; color: var(--fire); }
.vis-body b { font-size: .86rem; line-height: 1.3; display: block; }
.vis-dl { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); text-decoration: none; }
.vis-dl:hover { background: var(--fire); color: #fff; }
.vis-item.is-hidden { display: none; }

/* reviews */
.rating-big { font-size: 1.05rem; color: var(--mute); margin-top: .6rem; }
.rating-big .stars { font-size: 1.3rem; }
.rating-big b { color: var(--ink); font-size: 1.3rem; }
.review { background: #fff; border-radius: 18px; padding: 1.5rem; height: 100%; margin: 0; box-shadow: 0 8px 24px rgba(28, 30, 43, .08); display: flex; flex-direction: column; position: relative; }
.review::before { content: "“"; position: absolute; right: 1.2rem; top: -.2rem; font-family: 'Lora'; font-size: 5rem; color: rgba(217, 71, 43, .15); line-height: 1; }
.review .stars { font-size: 1.05rem; margin-bottom: .6rem; }
.review blockquote { font-family: 'Lora'; font-size: 1.08rem; color: var(--text); margin: 0 0 1.1rem; }
.review figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.review figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.review figcaption small { color: var(--mute); font-size: .8rem; }
.review .verified { color: #2e8b57; font-weight: 600; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--fire), var(--gold)); color: #fff; font-family: 'Poppins'; font-weight: 700; }

/* author */
.author-photo { width: min(360px, 88%); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; margin: 0 auto; position: relative; box-shadow: 0 22px 50px rgba(28, 30, 43, .25); }
.author-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--fire), var(--gold)); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.link-fire { font-family: 'Poppins'; font-weight: 600; text-decoration: none; }

/* faq */
.accordion-item { border: 0; border-radius: 12px !important; margin-bottom: .7rem; overflow: hidden; box-shadow: 0 4px 14px rgba(28, 30, 43, .06); }
.accordion-button { font-family: 'Poppins'; font-weight: 600; font-size: 1rem; color: var(--ink); }
.accordion-button:not(.collapsed) { background: #fff; color: var(--fire); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(217, 71, 43, .15); }
.accordion-body { color: #3c3f52; }

/* final */
.final { background: radial-gradient(800px 400px at 50% 0%, #3a2414, transparent 70%), var(--ink); padding: 5rem 0; }
.final-quote { font-family: 'Lora'; font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--gold); margin-bottom: 1rem; }

/* footer */
.footer { background: #070503; color: #9d9384; padding: 1.6rem 0 5.5rem; font-size: .9rem; }
.footer a { color: #d9cfbf; text-decoration: none; }
.footer a:hover { color: #fff; }
@media (min-width: 992px) { .footer { padding-bottom: 1.6rem; } }

/* sticky buy bar (phones) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: rgba(12, 9, 5, .96); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: .65rem 1rem; transform: translateY(110%); transition: transform .3s ease; border-top: 1px solid rgba(255, 255, 255, .1); }
.buybar.show { transform: none; }
.buybar b { font-family: 'Poppins'; font-size: 1.35rem; }
.buybar s { color: #9d9384; margin-left: .3rem; }
.buybar small { display: block; font-size: .72rem; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }

/* modal */
#viewer .modal-content { border-radius: 16px; border: 0; }
#viewer .modal-title { font-family: 'Poppins'; font-weight: 700; font-size: 1.05rem; }
#viewerImg { max-height: 74vh; border-radius: 6px; box-shadow: 0 8px 26px rgba(0, 0, 0, .15); }
#viewerCap { color: var(--mute); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .book3d { transform: none; } }

@media (max-width: 575px) {
  .section { padding: 3.6rem 0; }
  .hero { padding: 3rem 0; }
  .price-now { font-size: 2.2rem; }
  .voice.beast { margin-right: 0; } .voice.tamer { margin-left: 0; }
}
