/*
Theme Name: Customer Feeling
Theme URI: https://customerfeeling.com
Author: Customer Feeling
Description: Production-ready bilingual theme for the Customer Feeling service website.
Version: 2.2.0
Text Domain: customer-feeling
*/

/* ============================================
   Theme System - CSS Variables
   ============================================ */

:root {
  /* Dark Theme (Default) */
  --bg-primary: #0f172a;
  --bg-secondary: #020617;
  --bg-tertiary: rgba(15, 23, 42, 0.9);
  --bg-card: rgba(15, 23, 42, 0.92);
  --bg-gradient-start: #020617;
  --bg-gradient-end: #020617;

  --text-primary: #f9fafb;
  --text-secondary: #e5e7eb;
  --text-tertiary: #d1d5db;
  --text-muted: #b6c2d0;
  --text-light: #94a3b8;

  --border-color: rgba(148, 163, 184, 0.25);
  --border-color-strong: rgba(148, 163, 184, 0.35);
  --border-color-accent: rgba(148, 163, 184, 0.4);

  --accent-green: #22c55e;
  --accent-green-dark: #16a34a;
  --accent-cyan: #38bdf8;
  --accent-cyan-light: #a5f3fc;
  --accent-yellow: #fbbf24;
  --accent-yellow-light: #fde68a;

  --shadow-color: rgba(15, 23, 42, 0.75);
  --shadow-color-light: rgba(15, 23, 42, 0.9);

  --color-success-bg: rgba(34, 197, 94, 0.09);
  --color-success-text: #bbf7d0;
  --color-success-border: rgba(34, 197, 94, 0.45);

  --color-info-bg: rgba(15, 118, 110, 0.22);
  --color-info-text: #a5f3fc;
  --color-info-border: rgba(45, 212, 191, 0.4);

  --color-blue-bg: rgba(30, 64, 175, 0.8);
  --color-blue-border: rgba(129, 140, 248, 0.25);

  --color-cyan-bg: rgba(56, 189, 248, 0.12);
  --color-cyan-text: #7dd3fc;
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: rgba(255, 255, 255, 0.95);
  --bg-card: rgba(255, 255, 255, 0.98);
  --bg-gradient-start: #f9fafb;
  --bg-gradient-end: #ffffff;

  --text-primary: #1f2937;
  --text-secondary: #374151;
  --text-tertiary: #6b7280;
  --text-muted: #6b7280;
  --text-light: #6b7280;

  --border-color: rgba(209, 213, 219, 0.5);
  --border-color-strong: rgba(209, 213, 219, 0.6);
  --border-color-accent: rgba(209, 213, 219, 0.7);

  --accent-green: #16a34a;
  --accent-green-dark: #15803d;
  --accent-cyan: #0369a1;
  --accent-cyan-light: #0284c7;
  --accent-yellow: #d97706;
  --accent-yellow-light: #f59e0b;

  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-color-light: rgba(0, 0, 0, 0.08);

  --color-success-bg: rgba(34, 197, 94, 0.1);
  --color-success-text: #166534;
  --color-success-border: rgba(34, 197, 94, 0.3);

  --color-info-bg: rgba(6, 182, 212, 0.1);
  --color-info-text: #0e7490;
  --color-info-border: rgba(6, 182, 212, 0.3);

  --color-blue-bg: rgba(59, 130, 246, 0.1);
  --color-blue-border: rgba(59, 130, 246, 0.3);

  --color-cyan-bg: rgba(34, 211, 238, 0.1);
  --color-cyan-text: #0369a1;
}

/* ============================================
   Global Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  direction: rtl;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* ============================================
   Layout
   ============================================ */

.page-wrapper {
  min-height: 100vh;
  padding: 32px 16px 48px;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 1100px;
  background: radial-gradient(
    circle at top,
    var(--bg-gradient-start) 0,
    var(--bg-gradient-end) 40%,
    var(--bg-gradient-end) 100%
  );
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 22px 45px var(--shadow-color);
  padding: 15px 22px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.container::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 0 0,
    rgba(56, 189, 248, 0.1),
    transparent 55%
  );
  pointer-events: none;
  z-index: -1;
  transition: background 0.3s ease;
}

/* ============================================
   Header
   ============================================ */

header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color-strong);
  padding-bottom: 10px;
  flex-wrap: wrap;
  transition: border-color 0.3s ease;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 0, #38bdf8, #0ea5e9 45%, #0369a1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
  color: #0b1120;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}

.logo-text-main {
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.logo-text-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Logo Image Styles */
.logo-area a {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s ease;
}

.logo-area a:hover {
  opacity: 0.8;
}

.logo-area img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-beta {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-success-bg);
  color: var(--color-success-text);
  font-size: 12px;
  border: 1px solid var(--color-success-border);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-accent);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle span {
  font-size: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-accent);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.lang-toggle:hover {
  background: var(--bg-card);
  border-color: var(--border-color-strong);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.lang-toggle span {
  font-size: 16px;
}

/* ============================================
   Main Content
   ============================================ */

main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

@media (max-width: 880px) {
  main {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  padding-left: 10px;
  padding-right: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-info-bg);
  border-radius: 999px;
  padding: 4px 10px 4px 14px;
  margin-bottom: 12px;
  border: 1px solid var(--color-info-border);
  font-size: 13px;
  color: var(--color-info-text);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-badge span {
  background: var(--accent-green);
  color: #022c22;
  border-radius: 999px;
  font-size: 12px;
  padding: 2px 8px;
  font-weight: 700;
}

.hero-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.3;
}

.hero-title span {
  background: linear-gradient(135deg, #22c55e, #67e8f9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-tertiary);
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-list {
  list-style: none;
  margin: 10px 0 20px;
  padding: 0;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.hero-list li span.icon {
  margin-top: 4px;
  font-size: 16px;
  flex-shrink: 0;
}

.hero-list li strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 25px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.45);
}

.btn-primary span.icon {
  font-size: 16px;
}

.btn-secondary {
  background: var(--bg-tertiary);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px dashed var(--border-color-strong);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--border-color-accent);
}

.btn-secondary span.icon {
  font-size: 16px;
}

.hero-note {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
}

.hero-note strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-note span.icon {
  font-size: 16px;
  flex-shrink: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

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

.stat-card {
  background: var(--bg-tertiary);
  border-radius: 18px;
  padding: 10px 12px;
  border: 1px solid var(--border-color-accent);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.4;
}

.stat-tag {
  margin-top: 6px;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
  background: var(--color-cyan-bg);
  color: var(--color-cyan-text);
  transition: background-color 0.3s ease;
}

/* ============================================
   Right Panel (Pricing)
   ============================================ */

.right-panel {
  background: radial-gradient(
    circle at 0 0,
    var(--color-blue-bg),
    var(--bg-tertiary)
  );
  border-radius: 20px;
  padding: 16px 16px 18px;
  border: 1px solid var(--color-blue-border);
  box-shadow: 0 18px 35px var(--shadow-color-light);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.right-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.right-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.right-subtitle {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.trust-pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-accent);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  margin-bottom: 12px;
}

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

.plan-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 12px 13px 13px;
  border: 1px solid var(--border-color-accent);
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.plan-card.highlight {
  background: radial-gradient(
    circle at top,
    rgba(34, 197, 94, 0.18),
    var(--bg-card)
  );
  border-color: rgba(34, 197, 94, 0.65);
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.35);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-accent);
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  transition: background-color 0.3s ease;
}

.plan-badge span {
  font-size: 14px;
}

.plan-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
  line-height: 1.5;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-yellow);
}

.plan-price span.currency {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-yellow-light);
}

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

.plan-credits {
  font-size: 13px;
  color: var(--color-info-text);
  margin-bottom: 10px;
  line-height: 1.5;
}

.plan-credits strong {
  color: var(--color-cyan-text);
  font-weight: 600;
}

.plan-cta {
  margin-top: 6px;
}

.plan-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-cta-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.35);
}

.plan-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.45);
}

.plan-cta-secondary {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color-accent);
}

.plan-cta-secondary:hover {
  background: var(--bg-card);
  border-color: var(--border-color-strong);
}

.plan-cta a span.icon {
  font-size: 16px;
}

.plan-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.bottom-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

.bottom-note strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============================================
   Sections
   ============================================ */

section {
  margin-top: 26px;
}

section h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 700;
}

section p {
  color: var(--text-tertiary);
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.6;
}

section ul {
  font-size: 14px;
  color: var(--text-tertiary);
  padding-right: 18px;
  margin: 6px 0;
  line-height: 1.6;
}

section ul li {
  margin-bottom: 4px;
}

/* ============================================
   FAQ Grid
   ============================================ */

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

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

.faq-item {
  background: var(--bg-tertiary);
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid var(--border-color-accent);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-weight: 600;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   Divider
   ============================================ */

.divider {
  height: 1px;
  background: radial-gradient(
    90deg,
    var(--border-color-strong),
    rgba(15, 23, 42, 0.1)
  );
  margin: 18px 0 12px;
  transition: background 0.3s ease;
}

/* ============================================
   Footer
   ============================================ */

footer {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  line-height: 1.6;
  transition: color 0.3s ease;
}

footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

footer a:hover {
  color: var(--text-secondary);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 640px) {
  .page-wrapper {
    padding: 16px 12px 32px;
  }

  .container {
    padding: 20px 16px 32px;
    border-radius: 16px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-list li {
    font-size: 13px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 8px 14px;
  }

  .right-title {
    font-size: 15px;
  }

  .plan-name {
    font-size: 15px;
  }

  .plan-price {
    font-size: 20px;
  }

  section h2 {
    font-size: 16px;
  }

  section p {
    font-size: 14px;
  }

  .faq-item h3 {
    font-size: 14px;
  }

  .faq-item p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .page-wrapper {
    padding: 12px 8px 24px;
  }

  .container {
    padding: 16px 12px 24px;
    border-radius: 12px;
  }

  .logo-text-main {
    font-size: 18px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
  body {
    background: white;
    color: black;
  }

  .container {
    box-shadow: none;
    border: none;
  }

  .theme-toggle {
    display: none;
  }
}

/* تنسيق خاص لزر كشف الأسرار ليميزه عن نموذج الطلب */
.btn-reveal {
  border-style: solid !important; /* تحويل الخط المنقط إلى خط متصل */
  border-color: var(
    --accent-cyan
  ) !important; /* استخدام لون السيان من متغيراتك */
  color: var(--accent-cyan-light) !important;
  transition: all 0.3s ease;
}

.btn-reveal:hover {
  background: var(--color-cyan-bg) !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
  transform: translateY(-2px);
}


/* Contact Form 7 field spacing and sizing. */
.cf7-contact-form { width: 100%; box-sizing: border-box; }
.cf7-contact-form-ar { direction: rtl; text-align: right; }
.cf7-contact-form-en { direction: ltr; text-align: left; }
.cf7-contact-form .wpcf7-form { direction: inherit; text-align: inherit; }
.cf7-contact-form .form-group { display: block; margin-bottom: 16px; }
.cf7-contact-form .form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.cf7-contact-form .form-control, .cf7-contact-form input[type="text"], .cf7-contact-form input[type="email"], .cf7-contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border-color-accent); border-radius: 8px; background: var(--bg-tertiary); color: var(--text-secondary); font-family: inherit; font-size: 14px; box-sizing: border-box; }
.cf7-contact-form textarea { min-height: 120px; resize: vertical; }
.cf7-contact-form .form-submit, .cf7-contact-form input[type="submit"] { background: linear-gradient(135deg, #22c55e, #16a34a); color: #022c22; padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 700; border: none; cursor: pointer; }
.cf7-contact-form .wpcf7-not-valid-tip { display: block; margin-top: 5px; color: #fca5a5; }

/* Production theme layout and accessibility */
.site-english { direction: ltr; font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.site-arabic { direction: rtl; }
.container { max-width: 1180px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100000; padding: 10px 14px; background: #fff; color: #111827; border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { margin-bottom: 0; }
.logo-area img { display: block; width: min(260px, 65vw); height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 12px 0 18px; border-bottom: 1px solid var(--border-color); }
.site-nav a { color: var(--text-secondary); font-weight: 700; padding: 5px 0; }
.site-nav a:hover { color: var(--accent-cyan-light); }
.site-nav a:focus-visible,
.site-footer a:focus-visible,
a[class*="btn-"]:focus-visible,
a[class*="cta-"]:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible { outline: 3px solid var(--accent-yellow); outline-offset: 3px; }
#main-content { display: block; }
.home-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
.hero { max-width: 880px; margin-inline: auto; }
.hero-title { max-width: 900px; }
.benefit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.benefit-item { display: flex; gap: 12px; padding: 17px; border: 1px solid var(--border-color-accent); border-radius: 15px; background: var(--bg-tertiary); }
.benefit-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--color-success-bg); color: var(--accent-green); font-weight: 800; }
.benefit-item h2 { margin: 0 0 5px; font-size: 17px; color: var(--text-primary); }
.benefit-item p { margin: 0; color: var(--text-tertiary); font-size: 14px; }
.hero-cta a,
.plan-cta-primary { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.right-panel { padding: 24px; }
.right-title { font-size: clamp(22px, 3vw, 30px); color: var(--text-primary); }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.plan-card { display: flex; flex-direction: column; }
.plan-desc { flex-grow: 1; }
.plan-price { margin-block: 16px; }
.plan-cta-primary { width: 100%; margin-top: auto; }
.process-section,
.seo-section,
.faq-section { margin-top: 42px; }
.process-section > h2,
.seo-section > h2,
.faq-section > h2 { margin-bottom: 18px; color: var(--text-primary); }
.seo-section { max-width: 900px; margin-inline: auto; padding: 24px; border: 1px solid var(--border-color-accent); border-radius: 15px; background: var(--bg-tertiary); }
.seo-section p + p { margin-top: 14px; }
.seo-section a { color: var(--accent-cyan-light); text-decoration: underline; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style-position: inside; }
.process-grid li { padding: 18px; border: 1px solid var(--border-color-accent); border-radius: 14px; background: var(--bg-tertiary); }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--text-primary); }
.faq-item p { margin-top: 10px; }
.content-main { display: block; max-width: 900px; margin-inline: auto; padding: 34px 0; }
.editable-page-content > * + * { margin-top: 16px; }
.editable-page-content h1 { color: var(--text-primary); font-size: clamp(30px, 5vw, 48px); line-height: 1.25; }
.editable-page-content h2 { color: var(--text-primary); margin-top: 32px; }
.editable-page-content h3 { color: var(--text-primary); margin-top: 22px; }
.editable-page-content ul,
.editable-page-content ol { padding-inline-start: 24px; }
.editable-page-content a { color: var(--accent-cyan-light); text-decoration: underline; }
.contact-container { max-width: 860px; margin-inline: auto; }
.contact-intro { display: block; border: 0; margin-bottom: 24px; }
.contact-intro h1 { color: var(--text-primary); font-size: clamp(32px, 5vw, 50px); }
.contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.contact-card { padding: 20px; border: 1px solid var(--border-color-accent); border-radius: 15px; background: var(--bg-tertiary); }
.contact-card h2 { color: var(--text-primary); font-size: 18px; margin-bottom: 8px; }
.contact-card a { color: var(--accent-cyan-light); text-decoration: underline; }
.contact-form-section { margin-top: 30px; }
.contact-form-section h2 { color: var(--text-primary); margin-bottom: 16px; }
.cf7-contact-form label { display: block; margin-bottom: 16px; color: var(--text-secondary); font-weight: 600; }
.cf7-contact-form label .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.cf7-contact-form input[type="text"],
.cf7-contact-form input[type="email"],
.cf7-contact-form textarea { min-height: 46px; }
.cf7-contact-form textarea { min-height: 150px; }
.cf7-contact-form input[type="submit"] { min-height: 46px; min-width: 150px; }
.cf7-contact-form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 14px; border-radius: 8px; }
.site-footer { display: block; text-align: center; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--border-color); }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; }
.site-footer a { color: var(--accent-cyan-light); text-decoration: underline; }
.not-found { text-align: center; padding: 70px 15px; }
.not-found h1 { color: var(--text-primary); margin-bottom: 10px; }
.not-found p { margin-bottom: 22px; }

@media (max-width: 880px) {
  .benefit-list,
  .pricing-grid,
  .process-grid { grid-template-columns: 1fr; }
  .right-panel { padding: 20px; }
}

@media (max-width: 640px) {
  .page-wrapper { padding: 8px; }
  .container { padding: 14px 14px 28px; border-radius: 14px; }
  .site-header { align-items: flex-start; }
  .logo-area img { width: min(210px, 62vw); }
  .header-controls { width: 100%; justify-content: flex-start; }
  .site-english .header-controls { justify-content: flex-start; }
  .site-nav { overflow-x: auto; flex-wrap: nowrap; }
  .site-nav a { white-space: nowrap; }
  .hero { padding-top: 16px; }
  .hero-title { font-size: clamp(27px, 9vw, 38px); }
  .hero-cta { display: grid; grid-template-columns: 1fr; }
  .hero-cta a { width: 100%; }
  .contact-info { grid-template-columns: 1fr; }
  .site-footer nav { flex-direction: column; }
}

/* Articles and blogs collection */
.content-main-wide { max-width: 1080px; }
.articles-page { width: 100%; }
.articles-page-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 26px;
  padding: 28px;
  border: 1px solid var(--border-color-accent);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-cyan-bg), var(--bg-tertiary));
}
.articles-kicker,
.article-label {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  color: var(--color-info-text);
  font-size: 12px;
  font-weight: 800;
}
.articles-page-hero h1 {
  margin: 10px 0 8px;
  max-width: 760px;
  color: var(--text-primary);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
}
.articles-page-hero p { max-width: 760px; color: var(--text-tertiary); }
.articles-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--border-color-accent);
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--bg-card);
  font-size: 13px;
  font-weight: 700;
}
.articles-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  overflow: hidden;
  border: 1px solid var(--border-color-accent);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 18px 38px var(--shadow-color);
}
.articles-featured-media,
.article-card-media {
  display: block;
  overflow: hidden;
  background: var(--bg-secondary);
}
.articles-featured-media { min-height: 330px; }
.articles-featured-media img,
.article-card-media img,
.single-article-featured img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.articles-featured-media img { object-fit: contain; }
.articles-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 42px);
}
.articles-featured-copy h2 {
  margin: 13px 0 8px;
  color: var(--text-primary);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
}
.articles-featured-copy > p:not(.article-meta) { margin: 14px 0 20px; color: var(--text-tertiary); }
.article-meta { color: var(--text-muted); font-size: 13px; }
.article-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
  color: #022c22;
  font-weight: 800;
}
.article-read-more:hover { filter: brightness(1.08); transform: translateY(-1px); }
.articles-list { margin-top: 38px; }
.articles-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.articles-section-heading h2 { color: var(--text-primary); font-size: clamp(22px, 3vw, 30px); }
.articles-section-heading span { height: 1px; flex: 1; background: var(--border-color-strong); }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--border-color-accent);
  border-radius: 16px;
  background: var(--bg-card);
}
.article-card-media { aspect-ratio: 16 / 9; }
.article-card-media img { transition: transform .25s ease; }
.article-card:hover .article-card-media img { transform: scale(1.025); }
.article-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 18px; }
.article-card h3 { margin: 10px 0 7px; color: var(--text-primary); font-size: 20px; line-height: 1.35; }
.article-card-copy > p:not(.article-meta) { margin: 12px 0 18px; color: var(--text-tertiary); font-size: 14px; }
.article-image-fallback { display: grid; width: 100%; height: 100%; min-height: 220px; place-items: center; color: var(--accent-cyan-light); font-size: 48px; font-weight: 900; background: linear-gradient(135deg, var(--color-blue-bg), var(--color-cyan-bg)); }
.articles-empty { padding: 60px 24px; text-align: center; border: 1px dashed var(--border-color-accent); border-radius: 18px; background: var(--bg-tertiary); }
.articles-empty h2 { color: var(--text-primary); margin-bottom: 8px; }
.articles-pagination { margin-top: 32px; }
.articles-pagination .page-numbers { display: flex; justify-content: center; gap: 8px; padding: 0; list-style: none; }
.articles-pagination a,
.articles-pagination span { display: grid; min-width: 40px; min-height: 40px; place-items: center; padding: 6px 10px; border: 1px solid var(--border-color-accent); border-radius: 10px; }
.articles-pagination .current { background: var(--accent-cyan); color: #082f49; font-weight: 800; }
.single-article-featured { margin: 24px 0 30px; overflow: hidden; border-radius: 18px; }
.single-article-featured img { height: auto; max-height: 560px; }

@media (max-width: 880px) {
  .articles-featured { grid-template-columns: 1fr; }
  .articles-featured-media { min-height: 0; aspect-ratio: 16 / 9; }
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .articles-page-hero { align-items: flex-start; flex-direction: column; padding: 22px 18px; }
  .articles-featured-copy { padding: 22px 18px; }
  .articles-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-card h3 { font-size: 19px; }
}

/* Task 02: compact, responsive header and first-screen hierarchy. */
.page-wrapper {
  padding: 14px 16px 40px;
}

.container {
  padding: 12px 24px 40px;
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 4px 0 12px;
}

.logo-area img {
  width: 148px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.header-menu {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px 18px;
  padding: 0;
  border: 0;
}

.site-nav a {
  padding: 8px 2px;
  font-size: 14px;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-cyan-light);
}

.header-controls {
  flex-wrap: nowrap;
  gap: 8px;
}

.lang-toggle,
.theme-toggle {
  min-height: 40px;
  padding: 6px 11px;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border-color-accent);
  border-radius: 999px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle-icon {
  display: grid;
  gap: 3px;
  width: 17px;
}

.menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.home-grid {
  margin-top: 0;
  padding-top: 20px;
  gap: 24px;
}

.hero {
  width: 100%;
  max-width: 980px;
  padding-inline: 6px;
}

.hero-badge {
  margin-bottom: 10px;
}

.hero-title {
  max-width: 960px;
  margin-bottom: 12px;
  font-size: clamp(34px, 4.25vw, 50px);
  line-height: 1.18;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.65;
}

.hero-cta {
  align-items: stretch;
  margin-bottom: 0;
}

.hero-cta-primary {
  margin-bottom: 12px;
}

.hero-cta-primary .btn-primary,
.hero-cta-primary .btn-reveal,
.hero-cta-support .btn-secondary,
.btn-report-request {
  min-height: 46px;
  border-style: solid;
}

.hero-cta-primary .btn-primary {
  padding-inline: 22px;
}

.report-request-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--color-info-border);
  border-radius: 14px;
  background: var(--color-info-bg);
}

.report-request-copy {
  min-width: 0;
}

.report-request-copy p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.5;
}

.report-request-copy .report-request-kicker {
  margin-bottom: 2px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 800;
}

.btn-report-request {
  flex: 0 0 auto;
  border-color: var(--color-info-border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 700;
  white-space: nowrap;
}

.btn-report-request:hover {
  border-color: var(--accent-cyan);
  background: var(--color-cyan-bg);
}

.benefit-list {
  margin: 0 0 14px;
}

.hero-cta-support {
  margin-bottom: 12px;
}

.hero-note {
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 14px;
  }

  .logo-area img {
    width: 126px;
  }

  .header-menu {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 4px;
  }

  .site-nav,
  .header-controls {
    justify-content: flex-start;
  }

  .site-english .header-menu {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .page-wrapper {
    padding: 6px;
  }

  .container {
    padding: 10px 12px 26px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 2px 0 9px;
  }

  .logo-area img {
    width: 112px;
  }

  .menu-enhanced .menu-toggle {
    display: inline-flex;
  }

  .header-menu {
    grid-column: 1 / -1;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
  }

  .menu-enhanced .header-menu:not([data-open="true"]) {
    display: none;
  }

  .site-english .header-menu {
    align-items: stretch;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    overflow: visible;
  }

  .site-nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 7px 8px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    white-space: normal;
  }

  .header-controls,
  .site-english .header-controls {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .badge-beta {
    order: 3;
  }

  .home-grid {
    padding-top: 14px;
  }

  .hero {
    padding: 0;
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.45;
  }

  .hero-title {
    margin-bottom: 10px;
    font-size: clamp(29px, 8.6vw, 36px);
    line-height: 1.17;
    text-wrap: pretty;
  }

  .hero-subtitle {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-cta-primary,
  .hero-cta-support {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-cta-primary a,
  .hero-cta-support a {
    width: 100%;
  }

  .hero-cta-primary {
    margin-bottom: 12px;
  }

  .report-request-callout {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px;
  }

  .btn-report-request {
    width: 100%;
    white-space: normal;
  }

  .benefit-list {
    gap: 10px;
    margin-bottom: 12px;
  }

  .benefit-item {
    padding: 14px;
  }
}
