/* style.css */
:root {
    --bg-color: #fbfbfd;
    --text-dark: #1d1d1f;
    --text-gray: #86868b;
    --emerald-100: #d1fae5;
    --emerald-800: #065f46;
    --blue-100: #dbeafe;
    --blue-800: #1e40af;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; background: none; }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1000px; height: 60px;
    background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 40px;
    display: flex; justify-content: space-between; align-items: center; padding: 0 24px;
    z-index: 1000; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.navbar.scrolled {
    top: 10px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.logo { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--text-gray); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-dark); }

.nav-signature {
    position: relative; padding: 6px 16px; border-radius: 20px;
    font-weight: 700; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase;
    overflow: hidden; display: flex; align-items: center;
}
.nav-signature::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--emerald-100), var(--blue-100));
    opacity: 0.5; z-index: -1; transition: opacity 0.3s;
}
.nav-signature:hover::before { opacity: 1; }
.nav-signature span {
    background: linear-gradient(135deg, var(--emerald-800), var(--blue-800));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.nav-actions { display: flex; align-items: center; gap: 16px; }
.btn-cart { background: var(--text-dark); color: white; padding: 8px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; transition: transform 0.2s; }
.btn-cart:hover { background: #000; transform: scale(1.05); }

.menu-toggle { display: none; font-size: 1.5rem; color: var(--text-dark); }

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
    z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a { font-size: 1.5rem; font-weight: 600; color: var(--text-gray); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--text-dark); }
.close-menu { position: absolute; top: 30px; right: 30px; font-size: 2rem; }

@media (max-width: 900px) {
    .nav-links, .login-link { display: none; }
    .menu-toggle { display: block; }
}

/* --- LAYOUT UTILS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

.img-placeholder {
    background: #f0f0f5; border: 2px dashed #d1d1d6; display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: #86868b; text-transform: uppercase;
    letter-spacing: 2px; font-size: 0.8rem; font-weight: 600; border-radius: 20px; text-align: center;
}

/* --- HERO SECTIONS --- */
.hero { padding: 200px 24px 100px; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 24px; }
.hero p { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--text-gray); margin-bottom: 40px; }

/* --- PRODUCT GRIDS --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 100px; }
.card { background: white; border: 1px solid rgba(0,0,0,0.05); border-radius: 24px; padding: 30px; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.card-img { width: 100%; height: 200px; margin-bottom: 20px; }

/* --- FOOTER --- */
footer { background: white; padding: 80px 24px 40px; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 100px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { color: var(--text-gray); font-size: 0.9rem; margin: 16px 0; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-gray); font-size: 0.9rem; }
.footer-col a:hover { color: var(--text-dark); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }