@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@500;700&family=Poppins:wght@400;500;600&display=swap');

:root {
    --primary: #040807;
    --secondary: #0B1F1A;
    --neon-green: #00FFB2;
    --neon-blue: #00D9FF;
    --soft-yellow: #FFD84D;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-main: #FFFFFF;
    --text-muted: #A7B0B8;
}

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

body {
    background-color: var(--primary);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
}

.sub {
    font-family: 'Poppins', sans-serif;
    color: var(--soft-yellow);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Background Effects */
.bg-texture {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('images/photo-1505820935574-4b47008708ba-texture-bg-texture.png') center/cover;
    opacity: 0.05;
    z-index: -3;
    pointer-events: none;
}

.bg-glow-1 {
    position: fixed;
    top: -10%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(255,216,77,0.1) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.bg-glow-2 {
    position: fixed;
    bottom: -10%; right: -10%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(0,217,255,0.08) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

/* Particles */
.particles {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-blue);
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-10vh) translateX(20px); opacity: 0; }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    margin-top: 6rem;
    background: linear-gradient(to right, #FFFFFF, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }

.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media(min-width: 768px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 1024px) {
    .grid { grid-template-columns: repeat(4, 1fr); }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0, 255, 178, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 178, 0.3);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.5);
}
.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--soft-yellow);
    box-shadow: 0 0 10px rgba(255, 216, 77, 0.2);
}
.btn-outline:hover {
    background: rgba(255, 216, 77, 0.1);
    box-shadow: 0 0 20px rgba(255, 216, 77, 0.4);
    color: #fff;
}

/* Header */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    background: rgba(4, 8, 7, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}
.nav-links { display: flex; align-items: center; }
.nav-links a {
    color: var(--text-main);
    margin: 0 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(0,255,178,0.5);
}
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.cart-icon {
    cursor: pointer;
    position: relative;
    font-size: 1.3rem;
}
.cart-count {
    position: absolute;
    top: -8px; right: -12px;
    background: var(--neon-green);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
}
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: #fff; }

@media(max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: rgba(4,8,7,0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { display: flex; }
    .nav-links a { margin: 1rem 0; text-align: center; }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 0 1rem;
}
.hero-content {
    max-width: 800px;
    background: rgba(255,255,255,0.02);
    border: none;
    box-shadow: none;
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #FFFFFF, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}
.hero-btns {
    display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}

/* Products */
.product-card {
    display: flex; flex-direction: column; padding: 1.5rem;
}
.product-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: block;
}
.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.product-card:hover .product-img {
    transform: scale(1.1);
}
.product-info { flex-grow: 1; display: flex; flex-direction: column; }
.product-info h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.product-price { color: var(--neon-green); font-size: 1.1rem; font-weight: bold; margin-bottom: 1rem; font-family: 'Poppins'; }
.product-card .btn { width: 100%; text-align: center; margin-top: auto; }

/* Single Product */
.single-product {
    display: grid; gap: 3rem; grid-template-columns: 1fr;
    margin-top: 6rem;
}
@media(min-width: 768px) {
    .single-product { grid-template-columns: 1fr 1fr; align-items: center; }
}
.sp-img img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); object-fit: cover; }
.sp-info h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--neon-blue); }
.sp-info .price { font-size: 1.8rem; color: var(--neon-green); margin-bottom: 1.5rem; font-weight: bold; }
.sp-info .desc { font-size: 1.1rem; margin-bottom: 2rem; color: var(--text-muted); }

/* Collections */
.collection-card {
    position: relative; height: 300px; border-radius: 20px; overflow: hidden;
    display: flex; align-items: flex-end; padding: 1.5rem;
}
.collection-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -1; transition: transform 0.5s;
}
.collection-card:hover .collection-img { transform: scale(1.1); }
.collection-overlay {
    background: rgba(4,8,7,0.7); backdrop-filter: blur(8px);
    padding: 1rem 2rem; border-radius: 15px; border: 1px solid var(--glass-border);
    width: 100%; text-align: center;
}
.collection-overlay h3 { margin: 0; font-size: 1.4rem; letter-spacing: 1px; }

/* Forms */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; text-align: left; }
.contact-form input, .contact-form textarea {
    background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
    padding: 1.2rem; border-radius: 12px; color: #fff; font-family: 'Inter'; outline: none;
    font-size: 1rem; transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--neon-blue); box-shadow: 0 0 10px rgba(0,217,255,0.2);
}

/* Legal Pages */
.legal-doc { text-align: left; }
.legal-doc h1 { margin-bottom: 2rem; color: var(--neon-blue); text-align: center; }
.legal-doc h2 { margin-top: 2.5rem; font-size: 1.3rem; color: var(--soft-yellow); margin-bottom: 1rem; }
.legal-doc p, .legal-doc ul { color: var(--text-muted); margin-bottom: 1rem; }
.legal-doc ul { padding-left: 2rem; }
.legal-doc li { margin-bottom: 0.5rem; }

/* Cart Panel */
.cart-panel {
    position: fixed;
    top: 0; right: -450px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(11, 31, 26, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--glass-border);
    z-index: 200;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.cart-panel.open { right: 0; }
.cart-close {
    align-self: flex-end;
    background: none; border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 1rem;
}
.cart-items { flex-grow: 1; overflow-y: auto; margin-bottom: 2rem; padding-right: 0.5rem; }
.cart-items::-webkit-scrollbar { width: 5px; }
.cart-items::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 5px; }
.cart-item {
    display: flex; gap: 1rem; align-items: center;
    margin-bottom: 1.5rem; padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}
.cart-item img { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; }
.cart-item-info { flex-grow: 1; }
.cart-item-info h4 { margin: 0 0 0.3rem; font-size: 0.95rem; font-family: 'Poppins'; }
.cart-item-info p { margin: 0; color: var(--neon-green); font-size: 0.9rem; font-weight: bold; }
.remove-item { background: none; border: none; color: #ff4d4d; cursor: pointer; font-size: 0.8rem; text-decoration: underline; margin-top: 5px; font-family: 'Inter'; }
.cart-footer { border-top: 1px solid var(--glass-border); padding-top: 1.5rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: bold; font-family: 'Playfair Display'; margin-bottom: 1.5rem; }

/* Footer */
footer {
    background: rgba(4,8,7,0.8);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 2rem 2rem;
    margin-top: 6rem;
}
.footer-grid {
    display: grid; gap: 3rem; grid-template-columns: 1fr;
    max-width: 1200px; margin: 0 auto;
}
@media(min-width: 768px){ .footer-grid{ grid-template-columns: repeat(3, 1fr); } }
.footer-col h4 { color: var(--neon-blue); margin-bottom: 1.5rem; font-size: 1.3rem; }
.footer-col p { color: var(--text-muted); }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 0.8rem; }
.footer-col a:hover { color: var(--neon-green); padding-left: 5px; }
.footer-bottom {
    text-align: center; margin-top: 4rem; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted); font-size: 0.9rem;
}