:root {
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.08);
    --premium-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --glass-bg: rgba(15, 23, 42, 0.95);
    --glass-border: rgba(255, 255, 255, 0.1);
    --premium-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(at 0% 0%, var(--primary-soft) 0px, transparent 40%),
        radial-gradient(at 100% 100%, var(--primary-soft) 0px, transparent 40%);
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: auto;

    min-height: 100vh;
    padding-bottom: 120px;

    scroll-behavior: smooth;
}

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
}

.sticky-nav.visible {
    transform: translateY(0);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
}

.nav-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.nav-name {
    font-size: 1.25rem;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-language-toggle,
.nav-darkmode-label {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: 0.3s ease;
}

.hero-slider-container {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-slider {
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    transition: all 0.5s ease;
}

@media (min-width: 1024px) {
    .slide-overlay {
        justify-content: flex-start;
        padding-left: 6%;
        text-align: left;
    }

    .slide-content {
        max-width: 650px;
    }

    .hero-slider .btn-get {
        margin: 0 !important;
    }
}

.slide-content {
    max-width: 900px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.hero-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide .hero-title,
.hero-slide .hero-desc {
    color: white;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
    border-color: white;
}

.hero-section {
    padding: 100px 5% 30px 5%;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-section {
        text-align: left;
        padding-left: 6%;
    }

    .hero-section .hero-desc {
        margin-left: 0;
    }

    .hero-section .btn-get {
        margin: 0 !important;
    }
}

.hero-badge {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-glow);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    justify-content: center;
    gap: 2rem;
    padding: 1rem 1.5rem 40px 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .showcase-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.showcase-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 5rem 2rem;
    background: var(--glass-bg);
    border-radius: 2.5rem;
    border: 1px dashed var(--glass-border);
    backdrop-filter: blur(15px);
    width: 100%;
    box-sizing: border-box;
}

.showcase-empty i {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

.showcase-empty h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.showcase-empty p {
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-choose-us {
    padding: 0 1.5rem 30px 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.sticky-footer {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 280px;
    max-width: 90%;
    background: white;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    padding: 8px 24px;
    z-index: 99999;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .sticky-footer {
    background: #1a2236;
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: center;

    align-items: center;
    width: 100%;
    transition: all 0.3s ease;
}

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

.footer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    overflow: hidden;
    flex-shrink: 0;
    transition: 0.3s ease;
}

.footer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    line-height: 1.1;
    transition: 0.3s ease;
}

.footer-info p {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
    transition: 0.3s ease;
}

.footer-links {
    display: none !important;

    gap: 12px;
}

.footer-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f3f5;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.15rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

[data-theme="dark"] .footer-links a {
    background: #2d3748;
    color: #e2e8f0;
}

.footer-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.sticky-footer.expanded {
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0;
    background: white;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.03);
    overflow: visible !important;

    height: auto;
    max-height: none;
}

[data-theme="dark"] .sticky-footer.expanded {
    background: #0f172a;
    border-top-color: rgba(255, 255, 255, 0.05);
}

.sticky-footer.expanded .footer-content {
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 5%;
}

.sticky-footer.expanded .footer-avatar {
    width: 32px;
    height: 32px;
}

.sticky-footer.expanded .footer-info h3 {
    font-size: 0.95rem;
}

.sticky-footer.expanded .footer-links {
    display: flex !important;
}

.footer-bottom {
    display: none;
    width: 100%;
    background: #e9ecef;

    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.2rem 0;
    text-align: center;
}

.sticky-footer.expanded .footer-bottom {
    display: block !important;
    animation: none !important;

}

[data-theme="dark"] .footer-bottom {
    background: rgba(255, 255, 255, 0.02);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.footer-bottom.visible {
    display: block;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.footer-bottom a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: var(--premium-shadow);
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 40px 80px -20px var(--primary-glow);
}

.product-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.product-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
    letter-spacing: -0.5px;
    word-break: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

.product-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    gap: 1rem;
}

.product-card.has-discount .product-footer {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
}

.product-card.has-discount .price-tag {
    align-items: center;
}

.product-card.has-discount .btn-get {
    width: 100%;
    justify-content: center;
}

.price-tag {
    display: flex;
    flex-direction: column;
}

.price-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.price-type {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.btn-get {
    padding: 0.8rem 1.4rem;
    border-radius: 1rem;
    background: #0f172a;
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-get {
    background: var(--primary);
    color: #0f172a;
    border-color: transparent;
}

[data-theme="dark"] .btn-get:hover {
    background: white;
    color: #0f172a;
}

.btn-get:hover {
    background: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.product-card.popular-product {
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.badge-discount {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 5;
    letter-spacing: 0.5px;

    transform-origin: center;
    transition: transform 0.3s ease;
}

.product-card:hover .badge-discount {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        background: var(--glass-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        padding: 3rem 2rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(15px);
        z-index: 900;
        text-align: center;
    }

    .nav-link {
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-links.active {
        display: flex;
        animation: slideDownMenu 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .hamburger-menu {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero-section {
        padding-top: 120px;
    }

    .sticky-footer.expanded .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }

    .showcase-empty {
        padding: 3.5rem 1.5rem;
        border-radius: 2rem;
    }

    .showcase-empty i {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .showcase-empty h3 {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 2.3rem;
        margin-bottom: 1.5rem;
    }

    .hero-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    .product-name {
        font-size: 1.4rem;
    }
}