/* Ultra-Modern Bento Grid & Editorial Hub CSS Design System for paopaodog.mom */
:root {
  --primary: #4338ca;
  --primary-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
  --secondary: #059669;
  --secondary-gradient: linear-gradient(135deg, #10b981, #059669);
  --accent: #06b6d4;
  --bg-main: #f1f5f9;
  --card-bg: #ffffff;
  --border-light: #e2e8f0;
  --text-dark: #0f172a;
  --text-sub: #475569;
  --text-light: #94a3b8;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-bento: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 1.5rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.35rem;
}

.brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.btn-recommend {
  background: var(--secondary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-recommend:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: #f8fafc;
}

/* Layout Wrapper */
.main-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
}

/* Bento Box Hero Section */
.bento-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .bento-hero-grid {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-bento);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-hero-main {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 2px solid #e0e7ff;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: #e0e7ff;
  color: #4338ca;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.bento-hero-main h1 {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.bento-hero-main p {
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

/* Bento Sidebar Column Grid */
.bento-side-column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.bento-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-bento);
}

.bento-stat-card h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.node-ping-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.node-ping-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.ping-tag {
  background: #d1fae5;
  color: #065f46;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* Feature Bento 4-Grid */
.bento-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.feature-bento-tile {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-bento);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-bento-tile:hover {
  transform: translateY(-3px);
  border-color: #818cf8;
}

.feature-bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-bento-tile h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.feature-bento-tile p {
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* Pricing Bento Grid */
.pricing-bento-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-bento);
  margin: 2.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.section-title p {
  color: var(--text-sub);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.price-tile {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.price-tile.featured {
  background: #ffffff;
  border: 2px solid #4338ca;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #4338ca;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.5rem 0;
}

.price-val span {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: normal;
}

.price-features {
  list-style: none;
  margin: 1.2rem 0;
  flex: 1;
}

.price-features li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-features li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: bold;
}

/* Editorial Articles Layout */
.editorial-hub {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .editorial-hub {
    grid-template-columns: 1fr;
  }
}

.featured-article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-bento);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-article-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.featured-article-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.featured-article-card h3 a:hover {
  color: var(--primary);
}

.articles-side-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sub-article-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-bento);
  transition: transform 0.15s;
}

.sub-article-item:hover {
  transform: translateY(-2px);
  border-color: #818cf8;
}

.sub-article-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.sub-article-item h4 a {
  color: var(--text-dark);
  text-decoration: none;
}

.sub-article-item h4 a:hover {
  color: var(--primary);
}

/* Tag Cloud Pills Banner */
.tag-cloud-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-bento);
  margin: 2rem 0;
}

.tag-cloud-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.tag-pill {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.tag-pill:hover {
  opacity: 0.88;
}

.t-green { background: #00b074; }
.t-blue { background: #0072ce; }
.t-red { background: #d9381e; }
.t-purple { background: #6f42c1; }
.t-orange { background: #ff6f00; }
.t-cyan { background: #00a8cc; }
.t-pink { background: #e83e8c; }
.t-dark { background: #334155; }

/* Article Details Layout */
.article-detail-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 1.8rem;
}

@media (max-width: 900px) {
  .article-detail-grid {
    grid-template-columns: 1fr;
  }
}

.article-main-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-bento);
}

.article-main-card h1 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.article-meta-bar {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  gap: 1.2rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.article-main-card h2 {
  font-size: 1.4rem;
  margin: 1.8rem 0 0.8rem;
  color: var(--primary);
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.4rem;
}

.article-main-card p {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.article-main-card ul, .article-main-card ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
  color: var(--text-sub);
}

.article-main-card li {
  margin-bottom: 0.4rem;
}

.article-main-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* Reviews & FAQ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.review-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.3rem;
}

.review-user {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.3rem;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 1.3rem;
  color: var(--text-sub);
  font-size: 0.92rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0.4rem 1.3rem 1.2rem;
}

/* Footer Requirements */
footer.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 2.2rem 1.5rem 1.5rem;
  margin-top: auto;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-nav a {
  color: var(--text-sub);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--primary);
}

.copyright {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* PBN Friend Links Area */
.friend-links-area {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--border-light);
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.friend-links-area a {
  color: var(--text-sub);
  text-decoration: none;
}

.friend-links-area a:hover {
  color: var(--primary);
  text-decoration: underline;
}
