﻿/* =========================================================
   FEATURES PAGE
========================================================= */

.features-page {
    padding: 80px 24px 110px;
    background: #f8fafc;
}


/* =========================================================
   HERO
========================================================= */

.features-hero {
    max-width: 760px;
    margin: 0 auto 100px;
    text-align: center;
}

    .features-hero h1 {
        margin: 16px 0 20px;
        font-size: clamp(42px, 6vw, 68px);
        line-height: 1.05;
        letter-spacing: -2px;
        font-weight: 800;
        color: #101828;
    }

    .features-hero p {
        max-width: 620px;
        margin: 0 auto;
        font-size: 18px;
        line-height: 1.7;
        color: #667085;
    }


/* =========================================================
   FEATURE SECTION
========================================================= */

.feature-section {
    max-width: 1100px;
    margin: 0 auto 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-reverse {
    direction: rtl;
}

    .feature-reverse > * {
        direction: ltr;
    }


.feature-content {
    max-width: 500px;
}

.feature-number {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #1565c0;
}

.feature-label {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #667085;
}

.feature-content h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1px;
    font-weight: 800;
    color: #101828;
}

.feature-content p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #667085;
}

.feature-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .feature-points li {
        display: flex;
        align-items: center;
        gap: 9px;
        font-size: 14px;
        color: #344054;
    }

    .feature-points .material-icons {
        font-size: 19px;
        color: #2fbf71;
    }


/* =========================================================
   VISUAL AREA
========================================================= */

.feature-visual {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


/* =========================================================
   BROWSER
========================================================= */

.feature-browser {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(16, 24, 40, 0.10);
    transform: rotate(1deg);
}

.browser-top {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: #f2f4f7;
}

    .browser-top span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d0d5dd;
    }

.browser-address {
    margin: 10px 16px;
    padding: 7px 12px;
    border-radius: 8px;
    background: #f2f4f7;
    font-size: 11px;
    color: #667085;
}

.store-preview {
    padding: 20px;
}

.store-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-logo {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #1565c0;
    color: #ffffff;
    font-weight: 800;
}

.store-preview-header strong {
    display: block;
    font-size: 15px;
    color: #101828;
}

.store-preview-header small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: #98a2b3;
}

.store-search {
    margin: 18px 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f2f4f7;
    font-size: 11px;
    color: #98a2b3;
}

    .store-search .material-icons {
        margin-right: 5px;
        vertical-align: middle;
        font-size: 16px;
    }

.store-categories {
    display: flex;
    gap: 7px;
    overflow: hidden;
}

    .store-categories span {
        padding: 7px 10px;
        border-radius: 20px;
        background: #f2f4f7;
        white-space: nowrap;
        font-size: 10px;
        color: #475467;
    }

        .store-categories span:first-child {
            background: #e8f1fb;
            color: #1565c0;
        }

.store-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.store-product {
    padding: 9px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
}

.product-image {
    height: 75px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #eef2f5;
}

.product-green {
    background: #d9f3df;
}

.product-orange {
    background: #ffe4c7;
}

.product-brown {
    background: #e9ded2;
}

.store-product strong {
    display: block;
    font-size: 10px;
    color: #101828;
}

.store-product small {
    font-size: 9px;
    color: #667085;
}


/* =========================================================
   PRODUCT DEMO
========================================================= */

.product-card-demo {
    width: 100%;
    max-width: 360px;
    display: grid;
    grid-template-columns: 130px 1fr;
    overflow: hidden;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 25px 55px rgba(16, 24, 40, 0.09);
}

.demo-product-image {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f8f3;
}

    .demo-product-image .material-icons {
        font-size: 55px;
        color: #8a9b8e;
    }

.demo-product-info {
    padding: 24px;
}

.demo-category {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #667085;
}

.demo-product-info h3 {
    margin: 10px 0 5px;
    font-size: 22px;
    color: #101828;
}

.demo-product-info p {
    margin: 0 0 22px;
    font-size: 12px;
    line-height: 1.5;
    color: #667085;
}

.demo-variants {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .demo-variants button {
        padding: 8px 10px;
        border: 1px solid #d0d5dd;
        border-radius: 8px;
        background: #ffffff;
        text-align: left;
        font-size: 11px;
        color: #475467;
    }

        .demo-variants button.active {
            border-color: #1565c0;
            background: #e8f1fb;
            color: #1565c0;
        }

.demo-price {
    margin: 22px 0 14px;
    font-size: 24px;
    font-weight: 800;
    color: #101828;
}

.demo-cart-button {
    width: 100%;
    padding: 11px;
    border: 0;
    border-radius: 10px;
    background: #1565c0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   ORDER DEMO
========================================================= */

.order-demo {
    width: 100%;
    max-width: 390px;
    padding: 26px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 25px 55px rgba(16, 24, 40, 0.09);
}

.order-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaecf0;
}

    .order-demo-header span:first-child {
        display: block;
        margin-bottom: 4px;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 1px;
        color: #98a2b3;
    }

    .order-demo-header strong {
        font-size: 17px;
        color: #101828;
    }

.order-status {
    padding: 6px 10px;
    border-radius: 20px;
    background: #fff4e5;
    color: #b54708;
    font-size: 10px;
    font-weight: 700;
}

.order-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}

.customer-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f1fb;
    color: #1565c0;
    font-size: 13px;
    font-weight: 800;
}

.order-customer strong {
    display: block;
    font-size: 13px;
    color: #101828;
}

.order-customer small {
    font-size: 10px;
    color: #98a2b3;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 12px;
    color: #667085;
}

    .order-item strong {
        color: #344054;
    }

.order-total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid #eaecf0;
    font-size: 14px;
    font-weight: 700;
    color: #101828;
}


/* =========================================================
   OFFER DEMO
========================================================= */

.offer-demo {
    width: 100%;
    max-width: 430px;
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 25px 55px rgba(16, 24, 40, 0.09);
}

.offer-demo-product {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.offer-product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fff3e6;
    color: #ff8a00;
}

    .offer-product-icon .material-icons {
        font-size: 24px;
    }

.offer-demo-product strong {
    display: block;
    font-size: 15px;
    color: #101828;
}

.offer-demo-product small {
    font-size: 11px;
    color: #98a2b3;
}

.offer-price-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

    .offer-price-row span {
        display: block;
        margin-bottom: 5px;
        font-size: 10px;
        color: #98a2b3;
    }

    .offer-price-row strong {
        font-size: 22px;
        color: #101828;
    }

.offer-arrow {
    color: #98a2b3;
    font-size: 20px;
}

.offer-highlight strong {
    color: #ff8a00;
}

.offer-message {
    display: flex;
    gap: 10px;
    margin: 25px 0;
    padding: 15px;
    border-radius: 13px;
    background: #fff8ef;
}

    .offer-message .material-icons {
        font-size: 18px;
        color: #ff8a00;
    }

    .offer-message p {
        margin: 0;
        font-size: 12px;
        line-height: 1.5;
        color: #475467;
    }

.offer-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

    .offer-actions button {
        padding: 10px 5px;
        border-radius: 9px;
        font-size: 11px;
        font-weight: 700;
    }

.offer-reject {
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #667085;
}

.offer-counter {
    border: 1px solid #7657f6;
    background: #ffffff;
    color: #7657f6;
}

.offer-accept {
    border: 0;
    background: #2fbf71;
    color: #ffffff;
}


/* =========================================================
   CHAT DEMO
========================================================= */

.chat-demo {
    width: 100%;
    max-width: 390px;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 25px 55px rgba(16, 24, 40, 0.09);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid #eaecf0;
}

    .chat-header strong {
        display: block;
        font-size: 13px;
        color: #101828;
    }

    .chat-header small {
        font-size: 10px;
        color: #98a2b3;
    }

.chat-messages {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
}

.chat-message {
    max-width: 78%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.5;
}

    .chat-message.customer {
        align-self: flex-start;
        background: #f2f4f7;
        color: #475467;
    }

    .chat-message.shop {
        align-self: flex-end;
        background: #e8f1fb;
        color: #1565c0;
    }

.chat-input {
    margin: 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 13px;
    border-radius: 10px;
    background: #f2f4f7;
    font-size: 11px;
    color: #98a2b3;
}

    .chat-input .material-icons {
        font-size: 18px;
        color: #1565c0;
    }


/* =========================================================
   QR DEMO
========================================================= */

.qr-demo {
    width: 260px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 25px 55px rgba(16, 24, 40, 0.09);
}

.qr-store-name {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 800;
    color: #101828;
}

.qr-code {
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 8px solid #ffffff;
    box-shadow: 0 0 0 1px #eaecf0;
}

.qr-pattern {
    width: 145px;
    height: 145px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding: 7px;
    background: #101828;
}

    .qr-pattern span {
        background: #ffffff;
    }

        .qr-pattern span:nth-child(2),
        .qr-pattern span:nth-child(5),
        .qr-pattern span:nth-child(8) {
            background: #101828;
        }

.qr-demo > strong {
    margin-top: 20px;
    font-size: 14px;
    color: #101828;
}

.qr-demo > small {
    margin-top: 5px;
    font-size: 10px;
    color: #98a2b3;
}


/* =========================================================
   INSIGHTS
========================================================= */

.features-insights {
    max-width: 1000px;
    margin: 30px auto 0;
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 26px;
    background: #101828;
}

.features-insights-content {
    max-width: 600px;
}

.pricing-coming-soon {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #ffd54f;
}

.features-insights h2 {
    margin: 12px 0 10px;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
}

.features-insights p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #98a2b3;
}

.features-insights-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    max-width: 280px;
}

    .features-insights-items span {
        padding: 9px 14px;
        border: 1px solid #344054;
        border-radius: 50px;
        color: #ffffff;
        font-size: 13px;
    }


/* =========================================================
   FINAL CTA
========================================================= */

.features-final {
    max-width: 700px;
    margin: 110px auto 0;
    text-align: center;
}

    .features-final h2 {
        margin: 14px 0 12px;
        font-size: 42px;
        font-weight: 800;
        color: #101828;
    }

    .features-final p {
        margin: 0 auto 28px;
        max-width: 550px;
        font-size: 16px;
        line-height: 1.7;
        color: #667085;
    }

.features-final-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    background: #1565c0;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

    .features-final-button:hover {
        background: #0d47a1;
        color: #ffffff;
        transform: translateY(-1px);
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .features-page {
        padding: 60px 18px 80px;
    }

    .features-hero {
        margin-bottom: 70px;
    }

    .feature-section {
        grid-template-columns: 1fr;
        gap: 45px;
        margin-bottom: 90px;
    }

    .feature-reverse {
        direction: ltr;
    }

    .feature-content {
        max-width: 650px;
    }

    .feature-visual {
        min-height: auto;
    }

    .features-insights {
        flex-direction: column;
        align-items: flex-start;
    }

    .features-insights-items {
        justify-content: flex-start;
        max-width: none;
    }
}


@media (max-width: 520px) {

    .features-hero h1 {
        letter-spacing: -1px;
    }

    .feature-content h2 {
        font-size: 34px;
    }

    .feature-browser {
        transform: none;
    }

    .store-products {
        grid-template-columns: 1fr 1fr;
    }

    .store-product:last-child {
        display: none;
    }

    .product-card-demo {
        grid-template-columns: 100px 1fr;
    }

    .demo-product-image {
        min-height: 330px;
    }

    .offer-price-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .offer-arrow {
        display: none;
    }

    .offer-actions {
        grid-template-columns: 1fr;
    }

    .features-insights {
        padding: 30px;
    }

    .features-final {
        margin-top: 80px;
    }

        .features-final h2 {
            font-size: 34px;
        }
}
