:root {
    --bg-color: #ffffff;
    --card-bg: rgba(0, 0, 0, 0.03);
    --primary: #000000;
    --primary-light: #333333;
    --text-main: #000000;
    --text-dim: #666666;
    --glass-border: rgba(0, 0, 0, 0.08);
    --nav-height: 70px;
    --safe-area: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

/* App Layout */
.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.screen-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: calc(var(--nav-height) + 20px);
    scroll-behavior: smooth;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.screen-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-item i {
    font-size: 20px;
}

.nav-item.active {
    color: var(--primary);
}

/* Splash Screen */
#splash {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}

.splash-logo {
    width: 150px;
    filter: brightness(0); /* Black logo on white splash */
}

/* Components */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 0; /* Sharp corners for high fashion */
    backdrop-filter: blur(10px);
}

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

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px var(--safe-area);
}

.product-card {
    padding: 10px;
    position: relative;
    border: none;
    background: none;
}

.product-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 12px;
}

.add-btn {
    position: absolute;
    bottom: 50px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #000;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    font-weight: bold;
}
