/* ===================== 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;
    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; }
