.demo-page {
    background: #fffdf8;
    color: #061f16;
}

.demo-hero {
    padding: 4rem 0 2rem;
}

.demo-hero-grid {
    display: grid;
    grid-template-columns: 43% 57%;
    align-items: center;
    min-height: 620px;
    gap: 2rem;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #eaf7ed;
    color: #063b22;
    border-radius: 999px;
    padding: .55rem 1rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.demo-hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 1.08;
    font-weight: 900;
    color: #072b1c;
    letter-spacing: -0.05em;
    margin-bottom: 1.4rem;
}

.demo-hero-content h1 span {
    display: block;
    color: #009640;
}

.demo-hero-content p {
    max-width: 560px;
    font-size: 1.12rem;
    line-height: 1.8;
    color: #061933;
    font-weight: 600;
    margin-bottom: 2rem;
}

.demo-mini-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.demo-mini-features article {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.demo-mini-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.demo-mini-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.demo-mini-icon.green { background: #009640; }
.demo-mini-icon.purple { background: #7c3aed; }
.demo-mini-icon.yellow { background: #f6b800; }

.demo-mini-features h3 {
    font-size: .9rem;
    font-weight: 900;
    margin: 0 0 .25rem;
}

.demo-mini-features p {
    font-size: .78rem;
    margin: 0;
    color: #061933;
    line-height: 1.4;
}

.demo-actions,
.demo-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-demo-primary,
.btn-demo-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 900;
    text-decoration: none;
}

.btn-demo-primary {
    background: #007a3d;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0,122,61,.22);
}

.btn-demo-outline {
    background: #fff;
    color: #007a3d;
    border: 1px solid #007a3d;
}

.btn-demo-outline.light {
    border: 0;
}

.demo-hero-image {
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* DASHBOARD DEMO */

.demo-platform-section {
    padding: 2rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 900;
    color: #072b1c;
    margin-bottom: .5rem;
}

.section-heading h2 i,
.demo-can-card h2 i {
    color: #009640;
}

.section-heading p {
    color: #061933;
    font-weight: 600;
}

.demo-dashboard {
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 24px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .05);
}

.demo-sidebar {
    border-right: 1px solid #e8edf3;
    padding-right: 1rem;
}

.demo-menu {
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    font-weight: 800;
    color: #061933;
    text-align: left;
    cursor: pointer;
}

.demo-menu i {
    font-size: 1.25rem;
}

.demo-menu.active {
    background: #009640;
    color: #fff;
}

.demo-content {
    min-width: 0;
}

.demo-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-topbar h3 {
    font-size: 1.7rem;
    font-weight: 900;
    color: #072b1c;
    margin-bottom: .25rem;
}

.demo-topbar p {
    margin: 0;
    color: #061933;
}

.demo-user {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.demo-user span {
    background: #f5faf6;
    border-radius: 999px;
    padding: .6rem .9rem;
    font-weight: 900;
}

.demo-user span i {
    color: #f6b800;
}

.demo-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f3f4f6;
    overflow: hidden;
}

.demo-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-dynamic {
    min-height: 360px;
}

.demo-cards-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr .8fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.demo-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    padding: 1.4rem;
}

.demo-card h4 {
    font-weight: 900;
    color: #061933;
    margin-bottom: .8rem;
}

.demo-big-number {
    font-size: 2rem;
    font-weight: 900;
    color: #072b1c;
}

.demo-progress {
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin: .8rem 0;
}

.demo-progress span {
    display: block;
    height: 100%;
    background: #009640;
    border-radius: 999px;
}

.demo-learning-card {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 1rem;
}

.demo-learning-img {
    width: 140px;
    height: 110px;
    border-radius: 16px;
    background: #f5faf6;
    overflow: hidden;
}

.demo-learning-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-small-btn {
    border: 0;
    background: #009640;
    color: #fff;
    border-radius: 10px;
    padding: .8rem 1rem;
    font-weight: 900;
}

.demo-ranking li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .7rem;
    font-weight: 700;
}

.demo-dots {
    display: flex;
    justify-content: center;
    gap: .6rem;
    margin: 1.5rem 0 .7rem;
}

.demo-dots span {
    width: 14px;
    height: 8px;
    border-radius: 999px;
    background: #d9dde5;
}

.demo-dots span.active {
    width: 28px;
    background: #009640;
}

.demo-note {
    text-align: center;
    color: #061933;
    font-size: .9rem;
    margin: 0;
}


/* CAN SECTION */

.demo-can-section {
    padding: 2rem 0;
}

.demo-can-card {
    background: linear-gradient(135deg, #f0fff4 0%, #f8fff6 100%);
    border-radius: 24px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 240px;
    align-items: center;
    gap: 2rem;
}

.demo-can-card h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #072b1c;
    margin-bottom: 1.5rem;
}

.demo-can-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.demo-can-grid article {
    border-right: 1px solid #dfe6ee;
    padding-right: 1rem;
}

.demo-can-grid article:last-child {
    border-right: 0;
}

.can-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: .8rem;
}

.can-icon i {
    font-size: 1.8rem;
}

.can-icon.green { background: #dcfce7; color: #15803d; }
.can-icon.purple { background: #efe5ff; color: #7c3aed; }
.can-icon.yellow { background: #fef3c7; color: #d97706; }
.can-icon.blue { background: #dbeafe; color: #2563eb; }
.can-icon.pink { background: #ffe4ef; color: #db2777; }

.demo-can-grid h3 {
    font-size: .95rem;
    font-weight: 900;
    color: #061933;
}

.demo-can-grid p {
    font-size: .82rem;
    line-height: 1.6;
    color: #061933;
}

.demo-can-image {
    height: 260px;
}

.demo-can-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* CTA */

.demo-cta-section {
    padding: 1rem 0 4rem;
}

.demo-cta {
    background: linear-gradient(135deg, #003c2c 0%, #007a3d 100%);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 1.5rem;
    color: #fff;
}

.demo-cta-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: rgba(255,255,255,.13);
    display: grid;
    place-items: center;
    color: #f6b800;
}

.demo-cta-icon i {
    font-size: 2.2rem;
}

.demo-cta h2 {
    font-size: 1.7rem;
    font-weight: 900;
}

.demo-cta p {
    margin: 0;
    color: rgba(255,255,255,.86);
}


/* RESPONSIVE */

@media (max-width: 1200px) {
    .demo-hero-grid,
    .demo-dashboard,
    .demo-can-card,
    .demo-cta {
        grid-template-columns: 1fr;
    }

    .demo-sidebar {
        border-right: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: .6rem;
    }

    .demo-can-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-can-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .demo-hero-content {
        text-align: center;
    }

    .demo-mini-features,
    .demo-cards-grid,
    .demo-learning-card {
        grid-template-columns: 1fr;
    }

    .demo-actions,
    .demo-cta-actions {
        justify-content: center;
    }

    .demo-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .demo-sidebar {
        grid-template-columns: 1fr;
    }

    .demo-can-grid {
        grid-template-columns: 1fr;
    }

    .demo-can-grid article {
        border-right: 0;
        border-bottom: 1px solid #dfe6ee;
    }

    .demo-can-grid article:last-child {
        border-bottom: 0;
    }

    .demo-cta {
        text-align: center;
    }

    .demo-cta-icon {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .demo-hero-content h1 {
        font-size: 2.6rem;
    }

    .demo-hero-image {
        min-height: 300px;
    }
}