* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: #1f2937; background: #fff; }

/* Header */
.site-header { background: #1f2937; color: white; padding: 1rem 0; border-bottom: 3px solid #dc2626; }
.site-header .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 1.5rem; font-weight: bold; color: white; text-decoration: none; }
.nav { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.nav a { color: white; text-decoration: none; transition: color 0.3s; padding: 0.5rem 0; }
.nav a:hover { color: #dc2626; }
.nav-popular { display: flex; gap: 1rem; margin-left: 1rem; padding-left: 1rem; border-left: 1px solid #4b5563; }
.nav-popular span { color: #9ca3af; font-size: 0.9rem; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.content-wrapper { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; }
.main-content { min-width: 0; }

/* Breadcrumbs */
.breadcrumb { padding: 1rem 0; color: #6b7280; font-size: 0.9rem; }
.breadcrumb a { color: #dc2626; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Hero */
.hero { background: linear-gradient(135deg, #dc2626, #b91c1c); color: white; padding: 3rem 2rem; border-radius: 12px; margin: 2rem 0; }
.hero-content { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.file-icon { font-size: 5rem; font-weight: bold; color: white; }
.hero h1 { color: white; font-size: 2.5rem; margin: 0 0 0.5rem 0; }
.hero-sub { font-size: 1.2rem; color: white; margin: 0; opacity: 0.95; }

/* Typography */
h1,h2,h3,h4 { margin: 2rem 0 1rem; color: #1f2937; }
h2 { font-size: 2rem; border-bottom: 3px solid #dc2626; padding-bottom: 0.5rem; }
h3 { font-size: 1.5rem; color: #dc2626; }
h4 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; font-weight: 600; }
p { margin: 1rem 0; line-height: 1.8; }
ul, ol { margin: 1rem 0; padding-left: 2.5rem; line-height: 1.8; }
li { margin: 0.5rem 0; }
a { color: #dc2626; text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }
strong { color: #1f2937; }

/* Grids */
.sections-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.section-card { background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border: 2px solid #f3f4f6; transition: all 0.3s; text-decoration: none; display: block; }
.section-card:hover { border-color: #dc2626; box-shadow: 0 4px 12px rgba(220,38,38,0.2); transform: translateY(-2px); text-decoration: none; }
.section-card h3 { margin: 0 0 0.5rem 0; font-size: 1.3rem; color: #1f2937; }
.section-card p { margin: 0; color: #6b7280; font-weight: 400; line-height: 1.6; }
.section-card .icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

/* Sidebar */
.sidebar { background: #f9fafb; padding: 1.5rem; border-radius: 12px; position: sticky; top: 2rem; }
.sidebar-section { margin-bottom: 2rem; }
.sidebar-section:last-child { margin-bottom: 0; }
.sidebar-section h3 { font-size: 1.1rem; margin: 0 0 1rem 0; color: #1f2937; border-bottom: 2px solid #dc2626; padding-bottom: 0.5rem; }
.sidebar-section ul { list-style: none; padding: 0; margin: 0; }
.sidebar-section li { margin: 0.5rem 0; }
.sidebar-section a { font-size: 0.95rem; color: #4b5563; font-weight: 400; display: block; padding: 0.4rem 0; }
.sidebar-section a:hover { color: #dc2626; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-radius: 8px; overflow: hidden; }
table th, table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e5e7eb; }
table th { background: #f3f4f6; font-weight: 600; color: #1f2937; }
table tr:last-child td { border-bottom: none; }
table tr:hover { background: #f9fafb; }

/* Boxes */
.quick-answer { background: #dc2626; color: white; padding: 2rem; border-radius: 12px; margin: 2rem 0; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.quick-answer h2 { color: white; margin: 0 0 1rem 0; font-size: 1.8rem; border: none; }
.quick-answer ul { list-style: none; padding: 0; }
.quick-answer li { margin: 0.8rem 0; padding-left: 2rem; position: relative; color: white; }
.quick-answer li span { position: absolute; left: 0; }
.quick-answer strong { color: white; }

.info-box { background: #f0f9ff; padding: 2rem; border-radius: 12px; border-left: 4px solid #3b82f6; margin: 2rem 0; }
.warning-box { background: #fef3c7; padding: 2rem; border-radius: 12px; border-left: 4px solid #f59e0b; margin: 2rem 0; }
.success-box { background: #d1fae5; padding: 2rem; border-radius: 12px; border-left: 4px solid #10b981; margin: 2rem 0; }

/* FAQ */
.faq-item { background: white; padding: 1.5rem; margin: 1rem 0; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.faq-q { cursor: pointer; font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; color: #1f2937; }
.faq-q:hover { color: #dc2626; }
.faq-q::after { content: '+'; font-size: 1.5rem; color: #dc2626; }
.faq-item.active .faq-q::after { content: '−'; }
.faq-a { display: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; line-height: 1.8; color: #4b5563; }
.faq-item.active .faq-a { display: block; }

/* Footer */
.site-footer { background: #1f2937; color: #9ca3af; padding: 3rem 0 1rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; max-width: 1200px; margin: 0 auto; padding: 0 2rem 2rem; }
.footer-col h4 { color: white; margin: 0 0 1rem 0; font-size: 1.1rem; }
.footer-col a { display: block; color: #9ca3af; margin: 0.5rem 0; text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #374151; max-width: 1200px; margin: 0 auto; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) {
  .content-wrapper { grid-template-columns: 1fr; }
  .sidebar { position: static; margin-top: 2rem; }
  .hero-content { flex-direction: column; text-align: center; }
  .file-icon { font-size: 3rem; }
  .hero h1 { font-size: 2rem; }
  .sections-grid { grid-template-columns: 1fr; }
  .nav-popular { display: none; }
  .container { padding: 1rem; }
}
