/* SOLUTION */
.solution{padding:130px 0 120px; background: linear-gradient(180deg, var(--bg-warm) 0%, #FFF4DC 100%); position:relative}
.sol-shell{display:grid; grid-template-columns: 1fr 340px; gap:80px; align-items:start; position:relative}
.sol-phone-col{position:sticky; top:110px; height:640px; display:flex; align-items:center; justify-content:center}

.sol-phone{
  position:relative; width:300px; height:600px;
  background:#141C24; border-radius:44px; padding:12px;
  box-shadow: 0 40px 80px -20px rgba(79,54,24,.4), 0 10px 24px rgba(79,54,24,.12);
}
.sol-phone::before{
  content:""; position:absolute; top:14px; left:50%; transform:translateX(-50%);
  width:110px; height:26px; background:#0A0E13; border-radius:999px; z-index:3;
}
.sol-screen{
  width:100%; height:100%; background:var(--surface);
  border-radius:34px; overflow:hidden; position:relative;
}
.sol-frame{
  position:absolute; inset:0;
  opacity:0; transform:translateY(18px) scale(.98);
  transition: opacity .5s ease, transform .5s ease;
  padding:44px 16px 14px;
  display:flex; flex-direction:column;
}
.sol-frame.active{opacity:1; transform:none}

.sol-sticker{
  position:absolute; left:-30px; top:-14px;
  background:var(--surface); padding:8px 14px; border-radius:999px;
  box-shadow: var(--shadow-md);
  font-size:12px; font-weight:700; color:var(--brand-ink);
  display:flex; align-items:center; gap:8px;
  z-index:4;
}
.sol-sticker .d{width:7px; height:7px; border-radius:50%; background:var(--brand); box-shadow:0 0 0 3px rgba(223,153,91,.25)}

.sol-feat-col{display:flex; flex-direction:column; gap:20px; padding-bottom:80px}
.sol-feature{
  padding:28px 30px 28px 30px;
  background:var(--surface);
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s, box-shadow .4s, border-color .3s;
  display:grid; grid-template-columns:56px 1fr; gap:20px; align-items:start;
  cursor:pointer;
}
.sol-feature:hover{transform:translateY(-4px); box-shadow: var(--shadow-md)}
.sol-feature.active{
  border-color:var(--brand); background:linear-gradient(180deg, var(--surface), #FFF8EC);
  box-shadow: 0 8px 20px -8px rgba(223,153,91,.35), 0 40px 80px -24px rgba(223,153,91,.3);
}
.sol-feature .ico{
  width:56px; height:56px; border-radius:16px;
  display:grid; place-items:center;
  background:var(--brand-soft); color:var(--brand-ink);
  transition: background .3s, color .3s;
}
.sol-feature.active .ico{background:var(--brand); color:#fff}
.sol-feature .ico svg{width:26px; height:26px}
.sol-feature h3{font-size:22px; margin-bottom:8px}
.sol-feature p{color:var(--ink-2); font-size:14.5px; line-height:1.55}
.sol-feature .tags{display:flex; gap:6px; flex-wrap:wrap; margin-top:12px}
.sol-feature .tags span{padding:4px 10px; background:var(--bg); border-radius:999px; font-size:11.5px; font-weight:600; color:var(--ink-3)}
.sol-feature.active .tags span{background:var(--brand-soft); color:var(--brand-ink)}

@media (max-width:980px){
  .sol-shell{grid-template-columns:1fr; gap:40px}
  .sol-phone-col{position:relative; top:0; order:-1; height:auto}
}

/* Frame designs inside sol-phone */
.f-header{display:flex; align-items:center; gap:10px; padding:4px 8px 14px; border-bottom:1px solid var(--line); margin-bottom:14px}
.f-avatar{width:30px; height:30px; border-radius:50%; background:var(--brand-soft); display:grid; place-items:center; overflow:hidden}
.f-avatar img{width:30px; height:30px; object-fit:cover; object-position:center top}
.f-header .t{font-family:'Unbounded'; font-weight:600; font-size:14px}
.f-header .s{font-size:10.5px; color:var(--brand); font-weight:600; margin-top:1px; display:flex; align-items:center; gap:4px}
.f-header .s::before{content:""; width:6px; height:6px; border-radius:50%; background:#4CC35F}
.f-header .meta{margin-left:auto; width:28px; height:28px; border-radius:10px; background:var(--bg); display:grid; place-items:center; color:var(--ink-3)}

/* frame 1: explanation */
.f1-q{background:var(--sec); color:#fff; padding:10px 12px; border-radius:14px 14px 4px 14px; font-size:12px; align-self:flex-end; max-width:80%; margin-left:auto}
.f1-a{background:#F6E8CF; padding:11px 13px; border-radius:14px 14px 14px 4px; font-size:12px; margin-top:8px; max-width:90%; line-height:1.45}
.f1-a .b{font-weight:700; color:var(--brand-deep)}
.f1-formula{margin-top:8px; padding:10px 12px; background:#FFF; border:1px dashed var(--line-2); border-radius:10px; font-family:'Unbounded'; font-size:13px; color:var(--ink); text-align:center}
.f1-steps{margin-top:10px; display:flex; flex-direction:column; gap:6px}
.f1-steps .step{display:flex; align-items:flex-start; gap:8px; font-size:11.5px; color:var(--ink-2)}
.f1-steps .step .n{width:18px; height:18px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-size:10px; font-weight:800; flex-shrink:0}

/* frame 2: trainer */
.f2-title{font-family:'Unbounded'; font-size:13px; font-weight:600; display:flex; justify-content:space-between; align-items:center; margin-bottom:8px}
.f2-title .pill{padding:3px 8px; background:var(--brand); color:#fff; border-radius:999px; font-size:10px; font-weight:700}
.f2-progress{height:6px; background:var(--bg); border-radius:999px; overflow:hidden; margin-bottom:16px}
.f2-progress i{display:block; height:100%; width:70%; background:linear-gradient(90deg, var(--brand), #E8B07C); border-radius:999px}
.f2-q{font-size:13px; font-weight:600; margin-bottom:12px; line-height:1.4}
.f2-opts{display:flex; flex-direction:column; gap:7px}
.f2-opt{padding:10px 12px; background:#F9EEDA; border-radius:10px; font-size:12px; display:flex; align-items:center; gap:10px; border:1.5px solid transparent}
.f2-opt .l{width:22px; height:22px; border-radius:7px; background:var(--surface); display:grid; place-items:center; font-weight:700; font-size:11px; color:var(--ink-2)}
.f2-opt.ok{background:#E8F5E1; border-color:#A9D58E}
.f2-opt.ok .l{background:#6FBE4A; color:#fff}
.f2-opt.bad{background:#F8DED4; border-color:#E8A48E}
.f2-opt.bad .l{background:#D85A3A; color:#fff}

/* frame 3: subject grid */
.f3-head{font-family:'Unbounded'; font-size:14px; font-weight:600; margin-bottom:12px}
.f3-head .sub{font-size:11px; color:var(--ink-3); font-weight:500; margin-top:2px; font-family:'Manrope'}
.f3-grid{display:grid; grid-template-columns:1fr 1fr; gap:8px}
.f3-sub{padding:12px 10px; border-radius:12px; font-size:11.5px; font-weight:600; position:relative; overflow:hidden}
.f3-sub .ic{width:26px; height:26px; border-radius:8px; background:rgba(255,255,255,.6); display:grid; place-items:center; margin-bottom:8px; font-weight:800; font-size:13px}
.f3-sub .prog{font-size:10px; color:var(--ink-3); margin-top:3px; font-weight:500}
.f3-sub.c1{background:#F9E0C4} .f3-sub.c1 .ic{color:var(--brand-ink)}
.f3-sub.c2{background:#D5E4EB} .f3-sub.c2 .ic{color:var(--sec)}
.f3-sub.c3{background:#F4D9D3} .f3-sub.c3 .ic{color:#9A4A35}
.f3-sub.c4{background:#DDE8D4} .f3-sub.c4 .ic{color:#4E6E3D}

/* frame 4: checked essay */
.f4-title{font-family:'Unbounded'; font-size:13px; font-weight:600; display:flex; justify-content:space-between; align-items:center; margin-bottom:10px}
.f4-score{background:var(--brand); color:#fff; padding:4px 10px; border-radius:999px; font-size:11px; font-weight:700}
.f4-para{font-size:11px; line-height:1.55; color:var(--ink-2); padding:10px 12px; background:#F9EEDA; border-radius:10px; margin-bottom:8px}
.f4-para .good{background:#DDECCB; padding:1px 3px; border-radius:3px; color:#3C5E2A}
.f4-para .bad{background:#F5D4C4; padding:1px 3px; border-radius:3px; color:#8B3A1E; text-decoration:line-through}
.f4-para .ins{background:#E1EAF2; padding:1px 3px; border-radius:3px; color:var(--sec-ink); font-weight:600}
.f4-note{padding:10px 12px; background:var(--surface); border:1px solid var(--line); border-radius:10px; font-size:11px; color:var(--ink-2); display:flex; gap:8px}
.f4-note .dot{width:6px; height:6px; border-radius:50%; background:var(--brand); margin-top:5px; flex-shrink:0}

/* SOCIAL PROOF */
.social{padding:120px 0; background: linear-gradient(180deg, #FFF4DC 0%, var(--bg) 100%); overflow:hidden}
.review-scroll{position:relative; margin:0 -28px; padding: 20px 28px 40px; overflow-x:auto; -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; scrollbar-width:none}
.review-scroll::-webkit-scrollbar{display:none}
.review-track{display:flex; gap:22px; padding-bottom:10px}
.review{
  flex:0 0 380px; scroll-snap-align:start;
  background:var(--surface); border-radius:var(--radius); padding:26px 28px;
  border:1px solid var(--line); box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column;
  transition: transform .3s, box-shadow .3s;
}
.review:hover{transform:translateY(-6px); box-shadow: var(--shadow-md)}
.review .stars{color:var(--brand); font-size:16px; letter-spacing:2px; margin-bottom:12px}
.review .quote{font-size:15.5px; color:var(--ink); line-height:1.55; flex:1; margin-bottom:20px}
.review .who{display:flex; align-items:center; gap:12px}
.review .who .av{
  width:44px; height:44px; border-radius:50%;
  background:var(--brand-soft); display:grid; place-items:center;
  font-family:'Unbounded'; font-weight:700; color:var(--brand-ink); font-size:16px;
  flex-shrink:0;
}
.review .who .av.b{background:var(--sec-soft); color:var(--sec)}
.review .who .av.c{background:#FFE8C4; color:var(--brand-deep)}
.review .who .av.d{background:#DDEBD2; color:#4E6E3D}
.review .who .av.e{background:#F5D4C4; color:#8B3A1E}
.review .who .name{font-weight:700; font-size:14.5px}
.review .who .meta{font-size:12px; color:var(--ink-3); margin-top:2px}
.review .who .result{margin-left:auto; padding:5px 10px; background:var(--brand-soft); color:var(--brand-ink); border-radius:999px; font-size:11.5px; font-weight:700}

.scroll-ctrls{display:flex; align-items:center; justify-content:center; gap:16px; margin-top:24px}
.scroll-btn{
  width:44px; height:44px; border-radius:50%;
  background:var(--surface); border:1px solid var(--line);
  display:grid; place-items:center; color:var(--ink); cursor:pointer;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.scroll-btn:hover{background:var(--brand); color:#fff; border-color:var(--brand); transform:translateY(-2px)}
.scroll-btn svg{width:18px; height:18px}
.scroll-dots{display:flex; gap:8px}
.scroll-dots span{width:8px; height:8px; border-radius:50%; background:var(--line-2); transition:all .3s}
.scroll-dots span.on{background:var(--brand); width:24px; border-radius:999px}

/* PRICING */
.pricing{padding:130px 0 120px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%)}
.price-grid{display:grid; grid-template-columns: 1fr 1fr; gap:28px; max-width:900px; margin:0 auto}
.price{
  position:relative; background:var(--surface); border-radius:28px;
  padding:36px 34px 32px; border:1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  display:flex; flex-direction:column;
}
.price:hover{transform:translateY(-6px); box-shadow: var(--shadow-md)}
.price.best{
  border:2px solid var(--brand);
  box-shadow: 0 8px 22px -6px rgba(223,153,91,.35), 0 40px 80px -20px rgba(223,153,91,.4);
  background: linear-gradient(180deg, #FFF8EC, var(--surface));
  transform:translateY(-8px);
}
.price.best:hover{transform:translateY(-12px)}
.price .ribbon{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  padding:6px 14px; border-radius:999px;
  background:var(--brand); color:#fff; font-size:12px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow: 0 6px 16px -4px rgba(223,153,91,.6);
}
.price .plan{font-family:'Unbounded'; font-weight:700; font-size:20px}
.price .desc{color:var(--ink-3); font-size:14px; margin-top:4px}
.price .cost{margin:22px 0 8px; display:flex; align-items:baseline; gap:6px}
.price .cost .amount{font-family:'Unbounded'; font-weight:700; font-size:52px; letter-spacing:-.03em}
.price .cost .cur{font-family:'Unbounded'; font-size:22px; color:var(--ink-2)}
.price .cost .per{color:var(--ink-3); font-size:14px; margin-left:4px}
.price .was{color:var(--ink-3); font-size:13px; text-decoration:line-through; margin-bottom:12px}
.price .was b{color:var(--brand); text-decoration:none; margin-left:6px; font-weight:700}
.price ul{list-style:none; padding:0; margin:18px 0 26px; display:flex; flex-direction:column; gap:11px}
.price li{display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color:var(--ink-2); line-height:1.4}
.price li svg{width:18px; height:18px; color:var(--brand); flex-shrink:0; margin-top:1px}
.price li.off{color:var(--ink-3); opacity:.55}
.price li.off svg{color:var(--ink-3)}
.price .btn{justify-content:center; width:100%; margin-top:auto}
.price.best .btn-primary{animation: pulsey 2.2s ease-in-out infinite}
@keyframes pulsey{0%,100%{box-shadow: 0 10px 24px -8px rgba(223,153,91,.75), inset 0 -3px 0 rgba(0,0,0,.14)} 50%{box-shadow: 0 10px 24px -8px rgba(223,153,91,.95), 0 0 0 10px rgba(223,153,91,.12), inset 0 -3px 0 rgba(0,0,0,.14)}}
@media (max-width:760px){.price-grid{grid-template-columns:1fr} .price.best{transform:none} .price.best:hover{transform:translateY(-6px)}}

.price-note{text-align:center; margin-top:40px; color:var(--ink-3); font-size:13.5px; display:flex; justify-content:center; gap:24px; flex-wrap:wrap}
.price-note span{display:inline-flex; align-items:center; gap:6px}
.price-note svg{width:14px; height:14px; color:var(--brand)}

/* FINAL CTA */
.final{
  padding:120px 0; position:relative; overflow:hidden;
  background:
    radial-gradient(900px 500px at 20% 70%, rgba(73,111,130,.14), transparent 60%),
    radial-gradient(900px 600px at 85% 75%, rgba(223,153,91,.28), transparent 65%),
    linear-gradient(180deg, #F9E4BE 0%, #FCEDD0 18%, #FFE7BE 100%);
}
.final::before{
  content:""; position:absolute; inset:0 0 auto 0; height:120px; pointer-events:none;
  background:linear-gradient(180deg, #F9E4BE, rgba(249,228,190,0));
  z-index:1;
}
.final .wrap{text-align:center; position:relative}
.final .tag{background:var(--surface)}
.final h2{font-size:clamp(38px, 5.4vw, 72px); line-height:1.02; margin:22px 0 18px}
.final h2 .hl{color:var(--brand-ink)}
.final p{font-size:19px; color:var(--ink-2); max-width:640px; margin:0 auto 36px; line-height:1.55}
.final .cta-row{justify-content:center}
.final .urgency{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 16px; border-radius:999px;
  background:var(--surface); border:1px solid var(--line);
  font-size:13.5px; font-weight:600; color:var(--ink-2);
  margin-bottom:20px;
  box-shadow: var(--shadow-sm);
}
.final .urgency .live{width:8px; height:8px; border-radius:50%; background:#E84C3D; animation:pingB 1.6s infinite}
@keyframes pingB{0%{box-shadow:0 0 0 0 rgba(232,76,61,.6)} 70%{box-shadow:0 0 0 10px rgba(232,76,61,0)} 100%{box-shadow:0 0 0 0 rgba(232,76,61,0)}}
.final .stars{display:inline-flex; justify-content:center; gap:8px; margin-top:32px; color:var(--ink-3); font-size:13px; align-items:center; flex-wrap:wrap}
.final .stars .s{color:var(--brand); letter-spacing:2px; font-size:16px}
.final{padding: 83.6366px 0 130.181px; min-height:892.761px; height:892.761px; background-position:center bottom; background-size:auto; margin:-4.36365px 0 -25.4545px}
.final-mascot{position:absolute; width:160px; z-index:2; filter:drop-shadow(0 20px 30px rgba(79,54,24,.25)); animation: floatyB 7s ease-in-out infinite}
/* happy — user-positioned */
img.final-mascot:not(.r){margin:-60.7272px 1.45459px -235.636px 752px; position:static; display:inline-block}
/* writing_note stays where it was — left side */
img.final-mascot.r{left:4%; bottom:60px; right:auto; top:auto; width:150px; animation-delay:.6s; margin:-29.0908px 0 -16.7272px; position:static; display:inline-block}
@media (max-width:860px){
  .final{padding:100px 0 140px; min-height:auto; height:auto; margin:0;
    background:
      radial-gradient(700px 400px at 50% 85%, rgba(223,153,91,.22), transparent 65%),
      linear-gradient(180deg, #F9E4BE 0%, #FCEDD0 18%, #FFE7BE 100%);
  }
  .final::before{height:80px}
  .final-mascot{width:90px}
  img.final-mascot:not(.r){margin:0; position:absolute; top:20px; right:3%}
  img.final-mascot.r{bottom:20px; left:3%; width:85px}
}

/* Floating notify button (sticky) */
.notify-fab{
  position:fixed; right:18px; bottom:18px; z-index:60;
  display:inline-flex; align-items:center; gap:12px;
  padding:14px 18px 14px 14px; border-radius:999px;
  background:var(--brand); color:#fff; font-weight:700; font-size:15px;
  box-shadow: 0 14px 30px -6px rgba(223,153,91,.7), 0 6px 14px rgba(79,54,24,.2), inset 0 -3px 0 rgba(0,0,0,.14);
  transition: transform .22s, box-shadow .22s;
  cursor:pointer; border:none; font-family:inherit;
  animation: bellShake 4s ease-in-out infinite;
}
.notify-fab:hover{transform:translateY(-3px) scale(1.03)}
.notify-fab .bell{
  width:34px; height:34px; border-radius:50%;
  background:#fff; display:grid; place-items:center; color:var(--brand);
}
.notify-fab .bell svg{width:18px; height:18px}
.notify-fab .sub{font-size:11px; opacity:.85; font-weight:600; margin-top:1px; letter-spacing:.02em}
.notify-fab .txt{display:flex; flex-direction:column; align-items:flex-start; line-height:1.1}
@keyframes bellShake{0%,90%,100%{transform:rotate(0)} 92%{transform:rotate(-6deg)} 94%{transform:rotate(6deg)} 96%{transform:rotate(-4deg)} 98%{transform:rotate(4deg)}}
@media (max-width:520px){.notify-fab .txt{display:none} .notify-fab{padding:12px} .notify-fab .bell{width:30px; height:30px}}

/* FOOTER */
.foot{padding:54px 0 32px; background:var(--surface); border-top:1px solid var(--line)}
.foot-row{display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap}
.foot-brand{max-width:320px}
.foot-brand .brand{margin-bottom:14px}
.foot-brand p{color:var(--ink-3); font-size:13.5px; line-height:1.55}
.foot-cols{display:flex; gap:56px; flex-wrap:wrap}
.foot-col h4{font-family:'Manrope'; font-weight:700; font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); margin-bottom:14px}
.foot-col a{display:block; padding:5px 0; color:var(--ink-2); font-size:14px; transition:color .2s}
.foot-col a:hover{color:var(--brand-ink)}
.foot-bottom{margin-top:40px; padding-top:22px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; color:var(--ink-3); font-size:13px}
