/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --lime: #C8FF00;
    --lime-dark: #A8D600;
    --pink: #FF2D78;
    --pink-dark: #D41E5F;
    --yellow: #FFE500;
    --white: #ffffff;
    --gray: #888888;
    --gray-light: #aaaaaa;
    --font: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.4;
}

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

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
    padding: 16px 32px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-3);
    gap: 24px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--lime);
    border-radius: 8px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--black);
    border-radius: 50%;
}

.nav-coords {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1px;
}

.nav-center {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.nav-center a {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-light);
    transition: color 0.3s;
}

.nav-center a:hover {
    color: var(--lime);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--dark-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

.nav-btn:hover {
    background: var(--lime);
    color: var(--black);
    border-color: var(--lime);
}

.admin-btn {
    border-color: var(--pink);
}

.admin-btn:hover {
    background: var(--pink);
    color: var(--white);
    border-color: var(--pink);
}

.cart-btn #cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--pink);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.nav-page {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1px;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    padding: 120px 48px 80px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--lime);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--pink);
    bottom: -100px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-tag {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--gray);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(64px, 10vw, 140px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 40px;
}

.hero-title-accent {
    color: var(--lime);
    position: relative;
    display: inline-block;
}

.hero-glasses {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    height: 500px;
}

.glasses-float {
    position: absolute;
    width: 320px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.glasses-green {
    top: 0;
    left: 0;
    z-index: 2;
    transform: rotate(-15deg);
}

.glasses-pink {
    bottom: 20px;
    right: 0;
    z-index: 1;
    transform: rotate(10deg);
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rot, -15deg)); }
    50% { transform: translateY(-20px) rotate(var(--rot, -15deg)); }
}

.glasses-green { --rot: -15deg; }
.glasses-pink { --rot: 10deg; }

.hero-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.stat-box {
    background: var(--lime);
    color: var(--black);
    padding: 20px 28px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.stat-box-dark {
    background: var(--dark-2);
    color: var(--white);
    border: 1px solid var(--dark-3);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.8;
}

.hero-desc {
    font-size: 15px;
    color: var(--gray-light);
    max-width: 400px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lime);
    color: var(--black);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.hero-side-text {
    position: absolute;
    right: 48px;
    bottom: 120px;
    font-size: 14px;
    color: var(--gray);
    letter-spacing: 2px;
}

.hero-credit {
    position: absolute;
    left: 48px;
    bottom: 40px;
    font-size: 12px;
    color: var(--gray);
}

/* ===== MARQUEE ===== */
.marquee-section {
    background: var(--dark);
    border-top: 1px solid var(--dark-3);
    border-bottom: 1px solid var(--dark-3);
    padding: 20px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gray-light);
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== FEATURES ===== */
.features-section {
    padding: 120px 48px;
    position: relative;
}

.features-header {
    margin-bottom: 64px;
}

.section-tag {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gray);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.feature-card {
    padding: 32px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card-green {
    background: var(--lime);
    color: var(--black);
}

.feature-card-pink {
    background: var(--pink);
    color: var(--white);
}

.feature-card-dark {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
}

.feature-card-yellow {
    background: var(--yellow);
    color: var(--black);
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    opacity: 0.8;
}

.features-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.visual-x {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-shape {
    position: absolute;
    width: 100%;
    height: 100%;
}

.x-shape::before,
.x-shape::after {
    content: '';
    position: absolute;
    background: var(--lime);
    border-radius: 8px;
}

.x-shape::before {
    width: 100%;
    height: 40px;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(45deg);
}

.x-shape::after {
    width: 100%;
    height: 40px;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-45deg);
}

.visual-glasses {
    width: 180px;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.visual-caption {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    max-width: 400px;
}

/* ===== PRODUCTS ===== */
.products-section {
    padding: 120px 48px;
    background: var(--dark);
}

.section-header {
    margin-bottom: 48px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--lime);
    margin-top: 24px;
    border-radius: 2px;
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--dark-3);
    font-size: 14px;
    color: var(--gray-light);
    transition: all 0.3s;
    background: transparent;
}

.filter-btn:hover {
    border-color: var(--lime);
    color: var(--lime);
}

.filter-btn.active {
    background: var(--lime);
    color: var(--black);
    border-color: var(--lime);
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--dark-2);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--dark-3);
    transition: all 0.4s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--lime);
    box-shadow: 0 20px 40px rgba(200, 255, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-offer {
    background: var(--pink);
    color: var(--white);
}

.badge-new {
    background: var(--lime);
    color: var(--black);
}

.badge-exclusive {
    background: var(--yellow);
    color: var(--black);
}

.product-purchased {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    color: var(--white);
}

.product-purchased span {
    color: var(--lime);
    font-weight: 700;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-category {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--lime);
}

.product-price .old-price {
    font-size: 14px;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.add-cart-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--black);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.add-cart-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

/* ===== COLLECTIONS ===== */
.collections-section {
    padding: 120px 48px;
}

.collections-header {
    margin-bottom: 64px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.collection-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    transition: transform 0.4s;
}

.collection-card:hover {
    transform: scale(1.02);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-green {
    background: var(--lime);
}

.collection-pink {
    background: var(--pink);
}

.collection-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.collection-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.collection-info p {
    font-size: 14px;
    opacity: 0.8;
}

.collection-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 120px 48px;
    background: var(--dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-value {
    font-size: 18px;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    border-radius: 12px;
    padding: 16px;
    color: var(--white);
    font-family: var(--font);
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lime);
}

.submit-btn {
    background: var(--lime);
    color: var(--black);
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    padding: 64px 48px 32px;
    border-top: 1px solid var(--dark-3);
}

.footer-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-light);
    transition: color 0.3s;
}

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

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    font-size: 14px;
    color: var(--gray-light);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--lime);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--dark-3);
    font-size: 13px;
    color: var(--gray);
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: var(--dark);
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--dark-3);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--dark-3);
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--dark-3);
    font-size: 16px;
    transition: all 0.3s;
}

.cart-close:hover {
    background: var(--lime);
    color: var(--black);
    border-color: var(--lime);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    color: var(--gray);
    padding: 40px 0;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--dark-3);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--lime);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--dark-3);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--lime);
    color: var(--black);
    border-color: var(--lime);
}

.cart-item-qty {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    color: var(--pink);
    font-size: 18px;
    margin-left: auto;
    transition: transform 0.3s;
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--dark-3);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cart-total span:last-child {
    color: var(--lime);
}

.checkout-btn {
    width: 100%;
    background: var(--lime);
    color: var(--black);
    padding: 16px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: var(--white);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark);
    border: 1px solid var(--dark-3);
    border-radius: 24px;
    padding: 48px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--dark-3);
    font-size: 16px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--lime);
    color: var(--black);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--gray-light);
    margin-bottom: 8px;
}

.modal-order {
    color: var(--lime) !important;
    font-weight: 600;
    font-size: 16px !important;
    margin: 24px 0 !important;
}

.modal-btn {
    background: var(--lime);
    color: var(--black);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    transition: all 0.3s;
}

.modal-btn:hover {
    background: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-glasses {
        display: none;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .collections-grid {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .navbar {
        grid-template-columns: auto 1fr auto;
        padding: 12px 20px;
    }
    .nav-coords, .nav-center, .nav-page {
        display: none;
    }
    .hero {
        padding: 100px 20px 60px;
    }
    .hero-title {
        font-size: 56px;
    }
    .hero-stats {
        flex-direction: column;
    }
    .features-section, .products-section, .collections-section, .contact-section {
        padding: 80px 20px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-links {
        justify-content: flex-start;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}
