/* ============================================
   Toy Supplier Website - Professional B2B Style
   Color Scheme: Blue/White Professional
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --accent: #ff6b35;
  --accent-dark: #e55a2b;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --border: #e2e8f0;
  --success: #10b981;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Eliminate 300ms tap delay on mobile */
a, button, [role="button"], input[type="submit"], input[type="button"] {
  touch-action: manipulation;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-gray { background: var(--bg-gray); }

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover { background: var(--accent-dark); color: white; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}
.logo span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 32px; }

.nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.header-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--accent-dark); color: white; }

/* Mobile menu */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.3s; }

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .nav.open { display: flex; }
  .header-cta { display: none; }
}

/* --- Hero --- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.hero-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-buttons .btn { padding: 14px 32px; font-size: 16px; }
.hero-buttons .btn-primary { background: white; color: var(--primary); }
.hero-buttons .btn-primary:hover { background: var(--primary-light); }
.hero-buttons .btn-outline { border-color: rgba(255,255,255,0.5); color: white; }
.hero-buttons .btn-outline:hover { background: rgba(255,255,255,0.15); color: white; border-color: white; }


@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .hero-inner { max-width: 100%; padding: 0 20px; }
  .hero-content h1 { font-size: 30px; }
  .hero-buttons { justify-content: center; }
}

/* --- Trust Bar --- */
.trust-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
}
.trust-item .icon {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* --- Features / Why Choose Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* --- Products Preview --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.product-img {
  aspect-ratio: 4/3;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--text-light);
  opacity: 0.4;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body { padding: 20px; }
.product-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.product-body .category { color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.product-body p { color: var(--text-light); font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.product-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-light); }
.product-meta span { display: flex; align-items: center; gap: 4px; }

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* --- Certifications --- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.cert-badge {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  transition: all 0.3s;
}
.cert-badge:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.cert-badge .cert-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.cert-badge h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cert-badge p { font-size: 12px; color: var(--text-light); }

@media (max-width: 768px) {
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn { padding: 14px 36px; font-size: 16px; background: var(--accent); color: white; border: none; }
.cta-section .btn:hover { background: var(--accent-dark); }

/* --- Contact / Inquiry Form --- */
.inquiry-section { padding: 80px 0; }
.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.inquiry-info h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.inquiry-info p { color: var(--text-light); margin-bottom: 32px; line-height: 1.7; }

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-method .icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-method h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.contact-method p { font-size: 14px; color: var(--text-light); }

/* Form */
.form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: white;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--primary-dark); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px;
  height: 64px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
  color: var(--success);
}
.form-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--text-light); }

@media (max-width: 768px) {
  .inquiry-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- About Page --- */
.about-hero {
  padding: 140px 0 80px;
  background: var(--bg-light);
  text-align: center;
}
.about-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.about-hero p { font-size: 17px; color: var(--text-light); max-width: 600px; margin: 0 auto; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.stat-card .number { font-size: 40px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-card .label { font-size: 14px; color: var(--text-light); font-weight: 500; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Team / Factory --- */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.factory-image {
  aspect-ratio: 4/3;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--text-light);
  opacity: 0.3;
}
.factory-content h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.factory-content p { color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }
.factory-content ul { list-style: none; }
.factory-content li {
  padding: 8px 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.factory-content li::before { content: '✓'; color: var(--success); font-weight: 700; font-size: 16px; }

@media (max-width: 768px) {
  .factory-grid { grid-template-columns: 1fr; }
}

/* --- Products Page --- */
.products-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.sub-filter {
  margin-top: -25px;
  margin-bottom: 30px;
}
.sub-filter .filter-btn {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 20px;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 { color: white; font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.footer-brand h3 span { color: var(--accent); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }

.footer h4 { color: white; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,0.75); font-size: 14px; display: block; margin-bottom: 10px; }
.footer a:hover { color: white; }
.footer span { color: rgba(255,255,255,0.75); font-size: 14px; display: block; margin-bottom: 10px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 999;
  cursor: pointer;
  text-decoration: none;
  animation: whatsapp-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover { animation: none; transform: scale(1.1); color: white; }

@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* --- FAQ (details/summary) --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0;
}

.faq-item + .faq-item {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.faq-item:first-of-type {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-item:last-of-type {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.faq-item:only-of-type {
  border-radius: var(--radius-lg);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  color: var(--text-light);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:hover {
  background: var(--bg-light);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* --- Page Hero (sub pages) --- */
.page-hero {
  padding: 120px 0 60px;
  background: var(--bg-light);
  text-align: center;
}
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--text-light); }

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.blog-card-img {
  height: 180px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body { padding: 24px; }

.blog-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.blog-card-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text);
}
.blog-card-body h3 a {
  color: var(--text);
}
.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* --- Latest Articles (Homepage) --- */
.latest-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.latest-article-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.3s;
}
.latest-article-card:hover { box-shadow: var(--shadow-md); }

.latest-article-card .article-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-block;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.latest-article-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.latest-article-card h3 a {
  color: var(--text);
}
.latest-article-card h3 a:hover {
  color: var(--primary);
}

.latest-article-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.latest-article-card .read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  .latest-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .latest-articles-grid { grid-template-columns: 1fr; }
}

/* --- Blog Post (Article Detail Page) --- */
.blog-post {
  max-width: 780px;
  margin: 0 auto;
}

.blog-post-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.blog-post-header .post-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.blog-post-header .post-date span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-post-header h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 16px;
}

.blog-post-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-post-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.blog-post-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.blog-post-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  line-height: 1.35;
}

.blog-post-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
  line-height: 1.4;
}

.blog-post-body p {
  margin-bottom: 18px;
}

.blog-post-body ul,
.blog-post-body ol {
  margin: 12px 0 20px 24px;
}

.blog-post-body li {
  margin-bottom: 8px;
}

.blog-post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.blog-post-body table th,
.blog-post-body table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.blog-post-body table th {
  background: var(--bg-light);
  font-weight: 700;
  color: var(--text);
}

.blog-post-body table tr:nth-child(even) td {
  background: var(--bg-light);
}

.blog-post-body strong {
  font-weight: 700;
  color: var(--text);
}

.blog-post-body a {
  color: var(--primary);
  text-decoration: underline;
}

.blog-post-body blockquote {
  border-left: 4px solid var(--primary);
  margin: 24px 0;
  padding: 16px 24px;
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}

.blog-post-body .key-takeaway {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}

.blog-post-body .key-takeaway strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: #92400e;
}

.blog-post-body .key-takeaway p {
  margin: 0;
  color: #78350f;
  font-size: 15px;
}

.blog-post-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.blog-post-footer p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .blog-post-header h1 { font-size: 24px; }
  .blog-post-body { font-size: 15px; }
  .blog-post-body h2 { font-size: 20px; }
  .blog-post-body h3 { font-size: 17px; }
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive Tweaks --- */
@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 24px; }
  .hero-content h1 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
