/* AnHonestHost Components */

/* ========== Navigation ========== */
.anhh-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--anhh-space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--anhh-bg);
  backdrop-filter: blur(12px);
}

.anhh-light .anhh-nav {
  border-bottom-color: var(--anhh-border-color);
}

.anhh-nav-logo {
  display: flex;
  align-items: center;
  color: var(--anhh-text-primary);
}

.anhh-nav-logo img {
  height: 32px;
  width: auto;
}

.anhh-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.anhh-nav-links a {
  color: var(--anhh-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--anhh-transition-base);
}

.anhh-nav-links a:hover {
  color: var(--anhh-text-primary);
}

.anhh-nav-cta {
  background: var(--anhh-primary) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--anhh-radius-sm);
  font-weight: 600 !important;
  transition: background var(--anhh-transition-base);
}

.anhh-nav-cta:hover {
  background: var(--anhh-primary-hover) !important;
}

/* ========== Theme Toggle ========== */
.anhh-theme-toggle {
  background: var(--anhh-bg-elevated);
  border: 1px solid var(--anhh-border-color);
  color: var(--anhh-text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--anhh-radius-md);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--anhh-transition-slow);
  padding: 0;
  flex-shrink: 0;
}

.anhh-theme-toggle:hover {
  border-color: var(--anhh-accent);
  color: var(--anhh-text-primary);
}

.anhh-toggle-icon {
  font-style: normal;
  line-height: 1;
  font-size: 16px;
}

/* ========== Buttons ========== */
.anhh-btn-primary {
  display: inline-block;
  background: var(--anhh-primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--anhh-radius-md);
  font-size: var(--anhh-font-size-base);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--anhh-transition-base);
  font-family: var(--anhh-font-family);
}

.anhh-btn-primary:hover {
  background: var(--anhh-primary-hover);
  color: #fff;
}

.anhh-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--anhh-text-primary);
  padding: 14px 32px;
  border-radius: var(--anhh-radius-md);
  font-size: var(--anhh-font-size-base);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--anhh-border-color);
  cursor: pointer;
  transition: border-color var(--anhh-transition-base);
  font-family: var(--anhh-font-family);
}

.anhh-btn-secondary:hover {
  border-color: var(--anhh-text-secondary);
  color: var(--anhh-text-primary);
}

/* ========== Badges ========== */
.anhh-badge {
  display: inline-block;
  background: var(--anhh-accent-dim);
  border: 1px solid var(--anhh-accent-border);
  color: var(--anhh-accent);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--anhh-radius-full);
}

/* ========== Cards ========== */
.anhh-card {
  background: var(--anhh-bg-elevated);
  border: 1px solid var(--anhh-border-color);
  border-radius: var(--anhh-radius-lg);
  padding: var(--anhh-space-xl);
  transition: border-color var(--anhh-transition-base), transform var(--anhh-transition-base);
}

.anhh-card:hover {
  border-color: var(--anhh-accent-border);
  transform: translateY(-2px);
}

/* Feature card icon container */
.anhh-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--anhh-accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

/* ========== Plan Cards ========== */
.anhh-plan-card {
  background: var(--anhh-bg-elevated);
  border: 1px solid var(--anhh-border-color);
  border-radius: var(--anhh-radius-xl);
  padding: 36px;
  text-align: left;
  transition: border-color var(--anhh-transition-base), transform var(--anhh-transition-base);
  position: relative;
}

.anhh-plan-card:hover {
  transform: translateY(-4px);
}

.anhh-plan-card.anhh-featured {
  border-color: var(--anhh-accent);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.08);
}

.anhh-plan-card.anhh-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--anhh-accent);
  color: var(--anhh-bg);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.anhh-plan-desc {
  color: var(--anhh-text-muted);
  font-size: var(--anhh-font-size-sm);
  margin-bottom: 20px;
}

.anhh-plan-price {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--anhh-text-primary);
}

.anhh-plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--anhh-text-muted);
}

.anhh-plan-features {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.anhh-plan-features li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--anhh-text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.anhh-plan-features li::before {
  content: '\2713';
  color: var(--anhh-accent);
  font-weight: 700;
}

.anhh-plan-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--anhh-radius-md);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anhh-transition-base);
  font-family: var(--anhh-font-family);
}

.anhh-plan-btn.anhh-btn-fill {
  background: var(--anhh-primary);
  color: #fff;
}

.anhh-plan-btn.anhh-btn-fill:hover {
  background: var(--anhh-primary-hover);
}

.anhh-plan-btn.anhh-btn-outline {
  background: transparent;
  border: 1px solid var(--anhh-border-color);
  color: var(--anhh-text-primary);
}

.anhh-plan-btn.anhh-btn-outline:hover {
  border-color: var(--anhh-text-secondary);
}

/* ========== Terminal Mockup ========== */
.anhh-terminal {
  background: var(--anhh-bg-elevated);
  border: 1px solid var(--anhh-border-color);
  border-radius: var(--anhh-radius-lg);
  overflow: hidden;
  box-shadow: var(--anhh-shadow-lg);
}

.anhh-terminal-header {
  background: var(--anhh-bg-surface);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.anhh-terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.anhh-terminal-dot--red { background: #ef4444; }
.anhh-terminal-dot--yellow { background: #fbbf24; }
.anhh-terminal-dot--green { background: #22c55e; }

.anhh-terminal-body {
  padding: 20px;
  font-family: var(--anhh-font-mono);
  font-size: var(--anhh-font-size-sm);
  line-height: 1.9;
  color: var(--anhh-text-secondary);
}

.anhh-terminal-body .anhh-prompt {
  color: var(--anhh-accent);
}

.anhh-terminal-body .anhh-value {
  color: var(--anhh-accent);
  font-weight: 600;
}

.anhh-terminal-body .anhh-warn {
  color: #fbbf24;
}

.anhh-terminal-body .anhh-dim {
  color: var(--anhh-text-muted);
}

/* ========== Section Labels ========== */
.anhh-section-label {
  color: var(--anhh-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.anhh-section-title {
  font-size: var(--anhh-font-size-xl);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  color: var(--anhh-text-primary);
}

.anhh-section-subtitle {
  color: var(--anhh-text-secondary);
  font-size: 16px;
  margin-bottom: 56px;
  max-width: 500px;
}

/* ========== Section Divider ========== */
.anhh-divider {
  height: 1px;
  background: var(--anhh-border-color);
  max-width: var(--anhh-max-width);
  margin: 0 auto;
  opacity: 0.5;
}

/* ========== Stats Card ========== */
.anhh-stats-card {
  background: var(--anhh-bg-elevated);
  border: 1px solid var(--anhh-border-color);
  border-radius: var(--anhh-radius-xl);
  padding: 36px;
  max-width: 380px;
  margin-left: auto;
}

.anhh-stats-hero {
  font-size: 52px;
  font-weight: 900;
  color: var(--anhh-accent);
  letter-spacing: -2px;
  line-height: 1;
}

.anhh-stats-label {
  font-size: var(--anhh-font-size-base);
  font-weight: 600;
  margin-top: 10px;
  color: var(--anhh-text-primary);
}

.anhh-stats-sublabel {
  color: var(--anhh-text-muted);
  font-size: var(--anhh-font-size-sm);
  margin-top: 4px;
}

.anhh-stats-divider {
  height: 1px;
  background: var(--anhh-border-color);
  margin: 24px 0;
}

.anhh-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.anhh-stats-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--anhh-text-primary);
}

.anhh-stats-value-label {
  color: var(--anhh-text-muted);
  font-size: var(--anhh-font-size-xs);
}

/* ========== Scroll Animation States ========== */
.anhh-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anhh-animate.anhh-visible {
  opacity: 1;
  transform: translateY(0);
}
