[x-cloak] { display: none !important; }

/* ===================== WonderTale — app.css ===================== */

:root {
    --wt-purple:   #7C3AED;
    --wt-purple-l: #EDE9FE;
    --wt-gold:     #F59E0B;
    --wt-gold-l:   #FEF3C7;
    --wt-pink:     #EC4899;
    --wt-pink-l:   #FCE7F3;
    --wt-bg:       #FFFBF7;
    --wt-dark:     #1E1B4B;
    --wt-gray:     #6B7280;
    --wt-border:   #E5E7EB;
    --wt-radius:   16px;
    --wt-shadow:   0 4px 24px rgba(124,58,237,.10);
    --wt-shadow-h: 0 8px 40px rgba(124,58,237,.18);
}

/* ---- Base ---- */
body { font-family: 'Inter', sans-serif; background: var(--wt-bg); color: var(--wt-dark); }
h1,h2,h3,h4,h5 { font-family: 'Nunito', sans-serif; font-weight: 800; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

/* ---- Navbar ---- */
.wt-navbar { box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.wt-logo { font-family: 'Nunito', sans-serif; font-weight: 900; color: var(--wt-purple); font-size: 1.3rem; text-decoration: none; }
.wt-logo:hover { color: var(--wt-purple); }
.wt-logo-icon { font-size: 1.1em; }
.navbar .nav-link { color: var(--wt-dark); font-weight: 600; transition: color .2s; }
.navbar .nav-link:hover { color: var(--wt-purple); }

/* ---- Buttons ---- */
.wt-btn-primary {
    background: linear-gradient(135deg, var(--wt-purple), #9F67FA);
    color: #fff;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(124,58,237,.35);
}
.wt-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,.45); }

.wt-btn-outline {
    border: 2px solid var(--wt-purple);
    color: var(--wt-purple);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    background: transparent;
    transition: all .2s;
}
.wt-btn-outline:hover { background: var(--wt-purple); color: #fff; }

.wt-btn-gold {
    background: linear-gradient(135deg, var(--wt-gold), #FBBF24);
    color: var(--wt-dark);
    border: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(245,158,11,.35);
}
.wt-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.45); color: var(--wt-dark); }

/* ---- Hero ---- */
.wt-hero {
    background: linear-gradient(135deg, #F5F3FF 0%, #FFF3E0 50%, #FCE7F3 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.wt-hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,.08), transparent 70%);
    top: -200px; right: -100px;
    pointer-events: none;
}
.wt-hero-badge {
    display: inline-block;
    background: var(--wt-purple-l);
    color: var(--wt-purple);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.wt-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; color: var(--wt-dark); }
.wt-hero h1 span { color: var(--wt-purple); }
.wt-hero-sub { font-size: 1.1rem; color: var(--wt-gray); max-width: 480px; line-height: 1.7; }
.wt-hero-visual {
    background: linear-gradient(135deg, #EDE9FE, #FDF4FF);
    border-radius: 24px;
    min-height: 380px;
    display: flex; align-items: center; justify-content: center;
    font-size: 7rem;
    box-shadow: var(--wt-shadow-h);
    position: relative;
    overflow: hidden;
}
.wt-hero-visual::after {
    content: '⭐';
    position: absolute;
    font-size: 2rem;
    top: 20px; right: 30px;
    animation: float 3s ease-in-out infinite;
}
.wt-hero-visual::before {
    content: '🌟';
    position: absolute;
    font-size: 1.5rem;
    bottom: 30px; left: 20px;
    animation: float 4s ease-in-out infinite reverse;
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---- Stats bar ---- */
.wt-stats { background: var(--wt-purple); }
.wt-stat-item { color: #fff; text-align: center; padding: 24px 16px; }
.wt-stat-num { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 2rem; display: block; }
.wt-stat-label { font-size: .85rem; opacity: .8; }

/* ---- Section titles ---- */
.wt-section { padding: 80px 0; }
.wt-section-light { background: #FFFBF7; }
.wt-section-soft { background: linear-gradient(135deg, #F5F3FF 0%, #FFF3E0 100%); }
.wt-section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--wt-dark); }
.wt-section-sub { color: var(--wt-gray); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ---- Steps ---- */
.wt-step-card {
    background: #fff;
    border-radius: var(--wt-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--wt-shadow);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
    border: 1px solid var(--wt-border);
}
.wt-step-card:hover { transform: translateY(-6px); box-shadow: var(--wt-shadow-h); }
.wt-step-num {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--wt-purple), #9F67FA);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 900; font-size: 1.3rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.wt-step-icon { font-size: 2.2rem; margin-bottom: 12px; }
.wt-step-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.wt-step-card p { color: var(--wt-gray); font-size: .95rem; margin: 0; }

/* ---- Example cards ---- */
.wt-example-card {
    background: #fff;
    border-radius: var(--wt-radius);
    overflow: hidden;
    box-shadow: var(--wt-shadow);
    transition: transform .25s, box-shadow .25s;
    border: 1px solid var(--wt-border);
}
.wt-example-card:hover { transform: translateY(-6px); box-shadow: var(--wt-shadow-h); }
.wt-example-cover {
    height: 200px;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem;
}
.wt-example-body { padding: 20px; }
.wt-example-tag {
    display: inline-block;
    background: var(--wt-purple-l);
    color: var(--wt-purple);
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    font-family: 'Nunito', sans-serif;
}

/* ---- Pricing ---- */
.wt-price-card {
    background: #fff;
    border-radius: var(--wt-radius);
    padding: 36px 28px;
    box-shadow: var(--wt-shadow);
    border: 2px solid var(--wt-border);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
    position: relative;
}
.wt-price-card:hover { transform: translateY(-6px); box-shadow: var(--wt-shadow-h); }
.wt-price-card.wt-featured {
    border-color: var(--wt-purple);
    background: linear-gradient(135deg, #FAFAFF, #fff);
}
.wt-featured-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--wt-purple), #9F67FA);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700; font-size: .8rem;
    padding: 4px 16px; border-radius: 999px;
    white-space: nowrap;
}
.wt-price { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 2.4rem; color: var(--wt-purple); }
.wt-price sup { font-size: 1rem; vertical-align: top; margin-top: 8px; }
.wt-price-name { font-size: 1.1rem; color: var(--wt-gray); font-weight: 600; }
.wt-price-feature { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--wt-dark); margin-bottom: 8px; }
.wt-price-feature i { color: var(--wt-purple); flex-shrink: 0; }

/* ---- Reviews ---- */
.wt-review-card {
    background: #fff;
    border-radius: var(--wt-radius);
    padding: 28px;
    box-shadow: var(--wt-shadow);
    border: 1px solid var(--wt-border);
    height: 100%;
}
.wt-review-stars { color: var(--wt-gold); font-size: 1.1rem; margin-bottom: 12px; }
.wt-review-text { color: var(--wt-gray); font-size: .95rem; line-height: 1.7; margin-bottom: 16px; }
.wt-review-author { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: .95rem; }
.wt-review-meta { font-size: .8rem; color: var(--wt-gray); }
.wt-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ---- Order form ---- */
.wt-order-section {
    background: linear-gradient(135deg, var(--wt-purple), #9F67FA);
    padding: 80px 0;
}
.wt-order-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    max-width: 620px;
    margin: 0 auto;
}
.wt-form-label { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: .9rem; color: var(--wt-dark); }
.wt-form-control {
    border: 2px solid var(--wt-border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.wt-form-control:focus { border-color: var(--wt-purple); box-shadow: 0 0 0 3px rgba(124,58,237,.12); outline: none; }
.wt-theme-btn {
    border: 2px solid var(--wt-border);
    border-radius: 12px;
    padding: 10px 16px;
    background: #fff;
    color: var(--wt-dark);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s;
    width: 100%;
    text-align: left;
}
.wt-theme-btn:hover, .wt-theme-btn.active { border-color: var(--wt-purple); background: var(--wt-purple-l); color: var(--wt-purple); }

/* ---- FAQ ---- */
.wt-faq .accordion-item { border: 1px solid var(--wt-border); border-radius: var(--wt-radius) !important; margin-bottom: 12px; overflow: hidden; }
.wt-faq .accordion-button { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1rem; background: #fff; color: var(--wt-dark); }
.wt-faq .accordion-button:not(.collapsed) { background: var(--wt-purple-l); color: var(--wt-purple); box-shadow: none; }
.wt-faq .accordion-button::after { filter: none; }
.wt-faq .accordion-button:focus { box-shadow: none; }

/* ---- Footer ---- */
.wt-footer { background: var(--wt-dark); }
.wt-footer-link:hover { color: #fff !important; }

/* ---- Utilities ---- */
.text-purple { color: var(--wt-purple) !important; }
.bg-purple-light { background: var(--wt-purple-l) !important; }


/* ═══════════════════════════════════════════
   QUIZ FORM
═══════════════════════════════════════════ */
.wt-quiz-card {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 60px rgba(124,58,237,.18);
    padding: 36px 40px 28px;
}
@media(max-width:576px) {
    .wt-quiz-card { padding: 24px 18px 20px; }
}

/* Прогресс */
.quiz-progress-wrap { margin-bottom: 24px; }
.quiz-progress-track {
    height: 6px;
    background: #F3F0FF;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}
.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7C3AED, #EC4899);
    border-radius: 999px;
    transition: width .4s ease;
}
.quiz-progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Заголовки шагов */
.quiz-step-title {
    font-family: Georgia, serif;
    color: #1E1B4B;
    font-size: 1.5rem;
    margin: 0 0 6px;
}
.quiz-step-sub {
    font-family: 'Nunito', sans-serif;
    color: #6B7280;
    font-size: .9rem;
    margin: 0 0 24px;
}

/* Инпуты */
.quiz-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    color: #374151;
    margin-bottom: 6px;
}
.quiz-input {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: .95rem;
    color: #1E1B4B;
    background: #FAFAFA;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.quiz-input:focus {
    outline: none;
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124,58,237,.12);
    background: #fff;
}

/* Тарифные карточки */
.quiz-plan-card {
    position: relative;
    border: 2px solid #E5E7EB;
    border-radius: 18px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
    background: #FAFAFA;
}
.quiz-plan-card:hover { border-color: #7C3AED; background: #F5F3FF; }
.quiz-plan-card--active {
    border-color: #7C3AED;
    background: #F5F3FF;
    box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.quiz-plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .72rem;
    padding: 3px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.quiz-plan-icon { font-size: 2rem; margin-bottom: 6px; }
.quiz-plan-name { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .95rem; color: #1E1B4B; margin-bottom: 4px; }
.quiz-plan-price { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #7C3AED; }
.quiz-plan-features {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    text-align: left;
}
.quiz-plan-features li {
    font-family: 'Nunito', sans-serif;
    font-size: .78rem;
    color: #4B5563;
    padding: 2px 0;
}
.quiz-plan-check {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg,#7C3AED,#EC4899);
    color: #fff;
    border-radius: 50%;
    font-size: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
}
.quiz-plan-check--visible { opacity: 1; }

/* Фото кружок */
.quiz-photo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px dashed #D1D5DB;
    margin: 0 auto 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    background: #F9FAFB;
}
.quiz-photo-circle:hover {
    border-color: #7C3AED;
    box-shadow: 0 0 0 4px rgba(124,58,237,.1);
}
.quiz-photo-placeholder { text-align: center; padding: 10px; }
.quiz-photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity .2s;
}
.quiz-photo-circle:hover .quiz-photo-overlay { opacity: 1; }

/* Гендер кнопки */
.quiz-gender-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    background: #FAFAFA;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s;
    color: #374151;
}
.quiz-gender-btn:hover { border-color: #7C3AED; }
.quiz-gender-btn--active {
    border-color: #7C3AED;
    background: #F5F3FF;
    color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}

/* Темы */
.quiz-theme-card {
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    padding: 14px 8px;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
    background: #FAFAFA;
}
.quiz-theme-card:hover { border-color: #7C3AED; background: #F5F3FF; }
.quiz-theme-card--active {
    border-color: #7C3AED;
    background: #F5F3FF;
    box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}

/* Чипы морали */
.quiz-chip {
    padding: 7px 14px;
    border: 2px solid #E5E7EB;
    border-radius: 999px;
    background: #FAFAFA;
    font-family: 'Nunito', sans-serif;
    font-size: .8rem;
    cursor: pointer;
    transition: all .2s;
    color: #374151;
    white-space: nowrap;
}
.quiz-chip:hover { border-color: #7C3AED; }
.quiz-chip--active {
    border-color: #7C3AED;
    background: #7C3AED;
    color: #fff;
}

/* Стили иллюстраций */
.quiz-style-card {
    cursor: pointer;
}
.quiz-style-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: border-color .2s;
}
.quiz-style-card--active .quiz-style-img-wrap {
    border-color: #7C3AED;
    box-shadow: 0 0 0 2px rgba(124,58,237,.2);
}
.quiz-style-img-wrap img {
    position: absolute;
    inset: 0;
}
.quiz-style-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    background: #7C3AED;
    color: #fff;
    border-radius: 50%;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Голос */
.quiz-voice-card {
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    padding: 14px 8px;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
    background: #FAFAFA;
}
.quiz-voice-card:hover { border-color: #7C3AED; }
.quiz-voice-card--active {
    border-color: #7C3AED;
    background: #F5F3FF;
    box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.quiz-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #7C3AED;
    background: #F5F3FF;
    color: #7C3AED;
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.quiz-play-btn:hover { background: #7C3AED; color: #fff; }

/* Итог шага 6 */
.quiz-summary {
    background: #F5F3FF;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.quiz-summary-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Nunito', sans-serif;
    font-size: .88rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(124,58,237,.1);
    color: #4B5563;
}
.quiz-summary-row:last-child { border-bottom: none; }
.quiz-summary-row strong { color: #1E1B4B; }

/* Кнопка отправки */
.quiz-submit-btn {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
    line-height: 1.3;
}
.quiz-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124,58,237,.35);
}
.quiz-submit-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Навигация */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #F3F4F6;
    gap: 12px;
}
.quiz-nav-back {
    padding: 10px 22px;
    border: 2px solid #E5E7EB;
    border-radius: 999px;
    background: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: #6B7280;
    cursor: pointer;
    transition: all .2s;
}
.quiz-nav-back:hover { border-color: #7C3AED; color: #7C3AED; }
.quiz-nav-next {
    margin-left: auto;
    padding: 12px 32px;
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all .2s;
}
.quiz-nav-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124,58,237,.3);
}

/* Анимация шагов */
.quiz-fade-in {
    animation: quizFade .25s ease;
}
@keyframes quizFade {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}
