/**
 * CapCut Pro APK Theme Stylesheet
 * Brand Colors: Deep Navy (#0A192F), Navy Light (#112240), Teal Accent (#0D9488), Cyan Accent (#06B6D4)
 * Fully responsive, Gutenberg compatible, zero-pill metadata, AdSense auto-ads friendly, native RTL support
 */

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-primary);
  border-bottom: 1px solid var(--color-border-dark);
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.4);
}

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

/* Zone 1: Brand */
.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-height: 48px;
}

.custom-logo-wrap {
  display: flex;
  align-items: center;
  max-height: 44px;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-height: 44px;
  text-decoration: none;
}

.custom-logo {
  max-height: 42px;
  width: auto;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
}

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

.brand-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-cyan));
  color: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-main);
  white-space: nowrap;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-cyan);
}

/* Zone 2: Navigation Links */
.main-navigation {
  display: none;
}

@media (min-width: 992px) {
  .main-navigation {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
  }
}

.nav-menu-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nav-menu-list li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
}

.nav-menu-list li a,
.nav-menu-list a,
.nav-link {
  color: #94A3B8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 12px;
  position: relative;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.nav-menu-list li a:hover,
.nav-menu-list .current-menu-item > a,
.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

/* Zone 3: Actions & Language */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta-btn {
  display: none;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-cyan));
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-cta-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  color: #ffffff;
}

@media (min-width: 640px) {
  .header-cta-btn {
    display: inline-flex;
    align-items: center;
  }
}

/* Language Dropdown */
.language-dropdown-wrapper {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-border-dark);
  color: #CBD5E1;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background-color: var(--color-primary-lighter);
  color: #ffffff;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 190px;
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  padding: 6px;
  display: none;
  z-index: 1010;
  max-height: 320px;
  overflow-y: auto;
}

.lang-dropdown-menu.show {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: none;
  color: #CBD5E1;
  font-size: 13px;
  text-align: left;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lang-option:hover {
  background-color: var(--color-primary-lighter);
  color: #ffffff;
}

.lang-option.active {
  background-color: rgba(13, 148, 136, 0.2);
  color: var(--color-accent-cyan);
  font-weight: 600;
}

.lang-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.7;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  color: #CBD5E1;
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger-box {
  width: 20px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  transition: transform 0.2s ease;
}

.hamburger-inner {
  top: 6px;
}

.hamburger-inner::before {
  content: '';
  top: -6px;
}

.hamburger-inner::after {
  content: '';
  bottom: -6px;
}

/* Mobile Drawer */
.mobile-navigation-drawer {
  display: none;
  background-color: var(--color-primary);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 16px 24px 24px;
}

.mobile-navigation-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  color: #CBD5E1;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-link:hover {
  color: var(--color-accent-cyan);
}

.mobile-nav-cta {
  margin-top: 16px;
}

.btn-primary-mobile {
  display: block;
  text-align: center;
  padding: 10px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-cyan));
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, var(--color-primary) 0%, #071221 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--color-border-dark);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }
}

.hero-meta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.kicker-sep {
  opacity: 0.5;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  text-wrap: balance;
  color: #ffffff;
}

.hero-description {
  font-size: 16px;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 32px;
  max-width: 580px;
}

/* App summary horizontal row */
.hero-app-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background-color: rgba(17, 34, 64, 0.7);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 32px;
}

@media (min-width: 540px) {
  .hero-app-summary {
    grid-template-columns: repeat(4, 1fr);
  }
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.summary-value {
  font-size: 14px;
  font-weight: 700;
  color: #F1F5F9;
}

/* Single Hero Download Action */
.hero-actions-single {
  margin-bottom: 24px;
}

.btn-primary-single {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-cyan));
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary-single:hover {
  opacity: 0.96;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.6);
  color: #ffffff;
}

.hero-compliance-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748B;
  line-height: 1.4;
}

/* Hero Real Smartphone Mockup Image */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-real-phone-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease;
}

.hero-real-phone-wrapper:hover {
  transform: translateY(-6px);
}

.real-phone-img {
  width: 100%;
  height: auto;
  max-height: 620px;
  display: block;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(6, 182, 212, 0.25));
}

.phone-mockup-frame {
  width: 100%;
  max-width: 340px;
  background-color: #030712;
  border: 8px solid #1E293B;
  border-radius: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mockup-screen {
  background-color: #0B1320;
  display: flex;
  flex-direction: column;
  height: 480px;
  padding: 12px;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #94A3B8;
  padding: 0 4px 8px;
}

.notch-speaker {
  width: 48px;
  height: 4px;
  background-color: #334155;
  border-radius: 4px;
}

.editor-ui-preview {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.preview-canvas {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border-radius: var(--radius-sm);
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
}

.canvas-overlay-text {
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.timeline-area {
  background-color: #030712;
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-label {
  font-size: 9px;
  color: #64748B;
  width: 52px;
  font-weight: 600;
}

.track-clip {
  height: 18px;
  border-radius: 3px;
  flex-grow: 1;
}

.clip-teal {
  background-color: var(--color-accent);
}

.clip-cyan {
  background-color: var(--color-accent-cyan);
  flex-grow: 0.6;
}

.clip-blue {
  background-color: #3B82F6;
  height: 14px;
}

.clip-orange {
  background-color: #F97316;
  height: 14px;
  flex-grow: 0.8;
}

.bottom-tools-strip {
  display: flex;
  justify-content: space-around;
  background-color: #111827;
  padding: 8px 4px;
  border-radius: 6px;
}

.tool-btn-mock {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.tool-btn-mock.active {
  color: #ffffff;
  background-color: var(--color-accent);
}

/* ==========================================================================
   Sections Common Styling
   ========================================================================== */
.section {
  padding: 72px 0;
}

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

.section-header.text-center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   Section 2: App Information Card
   ========================================================================== */
.section-app-info {
  background-color: #FFFFFF;
}

.info-table-card {
  max-width: 900px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
}

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

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
}

.info-row:nth-child(even) {
  background-color: #F8FAFC;
}

.info-key {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
}

.info-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: right;
}

.font-mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Section 3: Key Features Cards
   ========================================================================== */
.section-features {
  background-color: var(--color-bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.3);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(13, 148, 136, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Section 4: App Screenshots Gallery
   ========================================================================== */
.section-screenshots {
  background-color: #FFFFFF;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.screenshot-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.screen-preview {
  height: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.screen-preview-timeline {
  background: linear-gradient(135deg, #0A192F, #1E293B);
}

.screen-preview-color {
  background: linear-gradient(135deg, #0F172A, #112240);
}

.screen-preview-audio {
  background: linear-gradient(135deg, #071221, #134E4A);
}

.screen-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 4px;
}

.mock-track-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-track-bars .bar {
  height: 8px;
  border-radius: 2px;
  background-color: var(--color-accent);
}

.mock-track-bars .bar-1 { width: 90%; }
.mock-track-bars .bar-2 { width: 65%; background-color: var(--color-accent-cyan); }
.mock-track-bars .bar-3 { width: 80%; background-color: #F59E0B; }

.mock-waveforms {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
}

.mock-waveforms .wave {
  width: 6px;
  background-color: var(--color-accent-cyan);
  border-radius: 2px;
}

.h-4 { height: 16px; }
.h-6 { height: 24px; }
.h-8 { height: 32px; }
.h-10 { height: 40px; }
.h-7 { height: 28px; }
.h-5 { height: 20px; }

.screenshot-meta {
  padding: 20px;
}

.screenshot-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.screenshot-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 5: Download Information
   ========================================================================== */
.section-download {
  background-color: var(--color-bg-light);
}

.download-card {
  max-width: 820px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 2px solid rgba(13, 148, 136, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px 32px;
  text-align: center;
}

.download-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.download-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.download-subtext {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
}

.download-specs-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 32px;
}

@media (min-width: 600px) {
  .download-specs-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.spec-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-main);
}

.download-button-wrapper {
  margin-bottom: 24px;
}

.btn-download-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-cyan));
  color: #ffffff;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-download-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.5);
  color: #ffffff;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-primary-text {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.btn-secondary-text {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 500;
}

.download-disclaimer-box {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: left;
}

.download-disclaimer-box .disclaimer-text {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Section 6: Installation Guide
   ========================================================================== */
.section-install {
  background-color: #FFFFFF;
}

.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.step-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.security-warning-card {
  display: flex;
  gap: 16px;
  background-color: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.warning-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.warning-title {
  font-size: 15px;
  font-weight: 700;
  color: #92400E;
  margin-bottom: 4px;
}

.warning-desc {
  font-size: 13px;
  color: #B45309;
  line-height: 1.5;
}

/* ==========================================================================
   Section 7: Features Deep Dive Explanation
   ========================================================================== */
.section-detailed-explanation {
  background-color: var(--color-bg-light);
}

.explanation-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.explanation-article {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.subheading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 14px;
}

.explanation-article p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.content-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-bullets li {
  font-size: 13px;
  color: var(--color-text-main);
  position: relative;
  padding-left: 20px;
}

.content-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ==========================================================================
   Section 8: Comparison Table
   ========================================================================== */
.section-comparison {
  background-color: #FFFFFF;
}

.table-responsive-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.comparison-table th {
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 16px 20px;
  font-weight: 700;
  white-space: nowrap;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.comparison-table tr:nth-child(even) td {
  background-color: #F8FAFC;
}

.check-yes {
  color: var(--color-accent);
  font-weight: 700;
}

.check-limited {
  color: #D97706;
  font-weight: 600;
}

.check-no {
  color: #DC2626;
  font-weight: 600;
}

/* ==========================================================================
   Section 9: Articles Cards
   ========================================================================== */
.section-articles {
  background-color: var(--color-bg-light);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.article-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-thumb-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.fallback-gradient-1 { background: linear-gradient(135deg, #0A192F, #0D9488); }
.fallback-gradient-2 { background: linear-gradient(135deg, #112240, #06B6D4); }
.fallback-gradient-3 { background: linear-gradient(135deg, #1E293B, #0F766E); }

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

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.article-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-title a {
  color: var(--color-text-main);
}

.article-title a:hover {
  color: var(--color-accent);
}

.article-excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
}

/* ==========================================================================
   Section 10: FAQ Accordion
   ========================================================================== */
.section-faq {
  background-color: #FFFFFF;
}

.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--color-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Section 11: 5-Star Rating & Review System
   ========================================================================== */
.section-ratings {
  background-color: var(--color-bg-light);
}

.rating-system-card {
  max-width: 820px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
}

.rating-overview-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .rating-overview-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.rating-score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-num {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.score-stars-visual {
  position: relative;
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 6px;
}

.stars-bg {
  color: #E2E8F0;
}

.stars-gold {
  position: absolute;
  top: 0;
  left: 0;
  color: #F59E0B;
  overflow: hidden;
  white-space: nowrap;
}

.score-count-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.rating-policy-notice {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  max-width: 440px;
}

.notice-flex {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.notice-flex svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Star selection inside form */
.form-stars-select-wrap {
  margin-bottom: 24px;
  text-align: center;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.interactive-star-group {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 6px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: #CBD5E1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

.star-btn:hover,
.star-btn.hover-active,
.star-btn.selected {
  color: #F59E0B;
  transform: scale(1.15);
}

.rating-hint {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
}

.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--color-text-main);
  background-color: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.form-feedback-message {
  font-size: 13px;
  font-weight: 600;
}

.form-feedback-message.success {
  color: var(--color-accent);
}

.form-feedback-message.error {
  color: #DC2626;
}

/* Recent Reviews Feed */
.recent-reviews-block {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
}

.recent-reviews-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 18px;
}

.recent-reviews-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-entry-card {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.entry-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.entry-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-main);
}

.entry-stars {
  color: #F59E0B;
  font-size: 13px;
}

.entry-date {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-left: auto;
}

.entry-comment {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Blog Archive (index.php) & Single Post (single.php)
   ========================================================================== */
.archive-header-banner, .single-post-hero {
  background: linear-gradient(180deg, var(--color-primary) 0%, #071221 100%);
  color: #ffffff;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border-dark);
}

.archive-breadcrumbs, .post-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 16px;
}

.archive-breadcrumbs a, .post-breadcrumbs a {
  color: var(--color-accent-cyan);
}

.archive-page-title, .single-post-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.6px;
}

.archive-lead {
  font-size: 15px;
  color: #94A3B8;
  max-width: 600px;
}

.main-layout-container, .single-content-container {
  padding: 48px 24px;
}

.archive-content-layout, .single-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 992px) {
  .archive-content-layout, .single-layout-grid {
    grid-template-columns: 1fr 340px;
    gap: 48px;
  }
}

.archive-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.archive-post-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .archive-post-card {
    flex-direction: row;
  }
  .post-card-thumb {
    width: 260px;
    flex-shrink: 0;
  }
}

.post-thumb-default {
  height: 100%;
  min-height: 160px;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-cyan);
}

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

.post-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.post-card-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.post-card-heading a {
  color: var(--color-text-main);
}

.post-card-heading a:hover {
  color: var(--color-accent);
}

.post-card-excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
}

.pagination-wrapper {
  margin-top: 36px;
}

.pagination-wrapper .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.pagination-wrapper .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text-main);
  background: #FFFFFF;
}

.pagination-wrapper .page-numbers.current {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

/* Sidebar Widgets */
.sidebar-secondary-column, .single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.widget {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget ul li a {
  color: var(--color-text-muted);
  font-size: 14px;
}

.widget ul li a:hover {
  color: var(--color-accent);
}

.promo-box, .widget-download-box {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius-md);
}

.promo-box h4, .widget-download-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.promo-box p, .widget-download-box p {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 16px;
}

.btn-primary-small, .btn-primary-block {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-cyan));
  color: #FFFFFF;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

/* Table of Contents in single.php */
.table-of-contents-box {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

.toc-header h4 {
  font-size: 15px;
  font-weight: 700;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list li a {
  font-size: 13px;
  color: var(--color-text-muted);
}

.toc-list li a:hover {
  color: var(--color-accent);
}

/* Entry content typography */
.typography-body {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 36px;
}

.typography-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 32px 0 16px;
}

.typography-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 24px 0 12px;
}

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

/* Social Share Strip */
.social-share-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 36px;
}

.share-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
}

.share-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-btn {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
}

.share-btn.whatsapp { background-color: #25D366; }
.share-btn.telegram { background-color: #0088CC; }
.share-btn.twitter { background-color: #0F1419; }
.share-btn.facebook { background-color: #1877F2; }
.share-btn.copy-link-btn { background-color: #475569; border: none; cursor: pointer; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary);
  color: #94A3B8;
  padding: 60px 0 30px;
  border-top: 1px solid var(--color-border-dark);
}

.footer-disclosure-box {
  background-color: rgba(17, 34, 64, 0.7);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 48px;
}

.disclosure-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent-cyan);
  margin-bottom: 8px;
}

.disclosure-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.disclosure-text {
  font-size: 13px;
  line-height: 1.6;
  color: #94A3B8;
}

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

@media (min-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  margin: 14px 0 20px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--color-accent-cyan);
}

.footer-policy-note {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.footer-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lang-pill {
  font-size: 11px;
  color: #CBD5E1;
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-border-dark);
  padding: 2px 8px;
  border-radius: 4px;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--color-border-dark);
  padding-top: 24px;
  font-size: 13px;
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: #94A3B8;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-accent-cyan);
  font-weight: 600;
}

/* ==========================================================================
   RTL Rules (Urdu, Arabic)
   ========================================================================== */
[dir="rtl"] .header-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .content-bullets li {
  padding-left: 0;
  padding-right: 20px;
}

[dir="rtl"] .content-bullets li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .faq-question {
  text-align: right;
}

[dir="rtl"] .entry-date {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .stars-gold {
  left: auto;
  right: 0;
}

/* ==========================================================================
   Contact Form Component ([capcut_contact_form] & page-contact.php)
   ========================================================================== */
.capcut-contact-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 680px;
  margin: 0 auto;
}

.contact-alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.contact-alert.success-alert {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.contact-alert.error-alert {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.contact-form-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--color-text-main);
  background-color: #FFFFFF;
}

.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

