/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;

    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.8;

    background: #f5f7fb;
    color: #172033;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* ========================================
   CONTAINER
======================================== */

.container {
    width: 100%;
    max-width: 1150px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* ========================================
   HEADER
======================================== */

.site-header {
    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #e7eaf0;
}

.header-container {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo {
    flex-shrink: 0;

    color: #1769e0;

    font-size: 24px;
    font-weight: 800;

    white-space: nowrap;
}

.main-navigation {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 20px;
}

.main-navigation a {
    flex: 0 0 auto;

    color: #30394a;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: #1769e0;
}


/* ========================================
   HERO
======================================== */

.hero {
    width: 100%;

    padding: 65px 0;

    background: #ffffff;
}

.hero-container {
    min-width: 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);

    align-items: center;

    gap: 50px;
}

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

.hero-label {
    display: inline-block;

    margin-bottom: 10px;

    color: #1769e0;

    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    max-width: 700px;

    margin-bottom: 18px;

    color: #101827;

    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.4;
}

.hero-content p {
    max-width: 650px;

    margin-bottom: 28px;

    color: #687386;

    font-size: 18px;
}

.hero-image {
    width: 100%;
    min-width: 0;
}

.hero-image img {
    width: 100%;

    aspect-ratio: 3 / 2;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.10);
}


/* ========================================
   PRIMARY BUTTON
======================================== */

.primary-button {
    min-height: 48px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 12px 26px;

    background: #1769e0;
    color: #ffffff;

    border-radius: 10px;

    font-size: 15px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.primary-button:hover {
    background: #0d54ba;

    transform: translateY(-1px);
}


/* ========================================
   SECTION HEADER
======================================== */

.section-header {
    width: 100%;
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 7px;

    color: #1769e0;

    font-size: 14px;
    font-weight: 700;
}

.section-header h2 {
    margin-bottom: 12px;

    color: #111827;

    font-size: 30px;
    line-height: 1.5;
}

.section-header p {
    color: #687386;

    font-size: 16px;
}


/* ========================================
   PRODUCTS
======================================== */

.products-section {
    width: 100%;

    padding: 75px 0;

    background: #f5f7fb;
}

.products-grid {
    width: 100%;
    min-width: 0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.product-card {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e4e8ef;

    border-radius: 16px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(20, 30, 50, 0.10);
}

.product-card > img {
    width: 100%;

    aspect-ratio: 3 / 2;

    object-fit: cover;
}

.product-content {
    padding: 21px;
}

.product-content h3 {
    margin-bottom: 7px;

    color: #172033;

    font-size: 19px;
}

.product-content p {
    min-height: 52px;

    color: #687386;

    font-size: 14px;
}

.product-price {
    margin-top: 10px;

    color: #1769e0;

    font-size: 21px;
    font-weight: 800;
}

.product-button {
    width: 100%;

    min-height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 16px;

    padding: 10px;

    background: #1769e0;
    color: #ffffff;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    transition: background 0.2s ease;
}

.product-button:hover {
    background: #0d54ba;
}


/* ========================================
   ABOUT
======================================== */

.about-section {
    width: 100%;

    padding: 75px 0;

    background: #ffffff;
}

.about-content {
    width: 100%;
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;
}

.about-content p {
    margin-bottom: 16px;

    color: #596579;

    font-size: 16px;
}


/* ========================================
   ORDER STEPS
======================================== */

.order-section {
    width: 100%;

    padding: 75px 0;

    background: #f5f7fb;
}

.steps-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.step {
    min-width: 0;

    padding: 25px 20px;

    background: #ffffff;

    border: 1px solid #e4e8ef;

    border-radius: 15px;

    text-align: center;
}

.step-number {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 14px;

    border-radius: 50%;

    background: #1769e0;
    color: #ffffff;

    font-weight: 700;
}

.step h3 {
    margin-bottom: 8px;

    color: #172033;

    font-size: 18px;
}

.step p {
    color: #687386;

    font-size: 14px;
}


/* ========================================
   FAQ
======================================== */

.faq-section {
    width: 100%;

    padding: 75px 0;

    background: #ffffff;
}

.faq-list {
    width: 100%;
    max-width: 850px;

    margin-left: auto;
    margin-right: auto;
}

.faq-list details {
    width: 100%;

    margin-bottom: 12px;

    padding: 18px 20px;

    background: #fafbfc;

    border: 1px solid #e3e7ed;

    border-radius: 12px;
}

.faq-list summary {
    cursor: pointer;

    color: #202838;

    font-weight: 700;
}

.faq-list details p {
    margin-top: 12px;

    color: #687386;

    font-size: 15px;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    width: 100%;

    padding: 45px 0 25px;

    background: #111827;

    color: #ffffff;

    text-align: center;
}

.site-footer h2 {
    margin-bottom: 8px;

    font-size: 24px;
}

.site-footer p {
    margin-bottom: 12px;

    color: #c8cfda;
}

.site-footer a {
    display: inline-block;

    margin-bottom: 20px;

    color: #ffffff;

    font-weight: 700;
}

.copyright {
    font-size: 13px;
}


/* ========================================
   TABLET
   901px تا 1100px
======================================== */

@media (max-width: 1100px) {

    .hero-container {
        gap: 35px;
    }

    .products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px;
    }

    .steps-grid {
        gap: 15px;
    }
}


/* ========================================
   TABLET
   حداکثر 900px
======================================== */

@media (max-width: 900px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-container {
        flex-direction: column;

        padding-top: 16px;
        padding-bottom: 16px;

        gap: 14px;
    }

    .main-navigation {
        width: 100%;

        justify-content: flex-start;

        overflow-x: auto;

        padding-bottom: 4px;

        scrollbar-width: none;
    }

    .main-navigation::-webkit-scrollbar {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 35px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        max-width: 700px;

        margin-left: auto;
        margin-right: auto;
    }

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .steps-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ========================================
   MOBILE
   حداکثر 600px
======================================== */

@media (max-width: 600px) {

    .container {
        width: 100%;

        padding-left: 14px;
        padding-right: 14px;
    }

    /* Header */

    .site-header {
        position: relative;
    }

    .header-container {
        min-height: auto;

        padding-top: 15px;
        padding-bottom: 12px;
    }

    .logo {
        font-size: 22px;
    }

    .main-navigation {
        gap: 16px;
    }

    .main-navigation a {
        font-size: 13px;
    }


    /* Hero */

    .hero {
        padding: 42px 0;
    }

    .hero-container {
        display: flex;

        flex-direction: column;

        width: 100%;

        gap: 28px;
    }

    .hero h1 {
        font-size: 29px;

        line-height: 1.45;
    }

    .hero-content p {
        font-size: 16px;

        line-height: 2;
    }

    .primary-button {
        width: 100%;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100%;

        aspect-ratio: 16 / 10;

        border-radius: 14px;
    }


    /* Sections */

    .products-section,
    .about-section,
    .order-section,
    .faq-section {
        padding: 55px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 25px;
    }

    .section-header p {
        font-size: 15px;
    }


    /* Products */

    .products-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .product-card > img {
        aspect-ratio: 16 / 10;
    }

    .product-content {
        padding: 19px;
    }

    .product-content h3 {
        font-size: 18px;
    }

    .product-price {
        font-size: 20px;
    }


    /* Steps */

    .steps-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .step {
        padding: 22px 18px;
    }


    /* FAQ */

    .faq-list details {
        padding: 16px;
    }
}


/* ========================================
   SMALL MOBILE
   حداکثر 380px
======================================== */

@media (max-width: 380px) {

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo {
        font-size: 20px;
    }

    .main-navigation {
        gap: 13px;
    }

    .main-navigation a {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .section-header h2 {
        font-size: 23px;
    }
}