/*
Theme Name: WAGB Official Theme
Theme URI: https://wagb-apps-official.com
Description: Premium, responsive, and elegant WordPress theme for the GB WhatsApp portal, built with clean semantic HTML5 and custom CSS without any Tailwind CSS framework.
Version: 1.0.0
Author: WAGB Apps Dev Team
Author URI: https://wagb-apps-official.com
License: GNU General Public License v2 or later
Text Domain: wagb-official
*/

/* Reset & Variables */
:root {
  --primary: #059669; /* Emerald 600 */
  --primary-hover: #047857; /* Emerald 700 */
  --primary-light: #ecfdf5; /* Emerald 50 */
  --primary-border: #a7f3d0; /* Emerald 200 */
  --dark: #111827; /* Gray 900 */
  --dark-soft: #1f2937; /* Gray 800 */
  --gray-text: #4b5563; /* Gray 600 */
  --gray-light: #f3f4f6; /* Gray 100 */
  --gray-border: #e5e7eb; /* Gray 200 */
  --warning: #d97706; /* Amber 600 */
  --warning-light: #fffbeb; /* Amber 50 */
  --warning-border: #fef3c7; /* Amber 200 */
  --white: #ffffff;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-emerald: 0 10px 15px -3px rgba(5, 150, 105, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--dark-soft);
  background-color: var(--white);
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Display */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

h1 { font-size: 2.5rem; letter-spacing: -0.025em; }
h2 { font-size: 2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--primary-border);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray-text);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

/* Header Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
  height: 80px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}

.main-nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-text);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.main-nav a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.header-btn {
  background-color: var(--primary);
  color: var(--white) !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-emerald);
  transition: all 0.2s ease;
}

.header-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-light);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--primary-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title span {
  color: var(--primary);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--gray-text);
}

/* Download Widget */
.download-widget {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-border);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin-top: 12px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-emerald);
  width: 100%;
  transition: all 0.2s ease;
  text-decoration: none;
}

.download-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.download-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--gray-text);
  border-top: 1px solid var(--gray-light);
  padding-top: 12px;
}

.warning-box {
  background-color: var(--warning-light);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin-top: 20px;
}

.warning-icon {
  color: var(--warning);
  font-size: 1.25rem;
  font-weight: bold;
}

.warning-text {
  font-size: 0.75rem;
  color: #78350f;
}

/* Specs Block */
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.spec-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
  background-color: #e5e7eb;
}

.spec-img-wrapper img {
  width: 100%;
  height: 100%;
  object-cover: cover;
}

.spec-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.65);
  padding: 16px 24px;
  color: var(--white);
}

.spec-img-overlay h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.spec-img-overlay p {
  font-size: 0.75rem;
  color: #a7f3d0;
  text-transform: uppercase;
  font-weight: 700;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.spec-card {
  background-color: var(--white);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-text);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark-soft);
}

/* Table of Contents */
.toc-box {
  background-color: #fafafa;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 48px auto;
  max-width: 900px;
  box-shadow: var(--shadow-sm);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--primary-border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.toc-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-text);
  transition: all 0.2s ease;
}

.toc-item:hover {
  border-color: var(--primary-border);
  background-color: var(--primary-light);
  color: var(--primary-hover);
}

.toc-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-text);
}

.toc-item:hover .toc-number {
  background-color: var(--primary);
  color: var(--white);
}

/* Article Sections */
.content-section {
  padding: 60px 0;
}

.content-section.bg-gray {
  background-color: var(--gray-light);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.prose {
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.75;
  max-width: 800px;
  margin: 0 auto;
}

.prose p {
  margin-bottom: 24px;
}

.prose ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.prose li {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--dark-soft);
}

/* Highlight Grid cards */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.highlight-card {
  background-color: var(--white);
  border: 1px solid var(--primary-border);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.highlight-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--dark-soft);
  margin-bottom: 0;
}

/* Grid Grid Cards (Pertimbangan) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.card-item {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 44px;
  height: 44px;
  background-color: var(--warning-light);
  color: var(--warning);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.card-info h4 {
  margin-bottom: 6px;
}

.card-info p {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.5;
}

/* Features Tabs Explorer */
.features-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  max-width: 1000px;
  margin: 32px auto 0 auto;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 12px;
}

.feature-tab {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: left;
  transition: all 0.2s ease;
}

.feature-tab:hover {
  background-color: var(--gray-light);
  border-color: var(--primary-border);
}

.feature-tab.active {
  background-color: var(--primary-light);
  border-color: var(--primary);
}

.feature-tab-icon {
  width: 36px;
  height: 36px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-tab.active .feature-tab-icon {
  background-color: var(--primary);
  color: var(--white);
}

.feature-tab-details h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.feature-tab-details p {
  font-size: 0.8rem;
  color: var(--gray-text);
  line-height: 1.4;
}

.feature-showcase-panel {
  background-color: #064e3b; /* Dark Forest Emerald */
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid #047857;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: #34d399;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-title {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.showcase-badge {
  display: inline-block;
  background-color: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
}

.showcase-text {
  color: #e6f4ea;
  font-size: 0.95rem;
  line-height: 1.6;
}

.showcase-steps {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
}

.showcase-step-item {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: #a7f3d0;
  margin-bottom: 10px;
}

.showcase-step-item:last-child {
  margin-bottom: 0;
}

.showcase-step-num {
  background-color: var(--primary);
  color: var(--white);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Comparison Table */
.comparison-wrapper {
  max-width: 900px;
  margin: 32px auto 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  background-color: var(--primary-hover);
  color: var(--white);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.85rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr.highlighted {
  background-color: var(--primary-light);
}

.comparison-table tr:hover {
  background-color: rgba(243, 244, 246, 0.5);
}

.comparison-table tr.highlighted:hover {
  background-color: #d1fae5;
}

.col-param {
  font-weight: 700;
  color: var(--dark-soft);
}

.col-official {
  color: var(--gray-text);
}

.col-pro {
  color: var(--dark);
  font-weight: 700;
}

/* Alternatives Section */
.alternatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 32px auto 0 auto;
}

.alt-card {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.alt-card:hover {
  border-color: var(--primary-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.alt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.alt-badge {
  background-color: var(--gray-light);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--gray-border);
}

.alt-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.alt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.alt-desc {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.5;
}

.alt-specs {
  border-top: 1px solid var(--gray-light);
  padding-top: 12px;
  margin-bottom: 16px;
}

.alt-specs-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.alt-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--dark-soft);
  margin-bottom: 6px;
}

.alt-spec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

/* FAQ Accordion Details */
.faqs-wrapper {
  max-width: 800px;
  margin: 32px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-details {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  background-color: var(--white);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-details[open] {
  border-color: var(--primary-border);
  background-color: var(--primary-light);
}

.faq-summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-soft);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-summary::after {
  content: "▼";
  font-size: 0.75rem;
  color: var(--gray-text);
  transition: transform 0.2s ease;
}

.faq-details[open] .faq-summary::after {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* Blog Posts Loop (Post Card Grid) */
.blog-posts-section {
  padding: 80px 0;
  background-color: #f9fafb;
  border-top: 1px solid var(--gray-border);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.post-card {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.post-card-thumb {
  height: 180px;
  background-color: #e5e7eb;
  overflow: hidden;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.post-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.post-card-title a {
  color: var(--dark);
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-card-excerpt {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-light);
  padding-top: 16px;
  font-size: 0.75rem;
  color: var(--gray-text);
}

/* Single Post Elements & Share */
.single-post-wrapper {
  max-width: 800px;
  margin: 40px auto;
}

.post-header {
  text-align: center;
  margin-bottom: 32px;
}

.post-category-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.post-meta-line {
  font-size: 0.85rem;
  color: var(--gray-text);
}

.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.share-post-box {
  margin: 32px 0;
  padding: 20px;
  border-radius: var(--radius-md);
  background-color: var(--gray-light);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark-soft);
}

.share-links {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  font-weight: bold;
}

.share-btn.fb { background-color: #1877f2; }
.share-btn.tw { background-color: #1da1f2; }
.share-btn.wa { background-color: #25d366; }
.share-btn.tg { background-color: #0088cc; }

/* WP Comments styling integration */
.comments-container {
  max-width: 800px;
  margin: 60px auto 0 auto;
  border-top: 1px solid var(--gray-border);
  padding-top: 40px;
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
  margin-bottom: 40px;
}

.comment {
  background-color: #fafafa;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.comment-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-text);
  font-weight: 600;
}

.comment-author {
  font-weight: 700;
  color: var(--dark);
}

.comment-content {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Comment reply form */
.comment-respond {
  background-color: var(--white);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.comment-reply-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.comment-form-comment {
  grid-column: span 2;
}

.comment-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  font-family: inherit;
  font-size: 0.875rem;
}

.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.comment-form-cookies-consent {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gray-text);
}

.form-submit {
  grid-column: span 2;
}

.form-submit input[type="submit"] {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: auto;
  padding: 12px 30px;
}

.form-submit input[type="submit"]:hover {
  background-color: var(--primary-hover);
}

/* Interactive feedback section inside template */
.wp-feedback-form-box {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-border);
}

.review-row {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

/* Site Footer */
.site-footer {
  background-color: var(--dark);
  color: #9ca3af;
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--dark-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--dark-soft);
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #9ca3af;
  font-size: 0.85rem;
}

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

.footer-disclaimer {
  font-size: 0.7rem;
  line-height: 1.5;
  color: #6b7280;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

/* Responsive Utilities */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .features-container {
    grid-template-columns: 1fr;
  }
  .alternatives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .main-nav { display: none; }
  .toc-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .alternatives-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .comment-form { grid-template-columns: 1fr; }
  .comment-form-comment { grid-column: span 1; }
  .form-submit { grid-column: span 1; }
}
