/* ═══ TRUST BAR ═══ */
.trust-bar { padding: 48px 0; background: var(--bg-card); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.trust-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text-secondary); font-weight: 500;
}
.trust-icon {
  width: 40px; height: 40px; border-radius: var(--radius-xs);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.trust-item:hover .trust-icon { transform: scale(1.15) rotate(-5deg); }

.feature-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.2;
}


/* ═══ HOW IT WORKS ═══ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; position: relative; }
.steps-line {
  position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-medium), var(--accent-soft));
  z-index: 0;
}
.step-card {
  padding: 0 20px; text-align: center; position: relative; z-index: 1;
}
.step-num-wrap {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.step-num-wrap::before {
  content: '';
  position: absolute; inset: -4px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  opacity: 0; z-index: -1;
  transition: opacity 0.4s;
}
.step-card:hover .step-num-wrap::before { opacity: 0.15; }
.step-card:hover .step-num-wrap {
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}
.step-num {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--accent);
}
.step-card h4 { font-size: 1rem; margin-bottom: 6px; }
.step-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }


/* ═══ NUMBERS GRID ═══ */
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.number-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 28px 24px;
  text-decoration: none; color: inherit; display: block;
  position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.number-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.number-card:hover::before { opacity: 1; }
.number-card:hover {
  border-color: rgba(108,63,160,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.number-big {
  font-family: var(--font-display); font-size: 3.5rem;
  position: absolute; top: 8px; right: 16px;
  color: rgba(108,63,160,0.06);
  line-height: 1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.number-card:hover .number-big {
  color: rgba(108,63,160,0.15);
  transform: scale(1.2) rotate(-8deg);
}
.number-card h4 { position: relative; font-size: 1.05rem; margin-bottom: 6px; }
.number-card p { position: relative; font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }
.number-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.68rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 3px 10px;
  border-radius: var(--radius-full); margin-top: 12px;
  position: relative; letter-spacing: 0.03em;
}


/* ═══ COMPAT SECTION ═══ */
.compat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: center; }
.compat-visual {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 40px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.compat-circles { display: flex; justify-content: center; align-items: center; margin-bottom: 24px; }
.compat-circle {
  width: 90px; height: 90px; border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2rem; color: var(--accent);
  background: var(--bg-card);
  position: relative; z-index: 1;
  animation: circleIn 0.8s ease-out both;
}
.compat-circle:last-child { margin-left: -16px; animation-delay: 0.2s; }
@keyframes circleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.compat-score {
  font-family: var(--font-display); font-size: 2.8rem; color: var(--accent); margin-top: 8px;
}
.compat-score-label { font-size: 0.82rem; color: var(--text-muted); }
.compat-bar { width: 100%; height: 6px; background: var(--border-light); border-radius: 3px; margin-top: 16px; overflow: hidden; }
.compat-bar-fill {
  height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  animation: barFill 1.5s 0.5s ease-out forwards;
}
@keyframes barFill { to { width: 78%; } }

.compat-info h3 { margin-bottom: 12px; }
.compat-info p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }
.compat-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.compat-form .btn-primary { grid-column: 1/-1; }


/* ═══ TESTIMONIALS ═══ */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.test-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.4s;
}
.test-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.test-stars { color: var(--gold); font-size: 0.82rem; letter-spacing: 2px; margin-bottom: 12px; }
.test-card blockquote { font-size: 0.88rem; color: var(--text-secondary); font-style: italic; line-height: 1.65; margin-bottom: 16px; }
.test-author { display: flex; align-items: center; gap: 10px; }
.test-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--gold-soft));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.9rem; color: var(--accent); font-weight: 700;
}
.test-name { font-size: 0.82rem; font-weight: 600; }
.test-loc { font-size: 0.72rem; color: var(--text-muted); }


/* ═══ FAQ ═══ */
.faq-list { max-width: 700px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  color: var(--text); text-align: left; transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--accent); flex-shrink: 0;
  transition: all 0.35s;
}
.faq-item.open .faq-icon { background: var(--accent); color: white; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s; }
.faq-item.open .faq-a { max-height: 220px; padding-bottom: 20px; }
.faq-a p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ═══ BRIDGE COMPONENTS FOR PHP TEMPLATES ═══ */
.flash {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.flash-success { border-left-color: #22c55e; }
.flash-error { border-left-color: #ef4444; }
.flash-info { border-left-color: var(--gold); }

.flash-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hub-content-wrap,
.legal-content,
.site-map-hero,
.landing-image-copy {
  max-width: 840px;
}

.hub-seo-grid,
.site-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hub-bullet-list,
.legal-list,
.landing-list {
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
}

.hub-seo-copy,
.legal-copy {
  display: grid;
  gap: 14px;
  color: var(--text-secondary);
}

.site-map-card,
.hub-seo-card {
  text-decoration: none;
  color: inherit;
}

.site-map-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.site-map-list li {
  display: grid;
  gap: 4px;
}

.site-map-list span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.share-box {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

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

.full-width {
  grid-column: 1 / -1;
}

.auth-form-grid > div:last-child:nth-child(odd),
.form-grid > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.landing-hero-grid,
.landing-image-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.landing-figure {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.profile-stack,
.content-stack {
  display: grid;
  gap: 20px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.table th {
  width: 160px;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

details.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

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

details.faq-item p {
  margin-top: 12px;
  color: var(--text-secondary);
}

.legal-page,
.site-map-page {
  margin-top: 120px;
}

.legal-text {
  display: grid;
  gap: 28px;
  max-width: 920px;
}

.legal-section,
.legal-note {
  display: grid;
  gap: 12px;
}

.legal-page-intro,
.legal-section p,
.legal-note p {
  color: var(--text-secondary);
}

.seo-rich-section {
  display: grid;
  gap: 14px;
}

.seo-rich-section p {
  color: var(--text-secondary);
  line-height: 1.78;
}

.cta-panel {
  background:
    radial-gradient(circle at top left, rgba(201, 154, 74, 0.16), transparent 32%),
    var(--bg-card);
}
