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

:root {
    --primary: #000000;
    --primary-hover: #333333;
    --secondary: #ffffff;
    --bg-color: #ffffff;
    --surface: #ffffff;
    --text-main: #111111;
    --text-muted: #888888;
    --border: #eeeeee;
    
    --radius: 0px; /* Sharp corners for minimalism */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 500;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

a:hover {
    color: var(--text-muted);
}

ul {
    list-style: none;
}

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

/* Header */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    gap: 0.75rem;
}

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

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

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

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

/* Hero Section */
.hero {
    padding: 10rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 400;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4rem 2rem;
    padding: 4rem 0;
}

.product-card {
    display: flex;
    flex-direction: column;
    group: hover;
}

.product-image-wrap {
    width: 100%;
    aspect-ratio: 1;
    background-color: #f4f5f7;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-title {
    font-size: 1rem;
    font-weight: 400;
}

.product-price {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Inputs */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: transparent;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: var(--text-muted);
}

td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--primary);
    color: var(--secondary);
    padding: 1rem 2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards, fadeOut 0.4s forwards 2.7s;
}

@keyframes slideIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 6rem 0 3rem;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    .nav-links { display: none; }
    
    .hero {
        padding: 6rem 0;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    
    .product-grid { 
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
        gap: 2rem 1rem;
    }
    
    footer {
        padding: 4rem 0 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 2rem; }
    .product-grid { 
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); 
    }
}
