/* =========================== RESET & BASE =========================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;line-height:1.7;color:#1e1b4b;background:#faf9ff;overflow-x:hidden}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}
strong{font-weight:700;color:#5b21b6}
.container{max-width:1140px;margin:0 auto;padding:0 24px}

/* =========================== HEADER =========================== */
.header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(124,58,237,.1);transition:box-shadow .35s}
.header--scrolled{box-shadow:0 8px 36px rgba(91,33,182,.12)}
.header__inner{display:flex;align-items:center;justify-content:space-between;height:72px}
.header__logo{display:flex;align-items:center;gap:8px;font-size:1.6rem;font-weight:800;letter-spacing:-.4px;color:#5b21b6;transition:opacity .25s}
.header__logo:hover{opacity:.78}
.header__logo-dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,#f97316,#ef4444);animation:pulse-dot 2s infinite}
@keyframes pulse-dot{0%,100%{transform:scale(1)}50%{transform:scale(1.7);opacity:.5}}

.header__nav{}
.header__list{display:flex;gap:28px}
.header__link{font-size:.94rem;font-weight:600;color:#4c1d95;position:relative;padding:6px 0;transition:color .25s}
.header__link::after{content:'';position:absolute;left:0;bottom:0;width:0;height:2.5px;background:linear-gradient(90deg,#7c3aed,#f97316);border-radius:2px;transition:width .35s cubic-bezier(.25,.8,.25,1.2)}
.header__link:hover{color:#7c3aed}
.header__link:hover::after{width:100%}

.header__burger{display:none;flex-direction:column;gap:6px;background:none;border:none;cursor:pointer;padding:6px;z-index:1001}
.header__burger span{display:block;width:28px;height:3px;background:#5b21b6;border-radius:3px;transition:all .35s}
.header__burger--active span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}
.header__burger--active span:nth-child(2){opacity:0}
.header__burger--active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}

/* =========================== HERO =========================== */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#ede9fe 0%,#ddd6fe 35%,#fce7f3 70%,#fff7ed 100%);overflow:hidden;padding:120px 0 80px}
.hero__overlay{position:absolute;inset:0;background:radial-gradient(ellipse at 30% 40%,rgba(124,58,237,.14) 0%,transparent 60%),radial-gradient(ellipse at 70% 70%,rgba(249,115,22,.1) 0%,transparent 55%)}
.hero__content{position:relative;z-index:2;text-align:center;max-width:780px;animation:fadeInUp .9s cubic-bezier(.22,.61,.36,1)}
@keyframes fadeInUp{from{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}

.hero__title{font-size:clamp(2.1rem,5vw,3.6rem);font-weight:900;line-height:1.2;background:linear-gradient(135deg,#5b21b6 0%,#7c3aed 40%,#f97316 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:24px;letter-spacing:-.6px}
.hero__subtitle{font-size:1.12rem;line-height:1.8;color:#4a3f7a;margin-bottom:36px;max-width:620px;margin-left:auto;margin-right:auto}
.hero__btn{display:inline-block;padding:16px 44px;font-size:1.1rem;font-weight:700;color:#fff;background:linear-gradient(135deg,#7c3aed,#5b21b6);border-radius:50px;box-shadow:0 12px 34px rgba(124,58,237,.35);transition:all .35s;letter-spacing:.2px}
.hero__btn:hover{transform:translateY(-3px);box-shadow:0 20px 44px rgba(124,58,237,.5);background:linear-gradient(135deg,#8b5cf6,#6d28d9)}

.hero__shape{position:absolute;border-radius:50%;filter:blur(90px);opacity:.22;z-index:0}
.hero__shape--1{width:420px;height:420px;background:#c084fc;top:-120px;right:-80px;animation:floatA 9s ease-in-out infinite}
.hero__shape--2{width:340px;height:340px;background:#fdba74;bottom:-100px;left:-60px;animation:floatB 11s ease-in-out infinite}
@keyframes floatA{0%,100%{transform:translate(0,0)}33%{transform:translate(30px,-40px)}66%{transform:translate(-20px,20px)}}
@keyframes floatB{0%,100%{transform:translate(0,0)}33%{transform:translate(-25px,30px)}66%{transform:translate(35px,-25px)}}

/* =========================== SECTIONS =========================== */
.section{padding:90px 0;opacity:0;transform:translateY(36px);transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1)}
.section--visible{opacity:1;transform:translateY(0)}
.section--alt{background:#f5f3ff}
.section--faq{background:linear-gradient(180deg,#faf9ff 0%,#f5f3ff 100%)}

.section__title{font-size:clamp(1.5rem,3.2vw,2.2rem);font-weight:800;color:#3b0764;margin-bottom:40px;position:relative;padding-left:22px;letter-spacing:-.3px}
.section__title::before{content:'';position:absolute;left:0;top:6px;bottom:6px;width:6px;background:linear-gradient(180deg,#7c3aed,#f97316);border-radius:20px}

.section__grid{display:grid;grid-template-columns:1.5fr 1fr;gap:48px;align-items:center}
.section__grid--reverse{direction:rtl}
.section__grid--reverse > *{direction:ltr}

.section__text p{margin-bottom:18px;font-size:1.05rem;color:#3d3268;line-height:1.85}
.section__text p:last-child{margin-bottom:0}

.section__card{background:#fff;border-radius:20px;padding:36px 30px;text-align:center;box-shadow:0 10px 40px rgba(91,33,182,.08);transition:transform .4s,box-shadow .4s;opacity:0;transform:translateY(30px)}
.section--visible .section__card{opacity:1;transform:translateY(0);transition-delay:.15s}
.section__card:hover{transform:translateY(-8px);box-shadow:0 24px 54px rgba(91,33,182,.16)}
.section__card--accent{background:linear-gradient(145deg,#fff,#fefce8);border:2px solid rgba(249,115,22,.15)}
.section__icon-wrap{margin-bottom:20px;display:flex;justify-content:center}
.section__icon{width:64px;height:64px;color:#7c3aed}
.section__card--accent .section__icon{color:#f97316}
.section__card-text{font-size:1rem;color:#4a3f7a;line-height:1.6}

/* =========================== FAQ =========================== */
.faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.faq__item{background:#fff;border-radius:16px;border:1px solid rgba(124,58,237,.12);overflow:hidden;transition:box-shadow .3s,border-color .3s}
.faq__item[open]{border-color:rgba(124,58,237,.3);box-shadow:0 14px 40px rgba(91,33,182,.1)}
.faq__question{font-size:1.08rem;font-weight:700;color:#3b0764;padding:22px 56px 22px 28px;cursor:pointer;position:relative;list-style:none;transition:color .25s}
.faq__question::-webkit-details-marker{display:none}
.faq__question::after{content:'+';position:absolute;right:24px;top:50%;transform:translateY(-50%);font-size:1.8rem;font-weight:300;color:#7c3aed;transition:transform .4s}
.faq__item[open] .faq__question::after{transform:translateY(-50%) rotate(45deg);color:#f97316}
.faq__question:hover{color:#7c3aed}
.faq__answer{padding:0 28px 24px;font-size:1rem;color:#4a3f7a;line-height:1.8;animation:fadeIn .4s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}

/* =========================== FOOTER =========================== */
.footer{background:#1e1b4b;color:#c4b5fd;padding:56px 0 28px}
.footer__inner{display:grid;grid-template-columns:2fr 1fr;gap:40px}
.footer__logo{font-size:1.7rem;font-weight:800;color:#ede9fe;letter-spacing:-.4px}
.footer__desc{margin-top:16px;font-size:.94rem;line-height:1.8;max-width:480px;color:#a78bfa}
.footer__desc strong{color:#ddd6fe}
.footer__links{display:flex;gap:48px}
.footer__heading{font-size:1rem;font-weight:700;color:#ede9fe;margin-bottom:16px}
.footer__col ul{display:flex;flex-direction:column;gap:10px}
.footer__col a{font-size:.92rem;color:#a78bfa;transition:color .25s}
.footer__col a:hover{color:#f97316}
.footer__bottom{margin-top:40px;padding-top:24px;border-top:1px solid rgba(196,181,253,.15);text-align:center;font-size:.86rem;color:#8b7acb}
.footer__bottom strong{color:#c4b5fd}

/* =========================== RESPONSIVE =========================== */
@media (max-width:960px){
    .section__grid{grid-template-columns:1fr;gap:32px}
    .section__grid--reverse{direction:ltr}
    .footer__inner{grid-template-columns:1fr;gap:32px}
    .footer__links{justify-content:flex-start;gap:36px}
}

@media (max-width:768px){
    .header__nav{position:fixed;top:0;right:-280px;width:280px;height:100vh;background:#fff;padding:100px 32px 40px;box-shadow:-6px 0 40px rgba(0,0,0,.08);transition:right .45s cubic-bezier(.4,0,.2,1);z-index:1000}
    .header__nav--open{right:0}
    .header__list{flex-direction:column;gap:20px}
    .header__link{font-size:1.1rem;display:block;padding:10px 0}
    .header__burger{display:flex}
    .hero{padding:100px 0 60px}
    .hero__title{font-size:1.8rem}
    .hero__subtitle{font-size:1rem}
    .section{padding:56px 0}
    .section__title{font-size:1.35rem}
    .section__card{padding:26px 20px}
    .faq__question{font-size:1rem;padding:18px 52px 18px 20px}
    .footer{padding:40px 0 20px}
    .footer__links{flex-direction:column;gap:24px}
}

@media (max-width:480px){
    .container{padding:0 16px}
    .hero__btn{padding:14px 32px;font-size:1rem}
    .hero__shape{display:none}
    .section__title{padding-left:16px}
    .section__title::before{width:4px}
}