:root {
    --main-red: #E53935;
    --dark-red: #B71C1C;
    --bg-dark: #0f0f12;
    --bg-light: #18181b;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
}
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--bg-dark);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    overflow-x: hidden;
    word-wrap: break-word;
}
body.modal-open {
    overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
    body.modal-open {
        padding-right: var(--scrollbar-width, 0px);
    }
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--dark-red), var(--main-red));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#ff6a6a, var(--main-red));
}
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease 0.5s, visibility 0s ease 1.1s;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-logo {
    font-size: 2em;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}
.preloader-logo span {
    color: var(--main-red);
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}
.cursor-glow, .bg-shape {
    position: fixed;
    pointer-events: none;
    z-index: -1;
}
.cursor-glow {
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.06), transparent 70%);
    transition: transform 0.2s ease-out;
}
.bg-shape {
    background: var(--main-red);
    border-radius: 50%;
    filter: blur(250px);
    opacity: 0.1;
}
.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
}
.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
}
.shape-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #3549E5;
    opacity: 0.05;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 5%;
    background: rgba(15, 15, 18, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
    background: rgba(24, 24, 27, 0.7);
}
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    font-size: clamp(1.4rem, 4vw, 1.6rem);
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    flex-shrink: 0;
}
header .logo span {
    color: var(--main-red);
}
.desktop-menu {
    list-style: none;
    display: flex;
    gap: 40px;
}
.desktop-menu li {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: var(--delay, 0s);
}
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.desktop-menu li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding: 5px 0;
}
.desktop-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--main-red);
    transition: width 0.3s ease-in-out;
}
.desktop-menu li a:hover::after {
    width: 100%;
}
.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    margin: -10px;
}
.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 18, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.mobile-nav.active {
    transform: translateX(0);
}
.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}
.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-nav a:nth-child(1) {
    transition-delay: 0.2s;
}
.mobile-nav a:nth-child(2) {
    transition-delay: 0.3s;
}
.mobile-nav a:nth-child(3) {
    transition-delay: 0.4s;
}
.mobile-nav a:nth-child(4) {
    transition-delay: 0.5s;
}
section {
    padding: clamp(80px, 10vh, 120px) 5%;
    width: 100%;
}
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}
h1.animate-title {
    font-size: clamp(1.8rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 0.5em;
    line-height: 1.25;
    white-space: nowrap;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    word-break: normal;
}
h1.animate-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
h1.animate-title span.visible {
    opacity: 1;
    transform: translateY(0);
}
#hero p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5em;
    max-width: 800px;
}
h2 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5em;
    position: relative;
    text-align: center;
    width: 100%;
}
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--main-red);
    margin: 0.5em auto 0;
    border-radius: 2px;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 20px);
    flex-wrap: wrap;
}
.btn {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: clamp(12px, 2.5vw, 16px) clamp(30px, 5vw, 45px);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.4s ease;
    border: 1px solid var(--main-red);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    white-space: nowrap;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}
.btn:hover::before {
    left: 100%;
}
.btn:hover {
    box-shadow: 0 0 25px rgba(229, 57, 53, 0.5);
    transform: translateY(-3px);
}
.btn-primary {
    background: var(--main-red);
}
.btn-primary:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
    box-shadow: 0 0 30px var(--dark-red);
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: clamp(20px, 4vw, 30px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.product-card {
    background: linear-gradient(145deg, rgba(24, 24, 27, 0.6), rgba(15, 15, 18, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    transition: all 0.3s ease-out;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}
.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(229, 57, 53, 0.4);
}
.product-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: rgba(255,255,255,0.05);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.product-card:hover .product-image img {
    transform: scale(1.1);
}
.product-card h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}
.product-card .description {
    flex-grow: 1;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.6;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.product-card .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}
.price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.price {
    font-size: clamp(1.6rem, 5vw, 1.9rem);
    font-weight: 900;
    color: var(--main-red);
}
.old-price {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    font-weight: 400;
}
#custom-order {
    background: var(--bg-light);
    text-align: center;
}
#custom-order p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: -1em auto 2em;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(30px, 5vw, 40px);
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
}
.trust-item h3 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    color: #fff;
    margin-bottom: 15px;
    white-space: nowrap;
}
.trust-item p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}
footer {
    text-align: center;
    padding: 40px 5%;
    background: var(--bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px 25px;
    flex-wrap: wrap;
}
footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}
footer a:hover {
    color: var(--main-red);
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--main-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 1000;
    will-change: transform, opacity;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #ff6a6a;
    transform: translateY(-5px) scale(1.1);
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s ease 0.4s;
    will-change: opacity;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.modal-content {
    background: radial-gradient(circle at top left, rgb(77 8 8 / 85%), rgba(15, 15, 18, 1) 70%);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    width: 100%;
    max-width: 950px;
    max-height: 95vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}
.modal-header {
    flex-shrink: 0;
    padding: 15px 60px 15px 30px;
    background: rgb(33 3 3 / 75%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}
.modal-header h2 {
    margin: 0;
    padding: 0;
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    font-weight: 700;
}
.modal-header h2::after {
    display: none;
}
.modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: clamp(25px, 3vw, 40px);
}
.modal-body::-webkit-scrollbar {
    width: 12px;
}
.modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(229, 57, 53, 0.5);
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(229, 57, 53, 0.8);
}
.modal-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 1.8em;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 15;
}
.modal-close:hover {
    color: var(--main-red);
    transform: translateY(-50%) rotate(90deg) scale(1.1);
}
.modal-scroll-wrapper .gallery img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255,255,255,0.05);
}
.modal-scroll-wrapper .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}
.modal-scroll-wrapper h4 {
    font-size: 1rem;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: var(--text-primary);
}
.modal-scroll-wrapper .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}
.modal-scroll-wrapper .description-full {
    text-align: left;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 20px 0;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}
.modal-scroll-wrapper .description-full ul {
    padding-left: 20px;
    margin: 1em 0;
}
.modal-scroll-wrapper .description-full li {
    margin-bottom: 0.7em;
}
.btn-video-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 25px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    background: linear-gradient(145deg, rgba(30, 30, 33, 0.5), rgba(24, 24, 27, 0.5));
    transition: all 0.3s ease;
    animation: pulse-glow 3s infinite ease-in-out;
}
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px -5px rgba(229, 57, 53, 0);
    }
    50% {
        box-shadow: 0 0 15px -5px rgba(229, 57, 53, 0.4);
    }
}
.btn-video-review:hover {
    color: var(--text-primary);
    border-color: var(--main-red);
    transform: translateY(-2px);
    animation-play-state: paused;
    box-shadow: 0 4px 20px rgba(229, 57, 53, 0.4);
}
.btn-video-review svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}
.btn-video-review:hover svg {
    transform: scale(1.1);
}
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    flex-wrap: wrap;
    gap: 15px;
}
.modal-footer .price-container .price {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
}
.modal-footer .price-container .old-price {
    font-size: 1rem;
}
.modal-buttons-wrapper .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}
.modal-buttons-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 13, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s ease 0.4s;
    will-change: opacity;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.lightbox-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20px;
    position: relative;
}
.lightbox-image-container {
    flex-shrink: 1;
    flex-grow: 0;
    min-width: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
}
.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}
.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
    opacity: 1;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    z-index: 3002;
    padding: 0;
    line-height: 44px;
}
.lightbox-close, .lightbox-nav {
    background: rgba(30, 30, 33, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.lightbox-nav {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    font-size: 30px;
}
.lightbox-close:hover, .lightbox-nav:hover {
    background: var(--main-red);
    border-color: var(--dark-red);
    transform: scale(1.1);
}
.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
}
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: var(--delay, 0s);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 992px) {
    .desktop-menu {
        gap: 25px;
        font-size: 0.9rem;
    }
}
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
    .cursor-glow,
    .product-card:hover {
        transform: none;
        box-shadow: none;
    }
    .product-card:hover .product-image img {
        transform: none;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 90%;
        max-width: 340px;
        text-align: center;
    }
    .lightbox-content-wrapper {
        gap: 5px;
        padding: 5px;
        align-items: center;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
        line-height: 40px;
    }
}
@media (max-width: 576px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .modal-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .modal-buttons-wrapper {
        width: 100%;
        justify-content: center;
    }
    .modal-buttons-wrapper .btn {
        flex-grow: 1;
        text-align: center;
    }
}