@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#070406;--ink:#fbf3f1;--muted:#d8c6c7;--soft:#aa969b;--petal:#f3d6d5;--rose:#e8b4bc;--line:rgba(255,226,228,.15);--glass:rgba(15,9,11,.68);--r:20px;font-family:'Nunito Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-synthesis:none;-webkit-text-size-adjust:100%}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg);scroll-behavior:smooth}
body{margin:0;min-height:100vh;position:relative;isolation:isolate;overflow-x:hidden;color:var(--ink);line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;transform:translateZ(0);background:radial-gradient(ellipse at 50% 40%,transparent 34%,rgba(5,2,4,.5)),linear-gradient(180deg,rgba(7,4,6,.62),rgba(7,4,6,.36) 40%,rgba(7,4,6,.7)),url(sakura-night.webp?v=1) 50% 40%/cover no-repeat}
a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button{font:inherit}
button:focus-visible,a:focus-visible{outline:2px solid var(--petal);outline-offset:3px}
main{position:relative;z-index:1;width:min(100% - 40px,1000px);margin:0 auto;padding:clamp(40px,7vw,84px) 0 80px}

/* header */
.intro{display:flex;flex-direction:column;align-items:center;gap:20px;margin:0 auto clamp(30px,4vw,44px);text-align:center}
.hero-mark{display:flex;justify-content:center;width:100%}
.hero-word{font-size:clamp(54px,8vw,88px);line-height:1;font-weight:800;letter-spacing:-.045em;color:var(--ink);text-shadow:0 2px 28px rgba(0,0,0,.55),0 0 64px rgba(243,214,213,.16)}
.delivery-badge{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:10px 18px;border:1px solid var(--line);border-radius:999px;background:var(--glass);-webkit-backdrop-filter:blur(14px) saturate(120%);backdrop-filter:blur(14px) saturate(120%)}
.delivery-badge strong{display:block;font-size:12.5px;font-weight:700;letter-spacing:.01em}.delivery-badge small{display:none}
.delivery-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--petal);box-shadow:0 0 0 3px rgba(243,214,213,.14),0 0 14px rgba(243,214,213,.6);animation:pulse 2.6s ease-in-out infinite}

/* reviews + support: one rectangular row above the first category */
.help-links,.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.help-links{margin-bottom:14px}
.review-card,.support-card,.product{border:1px solid var(--line);border-radius:var(--r);background:var(--glass);-webkit-backdrop-filter:blur(16px) saturate(120%);backdrop-filter:blur(16px) saturate(120%);animation:rise .6s cubic-bezier(.2,.7,.2,1) both;transition:transform .25s,border-color .25s,background .25s}
.review-card,.support-card{display:flex;align-items:center;justify-content:center;min-width:0;min-height:68px;padding:0 32px;border-radius:999px;font-size:1.1rem;font-weight:600;letter-spacing:-.005em;text-align:center}
.review-card:hover,.support-card:hover,.product:hover{transform:translateY(-3px);border-color:rgba(243,214,213,.36);background:rgba(24,15,18,.74)}

/* categories */
.product{display:flex;flex-direction:column;justify-content:space-between;gap:22px;min-width:0;min-height:196px;padding:clamp(22px,2.4vw,28px)}
.product h2{max-width:24ch;font-size:clamp(20px,2.2vw,25px);font-weight:700;line-height:1.2;letter-spacing:-.02em;text-wrap:balance}
.features{margin:12px 0 0;padding:0;list-style:none}
.features li{display:inline-flex;align-items:center;gap:9px;color:var(--muted);font-size:13.5px}
.features strong{font-weight:600}.feature-mark{color:var(--rose);font-size:11px}
.purchase{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding-top:18px;border-top:1px solid var(--line)}
.price-stack{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:16px;row-gap:4px;min-width:0}
.price-stack strong{font-size:27px;font-weight:800;line-height:1.1;letter-spacing:-.03em}
.price-stack span{color:var(--soft);font-size:12.5px;font-weight:600;white-space:nowrap}
.buy{flex:none;width:100%;min-height:48px;padding:0 22px;border:0;border-radius:12px;color:#2b1519;background:var(--petal);font-size:14px;font-weight:700;cursor:pointer;transition:transform .2s,background .2s,box-shadow .2s}
.buy span{display:none}
.buy:hover{background:#fff1ef;transform:translateY(-1px);box-shadow:0 8px 26px rgba(243,214,213,.28)}
.product-gold{border-color:rgba(243,214,213,.3);background:linear-gradient(135deg,rgba(58,31,39,.74),rgba(15,9,11,.7))}
.product:last-child:nth-child(odd){grid-column:1/-1;min-height:0}
@media(min-width:651px){.product:last-child:nth-child(odd){flex-direction:row;align-items:center}.product:last-child:nth-child(odd) .purchase{flex-direction:row;align-items:center;padding:0;border:0;gap:30px}.product:last-child:nth-child(odd) .buy{width:auto}}

/* payment window */
.overlay[hidden]{display:none!important}
.overlay{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:20px;background:rgba(4,2,3,.72);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:fade .22s both}
.dialog{position:relative;width:min(100%,460px);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:auto;padding:28px;border:1px solid rgba(255,226,228,.2);border-radius:24px;background:linear-gradient(160deg,rgba(42,25,30,.97),rgba(14,9,11,.98));box-shadow:0 40px 100px rgba(0,0,0,.7);animation:pop .28s cubic-bezier(.2,.8,.2,1) both}
.dialog h2{margin:0 38px 18px 0;font-size:clamp(22px,4.5vw,26px);font-weight:700;line-height:1.2;letter-spacing:-.02em;overflow-wrap:anywhere}
.eyebrow,.chosen[hidden]{display:none}
.close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;transition:border-color .2s,color .2s}
.close:hover{border-color:rgba(243,214,213,.45);color:var(--ink)}
.methods{display:grid;gap:8px}
.methods button{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:0 16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,235,235,.04);color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.methods button:hover{border-color:rgba(243,214,213,.42);background:rgba(243,214,213,.08)}
.method-icon{width:22px;color:var(--petal);font-size:17px;text-align:center}
.method-name{flex:1;font-size:14px;font-weight:600}
.method-amount{font-size:14px;font-weight:700;white-space:nowrap}
.methods i{flex:none;width:7px;height:7px;border:solid var(--soft);border-width:1.5px 1.5px 0 0;transform:rotate(45deg)}
.status{margin-top:14px;color:var(--soft);font-size:12.5px;line-height:1.5}.status:empty{display:none}

@keyframes rise{from{opacity:0;transform:translateY(12px)}}
@keyframes fade{from{opacity:0}}
@keyframes pop{from{opacity:0;transform:translateY(10px) scale(.98)}}
@keyframes pulse{0%,100%{opacity:.7}50%{opacity:1}}
.help-links>*{animation-delay:.05s}.product:nth-child(odd){animation-delay:.12s}.product:nth-child(even){animation-delay:.18s}

@media(max-width:650px){
main{width:min(100% - 26px,520px);padding-top:34px;padding-bottom:48px}
body:before{background-position:center,center,42% 40%}
.intro{gap:16px;margin-bottom:26px}.delivery-badge{padding:10px 15px}.delivery-badge strong{font-size:11.5px}
.help-links,.products{gap:10px}.help-links{margin-bottom:10px}.products{grid-template-columns:1fr}
.review-card,.support-card{min-height:64px;padding:0 10px;font-size:.95rem}
.product{min-height:0;gap:18px;padding:22px;border-radius:18px}.product h2{max-width:none}
.price-stack strong{font-size:25px}.price-stack{column-gap:12px}.buy{min-height:42px;padding:0 18px}
.dialog{padding:26px 20px 20px;border-radius:22px}
}
@media(max-width:360px){.price-stack span{font-size:11.5px}.buy{padding:0 14px}}
@media(hover:none){.review-card:hover,.support-card:hover,.product:hover,.buy:hover{transform:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* "от" перед рублёвой ценой */
.price-stack .from-label{margin-right:7px;color:var(--soft);font-size:14px;font-weight:600;letter-spacing:0}

/* окно: выбор количества видео */
.dialog-sub{margin:-8px 0 18px;color:var(--soft);font-size:13.5px}
.back-button{display:inline-flex;align-items:center;gap:6px;margin:0 0 14px;padding:0;border:0;background:none;color:var(--soft);font-size:13px;font-weight:600;cursor:pointer;transition:color .2s}
.back-button[hidden]{display:none}
.back-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.back-button:hover{color:var(--ink)}
.tier-list{display:grid;gap:12px}
.tier-choice{display:flex;flex-direction:column;gap:14px;width:100%;padding:18px 18px 16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,235,235,.04);color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.tier-choice:hover{border-color:rgba(243,214,213,.42);background:rgba(243,214,213,.08)}
.tier-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tier-count{font-size:21px;font-weight:800;letter-spacing:-.02em}
.tier-count small{margin-left:6px;color:var(--soft);font-size:13px;font-weight:600;letter-spacing:0}
.tier-arrow{flex:none;width:8px;height:8px;margin-right:3px;border:solid var(--soft);border-width:1.6px 1.6px 0 0;transform:rotate(45deg)}
.tier-prices{display:flex;flex-wrap:wrap;gap:8px;padding-top:14px;border-top:1px solid var(--line)}
.tier-price{display:inline-flex;align-items:center;min-height:32px;padding:0 14px;border-radius:999px;background:rgba(243,214,213,.08);color:var(--muted);font-size:13px;font-weight:700;white-space:nowrap}
.tier-price.main{background:var(--petal);color:#2b1519}
@media(max-width:650px){.tier-choice{padding:16px 16px 14px}.tier-count{font-size:19px}.tier-price{padding:0 12px;font-size:12.5px}}
@media(max-width:380px){.help-links{grid-template-columns:1fr}.review-card,.support-card{min-height:60px}}
