

@font-face {
    font-family: "Pelak";
    src: url("https://rskyer.github.io/AI_everywhere/o/pelak.ttf") format("truetype");
    font-display: swap;
}
:root {
    --bg: #fff5f5;
    --bg-soft: #f8d4d9;
    --surface: #FFB3B3;
    --text: #3d1a24;
    --text-soft: #b82a4a;
    --muted: #d94f6a;

 --sky: #e8456a;
--sky-dark: #b82a4a;
--sky-deep: #7a1f33;
--sky-soft: #f05a7a;
--sky-light: #f28a9e;

    --border: rgba(199, 44, 80, 0.25);
    --header: rgba(255, 240, 240, 0.95);
    --shadow: 0 10px 30px rgba(199, 44, 80, 0.15);

    --black: #2d131c;
    --white: #fff8f8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    min-height: 100vh;
    padding-bottom: 100px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Pelak", Tahoma, sans-serif;
    line-height: 1.8;
}

body.cart-open {
    overflow: hidden;
}

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

button {
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

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

/* LOADER */

page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: opacity .35s ease, visibility .35s ease;
}

page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

loader-content {
    width: min(280px, 80%);
    text-align: center;
}

loader-name {
    display: block;
    color: var(--sky-dark);
    font-size: 25px;
    font-weight: 900;
}

loader-line {
    display: block;
    height: 4px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--sky-soft);
}

loader-line::after {
    content: "";
    display: block;
    width: 45%;
    height: 100%;
    background: var(--sky);
    animation: loader 1s infinite ease-in-out;
}

@keyframes loader {
    from {
        transform: translateX(220%);
    }

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

/* HEADER */

site-header {
    position: sticky;
    top: 0;
    z-index: 5000;
    display: block;
    padding: 11px 15px;
    background: var(--header);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

header-content {
    width: min(1180px, 100%);
    min-height: 56px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

brand-name {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 950;
}

brand-name-main {
    color: var(--sky-dark);
}

brand-name-sub {
    color: var(--text);
}

brand-extra {
    color: var(--sky-dark);
    font-size: 11px;
}

site-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

theme-button,
mobile-menu-button {
    width: 43px;
    height: 43px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    color: var(--sky-dark);
    font-size: 18px;
    cursor: pointer;
    transition: .2s ease;
}

theme-button:hover,
mobile-menu-button:hover,
mobile-menu-button.active {
    background: var(--sky);
    color: var(--white);
    border-color: var(--sky);
}

mobile-menu-button {
    display: none;
}

/* NAV */

site-navigation {
    width: min(1180px, calc(100% - 30px));
    margin: 12px auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

nav-item {
    display: block;
}

nav-item a {
    display: block;
    padding: 7px 13px;
    border-radius: 11px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

nav-item a:hover {
    background: var(--sky);
    color: var(--white);
}

mobile-navigation {
    display: none;
}

/* MOBILE MENU */

@media (max-width: 820px) {
    site-navigation {
        display: none;
    }

    mobile-menu-button {
        display: inline-flex;
    }

    mobile-navigation {
        display: block;
        width: calc(100% - 20px);
        max-height: 0;
        margin: 0 auto;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        border: 1px solid transparent;
        border-radius: 17px;
        background: var(--surface);
        transition:
            max-height .3s ease,
            opacity .2s ease,
            padding .3s ease;
    }

    mobile-navigation.open {
        max-height: 700px;
        padding: 7px;
        opacity: 1;
        border-color: var(--border);
        box-shadow: var(--shadow);
    }

    mobile-navigation nav-item {
        display: block;
        width: 100%;
    }

    mobile-navigation nav-item a {
        width: 100%;
        padding: 12px 13px;
    }

    mobile-navigation nav-item a:hover {
        background: var(--sky);
        color: var(--white);
    }

    brand-extra {
        display: none;
    }
}

/* HERO */

hero-section {
    position: relative;
    width: min(1180px, calc(100% - 28px));
    min-height: 405px;
    margin: 24px auto 0;
    padding: 65px 34px;
    display: block;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(56,189,248,.35),
            transparent 27%
        ),
        radial-gradient(
            circle at 5% 100%,
            rgba(255,255,255,.8),
            transparent 31%
        ),
        var(--sky-soft);
}

hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

hero-badge {
    display: inline-block;
    padding: 5px 13px;
    margin-bottom: 13px;
    border-radius: 30px;
    background: var(--sky);
    color: var(--white);
    font-size: 11px;
    font-weight: 950;
}

hero-title {
    display: block;
    color: var(--text);
    font-size: clamp(43px, 9vw, 76px);
    font-weight: 950;
    line-height: 1.08;
}

hero-title span {
    display: block;
}

hero-title span:last-child {
    color: var(--sky-dark);
}

hero-description {
    max-width: 610px;
    margin-top: 20px;
    display: block;
    color: var(--text-soft);
    font-size: 14px;
}

hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 27px;
}

primary-button,
secondary-button {
    min-height: 46px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

primary-button {
    background: var(--sky);
    color: var(--white);
}

primary-button:hover {
    background: var(--sky-dark);
}

secondary-button {
    background: var(--white);
    color: var(--sky-dark);
    border: 1px solid var(--border);
}

secondary-button:hover {
    background: var(--sky-soft);
    border-color: var(--sky);
}

/* SECTIONS */

products-section,
feature-section,
about-section,
contact-section {
    width: min(1180px, calc(100% - 28px));
    margin: 70px auto 0;
    display: block;
}

section-heading {
    display: block;
    margin-bottom: 25px;
}

section-label {
    display: block;
    margin-bottom: 4px;
    color: var(--sky-dark);
    font-size: 11px;
    font-weight: 950;
}

section-title {
    display: block;
    color: var(--text);
    font-size: clamp(24px, 5vw, 37px);
    font-weight: 950;
    line-height: 1.4;
}

section-description {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}

/* PRODUCTS */

product-category-section {
    display: block;
    margin-bottom: 50px;
}

product-category-section > section-heading {
    margin-bottom: 12px;
}

product-category-section section-title {
    font-size: 23px;
}

product-grid {
    width: 100%;
    display: flex;
    flex-direction: row;
    direction: rtl;
    gap: 13px;
    overflow-x: auto;
    padding: 7px 3px 18px;
    scrollbar-width: thin;
    scrollbar-color: var(--sky) transparent;
    scroll-snap-type: x proximity;
    cursor: grab;
    touch-action: pan-y;
}

product-grid.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

product-grid::-webkit-scrollbar {
    height: 5px;
}

product-grid::-webkit-scrollbar-thumb {
    background: var(--sky);
    border-radius: 20px;
}

product-card {
    flex: 0 0 210px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 6px 22px rgba(2,132,199,.07);
    cursor: pointer;
    transition: .2s ease;
}

product-card:hover {
    transform: translateY(-3px);
    border-color: var(--sky);
    box-shadow: 0 10px 28px rgba(2,132,199,.14);
}

product-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--sky-soft);
}

product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 13px;
}

product-title {
    display: block;
    min-height: 27px;
    color: var(--text);
    font-size: 14px;
    font-weight: 950;
}

product-meta {
    min-height: 25px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

product-brand {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 10px;
    font-weight: 950;
    white-space: nowrap;
    text-overflow: ellipsis;
}

product-price {
    color: var(--sky-dark);
    font-size: 10px;
    font-weight: 950;
    white-space: nowrap;
}

product-footer {
    margin-top: auto;
    padding-top: 11px;
}

product-footer form {
    margin: 0;
}

product-button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 6px;
    background: var(--sky);
    color: var(--white);
    font-size: 18px;
    font-weight: 950;
    cursor: pointer;
    transition: .2s ease;
}

product-button:hover {
    background: var(--sky-dark);
}

/* FEATURES */

feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

feature-card {
    display: block;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

feature-icon {
    width: 54px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 9px;
    background: var(--sky);
    color: var(--white);
    font-size: 9px;
    font-weight: 950;
}

feature-title {
    display: block;
    color: var(--text);
    font-size: 17px;
    font-weight: 950;
}

feature-description {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

/* ABOUT */

about-section {
    padding: 43px 35px;
    border-radius: 30px;
    background: var(--sky-dark);
}

about-section section-label {
    color: var(--sky-soft);
}

about-section section-title {
    color: var(--white);
}

about-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

about-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 17px;
    background: rgba(255,255,255,.08);
}

about-icon {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--sky);
}

about-item-text {
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 700;
}

/* CONTACT */

contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

contact-card {
    display: block;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

contact-title {
    display: block;
    color: var(--text);
    font-size: 17px;
    font-weight: 950;
}

contact-description {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

/* SERVER CART */

.server-cart-button {
    position: fixed !important;
    z-index: 2147483646 !important;
    left: 50% !important;
    right: auto !important;
    bottom: 18px !important;
    transform: translateX(-50%) !important;
    width: min(330px, calc(100vw - 28px)) !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    padding: 0 20px !important;
    border: 1px solid rgba(2,132,199,.15) !important;
    border-radius: 18px !important;
    background: var(--sky) !important;
    color: var(--white) !important;
    box-shadow:
        0 14px 40px rgba(2,132,199,.25),
        0 4px 12px rgba(2,132,199,.14) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-decoration: none !important;
}

.server-cart-button:hover {
    background: var(--sky-dark) !important;
}

.server-cart-count {
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: var(--white);
    color: var(--sky-dark);
    font-size: 10px;
    font-weight: 950;
}

.server-cart-page {
    width: min(760px, calc(100% - 24px));
    margin: 35px auto 110px;
}

.server-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.server-cart-title {
    margin: 0;
    color: var(--sky-dark);
    font-size: 30px;
    font-weight: 950;
}

.server-cart-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 7px 15px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--sky-dark);
    font-size: 11px;
    font-weight: 900;
}

.server-cart-back:hover {
    background: var(--sky-soft);
    border-color: var(--sky);
}

.server-cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.server-cart-image {
    width: 90px;
    height: 90px;
    flex: 0 0 90px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--sky-soft);
}

.server-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-cart-info {
    min-width: 0;
    flex: 1;
}

.server-cart-name {
    display: block;
    color: var(--text);
    font-size: 15px;
    font-weight: 950;
}

.server-cart-brand {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.server-cart-price {
    display: block;
    margin-top: 6px;
    color: var(--sky-dark);
    font-size: 11px;
    font-weight: 950;
}

.server-cart-remove {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 5px 10px;
    border: 0;
    border-radius: 10px;
    background: var(--sky);
    color: var(--white);
    font-family: inherit;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

.server-cart-remove:hover {
    background: var(--sky-dark);
}

.server-cart-empty {
    padding: 55px 20px;
    border: 1px dashed var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

.server-cart-clear {
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    border: 0;
    border-radius: 13px;
    background: var(--sky);
    color: var(--white);
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.server-cart-clear:hover {
    background: var(--sky-dark);
}

/* FOOTER */

site-footer {
    display: block;
    margin-top: 85px;
    padding: 48px 20px 22px;
    background: var(--sky-deep);
    color: var(--white);
}

footer-content {
    width: min(1180px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

footer-brand-name {
    display: block;
    color: var(--sky-soft);
    font-size: 24px;
    font-weight: 950;
}

footer-brand-description {
    display: block;
    max-width: 300px;
    margin-top: 7px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
}

footer-column-title {
    display: block;
    margin-bottom: 10px;
    color: var(--white);
    font-size: 13px;
    font-weight: 950;
}

footer-link {
    display: block;
}

footer-link a {
    display: inline-block;
    padding: 3px 0;
    color: rgba(255,255,255,.72);
    font-size: 11px;
}

footer-link a:hover {
    color: var(--white);
}

footer-bottom {
    width: min(1180px, 100%);
    margin: 38px auto 0;
    padding-top: 17px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.18);
}

copyright,
footer-credit {
    color: rgba(255,255,255,.55);
    font-size: 9px;
}

/* DARK */

body.dark {
    --bg: #1a0a0e;
    --bg-soft: #2a1220;
    --surface: #240e18;
    --text: #fff5f8;
    --text-soft: #ecc0cc;
    --muted: #ba8a9a;
    --sky: #e8456a;
    --sky-dark: #c93055;
    --sky-deep: #7a1f33;
    --sky-soft: #3d1a28;
    --border: rgba(232, 69, 106, 0.25);
    --header: rgba(26, 10, 14, 0.96);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
body.dark hero-section {
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(56,189,248,.20),
            transparent 27%
        ),
        var(--sky-soft);
}

body.dark product-card,
body.dark feature-card,
body.dark contact-card,
body.dark .server-cart-item,
body.dark .server-cart-back {
    background: var(--surface);
}

body.dark primary-button {
    background: var(--sky);
    color: var(--white);
}

body.dark secondary-button {
    background: var(--surface);
    color: var(--sky);
}

body.dark about-section,
body.dark site-footer {
    background: #031017;
}

/* MOBILE */

@media (max-width: 560px) {
    body {
        padding-bottom: 88px;
    }

    site-header {
        padding: 9px 11px;
    }

    brand-name {
        font-size: 21px;
    }

    theme-button,
    mobile-menu-button {
        width: 40px;
        height: 40px;
    }

    hero-section {
        width: calc(100% - 20px);
        min-height: 360px;
        margin-top: 14px;
        padding: 45px 22px;
        border-radius: 27px;
    }

    hero-title {
        font-size: 47px;
    }

    hero-description {
        font-size: 12px;
    }

    products-section,
    feature-section,
    about-section,
    contact-section {
        width: calc(100% - 20px);
        margin-top: 55px;
    }

    product-card {
        flex-basis: 185px;
        min-width: 185px;
    }

    product-image {
        height: 158px;
    }

    product-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    feature-grid,
    about-text,
    contact-content {
        grid-template-columns: 1fr;
    }

    about-section {
        padding: 32px 20px;
    }

    footer-content {
        grid-template-columns: 1fr;
        gap: 23px;
    }

    footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .server-cart-button {
        bottom: 14px !important;
        width: calc(100vw - 28px) !important;
    }

    .server-cart-item {
        align-items: flex-start;
    }

    .server-cart-image {
        width: 75px;
        height: 75px;
        flex-basis: 75px;
    }

    .server-cart-remove {
        align-self: center;
    }
}



