/* CheerApp public landing — tokens match glow-admin / Flutter AppColors */

.cheer-landing {
    --violet-900: #32184F;
    --violet-800: #412569;
    --violet-700: #5A3E85;
    --violet-500: #8564BA;
    --violet-100: #EFE7FA;
    --teal-600: #0C9C90;
    --teal-500: #14B8AA;
    --teal-400: #4EE0CE;
    --coral-600: #E8481F;
    --ink-900: #171225;
    --ink-600: #6B6480;
    --ink-300: #B4ADC6;
    --bg: #FAF8FD;
    --card: #FFFFFF;
    --line: #ECE7F7;
    --shadow: 0 10px 28px rgba(50, 24, 79, 0.08);
    --radius: 20px;
    background: var(--bg);
    color: var(--ink-900);
    font-family: "Tajawal", "Cairo", sans-serif;
}

.cheer-landing h1,
.cheer-landing h2,
.cheer-landing h3,
.cheer-landing .cheer-wordmark,
.cheer-landing .cheer-btn {
    font-family: "Cairo", sans-serif;
}

.cheer-landing a {
    text-decoration: none;
}

.cheer-landing .cheer-wrap {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

/* ——— Nav ——— */

.cheer-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(250, 248, 253, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(236, 231, 247, 0.8);
}

.cheer-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
}

.cheer-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--violet-900);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.cheer-wordmark__mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal-400), var(--violet-500));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 42px;
}

.cheer-wordmark__text {
    font-size: 26px;
}

.cheer-wordmark--lg .cheer-wordmark__mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    font-size: 22px;
    border-radius: 16px;
}

.cheer-wordmark--lg .cheer-wordmark__text {
    font-size: 34px;
}

.cheer-wordmark--on-dark {
    color: #fff;
}

.cheer-nav__links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cheer-nav__links a {
    color: var(--ink-600);
    font-weight: 700;
    font-size: 14px;
}

.cheer-nav__links a:hover {
    color: var(--violet-900);
}

.cheer-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cheer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 14px;
    border: 0;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
}

.cheer-btn--coral {
    background: var(--coral-600);
    color: #fff;
}

.cheer-btn--violet {
    background: var(--violet-900);
    color: #fff;
}

.cheer-btn--ghost {
    background: transparent;
    color: var(--violet-900);
    border: 1px solid var(--line);
}

.cheer-btn--light {
    background: #fff;
    color: var(--violet-900);
}

.cheer-btn--coral:hover,
.cheer-btn--violet:hover,
.cheer-btn--light:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.cheer-btn--ghost:hover {
    border-color: var(--violet-500);
}

.cheer-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--violet-900);
}

.cheer-nav__drawer {
    display: none;
}

/* ——— Hero ——— */

.cheer-hero {
    padding: 48px 0 28px;
}

.cheer-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.cheer-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--violet-900);
    line-height: 1.25;
}

.cheer-hero p {
    margin: 0 0 26px;
    max-width: 34rem;
    color: var(--ink-600);
    font-size: 17px;
    line-height: 1.8;
}

.cheer-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cheer-hero-visual {
    position: relative;
    min-height: 380px;
}

.cheer-phone {
    width: min(280px, 100%);
    margin-inline: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 36px;
    padding: 18px 16px 22px;
    box-shadow: var(--shadow);
}

.cheer-phone__bar {
    width: 72px;
    height: 8px;
    border-radius: 999px;
    background: var(--line);
    margin: 4px auto 18px;
}

.cheer-phone__title {
    font-family: "Cairo", sans-serif;
    font-weight: 800;
    color: var(--violet-900);
    margin-bottom: 12px;
}

.cheer-phone__chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--bg);
    margin-bottom: 8px;
    color: var(--ink-900);
    font-weight: 700;
    font-size: 13px;
}

.cheer-phone__dot {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.cheer-float {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 700;
    color: var(--violet-900);
}

.cheer-float--a {
    top: 24px;
    inset-inline-start: 0;
}

.cheer-float--b {
    bottom: 36px;
    inset-inline-end: 0;
}

/* ——— Sections ——— */

.cheer-section {
    padding: 64px 0;
}

.cheer-section__head {
    margin-bottom: 28px;
}

.cheer-section__head h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--violet-900);
}

.cheer-section__head p {
    margin: 0;
    color: var(--ink-600);
}

.cheer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 22px;
    box-shadow: 0 4px 16px rgba(50, 24, 79, 0.04);
}

.cheer-search input {
    border: 0;
    outline: none;
    width: 100%;
    background: transparent;
    font-family: "Tajawal", sans-serif;
    font-size: 15px;
    color: var(--ink-900);
}

.cheer-cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cheer-cat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 16px;
    min-height: 148px;
    box-shadow: 0 6px 18px rgba(50, 24, 79, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cheer-cat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.cheer-cat.is-hidden {
    display: none;
}

.cheer-cat__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--violet-100);
    color: var(--violet-700);
    margin-bottom: 12px;
    overflow: hidden;
}

.cheer-cat__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cheer-cat h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: var(--violet-900);
}

.cheer-cat p {
    margin: 0;
    color: var(--ink-600);
    font-size: 13px;
}

.cheer-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cheer-step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.cheer-step__num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--teal-600);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Cairo", sans-serif;
    font-weight: 800;
    margin-bottom: 14px;
}

.cheer-step h3 {
    margin: 0 0 8px;
    color: var(--violet-900);
}

.cheer-step p {
    margin: 0;
    color: var(--ink-600);
    font-size: 14px;
    line-height: 1.7;
}

.cheer-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cheer-benefit {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.cheer-benefit h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--violet-900);
}

.cheer-benefit p {
    margin: 0;
    color: var(--ink-600);
    font-size: 14px;
    line-height: 1.7;
}

.cheer-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cheer-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

.cheer-card h3 {
    margin: 0 0 6px;
    color: var(--violet-900);
    font-size: 16px;
}

.cheer-card p {
    margin: 0;
    color: var(--ink-600);
    font-size: 13px;
}

.cheer-provider {
    background: linear-gradient(135deg, var(--violet-900), var(--violet-700) 55%, #1E1230);
    color: #fff;
    border-radius: 28px;
    padding: 40px 36px;
}

.cheer-provider h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 36px);
}

.cheer-provider p,
.cheer-provider li {
    color: rgba(255, 255, 255, 0.82);
}

.cheer-provider ul {
    margin: 18px 0 24px;
    padding: 0 18px 0 0;
}

.cheer-provider li {
    margin-bottom: 8px;
}

.cheer-faq {
    display: grid;
    gap: 10px;
}

.cheer-faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
}

.cheer-faq summary {
    cursor: pointer;
    font-family: "Cairo", sans-serif;
    font-weight: 800;
    color: var(--violet-900);
    list-style: none;
}

.cheer-faq summary::-webkit-details-marker {
    display: none;
}

.cheer-faq p {
    margin: 10px 0 0;
    color: var(--ink-600);
    line-height: 1.8;
}

.cheer-footer {
    background: var(--violet-900);
    color: #fff;
    padding: 48px 0 22px;
}

.cheer-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.cheer-footer p,
.cheer-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.cheer-footer a:hover {
    color: #fff;
}

.cheer-footer h3 {
    margin: 0 0 12px;
    font-size: 15px;
}

.cheer-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cheer-footer li {
    margin-bottom: 8px;
}

.cheer-footer__copy {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.cheer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.cheer-empty-search {
    display: none;
    color: var(--ink-600);
    padding: 12px 0;
}

@media (max-width: 960px) {
    .cheer-hero__grid,
    .cheer-cats,
    .cheer-steps,
    .cheer-benefits,
    .cheer-cards,
    .cheer-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .cheer-nav__links,
    .cheer-nav__actions {
        display: none;
    }

    .cheer-nav__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .cheer-nav.is-open .cheer-nav__drawer {
        display: block;
        padding: 0 16px 16px;
    }

    .cheer-nav__drawer a {
        display: block;
        padding: 10px 0;
        color: var(--ink-900);
        font-weight: 700;
        border-bottom: 1px solid var(--line);
    }

    .cheer-float {
        display: none;
    }
}

@media (max-width: 640px) {
    .cheer-hero {
        padding-top: 24px;
    }

    .cheer-hero__grid,
    .cheer-cats,
    .cheer-steps,
    .cheer-benefits,
    .cheer-cards,
    .cheer-footer__grid {
        grid-template-columns: 1fr;
    }

    .cheer-cats {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .cheer-cat {
        min-width: 200px;
        scroll-snap-align: start;
    }
}
