/* ============================================
   NEXLIMB - MAIN STYLES
   ============================================ */

:root {
    --accent: #557ae4;
    --accent-light: #557ae4;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --text-muted: #b0b0b0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    color: #1a1a1a;

    min-height: 100vh;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.hero-section .hero-content h1 span {
    color: #6671e2 !important;
}
.btn-accent {
    background: #6671e2 !important;
    color: #f5f1f1 !important;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-accent:hover{
    background: #404fee !important;
}
.navbar .brand-text {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.navbar .brand-text span {
    color: var(--accent);
}

.navbar .brand-tagline {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-top: -4px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar .nav-link {
    color: rgb(255 255 255) !important;
    font-weight: 500;
    padding: 8px 10px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
}

.navbar .nav-link:hover {
    color: #fff !important;
    background: #6671e2;
}

.navbar .btn-register {
    background: var(--accent);
    color: #0a0a0a !important;
    font-weight: 700;
    padding: 8px 24px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.navbar .btn-register:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

/* ============================================
   АНИМИРОВАННЫЙ ТОГГЛЕР
   ============================================ */
.navbar-toggler {
    border: none;
    padding: 8px;
    width: 44px;
    height: 44px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .navbar-toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent !important;
    transition: all 0.3s ease;
}

.navbar-toggler .bar {
    display: block;
    width: 28px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 4px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar-toggler .bar1 {
    transform-origin: top left;
}

.navbar-toggler .bar2 {
    transform-origin: center;
}

.navbar-toggler .bar3 {
    transform-origin: bottom left;
}

.navbar-toggler.active .bar1 {
    transform: rotate(45deg) translate(5px, 0px);
    background: var(--accent);
}

.navbar-toggler.active .bar2 {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler.active .bar3 {
    transform: rotate(-45deg) translate(4px, 2px);
    background: var(--accent);
}

.navbar-toggler:hover .bar {
    background: var(--accent);
}

/* ============================================
   MOBILE NAVBAR
   ============================================ */
@media (max-width: 991px) {
    .navbar .btn-register {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    .navbar .nav-item {
        width: 100%;
        text-align: center;
    }

    .navbar .nav-item .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar .dropdown-menu {
        background: transparent !important;
        border: none !important;
        text-align: center;
        padding: 0;
    }

    .navbar .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.7);
        padding: 8px 0;
        text-align: center;
    }

    .navbar .dropdown-menu .dropdown-item:hover {
        background: rgba(212, 175, 55, 0.1);
        color: var(--accent);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0 30px;
    color: #fff;
    margin-top: auto;
}

.footer .footer-brand {
    font-size: 24px;
    font-weight: 800;
}

.footer .footer-brand span {
    color: var(--accent);
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-right: 8px;
}

.footer .social-links a:hover {
    background: var(--accent);
    color: #0a0a0a;
    transform: translateY(-3px);
}

.footer .footer-links {
    list-style: none;
    padding: 0;
}

.footer .footer-links li {
    padding: 6px 0;
}

.footer .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .footer-links a:hover {
    color: var(--accent);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 30px 0 20px;
}

/* ============================================
   BANNER
   ============================================ */
.banner-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 72px;
    background: var(--dark);
}

.banner-section .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-section .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.banner-section .banner-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    color: #fff;
}

.banner-section .banner-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    max-width: 600px;
}

.banner-section .banner-content h1 span {
    color: var(--accent);
}

.banner-section .banner-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    line-height: 1.8;
    margin: 16px 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-accent {
    background: var(--accent);
    color: #0a0a0a;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-accent:hover {
    background: var(--accent-light);
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.btn-outline-light-custom {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin-left: 16px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.product-card .image {
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.product-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .image img {
    transform: scale(1.05);
}

.product-card .body {
    padding: 16px;
}

.product-card .body h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    min-height: 40px;
    line-height: 1.3;
}

.product-card .body h5 a {
    color: #1a1a1a;
    text-decoration: none;
}

.product-card .body h5 a:hover {
    color: var(--accent);
}

.product-card .body .price {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.product-card .body .btn-add {
    width: 100%;
    padding: 10px;
    background: var(--accent);
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card .body .btn-add:hover {
    background: var(--accent-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {


    .banner-section {
        min-height: 50vh;
        margin-top: 64px;
    }

    .banner-section .banner-content h1 {
        font-size: 28px;
    }

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

    .btn-outline-light-custom {
        margin-left: 0;
        margin-top: 12px;
        display: block;
        text-align: center;
    }

    .product-card .image {
        height: 180px;
    }
}
/* ============================================
   AUTH PAGES - ДОПОЛНИТЕЛЬНЫЕ СТИЛИ
   ============================================ */

.auth-card .errorlist {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    color: #dc3545;
    font-size: 13px;
}

.auth-card .errorlist li {
    padding: 2px 0;
}

.auth-card .password-hint ul li {
    transition: all 0.3s ease;
}

.auth-card .password-hint ul li.valid {
    color: #28a745;
}

.auth-card .password-hint ul li.invalid {
    color: #dc3545;
}

.auth-card .password-hint ul li i {
    font-size: 12px;
}

/* Социальные кнопки с иконками */
.auth-card .social-btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

.auth-card .social-btn .btn-text {
    flex: 1;
    text-align: center;
}

/* Плавная анимация кнопок */
.auth-card .social-btn {
    position: relative;
    overflow: hidden;
}

.auth-card .social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.auth-card .social-btn:hover::before {
    left: 100%;
}
@media (max-width: 991px) {
    .navbar .nav-item {
        width: 100%;
        text-align: center;
    }

    .navbar .nav-item .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .navbar .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar .btn-register {
        width: 100%;
        text-align: center;
        margin-top: 8px;
        padding: 10px !important;
    }

    .navbar .dropdown-menu {
        background: transparent !important;
        border: none !important;
        text-align: center;
        padding: 0;
    }

    .navbar .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.7);
        padding: 8px 0;
        text-align: center;
    }

    .navbar .dropdown-menu .dropdown-item:hover {
        background: rgba(212, 175, 55, 0.1);
        color: #557ae4;
    }
}