/* AnHonestHost Page-Specific Components */

/* ========== Page Header (Interior Pages) ========== */
.anhh-page-header {
  text-align: center;
  padding: 80px 48px 60px;
  max-width: 800px;
  margin: 0 auto;
}

/* ========== Nav Dropdown ========== */
.anhh-nav-has-dropdown { position: relative; }
.anhh-nav-dropdown {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--anhh-bg-elevated); border: 1px solid var(--anhh-border-color);
  border-radius: var(--anhh-radius-md); padding: 8px 0; min-width: 200px;
  box-shadow: var(--anhh-shadow-md); z-index: 200;
}
.anhh-nav-has-dropdown:hover .anhh-nav-dropdown,
.anhh-nav-has-dropdown:focus-within .anhh-nav-dropdown { display: block; }
.anhh-nav-dropdown a {
  display: block; padding: 8px 20px; font-size: 14px; color: var(--anhh-text-secondary);
  transition: all 0.15s;
}
.anhh-nav-dropdown a:hover { color: var(--anhh-text-primary); background: var(--anhh-bg-surface); }
/* Small label for dropdown items like "(cPanel)" */
.anhh-nav-dropdown .anhh-label-muted { color: var(--anhh-text-muted); font-size: 12px; margin-left: 4px; }

/* ========== Mobile Nav Toggle ========== */
.anhh-nav-toggle {
  display: none; background: none; border: none; color: var(--anhh-text-primary);
  font-size: 24px; cursor: pointer; padding: 4px 8px;
}
@media (max-width: 768px) {
  .anhh-nav-toggle { display: block; }
  .anhh-nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--anhh-bg); border-bottom: 1px solid var(--anhh-border-color);
    flex-direction: column; padding: 16px; gap: 0;
  }
  .anhh-nav-links.anhh-nav-open { display: flex; }
  .anhh-nav-links li { width: 100%; }
  .anhh-nav-links a { display: block; padding: 12px 0; font-size: 16px; }
  .anhh-nav-dropdown { position: static; transform: none; box-shadow: none; border: none; background: transparent; display: none; padding-left: 16px; }
  .anhh-nav-has-dropdown.anhh-dropdown-open .anhh-nav-dropdown { display: block; }
  .anhh-nav-cta { text-align: center; margin-top: 8px; }
}

/* ========== Plan Feature Grid ========== */
.anhh-plan-detail { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.anhh-plan-detail-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.anhh-plan-detail-row span:first-child { color: var(--anhh-text-muted); }
.anhh-plan-detail-row span:last-child { color: var(--anhh-text-primary); font-weight: 500; }

/* ========== CTA Banner ========== */
.anhh-cta-banner {
  background: var(--anhh-accent-dim); border: 1px solid var(--anhh-accent-border);
  border-radius: var(--anhh-radius-lg); padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--anhh-max-width); margin: 0 auto 60px;
}
.anhh-cta-banner p { color: var(--anhh-text-secondary); font-size: 16px; margin: 0; max-width: 600px; }
.anhh-cta-banner strong { color: var(--anhh-text-primary); }
@media (max-width: 768px) {
  .anhh-cta-banner { flex-direction: column; text-align: center; padding: 24px; }
}

/* ========== Timeline (About Page) ========== */
.anhh-timeline { position: relative; padding-left: 32px; margin-top: 40px; }
.anhh-timeline::before {
  content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px;
  background: var(--anhh-border-color);
}
.anhh-timeline-item { position: relative; padding-bottom: 32px; }
.anhh-timeline-item::before {
  content: ''; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--anhh-accent); border: 2px solid var(--anhh-bg);
}
.anhh-timeline-year { font-size: 13px; font-weight: 700; color: var(--anhh-accent); margin-bottom: 4px; }
.anhh-timeline-title { font-size: 16px; font-weight: 600; color: var(--anhh-text-primary); margin-bottom: 4px; }
.anhh-timeline-desc { font-size: 14px; color: var(--anhh-text-secondary); }

/* ========== Contact Grid ========== */
.anhh-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: var(--anhh-max-width); margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .anhh-contact-grid { grid-template-columns: 1fr; padding: 0 16px; gap: 32px; } }

.anhh-contact-method { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--anhh-border-color); }
.anhh-contact-method:last-child { border-bottom: none; }
.anhh-contact-icon { font-size: 20px; flex-shrink: 0; width: 40px; height: 40px; background: var(--anhh-accent-dim); border-radius: var(--anhh-radius-md); display: flex; align-items: center; justify-content: center; }
.anhh-contact-label { font-size: 13px; color: var(--anhh-text-muted); margin-bottom: 2px; }
.anhh-contact-value { font-size: 15px; color: var(--anhh-text-primary); font-weight: 500; }
.anhh-contact-value a { color: var(--anhh-accent); }

/* ========== Form Elements ========== */
.anhh-form-group { margin-bottom: 20px; }
.anhh-form-label { display: block; font-size: 14px; font-weight: 500; color: var(--anhh-text-secondary); margin-bottom: 6px; }
.anhh-input, .anhh-textarea, .anhh-select {
  width: 100%; padding: 12px 16px; background: var(--anhh-bg-surface); color: var(--anhh-text-primary);
  border: 1px solid var(--anhh-border-color); border-radius: var(--anhh-radius-md);
  font-family: var(--anhh-font-family); font-size: 15px; transition: border-color 0.2s;
}
.anhh-input:focus, .anhh-textarea:focus, .anhh-select:focus { outline: none; border-color: var(--anhh-accent); }
.anhh-textarea { resize: vertical; min-height: 120px; }

/* ========== Prose (Legal / Privacy Pages) ========== */
.anhh-prose { max-width: 800px; margin: 0 auto; padding: 0 48px 80px; }
.anhh-prose h2 { font-size: 24px; font-weight: 700; margin-top: 48px; margin-bottom: 16px; color: var(--anhh-text-primary); }
.anhh-prose h3 { font-size: 18px; font-weight: 600; margin-top: 32px; margin-bottom: 12px; color: var(--anhh-text-primary); }
.anhh-prose p { font-size: 15px; color: var(--anhh-text-secondary); line-height: 1.8; margin-bottom: 16px; }
.anhh-prose ul, .anhh-prose ol { padding-left: 24px; margin-bottom: 16px; }
.anhh-prose li { font-size: 15px; color: var(--anhh-text-secondary); line-height: 1.8; padding: 2px 0; list-style: disc; }
.anhh-prose a { color: var(--anhh-accent); text-decoration: underline; }
@media (max-width: 768px) { .anhh-prose { padding: 0 16px 48px; } }

/* ========== Affiliate Steps ========== */
.anhh-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.anhh-step { text-align: center; }
.anhh-step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--anhh-accent-dim); color: var(--anhh-accent); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.anhh-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--anhh-text-primary); }
.anhh-step p { font-size: 14px; color: var(--anhh-text-secondary); }
@media (max-width: 768px) { .anhh-steps-grid { grid-template-columns: 1fr; } }

/* ========== Feature Comparison Table ========== */
.anhh-feature-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.anhh-feature-table th { font-size: 13px; font-weight: 600; color: var(--anhh-text-muted); text-transform: uppercase; letter-spacing: 1px; padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--anhh-border-color); }
.anhh-feature-table td { padding: 12px 16px; font-size: 14px; color: var(--anhh-text-secondary); border-bottom: 1px solid var(--anhh-border-color); }
.anhh-feature-table tr:hover td { background: var(--anhh-bg-surface); }
.anhh-feature-table .anhh-check { color: var(--anhh-accent); font-weight: 700; }
.anhh-feature-table .anhh-cross { color: var(--anhh-text-muted); }

/* ========== Social Links (Footer) ========== */
.anhh-social-links { display: flex; gap: 12px; margin-top: 16px; }
.anhh-social-link { width: 36px; height: 36px; border-radius: var(--anhh-radius-md); background: var(--anhh-bg-surface); border: 1px solid var(--anhh-border-color); display: flex; align-items: center; justify-content: center; color: var(--anhh-text-secondary); font-size: 16px; transition: all 0.2s; text-decoration: none; }
.anhh-social-link:hover { border-color: var(--anhh-accent); color: var(--anhh-accent); }

/* ========== Print Styles (Legal / Privacy Pages) ========== */
@media print {
  .anhh-bg-grid, .anhh-bg-glow, .anhh-nav, .anhh-footer { display: none; }
  body { background: white; color: black; }
  .anhh-prose { max-width: 100%; padding: 0; }
  .anhh-prose h2, .anhh-prose h3 { color: black; }
  .anhh-prose p, .anhh-prose li { color: #333; }
}

/* ========== Form Shield Badge ========== */
.anhh-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  background: var(--anhh-bg-surface);
  color: var(--anhh-text-muted);
  border: 1px solid var(--anhh-border-color);
  transition: all 0.4s ease;
}
.anhh-shield-badge.anhh-shield-verified {
  background: rgba(0, 212, 170, 0.1);
  color: var(--anhh-accent);
  border-color: rgba(0, 212, 170, 0.3);
}
.anhh-shield-badge svg {
  flex-shrink: 0;
}
