/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: rgba(255, 255, 255, 0.05);
    --glass-bg: rgb(0 0 0 / 75%);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-color: #4a90e2;
    --button-bg: rgba(255, 255, 255, 0.1);
    --button-hover: rgba(255, 255, 255, 0.15);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-large: 0 16px 48px rgba(0, 0, 0, 0.5);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background decorative elements - только две большие фигуры */
body::before {
    content: '';
    position: fixed;
    top: -7%;
    right: -1%;
    width: 400px;
    height: 400px;
    background: url('../images/background.svg') no-repeat center;
    background-size: contain;
    opacity: 0.9;
    filter: blur(2px);
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    bottom: -7%;
    left: -1%;
    width: 350px;
    height: 350px;
    background: url('../images/background.svg') no-repeat center;
    background-size: contain;
    opacity: 0.8;
    filter: blur(2px);
    z-index: -1;
    rotate: 180deg;
}

/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 1200px;
    min-width: 600px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
}

.nav-left {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-login,
.btn-register {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-login {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-register {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 8px;
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: url('../images/burger.svg') no-repeat center;
    background-size: 24px 24px;
    border: none;
    cursor: pointer;
    padding: 12px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    background-image: url('../images/burger.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.mobile-menu-btn span {
    display: none;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: var(--shadow-large);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 12px 15px;
    transition: var(--transition);
    border-radius: 12px;
    text-align: left;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateX(5px);
}

/* Main Content */
.main {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
}

.logo {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    background: url('../images/logo.png') no-repeat center;
    background-size: contain;
    width: 100%;
    max-width: 800px;
    height: 216px;
    margin: 0;
    display: block;
    text-indent: -9999px; /* Hide text but keep for accessibility */
    position: relative;
    filter: drop-shadow(0 8px 25px rgba(255, 255, 255, 0.1));
}

.tagline {
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.8em;
    text-transform: uppercase;
    margin-top: 20px;
}

/* Services Section */
.services {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.services-container {
    background: rgb(0 0 0 / 45%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 40px;
}

.services-grid {
    display: flex;
    gap: 30px;
    flex: 1;
}

.service-card {
    background: var(--secondary-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-height: 180px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: var(--transition);
}

/* Bolts/Rivets in corners */
.service-card .bolt-tl,
.service-card .bolt-tr,
.service-card .bolt-bl,
.service-card .bolt-br,
.bot-card .bolt-tl,
.bot-card .bolt-tr,
.bot-card .bolt-bl,
.bot-card .bolt-br,
.review-card .bolt-tl,
.review-card .bolt-tr,
.review-card .bolt-bl,
.review-card .bolt-br {
    position: absolute;
    width: 25px;
    height: 25px;
    background-image: url('../images/bolt.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    transition: var(--transition);
}

.service-card .bolt-tl,
.bot-card .bolt-tl,
.review-card .bolt-tl { top: 8px; left: 8px; }
.service-card .bolt-tr,
.bot-card .bolt-tr,
.review-card .bolt-tr { top: 8px; right: 8px; }
.service-card .bolt-bl,
.bot-card .bolt-bl,
.review-card .bolt-bl { bottom: 8px; left: 8px; }
.service-card .bolt-br,
.bot-card .bolt-br,
.review-card .bolt-br { bottom: 8px; right: 8px; }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .bolt-tl,
.service-card:hover .bolt-tr,
.service-card:hover .bolt-bl,
.service-card:hover .bolt-br,
.review-card:hover .bolt-tl,
.review-card:hover .bolt-tr,
.review-card:hover .bolt-bl,
.review-card:hover .bolt-br {
    opacity: 1;
    transform: scale(1.1);
}

.service-icon {
    width: 200px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: var(--transition);
    z-index: 10;
    position: relative;
    top: -55px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

/* Specific icons for each service */
.service-card:nth-child(1) .service-icon {
    background-image: url('../images/basket.svg');
}

.service-card:nth-child(2) .service-icon {
    background-image: url('../images/attention.png');
}

.service-card:nth-child(3) .service-icon {
    background-image: url('../images/support.png');
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    margin-top: -55px;
    text-align: center;
}

.service-btn {
    background: var(--button-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 100px);
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 100%;
}

.service-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .service-btn {
        width: calc(100% - 100px);
        margin: 0 auto;
        max-width: 100%;
    }
}

/* Заклепки на кнопках */
.btn-bolt-l,
.btn-bolt-r {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('../images/bolt.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.btn-bolt-l { left: 8px; }
.btn-bolt-r { right: 8px; }

/* Bot Panel Section */
.bot-panel {
    min-width: 300px;
}

.bot-card {
    background: var(--secondary-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bot-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    height: 100%;
}

.bot-btn {
    background: var(--button-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 20px 15px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 60px;
}

.bot-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        top: 15px;
        width: calc(100% - 30px);
        min-width: auto;
        left: 15px;
        transform: none;
        border-radius: 25px;
    }
    
    .nav {
        padding: 10px 20px;
        justify-content: space-between;
    }
    
    .nav-left {
        display: none;
    }
    
    .nav-right {
        display: flex;
        align-items: center;
    }
    
    .nav-right .btn-register {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .main {
        padding-top: 100px;
        gap: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .services {
        width: 100%;
        padding: 0;
        max-width: none;
    }
    
    .logo {
        height: 120px;
        max-width: 100%;
        width: 100%;
    }
    
    .services-container {
        flex-direction: column;
        padding: 20px;
        gap: 25px;
        width: 100%;
        margin: 0;
        border-radius: 16px;
    }
    
    .services-grid {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .service-card {
        padding: 25px 20px;
        min-height: 200px;
        width: 100%;
    }
    
    .service-icon {
        width: 100px;
        height: 100px;
        margin: -30px auto 20px;
    }
    
    .bot-panel {
        min-width: auto;
        width: 100%;
    }
    
    .bot-card {
        min-height: 200px;
        padding: 25px 20px;
    }
    
    .bot-btn {
        padding: 15px 20px;
        font-size: 15px;
        min-height: 50px;
        font-weight: 600;
    }
    
    .service-card .bolt-tl,
    .service-card .bolt-tr,
    .service-card .bolt-bl,
    .service-card .bolt-br,
    .bot-card .bolt-tl,
    .bot-card .bolt-tr,
    .bot-card .bolt-bl,
    .bot-card .bolt-br {
        width: 20px;
        height: 20px;
    }
    
    .service-card .bolt-tl,
    .service-card .bolt-tr,
    .bot-card .bolt-tl,
    .bot-card .bolt-tr { top: 6px; }
    
    .service-card .bolt-bl,
    .service-card .bolt-br,
    .bot-card .bolt-bl,
    .bot-card .bolt-br { bottom: 6px; }
    
    .service-card .bolt-tl,
    .service-card .bolt-bl,
    .bot-card .bolt-tl,
    .bot-card .bolt-bl { left: 6px; }
    
    .service-card .bolt-tr,
    .service-card .bolt-br,
    .bot-card .bolt-tr,
    .bot-card .bolt-br { right: 6px; }
}

@media (max-width: 480px) {
    .header {
        top: 10px;
        width: calc(100% - 20px);
        left: 10px;
        min-width: auto;
    }
    
    .nav {
        padding: 8px 15px;
    }
    
    .services-container {
        padding: 20px 15px;
        gap: 25px;
    }
    
    .service-card {
        padding: 15px 10px;
        min-height: 140px;
        margin-top: 50px;
    }
    
    .service-icon {
        width: 170px;
        height: 180px;
        margin: -47px auto 12px;
        top: -10px;
    }
    
    .service-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
        font-weight: 800;
        letter-spacing: 0.15em;
        margin-top: 0px;
    }
    
    .service-btn {
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 600;
        min-height: 48px;
    }
    
    .bot-card {
        padding: 15px 10px;
        min-height: 140px;
    }
    
    .bot-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .bot-actions {
        gap: 10px;
    }
    
    .bot-btn {
        padding: 8px 12px;
        font-size: 18px;
    }
    
    .service-card .bolt-tl,
    .service-card .bolt-tr,
    .service-card .bolt-bl,
    .service-card .bolt-br,
    .bot-card .bolt-tl,
    .bot-card .bolt-tr,
    .bot-card .bolt-bl,
    .bot-card .bolt-br {
        width: 32px;
        height: 32px;
    }
    
    .service-card .bolt-tl,
    .service-card .bolt-tr,
    .bot-card .bolt-tl,
    .bot-card .bolt-tr { top: 4px; }
    
    .service-card .bolt-bl,
    .service-card .bolt-br,
    .bot-card .bolt-bl,
    .bot-card .bolt-br { bottom: 4px; }
    
    .service-card .bolt-tl,
    .service-card .bolt-bl,
    .bot-card .bolt-tl,
    .bot-card .bolt-bl { left: 4px; }
    
    .service-card .bolt-tr,
    .service-card .bolt-br,
    .bot-card .bolt-tr,
    .bot-card .bolt-br { right: 4px; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Reviews Page Styles */
.reviews-section {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-container {
    width: 100%;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 25px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    background: var(--button-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.review-info {
    flex: 1;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 5px;
}

.star {
    color: #ffd700;
    font-size: 14px;
}

.review-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.review-product-badge {
    font-size: 13px;
    color: #666;
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
    margin-top: 8px;
}

.review-product {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    padding-left: 20px;
}

.add-review-section {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.add-review-btn {
    background: var(--button-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 15px 30px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.add-review-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Navigation Active State */
.nav-link.active {
    background: transparent;
    color: var(--text-primary);
    border-radius: 12px;
    border: none;
}

.mobile-nav-link.active {
    background: transparent;
    color: var(--text-primary);
    padding: 12px 15px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
}

/* Mobile Responsive for Reviews */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-header {
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
    }
    
    .avatar-text {
        font-size: 16px;
    }
    
    .reviewer-name {
        font-size: 14px;
    }
    
    .add-review-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-large);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 20px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--button-bg);
}

.review-form {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--button-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: var(--button-hover);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Rating Input */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input[type="radio"] {
    display: none;
}

.star-label {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    width: auto !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    backdrop-filter: none !important;
}

.star-label:hover,
.star-label:hover ~ .star-label {
    color: #ffd700;
}

.rating-input input[type="radio"]:checked ~ .star-label {
    color: #ffd700;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.btn-cancel {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel:hover {
    color: var(--text-primary);
    background: var(--button-bg);
}

.btn-submit {
    background: var(--button-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Mobile Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .review-form {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
        padding: 14px 20px;
    }
    
    .star-label {
        font-size: 20px;
    }
}

/* Success Notification Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.success-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-notification .success-icon {
    color: #4CAF50;
    font-weight: bold;
    font-size: 16px;
}

/* Auth Modal Styles */
.auth-form {
    padding: 25px;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.auth-switch p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.switch-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.switch-btn:hover {
    color: #4CAF50;
}

/* Form validation styles */
.form-group.error input {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.form-group .error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Password strength indicator */
.password-strength {
    margin-top: 5px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: var(--transition);
    border-radius: 2px;
}

.password-strength-bar.weak {
    background: #f44336;
    width: 33%;
}

.password-strength-bar.medium {
    background: #ff9800;
    width: 66%;
}

.password-strength-bar.strong {
    background: #4CAF50;
    width: 100%;
}

/* Jobs Page Styles */
.jobs-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.jobs-container {
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.job-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    background: var(--button-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.job-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.job-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--button-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.job-emoji {
    font-size: 40px;
}

.job-info {
    flex: 1;
}

.job-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.job-type {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.job-salary {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.salary-amount {
    font-size: 1.4rem;
    font-weight: 600;
    color: #4CAF50;
}

.salary-period {
    font-size: 14px;
    color: var(--text-secondary);
}

.job-description,
.job-requirements,
.job-benefits {
    margin-bottom: 25px;
}

.job-description h4,
.job-requirements h4,
.job-benefits h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.job-duties,
.job-req-list,
.job-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-duties li,
.job-req-list li,
.job-benefits-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
}

.job-duties li::before,
.job-req-list li::before,
.job-benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.location-icon {
    font-size: 16px;
}

.location-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.job-actions {
    margin-top: 30px;
}

.apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apply-btn:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.telegram-icon {
    font-size: 16px;
}

/* Coming Soon Section */
.coming-soon {
    margin-top: 50px;
}

.coming-soon-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.coming-soon-content {
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.coming-soon-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--button-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive for Jobs */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .job-card {
        padding: 25px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .job-icon {
        width: 60px;
        height: 60px;
    }
    
    .job-emoji {
        font-size: 30px;
    }
    
    .job-title {
        font-size: 1.5rem;
    }
    
    .salary-amount {
        font-size: 1.2rem;
    }
    
    .apply-btn {
        padding: 14px 20px;
        font-size: 13px;
    }
    
    .coming-soon-card {
        padding: 30px 20px;
    }
    
    .coming-soon-title {
        font-size: 1.5rem;
    }
    
    .coming-soon-text {
        font-size: 14px;
    }
}

/* Contacts Page Styles */
.contacts-section {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.contacts-container {
    width: 100%;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-category {
    width: 100%;
}

.category-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.category-card:hover {
    background: var(--button-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--button-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-emoji {
    font-size: 28px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--button-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(76, 175, 80, 0.1);
}

.contact-link:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateY(-1px);
}

/* Working Hours */
.working-hours {
    margin-top: 40px;
}

.hours-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hours-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.hours-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.time-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    min-width: 300px;
}

.time-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.time-text {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.time-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    margin-top: 10px;
    min-width: 300px;
}

.note-icon {
    font-size: 18px;
}

.note-text {
    font-size: 14px;
    color: #4CAF50;
    font-weight: 600;
}

/* Mobile Responsive for Contacts */
@media (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .category-card {
        padding: 25px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-emoji {
        font-size: 24px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 18px;
    }
    
    .contact-icon {
        align-self: center;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .hours-card {
        padding: 25px 20px;
    }
    
    .hours-title {
        font-size: 1.5rem;
    }
    
    .time-item,
    .time-note {
        min-width: auto;
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .time-item {
        padding: 10px 15px;
    }
    
    .time-note {
        padding: 12px 20px;
    }
}

/* Products Page Styles */
.products {
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.city-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 12px 24px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, #6a5acd, #ff6b6b);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.3);
}

.filter-btn.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(106, 90, 205, 0.4);
}

.cities {
    background: var(--glass-bg);
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.city {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.city.hidden {
    display: none;
}

.city-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #6a5acd, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.category:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Болты в углах карточек товаров */
.product-card .bolt-tl,
.product-card .bolt-tr,
.product-card .bolt-bl,
.product-card .bolt-br {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('../images/bolt.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    transition: var(--transition);
}

.product-card .bolt-tl { top: 8px; left: 8px; }
.product-card .bolt-tr { top: 8px; right: 8px; }
.product-card .bolt-bl { bottom: 8px; left: 8px; }
.product-card .bolt-br { bottom: 8px; right: 8px; }

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.product-card:hover .bolt-tl,
.product-card:hover .bolt-tr,
.product-card:hover .bolt-bl,
.product-card:hover .bolt-br {
    opacity: 1;
    transform: scale(1.1);
}

.product-image {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.product-name {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    font-size: 1.1rem;
}

.product-price {
    font-weight: 700;
    color: #ff6b6b;
    font-size: 1.2rem;
}

.product-rating {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0;
    font-size: 0.9rem;
}

.product-stars {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.product-rating-value {
    color: #B0B0B0;
    font-size: 1rem;
    font-weight: 500;
}

.buy-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    width: 75%;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.buy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

/* Кнопка "Нет в наличии" */
.buy-btn.out-of-stock {
    background: linear-gradient(135deg, #666, #555);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    font-size: 0.75rem;
}

.buy-btn.out-of-stock:hover {
    background: linear-gradient(135deg, #666, #555);
    transform: none;
    box-shadow: none;
}

/* Bolts/Rivets in corners for categories */
.category .bolt-tl,
.category .bolt-tr,
.category .bolt-bl,
.category .bolt-br {
    position: absolute;
    width: 25px;
    height: 25px;
    background-image: url('../images/bolt.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    transition: var(--transition);
}

.category .bolt-tl { top: 8px; left: 8px; }
.category .bolt-tr { top: 8px; right: 8px; }
.category .bolt-bl { bottom: 8px; left: 8px; }
.category .bolt-br { bottom: 8px; right: 8px; }

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Мобильные стили для товаров */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .products {
        padding: 100px 15px 60px;
    }
    
    .products-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .city-filter {
        gap: 10px;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        border-radius: 20px;
    }
    
    .cities {
        gap: 40px;
    }
    
    .city {
        padding: 25px 20px;
    }
    
    .city-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .categories {
        gap: 20px;
    }
    
    .category {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        padding: 16px;
    }
    
    .product-image {
        height: 120px;
        margin-bottom: 12px;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .buy-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .category .bolt-tl,
    .category .bolt-tr,
    .category .bolt-bl,
    .category .bolt-br {
        width: 20px;
        height: 20px;
    }
    
    .category .bolt-tl,
    .category .bolt-tr {
        top: 6px;
    }
    
    .category .bolt-bl,
    .category .bolt-br {
        bottom: 6px;
    }
    
    .category .bolt-tl,
    .category .bolt-bl {
        left: 6px;
    }
    
    .category .bolt-tr,
    .category .bolt-br {
        right: 6px;
    }
}

/* Loading and Spinner Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    text-align: center;
    color: var(--text-primary);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 1rem;
}

.btn-loading {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

.loading-products {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.loading-reviews {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 300px;
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 1003;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.notification.info {
    background: rgba(0, 123, 255, 0.9);
}

.notification.success {
    background: rgba(40, 167, 69, 0.9);
}

.notification.error {
    background: rgba(220, 53, 69, 0.9);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-icon {
    font-size: 16px;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

/* Active navigation link */
.nav-link.active,
.mobile-nav-link.active {
    color: var(--accent-color);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Button loading animation */
.btn-loading {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success notification styles */
.success-notification {
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-icon {
    font-size: 16px;
    color: #ffffff;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Info Page Styles */
.info-page {
    padding: 120px 20px 80px;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in;
}

.info-page-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.info-page-header {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.info-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    word-break: break-word;
    max-width: 80%;
}

.info-page-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.info-page-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-page-date-icon {
    font-size: 1.1rem;
}

.info-page-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 30px;
}

/* Styling for content within info pages */
.info-page-content h1,
.info-page-content h2,
.info-page-content h3,
.info-page-content h4,
.info-page-content h5,
.info-page-content h6 {
    color: var(--text-primary);
    margin: 25px 0 15px 0;
    font-weight: 700;
}

.info-page-content h1 {
    font-size: 2rem;
}

.info-page-content h2 {
    font-size: 1.8rem;
}

.info-page-content h3 {
    font-size: 1.6rem;
}

.info-page-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.info-page-content ul,
.info-page-content ol {
    margin: 20px 0 20px 30px;
    line-height: 1.8;
}

.info-page-content li {
    margin-bottom: 10px;
}

.info-page-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
}

.info-page-content a:hover {
    border-bottom-color: var(--accent-color);
    text-decoration: underline;
}

.info-page-content blockquote {
    border-left: 4px solid var(--accent-color);
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
    background: rgba(76, 175, 80, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
}

.info-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.info-page-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.info-page-content table th,
.info-page-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.info-page-content table th {
    background: rgba(76, 175, 80, 0.1);
    font-weight: 700;
    color: var(--accent-color);
}

.info-page-content table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.info-page-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #ff6b6b;
}

.info-page-content pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid var(--glass-border);
}

.info-page-content pre code {
    background: none;
    padding: 0;
    color: #4CAF50;
}

.info-page-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.back-button:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: var(--accent-color);
    transform: translateX(-3px);
}

.back-button:active {
    transform: translateX(-1px);
}

.back-icon {
    font-size: 1.2rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(100, 150, 200, 0.1);
    border: 1px solid rgba(100, 150, 200, 0.3);
    border-radius: 10px;
    color: #6496c8;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.share-button:hover {
    background: rgba(100, 150, 200, 0.2);
    border-color: #6496c8;
    transform: translateY(-2px);
}

.share-icon {
    font-size: 1.2rem;
}

.info-page-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
}

.breadcrumb-item:hover {
    color: var(--accent-color);
}

.breadcrumb-separator {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.info-page-section {
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    transition: var(--transition);
}

.info-page-section:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.info-page-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Loading state for info page */
.info-page-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--text-secondary);
}

.info-page-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 40px;
    color: #ff6b6b;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.error-message {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.error-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Dialog Styles */
.dialog-overlay {
    animation: fadeIn 0.3s ease-out;
}

.dialog {
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dialog-content {
    color: var(--text-primary);
}

.dialog-content h1,
.dialog-content h2,
.dialog-content h3,
.dialog-content h4,
.dialog-content h5,
.dialog-content h6 {
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.dialog-content h1 {
    font-size: 1.8rem;
}

.dialog-content h2 {
    font-size: 1.6rem;
}

.dialog-content h3 {
    font-size: 1.4rem;
}

.dialog-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.dialog-content ul,
.dialog-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.dialog-content li {
    margin-bottom: 10px;
}

.dialog-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
    transition: all 0.3s;
}

.dialog-content a:hover {
    border-bottom-color: var(--accent-color);
    text-decoration: underline;
}

.dialog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid var(--glass-border);
}

.dialog-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
    background: rgba(76, 175, 80, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
}

.dialog-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #ff6b6b;
}

.dialog-content pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid var(--glass-border);
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.dialog-content pre code {
    background: none;
    padding: 0;
    color: #4CAF50;
}

/* Dialog Responsive */
@media (max-width: 768px) {
    .dialog {
        width: 95% !important;
    }
    
    .dialog-content {
        font-size: 0.95rem;
    }
    
    .dialog-content h1 {
        font-size: 1.6rem;
    }
    
    .dialog-content h2 {
        font-size: 1.4rem;
    }
    
    .dialog-content h3 {
        font-size: 1.2rem;
    }
}

/* Mobile Responsive Info Pages */
@media (max-width: 768px) {
    .info-page {
        padding: 100px 15px 60px;
    }
    
    .info-page-container {
        padding: 30px 20px;
    }
    
    .info-page-header {
        flex-direction: column;
    }
    
    .info-page-title {
        font-size: 1.8rem;
        max-width: 100%;
    }
    
    .info-page-meta {
        gap: 20px;
    }
    
    .info-page-content {
        font-size: 1rem;
    }
    
    .info-page-content h1 {
        font-size: 1.6rem;
    }
    
    .info-page-content h2 {
        font-size: 1.4rem;
    }
    
    .info-page-content h3 {
        font-size: 1.2rem;
    }
    
    .info-page-actions {
        flex-direction: column;
    }
    
    .back-button,
    .share-button {
        width: 100%;
        justify-content: center;
    }
    
    .info-page-breadcrumb {
        flex-wrap: wrap;
    }
    
    .info-page-section {
        padding: 20px;
        margin-bottom: 25px;
    }
}

/* Image Loader Styles */
img {
    transition: opacity 0.4s ease-in-out;
    opacity: 0.5;
}

img.loaded {
    opacity: 1;
}

img[data-src],
img[data-lazy] {
    min-height: 100px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

img[data-src].loaded,
img[data-lazy].loaded {
    background: none;
    animation: none;
}

img.load-error {
    opacity: 0.3;
    filter: grayscale(100%);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
