:root {
    --primary: oklch(0.65 0.2 145);
    --secondary: oklch(0.7 0.15 40);
    --bg-main: oklch(0.98 0.01 145);
    --card-bg: #ffffff;
    --text-main: oklch(0.2 0.02 145);
    --text-muted: oklch(0.5 0.02 145);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-deep: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    position: relative;
    box-shadow: 0 0 100px rgba(0,0,0,0.03);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-emoji { font-size: 1.5rem; }
.logo-text { 
    font-size: 1.2rem; 
    font-weight: 800; 
    color: var(--primary);
    letter-spacing: -0.5px;
}

.cart-btn {
    background: #f4f4f4;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.cart-btn:active { transform: scale(0.9); }

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid white;
}

/* Hero */
.hero {
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, oklch(0.95 0.05 145) 0%, oklch(0.9 0.08 145) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.hero-badge {
    display: inline-block;
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-soft);
}

/* Product Grid */
.product-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep);
}

.product-image-wrapper {
    background: oklch(0.97 0.02 40);
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

.product-price {
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.1rem;
}

.add-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.add-btn:hover { background: oklch(0.6 0.2 145); }
.add-btn:active { transform: scale(0.9); }

/* Footer */
.footer {
    padding: 3rem 1.5rem;
    text-align: center;
    background: oklch(0.96 0.01 145);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    gap: 12px;
    text-decoration: underline;
}
