/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Warm neutral palette inspired by Japanese aesthetics */
    --background: hsl(40, 20%, 98%);
    --foreground: hsl(30, 10%, 15%);
    
    --card: hsl(40, 15%, 96%);
    --card-foreground: hsl(30, 10%, 15%);
    
    /* Traditional Japanese red - subdued */
    --primary: hsl(8, 65%, 45%);
    --primary-foreground: hsl(40, 20%, 98%);
    
    --secondary: hsl(35, 12%, 90%);
    --secondary-foreground: hsl(30, 10%, 25%);
    
    --muted: hsl(35, 10%, 92%);
    --muted-foreground: hsl(30, 8%, 45%);
    
    --accent: hsl(35, 15%, 88%);
    --accent-foreground: hsl(30, 10%, 20%);
    
    --border: hsl(35, 15%, 88%);
    
    /* Custom tokens */
    --japanese-red: hsl(8, 65%, 45%);
    --japanese-red-light: hsl(8, 50%, 92%);
    --warm-cream: hsl(40, 25%, 96%);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-xs {
    width: 0.75rem;
    height: 0.75rem;
}

.icon-check {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    opacity: 0.9;
}

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

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

/* Utility Classes */
.text-primary {
    color: var(--primary);
}

.text-foreground {
    color: var(--foreground);
}

.hidden {
    display: none !important;
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
