/* StudyMate-inspired Homepage */

.home-section {
    padding-block: var(--section-spacing);
}

.home-section-alt {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.home-section-label {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.home-section-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.home-section-desc {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* Hero — premium StudyMate-inspired layout */
.home-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6.5rem 0 3.5rem;
    box-sizing: border-box;
}

.home-hero>.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 15% 15%, rgba(var(--primary-rgb), 0.14), transparent 60%),
        radial-gradient(ellipse 50% 45% at 85% 20%, rgba(6, 182, 212, 0.08), transparent 55%);
}

.home-hero-bg-watermark {
    position: absolute;
    top: 50%;
    left: 42%;
    transform: translate(-50%, -50%);
    width: min(800px, 85vw);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    filter: blur(1px);
    transition: opacity 0.5s ease;
}

.home-hero-bg-tree-img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.home-hero-watermark-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: max-content;
    line-height: 0.86;
    gap: 0;
}

.home-hero-watermark-line {
    display: block;
    font-size: clamp(5rem, 18vw, 11rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.04);
    white-space: nowrap;
    user-select: none;
    opacity: 0;
    transform: translateY(24px);
    animation: home-hero-watermark-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-hero-watermark-line:nth-child(1) {
    animation-delay: 0.15s;
}

.home-hero-watermark-line:nth-child(2) {
    margin-top: -0.06em;
    animation-delay: 0.65s;
}

.home-hero-watermark-line:nth-child(3) {
    margin-top: -0.06em;
    animation-delay: 1.15s;
}

@keyframes home-hero-watermark-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-watermark-line {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.home-hero-brand-badge {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.home-hero-brand-img {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(122, 2, 2, 0.25);
    transition: transform 0.3s ease;
}

.home-hero-brand-img:hover {
    transform: scale(1.04);
}

.home-hero-books {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.15rem;
    margin-bottom: 1.35rem;
    transform: perspective(400px) rotateX(8deg);
}

.home-hero-book {
    display: block;
    width: 1.35rem;
    border-radius: 3px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.home-hero-book--1 {
    height: 1.65rem;
    background: linear-gradient(135deg, #fb923c, #f97316);
}

.home-hero-book--2 {
    height: 2rem;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.home-hero-book--3 {
    height: 1.5rem;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.home-hero-title {
    font-size: clamp(2.35rem, 5.2vw, 3.65rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    min-height: 2.35em;
    color: #0f172a;
}

.home-hero-typing {
    display: inline;
}

.home-hero-cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: 400;
    margin-left: 2px;
    animation: hero-cursor-blink 1s step-end infinite;
}

.home-hero-cursor.is-hidden {
    opacity: 0;
}

@keyframes hero-cursor-blink {
    50% {
        opacity: 0;
    }
}

.home-hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.75;
    margin-bottom: 0;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.25rem;
}

.btn-home-cta-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.45rem 1.65rem 0.45rem 0.45rem;
    border-radius: 999px;
    background: #0f172a;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-home-cta-dark:hover {
    background: #1e293b;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.btn-home-cta-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.btn-home-video {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.btn-home-video-text {
    color: inherit;
}

.btn-home-video:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-home-video-play {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-home-video:hover .btn-home-video-play {
    transform: scale(1.06);
    box-shadow: 0 14px 28px rgba(var(--primary-rgb), 0.4);
}

/* Hero visual scene */
.home-hero-scene {
    position: relative;
    min-height: clamp(380px, 52vh, 520px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Hero Video Player Card */
.hero-video-card {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    margin-left: auto;
    border-radius: 20px;
    background: #0f172a;
    padding: 8px;
    box-shadow:
        0 24px 50px rgba(122, 2, 2, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-video-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 30px 65px rgba(122, 2, 2, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    cursor: pointer;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 3;
}

.hero-video-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-video-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
    z-index: 1;
}

.hero-video-play-btn {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e11d48 0%, #7a0202 100%);
    border: 3px solid rgba(255, 255, 255, 0.95);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 32px rgba(225, 29, 72, 0.6);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 0;
}

.hero-video-play-pulse {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.45);
    animation: video-play-pulse 2s infinite;
    z-index: -1;
}

@keyframes video-play-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.hero-video-play-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 40px rgba(225, 29, 72, 0.85);
}

.hero-video-play-icon {
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-video-badge {
    position: absolute;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-video-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.home-hero-photo {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: min(58vh, 540px);
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.14));
}

.home-hero-photo--main {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(122, 2, 2, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.home-hero-photo--main:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(122, 2, 2, 0.14);
}

.home-hero-photo--fallback {
    width: min(100%, 400px);
    height: clamp(380px, 50vh, 500px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-inline: auto;
}

.home-hero-figure {
    position: relative;
    width: 300px;
    height: clamp(380px, 48vh, 440px);
}

.home-hero-figure-head {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fcd9b6, #e8b88a);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.home-hero-figure-head::after {
    content: '';
    position: absolute;
    inset: -12px -20px auto -20px;
    height: 48px;
    border-radius: 50% 50% 0 0;
    background: #1e293b;
}

.home-hero-figure-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 220px;
    border-radius: 120px 120px 40px 40px;
    background: linear-gradient(160deg, #B83030 0%, #7A0202 55%, #5C0101 100%);
    box-shadow: 0 20px 40px rgba(122, 2, 2, 0.25);
}

.home-hero-figure-books {
    position: absolute;
    bottom: 28%;
    left: 58%;
    display: flex;
    gap: 4px;
    transform: rotate(-8deg);
}

.home-hero-figure-books span {
    display: block;
    width: 14px;
    height: 52px;
    border-radius: 3px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

.home-hero-figure-books span:nth-child(1) {
    background: #facc15;
    height: 46px;
}

.home-hero-figure-books span:nth-child(2) {
    background: #38bdf8;
}

.home-hero-figure-books span:nth-child(3) {
    background: #f472b6;
    height: 40px;
}

.home-hero-float {
    position: absolute;
    z-index: 2;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    animation: hero-float 5s ease-in-out infinite;
}

.home-hero-float--enroll {
    top: 8%;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
}

.home-hero-float--enroll strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
    color: #0f172a;
}

.home-hero-float--enroll small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.home-hero-float-avatars {
    display: flex;
    align-items: center;
}

.home-hero-float-avatars span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
}

.home-hero-float-avatars span:first-child {
    margin-left: 0;
    background: linear-gradient(135deg, #fda4af, #fb7185);
}

.home-hero-float-avatars span:nth-child(2) {
    background: linear-gradient(135deg, #93c5fd, #60a5fa);
}

.home-hero-float-avatars span:nth-child(3) {
    background: linear-gradient(135deg, #D4A574, #C08050);
}

.home-hero-float-plus {
    width: 28px !important;
    height: 28px !important;
    margin-left: -8px !important;
    background: #ef4444 !important;
    color: #fff;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.home-hero-float--quote {
    bottom: 12%;
    left: 0;
    max-width: 220px;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    animation-delay: 1.2s;
}

.home-hero-float-globe {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

.home-hero-float--quote p {
    font-size: 0.78rem;
    line-height: 1.55;
    color: #334155;
    margin-bottom: 0.5rem;
}

.home-hero-float-author {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
}

@keyframes hero-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Legacy hero card (other pages) */
.home-hero-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.home-hero-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.home-hero-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.home-hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.home-hero-mini-grid div {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.home-hero-mini-grid i {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

/* Buttons */
.btn-home-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
}

.btn-home-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

.btn-home-outline {
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    background: #fff;
}

.btn-home-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Statistics — premium impact section */
.home-stats {
    position: relative;
    z-index: 2;
    margin-top: clamp(-2rem, -3.5vw, -1rem);
    padding-top: calc(var(--section-spacing) + clamp(1.25rem, 3vw, 2rem));
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%);
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    box-shadow:
        0 -10px 40px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-stats-curve {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(1.75rem, 5vw, 3rem);
    pointer-events: none;
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom: none;
    z-index: 1;
}

.home-stats .container {
    z-index: 1;
}

.home-stats .home-section-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.home-stats .home-section-title {
    font-size: clamp(1.9rem, 3.8vw, 2.65rem);
    letter-spacing: -0.03em;
    color: #0f172a;
}

.home-stats .home-section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.home-stat-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease;
}

.home-stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow:
        0 22px 48px rgba(15, 23, 42, 0.1),
        0 8px 24px rgba(var(--primary-rgb), 0.12);
}

.home-stat-icon {
    width: clamp(56px, 8vw, 68px);
    height: clamp(56px, 8vw, 68px);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.16), rgba(var(--primary-rgb), 0.08));
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    margin-bottom: 1.15rem;
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.14);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.home-stat-card:hover .home-stat-icon {
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.24), rgba(var(--primary-rgb), 0.12));
    transform: scale(1.05);
    box-shadow: 0 14px 32px rgba(var(--primary-rgb), 0.2);
}

.home-stat-value {
    margin-bottom: 0.35rem;
}

.home-stat-count {
    display: inline-block;
    font-size: clamp(2.35rem, 5.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #0f172a;
    min-width: 2ch;
}

.home-stat-label {
    display: block;
    color: var(--text-muted);
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 575.98px) {
    .home-stat-count {
        font-size: clamp(2rem, 9vw, 2.65rem);
    }

    .home-stat-card {
        padding: 1.35rem 0.85rem;
        border-radius: 16px;
    }

    .home-stat-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
        margin-bottom: 0.9rem;
    }

    .home-stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 991.98px) {
    .home-stats {
        margin-top: -1.25rem;
        padding-top: calc(var(--section-spacing-sm) + 1.25rem);
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .home-stats-curve {
        border-radius: 1.5rem 1.5rem 0 0;
        height: 1.5rem;
    }
}

/* How ASBC Works */
.home-how {
    position: relative;
    z-index: 2;
    margin-top: clamp(-2.75rem, -4vw, -1.5rem);
    padding-top: calc(var(--section-spacing) + clamp(1.25rem, 3vw, 2rem));
    padding-bottom: var(--section-spacing);
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 40% at 100% 0%, rgba(var(--primary-rgb), 0.06), transparent 65%),
        radial-gradient(ellipse 45% 35% at 0% 100%, rgba(var(--primary-rgb), 0.05), transparent 60%),
        linear-gradient(180deg, #f1f5f9 0%, #f8fafc 48%, #ffffff 100%);
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    box-shadow:
        0 -10px 40px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-how-curve {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(1.75rem, 5vw, 3rem);
    pointer-events: none;
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom: none;
    z-index: 1;
}

.home-how-decor--accent {
    position: absolute;
    top: 8%;
    right: -6%;
    width: min(420px, 42vw);
    height: min(420px, 42vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.07), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.home-how>.container {
    z-index: 1;
}

.home-how-header {
    max-width: 36rem;
}

.home-how-title {
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0 0 0.65rem;
    max-width: 14ch;
}

.home-how-tagline {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    letter-spacing: 0.02em;
}

.home-how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
}

.home-how-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 6px 22px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    min-height: 100px;
    animation: hero-float 5s ease-in-out infinite;
    will-change: transform;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-how-pill--1 {
    animation-delay: 0s;
}

.home-how-pill--2 {
    animation-delay: 0.85s;
}

.home-how-pill--3 {
    animation-delay: 1.7s;
}

.home-how-pill--4 {
    animation-delay: 2.55s;
}

.home-how-pill--5 {
    animation-delay: 3.4s;
}

.home-how-pill--6 {
    animation-delay: 4.25s;
}

.home-how-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.home-how-pill:hover {
    animation-play-state: paused;
    transform: translateY(-10px);
    box-shadow:
        0 14px 32px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.home-how-pill-step {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.home-how-pill-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.home-how-pill-body {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1;
    padding-block: 0.15rem;
}

.home-how-pill-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.home-how-pill-text {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-how-pill-visual {
    position: relative;
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.15rem;
}

.home-how-pill-glow {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    opacity: 0.55;
    filter: blur(10px);
    pointer-events: none;
}

.home-how-pill-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
    transform-origin: center center;
}

.home-how-pill:hover .home-how-pill-icon {
    animation: home-how-icon-shake 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.home-how-pill:hover .home-how-pill-glow {
    animation: home-how-glow-pulse 0.65s ease both;
}

@keyframes home-how-icon-shake {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    15% {
        transform: rotate(-8deg) scale(1.07);
    }

    30% {
        transform: rotate(8deg) scale(1.07);
    }

    45% {
        transform: rotate(-5deg) scale(1.05);
    }

    60% {
        transform: rotate(5deg) scale(1.05);
    }

    75% {
        transform: rotate(-2deg) scale(1.02);
    }
}

@keyframes home-how-glow-pulse {

    0%,
    100% {
        opacity: 0.55;
        transform: scale(1);
    }

    50% {
        opacity: 0.75;
        transform: scale(1.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-how-pill {
        animation: none;
    }

    .home-how-pill:hover {
        transform: translateY(-3px);
    }

    .home-how-pill:hover .home-how-pill-icon,
    .home-how-pill:hover .home-how-pill-glow {
        animation: none;
    }
}

.home-how-pill--1 {
    border-color: rgba(59, 130, 246, 0.28);
}

.home-how-pill--1:hover {
    border-color: rgba(59, 130, 246, 0.42);
}

.home-how-pill--1 .home-how-pill-step {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.home-how-pill--1 .home-how-pill-icon {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.home-how-pill--1 .home-how-pill-glow {
    background: radial-gradient(circle, #3b82f6, transparent 72%);
}

.home-how-pill--2 {
    border-color: rgba(168, 85, 247, 0.28);
}

.home-how-pill--2:hover {
    border-color: rgba(168, 85, 247, 0.42);
}

.home-how-pill--2 .home-how-pill-step {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.home-how-pill--2 .home-how-pill-icon {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.home-how-pill--2 .home-how-pill-glow {
    background: radial-gradient(circle, #a855f7, transparent 72%);
}

.home-how-pill--3 {
    border-color: rgba(249, 115, 22, 0.28);
}

.home-how-pill--3:hover {
    border-color: rgba(249, 115, 22, 0.42);
}

.home-how-pill--3 .home-how-pill-step {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.home-how-pill--3 .home-how-pill-icon {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.home-how-pill--3 .home-how-pill-glow {
    background: radial-gradient(circle, #f97316, transparent 72%);
}

.home-how-pill--4 {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.home-how-pill--4:hover {
    border-color: rgba(var(--primary-rgb), 0.45);
}

.home-how-pill--4 .home-how-pill-step {
    background: linear-gradient(135deg, var(--primary), #614e39);
}

.home-how-pill--4 .home-how-pill-icon {
    background: linear-gradient(135deg, var(--primary), #614e39);
}

.home-how-pill--4 .home-how-pill-glow {
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.95), transparent 72%);
}

.home-how-pill--5 {
    border-color: rgba(236, 72, 153, 0.28);
}

.home-how-pill--5:hover {
    border-color: rgba(236, 72, 153, 0.42);
}

.home-how-pill--5 .home-how-pill-step {
    background: linear-gradient(135deg, #db2777, #ec4899);
}

.home-how-pill--5 .home-how-pill-icon {
    background: linear-gradient(135deg, #db2777, #ec4899);
}

.home-how-pill--5 .home-how-pill-glow {
    background: radial-gradient(circle, #ec4899, transparent 72%);
}

.home-how-pill--6 {
    border-color: rgba(20, 184, 166, 0.28);
}

.home-how-pill--6:hover {
    border-color: rgba(20, 184, 166, 0.42);
}

.home-how-pill--6 .home-how-pill-step {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.home-how-pill--6 .home-how-pill-icon {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.home-how-pill--6 .home-how-pill-glow {
    background: radial-gradient(circle, #14b8a6, transparent 72%);
}

@media (min-width: 992px) {
    .home-how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1.75rem;
    }

    .home-how-pill {
        min-height: 108px;
        padding: 0.95rem 1.1rem 0.95rem 1.25rem;
    }

    .home-how-pill-text {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 991.98px) {
    .home-how {
        margin-top: -1.25rem;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .home-how-curve {
        border-radius: 1.5rem 1.5rem 0 0;
        height: 1.5rem;
    }

    .home-how-header {
        text-align: center;
        max-width: none;
    }

    .home-how-title {
        max-width: none;
        margin-inline: auto;
    }

    .home-how-pill {
        gap: 0.9rem;
        padding: 0.85rem 0.85rem 0.85rem 1rem;
    }

    .home-how-pill-step {
        width: 52px;
        height: 52px;
    }

    .home-how-pill-num {
        font-size: 1.2rem;
    }

    .home-how-pill-visual {
        width: 64px;
        height: 64px;
    }

    .home-how-pill-icon {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }
}

/* Why Choose Us */
.home-why {
    position: relative;
    z-index: 2;
    margin-top: clamp(-2rem, -3.5vw, -1rem);
    padding-top: calc(var(--section-spacing) + clamp(1.25rem, 3vw, 2rem));
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%);
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    box-shadow:
        0 -10px 40px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-why-curve {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(1.75rem, 5vw, 3rem);
    pointer-events: none;
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom: none;
    z-index: 1;
}

.home-why>.container {
    position: relative;
    z-index: 1;
}

.home-why-badge {
    display: inline-block;
    padding: 0.38rem 0.95rem;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.24);
}

.home-why-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0;
    max-width: 20ch;
}

.home-why-intro {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0;
}

.home-why-features {
    position: relative;
    margin-top: clamp(2.75rem, 5vw, 3.75rem);
    padding-block: clamp(2rem, 4vw, 3.25rem);
}

.home-why-grid {
    position: relative;
    z-index: 1;
    padding-block: 0.65rem;
    padding-top: 3.25rem;
}

.home-why-snake {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: var(--primary);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.home-why-snake-path {
    stroke-dasharray: 1;
    stroke-dashoffset: -1;
}

.home-why-features.is-visible .home-why-snake-path {
    animation: why-line-draw 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes why-line-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.home-why-card {
    position: relative;
    z-index: 2;
    flex: 1;
    width: 100%;
    text-align: center;
    padding: 1.75rem 1rem 2.25rem;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-why-card:hover {
    transform: translateY(-4px);
}

.home-why-icon-slot {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    margin-bottom: 1.5rem;
    isolation: isolate;
}

.home-why-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    transition: border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    position: relative;
    z-index: 2;
}

.home-why-grid>[class*="col-"] {
    position: relative;
    z-index: 1;
    display: flex;
}

.home-why-card:hover .home-why-icon {
    border-color: rgba(var(--primary-rgb), 0.4);
    color: var(--primary);
    box-shadow: 0 10px 26px rgba(var(--primary-rgb), 0.12);
    transform: scale(1.04);
}

.home-why-card-title {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.home-why-card-text {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0;
    max-width: 260px;
    margin-inline: auto;
    padding-bottom: 0.35rem;
}

@media (max-width: 991.98px) {
    .home-why.home-section {
        padding-block: var(--section-spacing-sm);
        margin-top: -1.25rem;
        padding-top: calc(var(--section-spacing-sm) + 1.25rem);
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .home-why-curve {
        border-radius: 1.5rem 1.5rem 0 0;
        height: 1.5rem;
    }

    .home-why-header {
        text-align: center;
    }

    .home-why-header .col-lg-7,
    .home-why-header .col-lg-5 {
        max-width: 36rem;
        margin-inline: auto;
    }

    .home-why-title {
        max-width: none;
        margin-inline: auto;
    }

    .home-why-intro {
        text-align: center;
        margin-top: 0.25rem;
    }

    .home-why-features {
        margin-top: 2rem;
        padding-block: 1.25rem 1.5rem;
    }

    .home-why-grid {
        padding-top: 0.5rem;
        padding-bottom: 0.25rem;
        row-gap: 0.5rem;
    }

    .home-why-card {
        padding: 1.35rem 1rem 1.5rem;
    }

    .home-why-icon-slot {
        height: 64px;
        margin-bottom: 1.1rem;
    }

    .home-why-icon {
        width: 64px;
        height: 64px;
        font-size: 1.25rem;
    }

    .home-why-card-title {
        font-size: 1.02rem;
        margin-bottom: 0.6rem;
    }

    .home-why-card-text {
        font-size: 0.84rem;
        line-height: 1.65;
        max-width: 320px;
    }
}

@media (max-width: 575.98px) {
    .home-why-badge {
        font-size: 0.68rem;
        padding: 0.34rem 0.85rem;
    }

    .home-why-title {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem);
        line-height: 1.22;
    }

    .home-why-intro {
        font-size: 0.9rem;
        line-height: 1.65;
        padding-inline: 0.25rem;
    }

    .home-why-features {
        margin-top: 1.5rem;
        padding-block: 0.75rem 1rem;
    }

    .home-why-grid {
        --bs-gutter-y: 0.75rem;
        padding-top: 0;
    }

    .home-why-card {
        padding: 1.15rem 0.85rem 1.25rem;
        max-width: 22rem;
        margin-inline: auto;
    }

    .home-why-icon-slot {
        height: 58px;
        margin-bottom: 0.95rem;
    }

    .home-why-icon {
        width: 58px;
        height: 58px;
        font-size: 1.15rem;
    }

    .home-why-card-text {
        max-width: none;
        padding-inline: 0.15rem;
    }
}

@media (min-width: 992px) {
    .home-why-header {
        margin-bottom: 0.5rem;
    }

    .home-why-features {
        min-height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-why-snake-path {
        stroke-dashoffset: 0;
        animation: none;
    }
}

/* Books scroll */
.home-scroll-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}

.home-scroll-row::-webkit-scrollbar {
    height: 6px;
}

.home-scroll-row::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.home-book-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-book-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.home-book-cover {
    height: 140px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.14));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.home-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-book-cover i {
    font-size: 2.5rem;
    color: var(--primary);
}

.home-book-card h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.home-book-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.home-book-free {
    color: #10b981;
    font-weight: 700;
    font-size: 0.8rem;
}

.home-book-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
}

/* Categories */
.home-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 1.35rem 1rem 1.15rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.home-category-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(var(--primary-rgb), 0.32);
    color: #0f172a;
}

.home-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--text-main);
    transition: background 0.3s ease, color 0.3s ease;
}

.home-category-card:hover .home-category-icon {
    background: rgba(15, 23, 42, 0.22);
    color: #fff;
}

.home-category-card h6 {
    margin-bottom: 0.65rem;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
}

.home-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(var(--primary-rgb), 0.14);
    color: var(--primary-hover);
    transition: background 0.3s ease, color 0.3s ease;
}

.home-category-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}

.home-category-card:hover .home-category-badge {
    background: rgba(255, 255, 255, 0.35);
    color: #0f172a;
}

/* Practice */
.home-practice-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: all 0.25s ease;
}

.home-practice-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.12);
}

.home-practice-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.home-practice-card span {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* Quiz */
.home-quiz-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.home-quiz-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.home-quiz-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.home-quiz-meta li {
    margin-bottom: 0.35rem;
}

/* Rewards */
.home-reward-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    height: 100%;
}

.home-reward-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.home-reward-points {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
}

/* Our Champions carousel — ref: instructor / champions fan layout */
.home-champions {
    position: relative;
    z-index: 2;
    margin-top: clamp(-2rem, -3.5vw, -1rem);
    padding-top: calc(var(--section-spacing) + clamp(1rem, 2.5vw, 1.75rem));
    padding-bottom: var(--section-spacing);
    overflow: hidden;
    --champions-bg: #f3f4f6;
    --champions-card-bg: #ffffff;
    background: var(--champions-bg);
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    box-shadow:
        0 -10px 40px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-champions-curve {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(1.75rem, 5vw, 3rem);
    pointer-events: none;
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom: none;
    z-index: 1;
}

.home-champions>.container {
    z-index: 1;
}

.home-champions-header .home-section-desc {
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.home-champions-carousel {
    position: relative;
}

.home-champions-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.65rem, 1.5vw, 1rem);
}

.home-champions-viewport {
    overflow: hidden;
    padding: 1.5rem 0.85rem 1.75rem;
    background: var(--champions-bg);
    min-width: 0;
}

.home-champions-track {
    display: flex;
    gap: var(--champions-gap, 1.25rem);
    will-change: transform;
    align-items: stretch;
}

.home-champions-track.is-animating {
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.home-champions-slide {
    flex: 0 0 var(--champions-slide-width, 280px);
    width: var(--champions-slide-width, 280px);
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-block: 0.35rem;
}

.home-champions-card {
    width: 96%;
    max-width: 96%;
    background: var(--champions-card-bg);
    border: none;
    border-radius: 1.35rem;
    padding: 0.85rem;
    box-shadow: 0 10px 28px -12px rgba(15, 23, 42, 0.1);
    transform-origin: center center;
    transition:
        transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.35s var(--ease-out);
}

.home-champions-slide.is-tilt-left .home-champions-card {
    transform: rotate(-2deg);
}

.home-champions-slide.is-tilt-right .home-champions-card {
    transform: rotate(2deg);
}

.home-champions-slide.is-center .home-champions-card {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.12);
}

.home-champions-photo {
    aspect-ratio: 1;
    border-radius: 1.1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--champions-bg);
}

.home-champions-photo img,
.home-champions-photo-fallback {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.home-champions-photo img {
    object-fit: cover;
}

.home-champions-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--champion-color, var(--primary)) 0%, color-mix(in srgb, var(--champion-color, var(--primary)) 72%, #0f172a) 100%);
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    font-weight: 800;
}

.home-champions-card:hover .home-champions-photo img,
.home-champions-card:hover .home-champions-photo-fallback {
    transform: scale(1.08);
}

.home-champions-meta {
    text-align: center;
}

.home-champions-name {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.3rem;
    line-height: 1.3;
    text-align: center;
}

.home-champions-role {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.45;
    text-align: center;
}

.home-champions-contact {
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.home-champions-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.home-champions-contact .bi {
    flex-shrink: 0;
    font-size: 0.88rem;
    color: var(--text-subtle);
}

.home-champions-contact span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-champions-nav {
    flex-shrink: 0;
    width: 2.85rem;
    height: 2.85rem;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition:
        transform 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out),
        background 0.25s var(--ease-out),
        color 0.25s var(--ease-out);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.home-champions-nav:hover {
    transform: scale(1.07);
}

.home-champions-nav--prev {
    background: var(--champions-card-bg);
    color: var(--text-main);
}

.home-champions-nav--prev:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.32);
}

.home-champions-nav--next {
    background: var(--primary);
    color: #fff;
}

.home-champions-nav--next:hover {
    background: var(--primary-hover);
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.36);
}

.home-champions-nav:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Champions promo CTA */
.home-champions-promo {
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.home-champions-promo-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 3.5rem);
    background: var(--champions-card-bg);
    border-radius: 1.5rem;
    padding: clamp(2rem, 3.5vw, 2.75rem) clamp(2rem, 4.5vw, 3.25rem);
    box-shadow: 0 14px 40px -14px rgba(15, 23, 42, 0.1);
    min-height: 11.5rem;
}

.home-champions-promo-content {
    flex: 1;
    min-width: 0;
}

.home-champions-promo-title {
    font-size: clamp(1.5rem, 2.8vw, 2.05rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin: 0 0 1.5rem;
    max-width: 24ch;
}

.home-champions-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.65rem 0.65rem 1.5rem;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.28);
    transition:
        transform 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out),
        background 0.25s var(--ease-out);
}

.home-champions-promo-btn:hover {
    background: var(--primary-hover);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(var(--primary-rgb), 0.34);
}

.home-champions-promo-btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.home-champions-promo-visual {
    position: relative;
    width: clamp(11rem, 20vw, 15rem);
    height: clamp(8.5rem, 16vw, 11.5rem);
    flex-shrink: 0;
}

.home-champions-promo-avatar {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    background: var(--avatar-bg, #e2e8f0);
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.home-champions-promo-avatar img {
    width: 118%;
    height: 118%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
    margin: -4% 0 0 -9%;
}

.home-champions-promo-avatar--1 {
    width: 6.75rem;
    height: 6.75rem;
    top: 0.15rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.home-champions-promo-avatar--2 {
    width: 5.15rem;
    height: 5.15rem;
    bottom: 0.25rem;
    left: 0.35rem;
    z-index: 2;
}

.home-champions-promo-avatar--3 {
    width: 5.15rem;
    height: 5.15rem;
    bottom: 0.25rem;
    right: 0.35rem;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .home-champions {
        margin-top: -1.25rem;
        padding-top: calc(var(--section-spacing-sm) + 1rem);
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .home-champions-curve {
        border-radius: 1.5rem 1.5rem 0 0;
        height: 1.5rem;
    }

    .home-champions-row {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.65rem;
    }

    .home-champions-slide.is-tilt-left .home-champions-card,
    .home-champions-slide.is-tilt-right .home-champions-card {
        transform: none;
    }

    .home-champions-slide.is-center .home-champions-card {
        transform: translateY(-2px);
    }

    .home-champions-promo-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .home-champions-promo-title {
        max-width: none;
    }

    .home-champions-promo-visual {
        align-self: center;
    }
}

@media (max-width: 575.98px) {
    .home-champions-nav {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1rem;
    }

    .home-champions-promo-visual {
        width: 11rem;
        height: 8.75rem;
    }

    .home-champions-promo-avatar--1 {
        width: 5.75rem;
        height: 5.75rem;
    }

    .home-champions-promo-avatar--2,
    .home-champions-promo-avatar--3 {
        width: 4.35rem;
        height: 4.35rem;
    }
}

/* Testimonials — premium marquee */
.home-testimonials {
    position: relative;
    z-index: 2;
    margin-top: clamp(-2rem, -3.5vw, -1rem);
    padding-top: calc(var(--section-spacing) + clamp(1rem, 2.5vw, 1.75rem));
    padding-bottom: var(--section-spacing);
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f8fafc 100%);
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    box-shadow:
        0 -10px 40px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-testimonials-curve {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(1.75rem, 5vw, 3rem);
    pointer-events: none;
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom: none;
    z-index: 1;
}

.home-testimonials>.container {
    z-index: 1;
}

.home-testimonials-header {
    max-width: 44rem;
    margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.home-testimonials-title {
    font-size: clamp(1.75rem, 3.5vw, 2.45rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.home-testimonials-lead {
    margin: 0;
    font-size: clamp(0.92rem, 1.5vw, 1.02rem);
    line-height: 1.7;
    color: var(--text-muted);
}

.home-testimonials-stage {
    position: relative;
}

.home-testimonials-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.home-testimonials-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    gap: 1.35rem;
    padding-block: 0.35rem;
    animation: home-testimonials-marquee 72s linear infinite;
    will-change: transform;
}

.home-testimonials-marquee:has(.home-testimonial-card:hover) .home-testimonials-track {
    animation-play-state: paused;
}

.home-testimonial-card {
    flex-shrink: 0;
    width: min(38rem, 92vw);
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 1.25rem;
    padding: 1.85rem 2rem;
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.06);
    transition:
        border-color 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.home-testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 34px rgba(var(--primary-rgb), 0.14);
}

.home-testimonial-card:hover .home-testimonial-mark {
    color: rgba(var(--primary-rgb), 0.18);
}

.home-testimonial-profile {
    flex: 0 0 34%;
    max-width: 11.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.7rem;
    padding-inline: 0.35rem;
}

.home-testimonial-divider {
    width: 1px;
    flex-shrink: 0;
    align-self: center;
    height: calc(100% - 1.5rem);
    min-height: 7.5rem;
    background: #e5e7eb;
}

.home-testimonial-avatar {
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.home-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-testimonial-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.home-testimonial-role {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #64748b;
    max-width: 12ch;
}

.home-testimonial-quote {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-left: 1.65rem;
}

.home-testimonial-mark {
    font-size: 3.75rem;
    line-height: 0.75;
    font-weight: 700;
    color: rgba(var(--primary-rgb), 0.12);
    font-family: Georgia, 'Times New Roman', serif;
    user-select: none;
    margin-bottom: 0.15rem;
    transition: color 0.3s var(--ease-out);
}

.home-testimonial-text {
    margin: 0 0 1.15rem;
    font-size: 0.94rem;
    line-height: 1.72;
    color: #1e293b;
    flex: 1;
    padding-right: 0.5rem;
}

.home-testimonial-rating {
    margin-top: auto;
    align-self: flex-end;
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
    line-height: 1;
}

.home-testimonial-rating-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.home-testimonial-rating-suffix {
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
}

.home-testimonial-rating .bi-star-fill {
    color: var(--primary);
    font-size: 0.95rem;
    margin-left: 0.2rem;
    transform: translateY(1px);
}

@keyframes home-testimonials-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 991.98px) {
    .home-testimonials {
        margin-top: -1.25rem;
        padding-top: calc(var(--section-spacing-sm) + 1rem);
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .home-testimonials-curve {
        border-radius: 1.5rem 1.5rem 0 0;
        height: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .home-testimonial-card {
        width: min(24rem, 94vw);
        flex-direction: column;
        padding: 1.5rem;
    }

    .home-testimonial-profile {
        flex: none;
        max-width: none;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 0.85rem;
        padding-inline: 0;
    }

    .home-testimonial-divider {
        width: 100%;
        height: 1px;
        min-height: 0;
        margin: 0.25rem 0;
    }

    .home-testimonial-quote {
        padding-left: 0;
    }

    .home-testimonial-avatar {
        width: 3.75rem;
        height: 3.75rem;
        font-size: 1rem;
    }

    .home-testimonial-role {
        max-width: none;
    }

    .home-testimonial-mark {
        font-size: 2.75rem;
    }

    .home-testimonials-track {
        animation-duration: 58s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-testimonials-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}

/* News */
.home-news-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.home-news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.home-news-card h5 a {
    color: inherit;
    text-decoration: none;
}

.home-news-card h5 a:hover {
    color: var(--primary);
}

.home-news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Ads */
.home-ad-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease;
}

.home-ad-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.home-ad-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.home-ad-body {
    padding: 1.25rem;
}

.home-ad-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Trusted Partners */
.home-trusted {
    position: relative;
    z-index: 2;
    margin-top: clamp(-2rem, -3.5vw, -1rem);
    padding-top: calc(var(--section-spacing) + clamp(1rem, 2.5vw, 1.75rem));
    padding-bottom: calc(clamp(2rem, 4vw, 3rem) + clamp(1rem, 2.5vw, 1.75rem));
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    border-radius: clamp(1.75rem, 5vw, 3rem);
    box-shadow:
        0 -10px 40px rgba(15, 23, 42, 0.04),
        0 10px 40px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-trusted-curve {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(1.75rem, 5vw, 3rem);
    pointer-events: none;
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom: none;
    z-index: 1;
}

.home-trusted-curve-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: clamp(1.75rem, 5vw, 3rem);
    pointer-events: none;
    border-radius: 0 0 clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-top: none;
    z-index: 1;
}

.home-trusted>.container {
    z-index: 1;
}

.home-trusted-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
}

.home-trusted-header .home-why-badge {
    margin-bottom: 1rem;
}

.home-trusted-lead {
    margin: 0;
    font-size: clamp(0.92rem, 1.55vw, 1.02rem);
    line-height: 1.7;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.01em;
}

.home-trusted-card {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.07) 0%, #ffffff 38%, #ffffff 100%);
    border: 1.5px solid rgba(var(--primary-rgb), 0.22);
    border-radius: clamp(1.15rem, 2.2vw, 1.65rem);
    padding: clamp(1.35rem, 2.6vw, 1.85rem) 0;
    box-shadow:
        0 14px 40px rgba(var(--primary-rgb), 0.1),
        0 4px 16px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.home-trusted-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.home-trusted-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 1.15rem;
    padding-inline: 0.85rem;
    animation: home-trusted-marquee 38s linear infinite;
    will-change: transform;
}

.home-trusted-marquee:hover .home-trusted-track {
    animation-play-state: paused;
}

.home-trusted-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
    padding: 0.55rem 0.95rem 0.55rem 0.6rem;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

.home-trusted-item:hover {
    transform: translateY(-2px);
    background: rgba(var(--primary-rgb), 0.06);
}

.home-trusted-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #1e293b;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.12);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.home-trusted-item:hover .home-trusted-item-icon {
    border-color: rgba(var(--primary-rgb), 0.28);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.16);
}

.home-trusted-item-icon img {
    width: 58%;
    height: 58%;
    object-fit: contain;
}

.home-trusted-logo-img {
    max-height: 48px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(15%);
    opacity: 0.9;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.home-trusted-item:hover .home-trusted-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.06);
}

.home-trusted-item-name {
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
    white-space: nowrap;
}

@keyframes home-trusted-marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 991.98px) {
    .home-trusted {
        margin-top: -1.25rem;
        padding-top: calc(var(--section-spacing-sm) + 1rem);
        padding-bottom: calc(var(--section-spacing-sm) + 1rem);
        border-radius: 1.5rem;
    }

    .home-trusted-curve {
        border-radius: 1.5rem 1.5rem 0 0;
        height: 1.5rem;
    }

    .home-trusted-curve-bottom {
        border-radius: 0 0 1.5rem 1.5rem;
        height: 1.5rem;
    }

    .home-trusted-card {
        padding-block: 1.2rem;
    }

    .home-trusted-track {
        animation-duration: 32s;
    }
}

@media (max-width: 575.98px) {
    .home-trusted-lead {
        font-size: 0.9rem;
        padding-inline: 0.5rem;
    }

    .home-trusted-item {
        gap: 0.55rem;
        padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    }

    .home-trusted-item-icon {
        width: 38px;
        height: 38px;
        font-size: 0.92rem;
    }

    .home-trusted-item-name {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-trusted-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .home-trusted-marquee {
        mask-image: none;
        -webkit-mask-image: none;
        overflow: visible;
    }

    .home-trusted-card {
        padding-inline: 0.75rem;
    }
}

/* CTA */
.home-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 50%, var(--accent) 100%);
    border-radius: 24px;
    padding: 2.5rem;
    color: #fff;
}

.home-cta-card h2 {
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.home-cta-card p {
    opacity: 0.9;
}

.home-cta .btn-home-outline {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.home-cta .btn-home-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* FAQ — premium two-column */
.home-faq {
    position: relative;
    z-index: 2;
    margin-top: clamp(-2rem, -3.5vw, -1rem);
    padding-top: calc(var(--section-spacing) + clamp(1rem, 2.5vw, 1.75rem));
    padding-bottom: calc(var(--section-spacing) + clamp(1rem, 2.5vw, 1.75rem));
    overflow: hidden;
    background: linear-gradient(180deg, #e8edf2 0%, #eef2f6 48%, #e8edf2 100%);
    border-radius: clamp(1.75rem, 5vw, 3rem);
    box-shadow:
        0 -10px 40px rgba(15, 23, 42, 0.06),
        0 10px 40px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.home-faq-curve {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(1.75rem, 5vw, 3rem);
    pointer-events: none;
    border-radius: clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem) 0 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-bottom: none;
    z-index: 1;
}

.home-faq-curve-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: clamp(1.75rem, 5vw, 3rem);
    pointer-events: none;
    border-radius: 0 0 clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-top: none;
    z-index: 1;
}

.home-faq>.container {
    z-index: 1;
}

.home-faq-grid {
    align-items: stretch;
}

.home-faq-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.15rem;
}

.home-faq-intro .home-why-badge {
    align-self: flex-start;
    width: auto;
    margin-bottom: 1.15rem;
}

.home-faq-title {
    margin: 0 0 0.9rem;
    max-width: 14ch;
    font-size: clamp(1.85rem, 3.8vw, 2.65rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.home-faq-lead {
    margin: 0 0 clamp(0.25rem, 0.8vw, 0.5rem);
    max-width: 34ch;
    font-size: clamp(0.92rem, 1.5vw, 1rem);
    line-height: 1.75;
    color: #64748b;
}

.home-faq-visual {
    position: relative;
    margin-top: clamp(2.75rem, 5vw, 4rem);
    width: 100%;
    max-width: 26rem;
    aspect-ratio: 2.35 / 1;
    border-radius: 999px;
    overflow: hidden;
    isolation: isolate;
    background: #cbd5e1;
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.1),
        0 4px 14px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.45s var(--ease-out);
    animation: hero-float 5s ease-in-out infinite;
    will-change: transform;
}

.home-faq-visual:hover {
    box-shadow:
        0 22px 48px rgba(15, 23, 42, 0.14),
        0 6px 18px rgba(15, 23, 42, 0.07);
}

.home-faq-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.55s var(--ease-out);
    will-change: transform;
}

.home-faq-visual:hover .home-faq-image {
    transform: scale(1.08);
}

.home-faq-panel {
    padding-top: 0.15rem;
}

.home-faq-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-btn-padding-y: 1.35rem;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
    --bs-accordion-active-color: var(--primary);
    --bs-accordion-active-bg: transparent;
    --bs-accordion-btn-focus-box-shadow: none;
}

.home-faq-item {
    border: 0;
    border-radius: 0 !important;
    background: transparent;
}

.home-faq-item+.home-faq-item {
    border-top: 1px solid #e2e8f0;
}

.home-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: 100%;
    padding-inline: 0;
    font-size: clamp(0.98rem, 1.45vw, 1.08rem);
    font-weight: 700;
    line-height: 1.45;
    color: #0f172a;
    background: transparent !important;
    box-shadow: none !important;
}

.home-faq-trigger::after {
    display: none;
}

.home-faq-trigger:not(.collapsed) {
    color: var(--primary);
    font-weight: 700;
}

.home-faq-question {
    flex: 1;
    text-align: left;
}

.home-faq-chevron {
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #94a3b8;
    transition:
        transform 0.28s var(--ease-out),
        color 0.28s var(--ease-out);
}

.home-faq-trigger:not(.collapsed) .home-faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.home-faq-answer {
    padding: 0 0 1.35rem;
    max-width: 52ch;
    font-size: 0.94rem;
    line-height: 1.75;
    color: #64748b;
}

@media (max-width: 991.98px) {
    .home-faq {
        margin-top: -1.25rem;
        padding-top: calc(var(--section-spacing-sm) + 1rem);
        padding-bottom: calc(var(--section-spacing-sm) + 1rem);
        border-radius: 1.5rem;
    }

    .home-faq-curve {
        border-radius: 1.5rem 1.5rem 0 0;
        height: 1.5rem;
    }

    .home-faq-curve-bottom {
        border-radius: 0 0 1.5rem 1.5rem;
        height: 1.5rem;
    }

    .home-faq-title {
        max-width: none;
    }

    .home-faq-lead {
        max-width: none;
    }

    .home-faq-visual {
        margin-top: clamp(2.25rem, 6vw, 3rem);
        margin-inline: auto;
    }

    .home-faq-panel {
        margin-top: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-faq-visual {
        animation: none;
    }

    .home-faq-image {
        transition: none;
    }

    .home-faq-visual:hover .home-faq-image {
        transform: none;
    }
}

/* App download banner */
.home-app-download {
    padding-block: clamp(2.5rem, 5vw, var(--section-spacing));
}

.home-app-download-card {
    position: relative;
    overflow: hidden;
    border-radius: clamp(1.5rem, 3.5vw, 2.35rem);
    background: linear-gradient(135deg,
            var(--primary) 0%,
            color-mix(in srgb, var(--primary) 78%, #0f172a) 100%);
    box-shadow:
        0 28px 64px rgba(var(--primary-rgb), 0.32),
        0 10px 28px rgba(15, 23, 42, 0.1),
        0 0 56px rgba(var(--primary-rgb), 0.38);
    animation: home-app-download-glow 4.5s ease-in-out infinite;
}

.home-app-download-card::before {
    content: '';
    position: absolute;
    top: -18%;
    left: -8%;
    width: 42%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.home-app-download-card::after {
    content: '';
    position: absolute;
    right: -6%;
    bottom: -12%;
    width: min(58%, 26rem);
    height: 72%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
            rgba(125, 211, 252, 0.42) 0%,
            rgba(var(--primary-rgb), 0.28) 38%,
            transparent 72%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
    animation: home-app-screen-ambient 3.8s ease-in-out infinite alternate;
}

@keyframes home-app-download-glow {

    0%,
    100% {
        box-shadow:
            0 28px 64px rgba(var(--primary-rgb), 0.02),
            0 10px 28px rgba(15, 23, 42, 0.01),
            0 0 48px rgba(var(--primary-rgb), 0.04),
            0 0 96px rgba(var(--primary-rgb), 0.08);
    }

    50% {
        box-shadow:
            0 34px 76px rgba(var(--primary-rgb), 0.04),
            0 14px 34px rgba(15, 23, 42, 0.02),
            0 0 68px rgba(var(--primary-rgb), 0.12),
            0 0 120px rgba(var(--primary-rgb), 0.32);
    }
}

@keyframes home-app-screen-ambient {
    0% {
        opacity: 0.72;
        transform: scale(0.96);
    }

    100% {
        opacity: 1;
        transform: scale(1.04);
    }
}

.home-app-download-grid {
    min-height: clamp(20rem, 38vw, 28rem);
}

.home-app-download-copy {
    position: relative;
    z-index: 2;
    padding: clamp(2.25rem, 5vw, 3.75rem);
    padding-right: clamp(1rem, 2vw, 1.5rem);
}

.home-app-download-title {
    margin: 0 0 0.85rem;
    max-width: 12ch;
    font-size: clamp(2rem, 5vw, 3.15rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: white;
}

.home-app-download-lead p {
    color: white;
}


.home-app-download-lead {
    margin: 0;
    max-width: 36ch;
    font-size: clamp(0.95rem, 1.7vw, 1.12rem);
    line-height: 1.7;
    color: rgba(30, 41, 59, 0.82);
}

.home-app-download-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: clamp(1.5rem, 3.5vw, 2.1rem);
}

.home-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.62rem 1.25rem;
    min-width: 11.5rem;
    border-radius: 11px;
    text-decoration: none;
    transition:
        transform 0.22s var(--ease-out),
        box-shadow 0.22s var(--ease-out);
}

.home-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.home-store-btn .bi {
    font-size: 1.65rem;
    line-height: 1;
}

.home-store-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.home-store-btn small {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    opacity: 0.88;
}

.home-store-btn strong {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.home-store-btn--apple {
    background: #fff;
    color: #0f172a;
}

.home-store-btn--google {
    background: #0f172a;
    color: #fff;
}

.home-app-download-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: clamp(16rem, 32vw, 24rem);
    padding: 0;
}

.home-app-download-mockup-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.home-app-download-mockup-wrap::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 8%;
    width: min(92%, 34rem);
    height: 62%;
    border-radius: clamp(0.95rem, 2vw, 1.25rem);
    background: radial-gradient(ellipse at 42% 38%,
            rgba(56, 189, 248, 0.55) 0%,
            rgba(var(--primary-rgb), 0.32) 34%,
            transparent 72%);
    filter: blur(22px);
    transform: translate(8%, 14%);
    z-index: 0;
    animation: home-app-mockup-glow 3.6s ease-in-out infinite alternate;
}

@keyframes home-app-mockup-glow {
    0% {
        opacity: 0.65;
        filter: blur(20px);
    }

    100% {
        opacity: 1;
        filter: blur(28px);
    }
}

.home-app-download-mockup {
    position: relative;
    z-index: 1;
    display: block;
    width: min(125%, 38rem);
    max-width: none;
    border-radius: clamp(0.95rem, 2vw, 1.25rem);
    border: 3px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        0 32px 64px rgba(15, 23, 42, 0.24),
        0 10px 24px rgba(15, 23, 42, 0.14),
        0 0 36px rgba(56, 189, 248, 0.45),
        0 0 72px rgba(var(--primary-rgb), 0.32),
        inset 0 0 24px rgba(56, 189, 248, 0.12);
    transform: translate(8%, 14%);
    object-fit: cover;
    object-position: left top;
    aspect-ratio: 16 / 11;
    animation: home-app-mockup-shine 4.2s ease-in-out infinite alternate;
}

@keyframes home-app-mockup-shine {
    0% {
        box-shadow:
            0 32px 64px rgba(15, 23, 42, 0.24),
            0 10px 24px rgba(15, 23, 42, 0.14),
            0 0 30px rgba(56, 189, 248, 0.38),
            0 0 60px rgba(var(--primary-rgb), 0.26),
            inset 0 0 18px rgba(56, 189, 248, 0.1);
    }

    100% {
        box-shadow:
            0 36px 72px rgba(15, 23, 42, 0.28),
            0 12px 28px rgba(15, 23, 42, 0.16),
            0 0 48px rgba(56, 189, 248, 0.58),
            0 0 96px rgba(var(--primary-rgb), 0.4),
            inset 0 0 32px rgba(125, 211, 252, 0.18);
    }
}

@media (max-width: 991.98px) {
    .home-app-download-grid {
        min-height: auto;
    }

    .home-app-download-copy {
        padding: clamp(1.5rem, 5vw, 2rem);
        padding-bottom: 0.5rem;
        text-align: center;
    }

    .home-app-download-title {
        max-width: none;
        margin-inline: auto;
    }

    .home-app-download-lead {
        max-width: 36ch;
        margin-inline: auto;
    }

    .home-app-download-stores {
        justify-content: center;
    }

    .home-app-download-visual {
        min-height: auto;
        padding: 0 clamp(1rem, 4vw, 1.5rem) clamp(1.25rem, 4vw, 1.75rem);
        justify-content: center;
    }

    .home-app-download-mockup {
        width: min(100%, 22rem);
        transform: translate(0, 0);
        margin-inline: auto;
    }

    .home-app-download-mockup-wrap::before {
        width: min(100%, 22rem);
        left: 50%;
        right: auto;
        transform: translate(-50%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-app-download-card,
    .home-app-download-card::after,
    .home-app-download-mockup-wrap::before,
    .home-app-download-mockup {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    .home-app-download-stores {
        flex-direction: column;
        align-items: stretch;
    }

    .home-store-btn {
        justify-content: center;
        min-width: 0;
        width: 100%;
    }

    .home-app-download-mockup {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }
}

/* Empty state */
.home-empty-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    color: var(--text-muted);
}

.home-empty-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

@media (min-width: 992px) {
    .home-hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 5rem 0 3rem;
    }

    .home-hero>.container {
        padding-top: 4.5rem;
        padding-bottom: 2rem;
    }

    .home-hero-scene {
        min-height: clamp(440px, 58vh, 560px);
    }
}

@media (max-width: 991px) {
    .home-hero {
        min-height: auto;
        padding-top: 7.25rem;
        padding-bottom: 2.5rem;
        text-align: center;
    }

    .home-hero>.container {
        padding-top: 1.25rem;
        justify-content: flex-start;
    }

    .home-hero-watermark-line {
        font-size: clamp(4rem, 16vw, 7rem);
    }

    .home-hero-books {
        justify-content: center;
    }

    .home-hero-title {
        font-size: clamp(1.9rem, 6.5vw, 2.75rem);
        min-height: 2.15em;
    }

    .home-hero-text {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .home-hero-actions {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0.85rem;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }

    .btn-home-cta-dark {
        width: auto;
        flex: 0 1 auto;
        min-height: auto;
        justify-content: flex-start;
        padding: 0.45rem 1.35rem 0.45rem 0.45rem;
        font-size: 0.88rem;
        gap: 0.65rem;
        white-space: nowrap;
    }

    .btn-home-cta-text {
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-home-cta-icon {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9rem;
    }

    .btn-home-video {
        width: auto;
        flex: 0 0 auto;
        min-height: auto;
        justify-content: flex-start;
        gap: 0.65rem;
        padding: 0;
        font-size: 0.88rem;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        white-space: nowrap;
    }

    .btn-home-video-text {
        overflow: visible;
        text-overflow: clip;
    }

    .btn-home-video-play {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.2rem;
    }

    .home-hero-scene {
        min-height: 320px;
        margin-top: 1.25rem;
        max-width: 100%;
        margin-inline: auto;
        padding-bottom: 1rem;
        overflow: visible;
        align-items: center;
    }

    .home-hero-photo--fallback {
        height: auto;
        min-height: 280px;
        max-height: 360px;
        width: min(100%, 300px);
    }

    .home-hero-figure {
        width: 240px;
        height: 300px;
        margin: 0 auto;
    }

    .home-hero-float--enroll {
        right: 0;
        top: 2%;
        transform: scale(0.88);
    }

    .home-hero-float--quote {
        left: 0;
        bottom: 4%;
        max-width: 185px;
        transform: scale(0.88);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .home-hero-watermark-line {
        font-size: clamp(4rem, 11vw, 7.5rem);
    }

    .home-hero-scene {
        min-height: 340px;
    }
}

@media (max-width: 575.98px) {
    .home-hero {
        padding-top: 7.75rem;
        padding-bottom: 2.5rem;
        overflow-x: hidden;
    }

    .home-hero-watermark-line {
        font-size: clamp(4.5rem, 22vw, 7.25rem);
        letter-spacing: 0.06em;
    }

    .home-hero-title {
        font-size: clamp(1.65rem, 7.5vw, 2.1rem);
    }

    .home-hero-actions {
        gap: 0.7rem;
        padding-inline: 0.5rem;
    }

    .btn-home-cta-dark {
        padding: 0.42rem 1.1rem 0.42rem 0.42rem;
        font-size: 0.84rem;
        gap: 0.55rem;
    }

    .btn-home-cta-icon {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 0.85rem;
    }

    .btn-home-video {
        font-size: 0.84rem;
        gap: 0.55rem;
    }

    .btn-home-video-play {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.1rem;
    }

    .home-hero-scene {
        min-height: 300px;
        padding-bottom: 1.25rem;
    }

    .home-hero-photo--fallback {
        min-height: 260px;
        max-height: 320px;
        width: min(100%, 260px);
    }

    .home-hero-figure {
        width: 220px;
        height: 290px;
    }

    .home-hero-float--quote {
        display: none;
    }

    .home-hero-float--enroll {
        right: 2%;
        top: 6%;
        transform: scale(0.85);
        padding: 0.45rem 0.65rem;
    }
}