:root {
    --bg: #f7f7f5;
    --surface: #ffffff;
    --text: #111111;
    --muted: #777777;
    --border: #e8e8e5;
    --radius: 20px;
    --primary: #111111;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.5;
}

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

.container {
    width: min(1200px, calc(100% - 40px));
    margin: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 500;
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--text);
}

/* Auth Forms */
.auth-container {
    max-width: 400px;
    margin: 80px auto;
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.auth-container h1 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--muted);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.2s;
    background: var(--bg);
}

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

.auth-btn {
    width: 100%;
    margin-top: 8px;
}

.auth-links {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

.auth-links a {
    color: var(--text);
    font-weight: 500;
}

.error-msg {
    background: #fee;
    color: #c00;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}
/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content .eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--muted);
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin: 24px 0;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-3d {
    flex: 1;
    height: 600px;
    position: relative;
    border-radius: 40px;
    background: #eee; /* Placeholder */
    overflow: hidden;
}

#heroCanvas {
    width: 100%;
    height: 100%;
}

/* Page Transition */
.page {
    animation: pageIn .5s ease both;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product Card */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    transition: transform .3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #eee;
    margin-bottom: 16px;
}

.product-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

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

.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    z-index: 2;
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.product-info h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 500;
}

.product-info .price {
    font-weight: 600;
}
