/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;
    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--color-white);
    background: var(--color-dark);
}


/* ---------------------------------------------------------
   Background Slider
--------------------------------------------------------- */

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.05);

    transition:
        opacity 1.2s ease,
        transform 7s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}


/* ---------------------------------------------------------
   Overlay
--------------------------------------------------------- */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(16, 25, 19, 0.92) 0%,
            rgba(16, 25, 19, 0.78) 38%,
            rgba(16, 25, 19, 0.48) 68%,
            rgba(16, 25, 19, 0.25) 100%
        );
}


/* ---------------------------------------------------------
   Container
--------------------------------------------------------- */

.hero .container {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------
   Hero Content
--------------------------------------------------------- */

.hero-content {
    max-width: 760px;
    padding: 100px 0;
}


/* ---------------------------------------------------------
   Eyebrow
--------------------------------------------------------- */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;
    padding: 7px 14px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;

    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);

    font-size: 0.88rem;
    font-weight: 600;

    animation: heroFadeUp 0.9s ease both;
}

.hero-eyebrow::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #c9dfce;
}


/* ---------------------------------------------------------
   Heading
--------------------------------------------------------- */

.hero h1 {
    max-width: 760px;

    margin: 0 0 22px;

    color: var(--color-white);

    font-family: var(--font-display);

    font-size: clamp(
        2.8rem,
        5.2vw,
        4.5rem
    );

    font-weight: 700;

    line-height: 1.2;
    letter-spacing: -0.025em;

    animation:
        heroFadeUp 1s ease 0.12s both;
}

.hero h1 strong {
    color: #d4e6d8;
    font-weight: 700;
}


/* ---------------------------------------------------------
   Description
--------------------------------------------------------- */

.hero-content > p {
    max-width: 640px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1.08rem;
    line-height: 1.9;

    animation:
        heroFadeUp 1s ease 0.24s both;
}


/* ---------------------------------------------------------
   CTA Buttons
--------------------------------------------------------- */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 32px;

    animation:
        heroFadeUp 1s ease 0.36s both;
}

.hero-actions .btn {
    min-width: 170px;
}


/* ---------------------------------------------------------
   Hero Trust Points
--------------------------------------------------------- */

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;

    animation:
        heroFadeUp 1s ease 0.48s both;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.86rem;
    font-weight: 500;
}

.hero-points i {
    color: #c9dfce;
    font-size: 0.9rem;
}


/* ---------------------------------------------------------
   Hero Animation
--------------------------------------------------------- */

@keyframes heroFadeUp {

    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   HERO RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .hero {
        min-height: 680px;
    }

    .hero-content {
        max-width: 680px;
    }

    .hero h1 {
        font-size: clamp(
            2.6rem,
            7vw,
            4rem
        );
    }

}


@media (max-width: 700px) {

    .hero {
        min-height: 690px;

        align-items: flex-end;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(16, 25, 19, 0.25) 0%,
                rgba(16, 25, 19, 0.62) 42%,
                rgba(16, 25, 19, 0.94) 100%
            );
    }

    .hero-content {
        padding: 60px 0 68px;
    }

    .hero-eyebrow {
        margin-bottom: 15px;
        font-size: 0.78rem;
    }

    .hero h1 {
        margin-bottom: 17px;

        font-size: clamp(
            2.25rem,
            10vw,
            3.1rem
        );

        line-height: 1.25;
    }

    .hero-content > p {
        margin-bottom: 25px;

        font-size: 0.96rem;
        line-height: 1.8;
    }

    .hero-actions {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 10px;

        margin-bottom: 24px;
    }

    .hero-actions .btn {
        min-width: 0;
        width: 100%;

        padding-inline: 10px;

        font-size: 0.86rem;
    }

    .hero-points {
        gap: 8px 16px;
    }

    .hero-points span {
        font-size: 0.77rem;
    }

}


@media (max-width: 420px) {

    .hero {
        min-height: 700px;
    }

    .hero-actions {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        min-height: 50px;
    }

}


/* =========================================================
   Benefits Section
========================================================= */

.benefits {
    background: var(--color-off-white);
    position: relative;
    overflow: hidden;
}

/* Subtle background block pattern */
.benefits::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 280px;
    opacity: 0.35;
    background:
        linear-gradient(135deg, transparent 50%, rgba(47, 107, 69, 0.05) 50%);
    pointer-events: none;
}

.benefits .container {
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------
   Benefits Grid
--------------------------------------------------------- */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

/* ---------------------------------------------------------
   Benefit Card
--------------------------------------------------------- */

.benefit-card {
    position: relative;
    padding: 32px 28px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
    overflow: hidden;
}

.benefit-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 107, 69, 0.22);
    box-shadow: var(--shadow-md);
}

.benefit-card:hover::after {
    width: 100%;
}

/* ---------------------------------------------------------
   Benefit Icon
--------------------------------------------------------- */

.benefit-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;

    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 14px;

    font-size: 1.5rem;
    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
}

/* ---------------------------------------------------------
   Benefit Content
--------------------------------------------------------- */

.benefit-card h3 {
    margin: 0 0 10px;
    color: var(--color-dark);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.45;
}

.benefit-card p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.96rem;
    line-height: 1.8;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 900px) {

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
    }

    .benefit-card {
        padding: 28px 24px;
    }
}

@media (max-width: 600px) {

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 34px;
    }

    .benefit-card {
        padding: 25px 22px;
    }

    .benefit-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 18px;
        font-size: 1.35rem;
    }

    .benefit-card h3 {
        font-size: 1.18rem;
    }

    .benefit-card p {
        font-size: 0.92rem;
    }
}


/* =========================================================
   Uses / Application Section
========================================================= */

.uses {
    background: var(--color-white);
    position: relative;
}

/* ---------------------------------------------------------
   Uses Grid
--------------------------------------------------------- */

.uses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 50px;
}

/* ---------------------------------------------------------
   Use Card
--------------------------------------------------------- */

.use-card {
    position: relative;
    min-height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-dark);
    isolation: isolate;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.use-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------
   Image
--------------------------------------------------------- */

.use-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0.9;
    transition:
        transform 0.7s ease,
        opacity 0.4s ease;
}

.use-card:hover img {
    transform: scale(1.07);
    opacity: 0.82;
}

/* ---------------------------------------------------------
   Dark Overlay
--------------------------------------------------------- */

.use-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            to top,
            rgba(18, 25, 21, 0.94) 0%,
            rgba(18, 25, 21, 0.62) 45%,
            rgba(18, 25, 21, 0.08) 100%
        );
}

/* ---------------------------------------------------------
   Content
--------------------------------------------------------- */

.use-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;
    padding: 28px 24px;
}

.use-card-content span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    margin-bottom: 13px;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);

    color: var(--color-white);
    font-size: 0.9rem;

    backdrop-filter: blur(5px);
}

.use-card-content h3 {
    margin: 0 0 7px;

    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
}

.use-card-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   Small Accent Line
--------------------------------------------------------- */

.use-card-content::before {
    content: "";
    display: block;

    width: 34px;
    height: 3px;
    margin-bottom: 15px;

    background: var(--color-accent);
    border-radius: 10px;

    transition: width var(--transition);
}

.use-card:hover .use-card-content::before {
    width: 52px;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 1000px) {

    .uses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
    }

    .use-card {
        min-height: 340px;
    }
}

@media (max-width: 600px) {

    .uses-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 34px;
    }

    .use-card {
        min-height: 280px;
        border-radius: 14px;
    }

    .use-card-content {
        padding: 20px 17px;
    }

    .use-card-content span {
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
        font-size: 0.78rem;
    }

    .use-card-content h3 {
        margin-bottom: 4px;
        font-size: 1.05rem;
    }

    .use-card-content p {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .use-card-content::before {
        width: 28px;
        height: 2px;
        margin-bottom: 11px;
    }
}

@media (max-width: 380px) {

    .uses-grid {
        gap: 10px;
    }

    .use-card {
        min-height: 255px;
    }

    .use-card-content {
        padding: 17px 14px;
    }

    .use-card-content h3 {
        font-size: 0.98rem;
    }

    .use-card-content p {
        font-size: 0.74rem;
    }
}


/* =========================================================
   Comparison Section
========================================================= */

.comparison {
    background: var(--color-light);
    position: relative;
    overflow: hidden;
}

.comparison .container {
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------
   Comparison Wrapper
--------------------------------------------------------- */

.comparison-table-wrap {
    margin-top: 48px;
    overflow-x: auto;

    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);

    -webkit-overflow-scrolling: touch;
}

/* ---------------------------------------------------------
   Comparison Table
--------------------------------------------------------- */

.comparison-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 19px 22px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.comparison-table thead th {
    background: var(--color-dark);
    color: var(--color-white);

    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.comparison-table thead th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.comparison-table thead th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

/* ---------------------------------------------------------
   First Column
--------------------------------------------------------- */

.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 30%;
    font-weight: 700;
    color: var(--color-dark);
}

/* ---------------------------------------------------------
   Data Cells
--------------------------------------------------------- */

.comparison-table td {
    color: var(--color-text);
    font-size: 0.94rem;
    line-height: 1.7;
}

.comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.comparison-table tbody tr {
    transition: background var(--transition);
}

.comparison-table tbody tr:hover {
    background: var(--color-off-white);
}

/* ---------------------------------------------------------
   Hollow Block Column
--------------------------------------------------------- */

.comparison-table th:last-child {
    background: var(--color-primary);
}

.comparison-table td:last-child {
    color: var(--color-primary-dark);
    font-weight: 600;
    background: rgba(47, 107, 69, 0.035);
}

/* ---------------------------------------------------------
   Check / Neutral Indicators
--------------------------------------------------------- */

.comparison-table .check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-primary);
    font-weight: 600;
}

.comparison-table .check i {
    font-size: 0.95rem;
}

.comparison-table .neutral {
    color: var(--color-text);
}

/* ---------------------------------------------------------
   Comparison Note
--------------------------------------------------------- */

.comparison-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    max-width: 850px;
    margin: 22px auto 0;
    padding: 16px 18px;

    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-accent);
    border-radius: 10px;

    color: var(--color-text-light);
    font-size: 0.88rem;
    line-height: 1.75;
}

.comparison-note i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--color-accent);
}

/* ---------------------------------------------------------
   Mobile Scroll Hint
--------------------------------------------------------- */

.comparison-scroll-hint {
    display: none;
    margin-top: 10px;

    color: var(--color-text-light);
    font-size: 0.78rem;
    text-align: center;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 700px) {

    .comparison-table-wrap {
        margin-top: 34px;
        border-radius: 14px;
    }

    .comparison-table {
        min-width: 620px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 16px;
    }

    .comparison-table thead th {
        font-size: 0.9rem;
    }

    .comparison-table td {
        font-size: 0.85rem;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        width: 27%;
    }

    .comparison-scroll-hint {
        display: block;
    }

    .comparison-note {
        margin-top: 18px;
        padding: 14px 15px;
        font-size: 0.82rem;
    }
}

@media (max-width: 420px) {

    .comparison-table {
        min-width: 580px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 13px 14px;
    }
}


/* =========================================================
   Product / Block Types Section
========================================================= */

.products {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.products .container {
    position: relative;
    z-index: 1;
}

/* ---------------------------------------------------------
   Product Grid
--------------------------------------------------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 50px auto 0;
}

/* ---------------------------------------------------------
   Product Card
--------------------------------------------------------- */

.product-card {
    display: flex;
    flex-direction: column;

    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(47, 107, 69, 0.25);
    box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------
   Product Image
--------------------------------------------------------- */

.product-card-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: var(--color-light);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

/* Image Label */

.product-card-image span {
    position: absolute;
    top: 16px;
    left: 16px;

    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    background: rgba(29, 39, 33, 0.86);
    color: var(--color-white);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;

    font-size: 0.78rem;
    font-weight: 600;

    backdrop-filter: blur(6px);
}

/* ---------------------------------------------------------
   Product Content
--------------------------------------------------------- */

.product-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 28px;
}

.product-card-content h3 {
    margin: 0 0 10px;

    color: var(--color-dark);
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.4;
}

.product-card-content p {
    margin: 0;

    color: var(--color-text-light);
    font-size: 0.94rem;
    line-height: 1.8;
}

/* ---------------------------------------------------------
   Product Features
--------------------------------------------------------- */

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px 14px;

    margin: 22px 0 26px;
    padding-top: 20px;

    border-top: 1px solid var(--color-border);
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    color: var(--color-text);
    font-size: 0.85rem;
    line-height: 1.5;
}

.product-features li i {
    flex: 0 0 auto;
    margin-top: 2px;

    color: var(--color-primary);
    font-size: 0.82rem;
}

/* ---------------------------------------------------------
   Product Action
--------------------------------------------------------- */

.product-card-action {
    margin-top: auto;
}

.product-card-action .btn {
    width: 100%;
}

/* ---------------------------------------------------------
   Product Bottom Note
--------------------------------------------------------- */

.product-note {
    max-width: 760px;
    margin: 28px auto 0;

    color: var(--color-text-light);
    font-size: 0.84rem;
    line-height: 1.75;
    text-align: center;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 800px) {

    .product-grid {
        gap: 18px;
        margin-top: 40px;
    }

    .product-card-image {
        height: 235px;
    }

    .product-card-content {
        padding: 24px;
    }

    .product-card-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {

    .product-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 16px;
        margin-top: 34px;
    }

    .product-card-image {
        height: 250px;
    }

    .product-card-content {
        padding: 22px;
    }

    .product-card-content h3 {
        font-size: 1.25rem;
    }

    .product-card-content p {
        font-size: 0.9rem;
    }

    .product-features {
        margin: 18px 0 22px;
        padding-top: 17px;
    }

    .product-features li {
        font-size: 0.82rem;
    }
}

@media (max-width: 380px) {

    .product-card-image {
        height: 220px;
    }

    .product-card-content {
        padding: 19px;
    }

    .product-features {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   DEMO SIDEBAR
   ===================================================== */

.demo-sidebar {
    position: fixed;
    z-index: 301;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(340px, 88vw);
    padding: 24px;
    overflow-y: auto;
    background: var(--color-white);
    box-shadow: 14px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(-105%);
    transition: transform 0.3s ease;
}

.demo-sidebar.is-open {
    transform: translateX(0);
}


/* Sidebar Header */

.demo-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.demo-sidebar-head strong {
    color: var(--color-dark);
    font-size: 18px;
    font-weight: 700;
}

.demo-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-dark);
    background: var(--color-white);
    font-size: 24px;
    line-height: 1;
    transition: background-color var(--transition), border-color var(--transition);
}

.demo-close:hover {
    background: var(--color-light);
    border-color: var(--color-primary);
}


/* Demo List */

.demo-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 22px;
}

.demo-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
    background: var(--color-light);
}

.demo-link:hover {
    background: var(--color-light);
    color: var(--color-primary);
}

.demo-link.active {
    border-color: rgba(53, 92, 58, 0.12);
    background: var(--color-light);
    color: var(--color-primary);
    font-weight: 700;
}


/* Active Indicator */

.demo-link.active::before {
    content: "";
    width: 4px;
    height: 18px;
    margin-right: 10px;
    border-radius: 4px;
    background: var(--color-primary);
}


/* Sidebar Overlay */

.demo-overlay {
    position: fixed;
    z-index: 300;
    inset: 0;
    background: rgba(20, 28, 22, 0.38);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demo-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}


/* Prevent Background Scroll */

body.sidebar-open {
    overflow: hidden;
}


/* Sidebar Responsive */

@media (max-width: 600px) {

    .demo-sidebar {
        width: min(310px, 88vw);
        padding: 20px;
    }

    .demo-sidebar-head {
        padding-bottom: 16px;
    }

    .demo-link {
        min-height: 44px;
    }
}


/* =====================================================
   STICKY SALES BAR
   ===================================================== */

.sticky-nav {
    position: fixed;
    z-index: 200;
    right: 50%;
    bottom: 16px;
    display: flex;
    width: min(100% - 32px, 560px);
    min-height: 58px;
    transform: translateX(50%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: var(--color-dark);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}


/* Demo Toggle */

.sticky-toggle {
    display: flex;
    flex: 0 0 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.sticky-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-white);
    transition: transform 0.25s ease;
}

.sticky-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* WhatsApp CTA */

.whatsapp-button {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    transition: background-color var(--transition);
}

.whatsapp-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.whatsapp-icon {
    font-size: 18px;
}


/* Sticky Nav Responsive */

@media (max-width: 600px) {

    .sticky-nav {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
        min-height: 54px;
        border-radius: 14px;
        transform: none;
    }

    .sticky-toggle {
        flex-basis: 54px;
    }

    .whatsapp-button {
        font-size: 14px;
    }
}