/**
 * DIZYBIRD Design System - Reusable Components
 */

/* 1. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-yellow {
  background-color: var(--brand-yellow);
  color: var(--brand-black);
  border-color: var(--brand-yellow);
  box-shadow: 0 2px 4px rgba(255, 204, 1, 0.2);
}

.btn-yellow:hover {
  background-color: var(--brand-yellow-hover);
  border-color: var(--brand-yellow-hover);
  box-shadow: var(--shadow-yellow-glow);
  color: var(--brand-black);
}

.btn-blue {
  background-color: var(--brand-blue);
  color: var(--brand-white);
  border-color: var(--brand-blue);
  box-shadow: 0 2px 4px rgba(38, 121, 184, 0.2);
}

.btn-blue:hover {
  background-color: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
  box-shadow: var(--shadow-blue-glow);
  color: var(--brand-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-outline:hover {
  background-color: var(--brand-blue-light);
  color: var(--brand-blue-hover);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--brand-white);
  border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  color: var(--brand-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* 2. Badges & Tag Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.badge-yellow {
  background-color: var(--brand-yellow-subtle);
  color: #854d0e;
  border: 1px solid rgba(255, 204, 1, 0.4);
}

.badge-blue {
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-subtle);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
}

.badge-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* 3. Cards */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

/* Service Card Component */
.card-service {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.card-service:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 121, 184, 0.4);
  box-shadow: 0 12px 28px -4px rgba(38, 121, 184, 0.1);
}

.service-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.card-service:hover .service-icon-box {
  background: var(--brand-blue);
  color: var(--brand-white);
  box-shadow: var(--shadow-blue-glow);
}

.card-service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-headline);
}

.card-service-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-service-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-service-tech {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Stat Counter Card */
.card-stat {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.card-stat-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}

.card-stat-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-headline);
}

/* 4. Form Elements */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-headline);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-headline);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(38, 121, 184, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* 5. Modal Dialogs */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 15, 29, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  overflow: hidden;
}

.modal-backdrop.is-open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 1.75rem;
  max-height: 75vh;
  overflow-y: auto;
}

/* 6. Toasts */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
}

.toast.is-show {
  transform: translateX(0);
}

.toast-success {
  border-left: 4px solid var(--color-success);
}

.toast-error {
  border-left: 4px solid var(--color-danger);
}

/* 7. FAQ Accordion Component */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.is-active {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-headline);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--brand-blue);
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--brand-blue);
}

.faq-item.is-active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.5rem;
}

.faq-item.is-active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* 8. Process Step Component */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--brand-yellow);
  box-shadow: var(--shadow-md);
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--brand-yellow);
  color: var(--brand-black);
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(255, 204, 1, 0.4);
}

.process-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

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

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

/* 9. Value Card Component */
.card-value {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.value-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-value:hover .value-icon {
  background-color: var(--brand-yellow);
  color: var(--brand-black);
}

/* 10. Technology Showcase */
.tech-category-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
}

.tech-category-box:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.tech-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-headline);
  font-family: var(--font-mono);
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: var(--brand-blue-subtle);
}

/* 11. Portfolio Preview Card */
.card-portfolio {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card-portfolio:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.portfolio-header-visual {
  background: linear-gradient(135deg, #f0f7fc 0%, #fffdeb 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-diagram-mock {
  width: 100%;
  max-width: 280px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.portfolio-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-headline);
}

.portfolio-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* 12. Breadcrumbs */
.breadcrumbs-nav {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs-item a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumbs-item a:hover {
  text-decoration: underline;
  color: var(--brand-blue-hover);
}

.breadcrumbs-separator {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.breadcrumbs-current {
  color: var(--text-headline);
  font-weight: 600;
}

/* 13. Category Filter Tabs / Pills */
.filter-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-headline);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.filter-pill-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
}

.filter-pill-btn.is-active {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--brand-white);
  box-shadow: 0 4px 12px rgba(38, 121, 184, 0.25);
}

.filter-pill-btn.is-active .badge-count {
  background-color: var(--brand-yellow);
  color: var(--brand-black);
}

.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--bg-alt);
  color: var(--text-muted);
}

/* 14. Dynamic Pricing & Packages System */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

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

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

.card-pricing {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.card-pricing:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(38, 121, 184, 0.3);
}

.card-pricing.is-recommended {
  border: 2px solid var(--brand-yellow);
  box-shadow: 0 10px 30px rgba(255, 204, 1, 0.18);
  background: linear-gradient(180deg, #fffdf2 0%, #ffffff 180px);
}

.pricing-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-yellow);
  color: var(--brand-black);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(255, 204, 1, 0.35);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-category {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-headline);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 42px;
}

.pricing-price-wrap {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.75rem;
}

.pricing-original-price {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-headline);
}

.pricing-value {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--brand-black);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.pricing-secondary-currency {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 500;
}

.pricing-features-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-headline);
  margin-bottom: 1rem;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pricing-features-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.45;
}

.pricing-check-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pricing-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* 15. Service Detail Page Components */
.service-hero-section {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #f0f7fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 991px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.service-hero-quickcard {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.service-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition-normal);
}

.service-feature-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-feature-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-benefit-card {
  background: #ffffff;
  border-left: 4px solid var(--brand-yellow);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.service-benefit-card:hover {
  border-left-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.service-sidebar-sticky {
  position: sticky;
  top: 90px;
}

/* 16. Portfolio System Styles */
.card-portfolio-full {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.card-portfolio-full:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 121, 184, 0.4);
  box-shadow: var(--shadow-xl);
}

.portfolio-card-banner {
  background: linear-gradient(135deg, #f0f7fc 0%, #fffdeb 100%);
  padding: 2.25rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.portfolio-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-meta-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-split-box {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
  border-left: 3px solid var(--brand-blue);
  font-size: 0.875rem;
  line-height: 1.55;
}

.portfolio-split-box strong {
  color: var(--text-headline);
  display: block;
  margin-bottom: 0.25rem;
}

/* 17. Blog System Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.card-blog {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
}

.card-blog:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 121, 184, 0.4);
  box-shadow: var(--shadow-lg);
}

.blog-thumb-placeholder {
  height: 190px;
  background: linear-gradient(135deg, #e0f2fe 0%, #fef3c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  text-align: center;
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-post-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-headline);
  margin-bottom: 0.75rem;
}

.blog-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-post-title a:hover {
  color: var(--brand-blue);
}

.blog-post-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Reading Progress Bar */
.blog-reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-yellow) 100%);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Blog Article Two-Column Responsive Layout */
.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
}

@media (max-width: 1100px) {
  .blog-detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
  }
}

@media (max-width: 991px) {
  .blog-detail-layout {
    grid-template-columns: 100%;
    gap: 3rem;
  }
}

/* Blog Article Content Typography & Defensive Containment */
.blog-content-body {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #1e293b;
}

.blog-heading-anchor {
  scroll-margin-top: 110px;
}

.blog-content-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-headline);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.blog-content-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-headline);
  margin: 1.85rem 0 0.75rem;
}

.blog-content-body p {
  margin-bottom: 1.5rem;
}

.blog-content-body ul,
.blog-content-body ol {
  margin: 1rem 0 1.5rem 1.75rem;
}

.blog-content-body li {
  margin-bottom: 0.5rem;
}

.blog-content-body pre {
  background: #0a0f1d;
  color: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1.75rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-content-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.blog-inline-code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85em;
  border: 1px solid #e2e8f0;
}

.blog-content-body blockquote {
  border-left: 4px solid var(--brand-yellow);
  padding: 1rem 1.5rem;
  background: #fffdf2;
  margin: 1.5rem 0;
  font-style: italic;
  color: #334155;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Defensive Markdown Tables - Prevents Horizontal Grid blowout */
.blog-content-body .table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
}

.blog-content-body table.blog-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.blog-content-body table.blog-table th {
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.85rem 1.15rem;
  font-weight: 700;
  border-bottom: 2px solid #cbd5e1;
  white-space: nowrap;
}

.blog-content-body table.blog-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  color: #334155;
  line-height: 1.6;
}

.blog-content-body table.blog-table tr:last-child td {
  border-bottom: none;
}

.blog-content-body table.blog-table tr:hover td {
  background: #f8fafc;
}

/* Natural Scrollable Blog Aside Sidebar - Fluid Page Scrolling */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
}

/* Enhanced Blog Aside Cards */
.blog-aside-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.blog-aside-card:hover {
  border-color: rgba(38, 121, 184, 0.3);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

.blog-aside-card-cta {
  border: 2px solid var(--brand-blue-subtle);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.blog-aside-card-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-yellow) 100%);
}

/* Table of Contents Card */
.blog-toc-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.blog-toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}

.blog-toc-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin: 0;
}

.blog-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.blog-toc-link {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #475569;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.blog-toc-link:hover {
  background: #ffffff;
  color: var(--brand-blue);
  border-left-color: var(--brand-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transform: translateX(2px);
}

.blog-toc-link.is-active {
  background: #ffffff;
  color: var(--brand-blue);
  font-weight: 700;
  border-left-color: var(--brand-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.blog-toc-num {
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.blog-toc-text {
  flex-grow: 1;
}

/* Category Navigation in Sidebar */
.blog-cat-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-headline);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.blog-cat-nav-link:hover {
  background: var(--bg-alt);
  color: var(--brand-blue);
  padding-left: 0.85rem;
}

.blog-cat-nav-link.is-current {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-weight: 700;
}

.blog-cat-arrow {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: transform var(--transition-fast);
}

.blog-cat-nav-link:hover .blog-cat-arrow {
  color: var(--brand-blue);
  transform: translateX(3px);
}

.blog-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.blog-tag-pill:hover {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: var(--brand-blue-subtle);
}

.blog-author-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-top: 3rem;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-headline);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.pagination-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.pagination-btn.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

/* 18. Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-card-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-direct-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.contact-direct-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.map-embed-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}

/* 19. About Page Styles */
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.about-timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2rem;
  border-left: 2px solid var(--brand-yellow);
}

.about-timeline-dot {
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-blue);
  border: 2px solid #ffffff;
}

/* ==========================================================
   20. THEMEDEKHO-STYLE HIGH-ATTRACTION UI COMPONENTS
   ========================================================== */

/* --- A. HERO TECH RADAR & ORBIT GRAPHIC --- */
.hero-radar-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ambient-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 1, 0.18) 0%, rgba(38, 121, 184, 0.12) 50%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(38, 121, 184, 0.25);
  pointer-events: none;
  animation: radarRotate 60s linear infinite;
}

.radar-ring-1 {
  width: 220px;
  height: 220px;
}

.radar-ring-2 {
  width: 340px;
  height: 340px;
  border-color: rgba(255, 204, 1, 0.35);
  animation-direction: reverse;
  animation-duration: 90s;
}

.radar-ring-3 {
  width: 430px;
  height: 430px;
  border-color: rgba(15, 23, 42, 0.08);
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-core-badge {
  position: relative;
  z-index: 5;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 3px solid var(--brand-yellow);
  box-shadow: 0 12px 30px rgba(255, 204, 1, 0.35), 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 30px rgba(255, 204, 1, 0.35); }
  50% { transform: scale(1.03); box-shadow: 0 16px 36px rgba(255, 204, 1, 0.5); }
}

.radar-core-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.radar-core-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-black);
  line-height: 1;
}

.radar-core-lbl {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  margin-top: 0.25rem;
  line-height: 1.2;
}

/* Floating Tech Pills */
.orbital-tech-pill {
  position: absolute;
  z-index: 6;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(38, 121, 184, 0.18);
  border-radius: 50px;
  padding: 0.45rem 0.9rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.orbital-tech-pill:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 24px rgba(38, 121, 184, 0.2);
  border-color: var(--brand-blue);
}

.orbital-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.orbital-pill-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-black);
  line-height: 1.1;
}

.orbital-pill-sub {
  font-size: 0.625rem;
  color: var(--text-muted);
  line-height: 1;
}

.orbit-pos-1 { top: 12px; left: 18px; animation: floatAnim1 4s ease-in-out infinite alternate; }
.orbit-pos-2 { top: 18px; right: 14px; animation: floatAnim2 4.5s ease-in-out infinite alternate; }
.orbit-pos-3 { bottom: 20px; left: 16px; animation: floatAnim2 5s ease-in-out infinite alternate; }
.orbit-pos-4 { bottom: 16px; right: 18px; animation: floatAnim1 4.2s ease-in-out infinite alternate; }

@keyframes floatAnim1 {
  from { transform: translateY(0px); }
  to { transform: translateY(-7px); }
}

@keyframes floatAnim2 {
  from { transform: translateY(0px); }
  to { transform: translateY(8px); }
}

/* Micro Status Chips */
.radar-micro-chip {
  position: absolute;
  z-index: 4;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chip-pos-top { top: 46%; left: -8px; }
.chip-pos-right { top: 48%; right: -12px; }
.chip-pos-bottom { bottom: 28%; left: 35%; }

@media (max-width: 640px) {
  .hero-radar-wrapper {
    height: 380px;
    max-width: 340px;
  }
  .radar-ring-3 { display: none; }
  .radar-core-badge {
    width: 125px;
    height: 125px;
  }
  .orbital-tech-pill {
    padding: 0.35rem 0.65rem;
  }
  .orbit-pos-1 { left: -5px; top: 10px; }
  .orbit-pos-2 { right: -5px; top: 10px; }
  .orbit-pos-3 { left: -5px; bottom: 10px; }
  .orbit-pos-4 { right: -5px; bottom: 10px; }
  .radar-micro-chip { display: none; }
}

/* --- B. INTERACTIVE CATEGORY FILTER STRIP & SEARCH --- */
.category-filter-strip {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 0.875rem 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  margin-bottom: 2.5rem;
}

.filter-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill-btn {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-pill-btn:hover {
  background: #ffffff;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.filter-pill-btn.is-active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(38, 121, 184, 0.3);
}

.filter-search-box {
  position: relative;
  min-width: 220px;
}

.filter-search-input {
  width: 100%;
  padding: 0.45rem 1rem 0.45rem 2.25rem;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-search-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(38, 121, 184, 0.15);
}

.filter-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.875rem;
  pointer-events: none;
}

/* --- C. SHOWCASE CARDS (THEMEDEKHO-STYLE WITH HOVER PREVIEW) --- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

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

.showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.showcase-thumb-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
}

.showcase-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-thumb-img {
  transform: scale(1.05);
}

.showcase-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.showcase-card:hover .showcase-preview-overlay {
  opacity: 1;
}

.showcase-preview-btn {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.6rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease;
}

.showcase-preview-btn:hover {
  transform: scale(1.05);
}

.showcase-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.showcase-category-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  background: #eff6ff;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.showcase-rating-wrap {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f59e0b;
}

.showcase-rating-count {
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 500;
}

.showcase-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.showcase-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Add-ons Pill Row */
.showcase-addons-wrap {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-md);
  padding: 0.6rem 0.75rem;
  margin-bottom: 1.1rem;
}

.showcase-addons-label {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  display: block;
  margin-bottom: 0.35rem;
}

.showcase-addons-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.showcase-addon-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #334155;
}

/* Card Action Buttons */
.showcase-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
}

.showcase-btn-main {
  flex: 1;
  background: var(--brand-blue);
  color: #ffffff;
  text-align: center;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.8125rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.showcase-btn-main:hover {
  background: #1d6298;
  transform: translateY(-1px);
}

.showcase-btn-wa {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.showcase-btn-wa:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

/* --- D. HIGH-CONVERTING DEAL BANNERS --- */
.deal-promo-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.75rem;
  margin: 3.5rem 0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.deal-promo-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 1, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.deal-banner-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .deal-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.deal-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.deal-banner-title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.deal-banner-title span {
  color: var(--brand-yellow);
}

.deal-banner-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.deal-feature-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 0.3rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.deal-banner-pricing-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.deal-price-old {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 0.5rem;
}

.deal-price-save {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.deal-price-current {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0.35rem 0;
  line-height: 1;
}

.deal-price-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.deal-cta-btn {
  width: 100%;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  font-size: 0.9375rem;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 204, 1, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deal-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 204, 1, 0.45);
}

.deal-urgency-note {
  font-size: 0.6875rem;
  color: #f59e0b;
  margin-top: 0.6rem;
  font-weight: 600;
}

/* -------------------------------------------------------------
   Social Share Components & Buttons
   ------------------------------------------------------------- */
.blog-share-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-share-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--border-medium);
  background: #ffffff;
  color: var(--text-headline);
  transition: all var(--transition-fast);
  cursor: pointer;
  line-height: 1;
  font-family: inherit;
}

.blog-share-btn svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.blog-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-share-btn.btn-share-x:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.blog-share-btn.btn-share-in:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}

.blog-share-btn.btn-share-wa:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.blog-share-btn.btn-share-fb:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.blog-share-btn.btn-share-rd:hover {
  background: #ff4500;
  color: #ffffff;
  border-color: #ff4500;
}

.blog-share-btn.btn-share-copy:hover,
.blog-share-btn.btn-share-copy.is-copied {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
}

/* Big Share Box (End of Article) */
.blog-end-share-box {
  margin: 3rem 0 2rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-aside-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.blog-aside-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border-medium);
  background: #ffffff;
  color: var(--text-headline);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.blog-aside-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.blog-aside-share-btn.btn-share-x:hover { background: #000; color: #fff; border-color: #000; }
.blog-aside-share-btn.btn-share-in:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.blog-aside-share-btn.btn-share-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.blog-aside-share-btn.btn-share-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.blog-aside-share-btn.btn-share-rd:hover { background: #ff4500; color: #fff; border-color: #ff4500; }
.blog-aside-share-btn.btn-share-copy:hover,
.blog-aside-share-btn.btn-share-copy.is-copied { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }


