/* ============================================
   Base Styles - Reset, Layout, Typography, Colors
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6;
  color: #374151; background-color: #ffffff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  font-weight: 700; line-height: 1.3; color: #111827;
}
a { text-decoration: none; color: inherit; cursor: pointer; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* Layout */
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.min-h-screen { min-height: 100vh; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; } .bottom-0 { bottom: 0; } .left-0 { left: 0; }
.z-0 { z-index: 0; } .z-10 { z-index: 10; } .z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }

/* Flex */
.flex { display: flex; } .inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; } .items-center { align-items: center; } .items-end { align-items: flex-end; }
.justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; } .flex-shrink-0 { flex-shrink: 0; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1.5; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-base { font-size: 1rem; line-height: 1.6; }
.text-lg { font-size: 1.125rem; line-height: 1.5; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3; }
.text-3xl { font-size: 1.875rem; line-height: 1.25; }
.text-4xl { font-size: 2.25rem; line-height: 1.2; }
.text-6xl { font-size: 3.75rem; line-height: 1.1; }
.font-normal { font-weight: 400; } .font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; } .font-bold { font-weight: 700; } .font-black { font-weight: 900; }
.font-mono { font-family: ui-monospace, monospace; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.3; } .leading-snug { line-height: 1.4; }
.leading-relaxed { line-height: 1.625; } .leading-loose { line-height: 1.9; }
.whitespace-nowrap { white-space: nowrap; } .text-center { text-align: center; }
.break-all { word-break: break-all; } .select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }

/* Text Colors */
.text-white { color: #ffffff; } .text-gray-50 { color: #f9fafb; }
.text-gray-300 { color: #d1d5db; } .text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; } .text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; } .text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-orange-400 { color: #fb923c; } .text-orange-500 { color: #f97316; }
.text-orange-600 { color: #ea580c; }

/* Backgrounds */
.bg-white { background-color: #ffffff; } .bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; } .bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-300 { background-color: #d1d5db; } .bg-gray-900 { background-color: #111827; }
.bg-orange-50 { background-color: #fff7ed; } .bg-orange-100 { background-color: #ffedd5; }
.bg-orange-500 { background-color: #f97316; }
.bg-green-500 { background-color: #22c55e; } .bg-green-600 { background-color: #16a34a; } .bg-green-700 { background-color: #15803d; }
.bg-red-500 { background-color: #ef4444; } .bg-red-600 { background-color: #dc2626; }
.bg-sky-500 { background-color: #0ea5e9; } .bg-yellow-500 { background-color: #eab308; }
.bg-rose-500 { background-color: #f43f5e; }
.bg-transparent { background-color: transparent; }
.bg-warm { background-color: #faf8f5; } .bg-footer { background-color: #1a1208; }

/* Spacing */
.m-0 { margin: 0; } .mx-auto { margin-left: auto; margin-right: auto; }
.mt-0-5 { margin-top: 2px; } .mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; } .mb-12 { margin-bottom: 48px; }
.ml-1 { margin-left: 4px; } .ml-2 { margin-left: 8px; } .ml-4 { margin-left: 16px; }
.mr-1 { margin-right: 4px; } .mr-2 { margin-right: 8px; }

.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.px-16 { padding-left: 64px; padding-right: 64px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-5 { padding-top: 20px; padding-bottom: 20px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }
.pt-3 { padding-top: 12px; } .pt-4 { padding-top: 16px; } .pt-5 { padding-top: 20px; }
.pt-6 { padding-top: 24px; } .pt-8 { padding-top: 32px; } .pt-20 { padding-top: 80px; }
.pb-0 { padding-bottom: 0; } .pb-3 { padding-bottom: 12px; } .pb-4 { padding-bottom: 16px; }
.p-4 { padding: 16px; } .p-5 { padding: 20px; } .p-6 { padding: 24px; } .p-8 { padding: 32px; }

.gap-0-5 { gap: 2px; } .gap-1 { gap: 4px; } .gap-2 { gap: 8px; }
.gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.gap-8 { gap: 32px; } .gap-10 { gap: 40px; } .gap-12 { gap: 48px; }

.space-y-2 > * + * { margin-top: 8px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-transparent { border-color: transparent; }
.border-gray-50 { border-color: #f9fafb; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-orange-100 { border-color: #ffedd5; }
.border-orange-300 { border-color: #fdba74; }
.border-orange-400 { border-color: #fb923c; }
.border-white-10 { border-color: rgba(255,255,255,0.1); }
.border-white-20 { border-color: rgba(255,255,255,0.2); }
.border-white-50 { border-color: rgba(255,255,255,0.5); }
.border-white-60 { border-color: rgba(255,255,255,0.6); }

/* Shapes */
.rounded-md { border-radius: 6px; } .rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; } .rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

/* Shadows & Effects */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* Transitions */
.transition-all { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color, background-color, border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

/* Line Clamp */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Sizes */
.w-full { width: 100%; } .w-6 { width: 24px; } .w-7 { width: 28px; }
.w-8 { width: 32px; } .w-9 { width: 36px; } .w-10 { width: 40px; }
.w-12 { width: 48px; } .w-14 { width: 56px; }
.h-6 { height: 24px; } .h-7 { height: 28px; } .h-8 { height: 32px; }
.h-9 { height: 36px; } .h-10 { height: 40px; } .h-12 { height: 48px; }
.h-14 { height: 56px; } .h-16 { height: 64px; } .h-20 { height: 80px; }
.h-48 { height: 192px; } .h-52 { height: 208px; }
.max-w-md { max-width: 448px; } .max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; } .max-w-3xl { max-width: 768px; }
.max-w-5xl { max-width: 1024px; } .max-w-7xl { max-width: 1280px; }

/* Mobile Nav Spacer */
.mobile-nav-spacer { height: 64px; }
@media (min-width: 768px) {
  .mobile-nav-spacer { display: none; }
  .mobile-bottom-nav { display: none; }
}