/* VAL - Nano Banana Design System */
:root {
    --bg-page: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --accent-blue-light: #e0f2fe;
    --accent-blue-main: #38bdf8;
    --accent-blue-dark: #0284c7;
    --accent-sage-light: #ecfccb;
    --accent-sage-main: #84cc16;
    --accent-sage-muted: #dcfce7;
    --accent-warm-gray: #f5f5f4;
    --gradient-hero: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --space-3xl: 128px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--text-primary);
}

.text-4xl { font-size: 3rem; margin-bottom: var(--space-md); }
.text-3xl { font-size: 2.25rem; margin-bottom: var(--space-md); }
.text-2xl { font-size: 1.875rem; margin-bottom: var(--space-sm); }
.text-xl { font-size: 1.25rem; margin-bottom: var(--space-xs); }
.text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-subtle { color: var(--text-secondary); }
.text-center { text-align: center; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--space-2xl) 0; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.gap-4 { gap: var(--space-md); }
.gap-6 { gap: 24px; }
.gap-8 { gap: var(--space-lg); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-sm); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:flex-row { flex-direction: row; }
    .md\:text-left { text-align: left; }
    .md\:p-0 { padding: 0; }
    .hidden.md\:flex { display: flex !important; }
    .md\:hidden { display: none !important; }
    .md\:w-1\/3 { width: 33.333%; }
    .md\:w-2\/3 { width: 66.666%; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-primary:hover {
    background-color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: var(--bg-surface);
    border-color: #cbd5e1;
    color: #0f172a;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #e2e8f0;
}

.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-surface);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.icon-blue { background: var(--accent-blue-light); color: var(--accent-blue-dark); }
.icon-sage { background: var(--accent-sage-muted); color: var(--accent-sage-main); }
.icon-gray { background: var(--accent-warm-gray); color: var(--text-secondary); }

.bento-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .bento-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); }
}

.bento-cell {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.bento-cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: #e2e8f0; }

.span-1 { grid-column: span 1; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.row-span-1 { grid-row: span 1; }
.row-span-2 { grid-row: span 2; }
.row-span-3 { grid-row: span 3; }

@media (max-width: 767px) {
    .span-2, .span-3, .span-4 { grid-column: span 1; }
    .row-span-2, .row-span-3 { grid-row: span 1; }
}

.bento-featured { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); color: white; }
.bento-featured h2, .bento-featured h3, .bento-featured h4 { color: white; }
.bento-featured .text-subtle { color: rgba(255,255,255,0.7); }
.bento-accent-blue { background: linear-gradient(135deg, var(--accent-blue-light) 0%, #e0f7ff 100%); border-color: var(--accent-blue-main); }
.bento-accent-sage { background: linear-gradient(135deg, var(--accent-sage-muted) 0%, #f0fdf4 100%); border-color: var(--accent-sage-main); }
.bento-surface { background: var(--bg-surface); }

.bento-cell .cell-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: var(--space-md); }
.bento-cell .cell-number { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: var(--space-sm); background: linear-gradient(135deg, var(--accent-blue-main), var(--accent-sage-main)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bento-cell .cell-label { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-tertiary); margin-bottom: var(--space-xs); }
.bento-cell .cell-title { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--space-sm); }
.bento-cell .cell-description { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }
.bento-cell .cell-list { list-style: none; margin-top: var(--space-md); }
.bento-cell .cell-list li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.bento-cell .cell-list li:last-child { border-bottom: none; }
.bento-cell .cell-list .check { color: var(--accent-sage-main); font-weight: 700; }

.bento-stat { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.bento-stat .stat-value { font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--text-primary); }
.bento-stat .stat-label { font-size: 0.9rem; color: var(--text-secondary); margin-top: var(--space-sm); }

.bento-quote { display: flex; flex-direction: column; justify-content: center; font-style: italic; font-size: 1.1rem; color: var(--text-secondary); position: relative; }
.bento-quote::before { content: '"'; font-size: 4rem; position: absolute; top: -10px; left: -5px; color: var(--accent-blue-light); line-height: 1; }

.info-callout { background: #fffbeb; border: 1px solid #fcd34d; border-radius: var(--radius-md); padding: var(--space-md); margin-top: var(--space-md); }
.info-callout.warning { background: #fef2f2; border-color: #fca5a5; }
.info-callout.success { background: #f0fdf4; border-color: #86efac; }

.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; gap: 4px; }
.tag-blue { background: var(--accent-blue-light); color: var(--accent-blue-dark); }
.tag-sage { background: var(--accent-sage-muted); color: #15803d; }
.tag-gray { background: var(--accent-warm-gray); color: var(--text-secondary); }

.progress-bar { height: 8px; background: #e2e8f0; border-radius: var(--radius-full); overflow: hidden; margin-top: var(--space-md); }
.progress-bar .progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent-blue-main), var(--accent-sage-main)); border-radius: var(--radius-full); transition: width 0.5s ease; }
