/* CloudIndia — Homepage enhancements */

/* ── How it works ─────────────────────────────────────────── */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 767px) { .how-steps { grid-template-columns: 1fr; } }
.how-step {
  background: rgba(8, 15, 40, 0.55);
  border: 1px solid rgba(96, 239, 255, 0.14);
  border-radius: var(--radius-lg, 16px);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.how-step:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 239, 255, 0.32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.how-step-num {
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--grad-primary, linear-gradient(135deg, #0061ff, #60efff));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.1rem; color: #fff;
  box-shadow: 0 0 20px rgba(96, 239, 255, 0.25);
}
.how-step h3 { font-size: 1rem; margin-bottom: 8px; color: #fff; }
.how-step p { font-size: 0.86rem; color: rgba(226, 232, 240, 0.72); margin: 0; line-height: 1.6; }

/* ── Tech stack pills ─────────────────────────────────────── */
.tech-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tech-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 239, 255, 0.16);
  border-radius: var(--radius-pill, 100px);
  font-size: 0.84rem; font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
  transition: background 0.2s, border-color 0.2s;
}
.tech-pill i { color: #60efff; font-size: 1rem; }
.tech-pill:hover { background: rgba(96, 239, 255, 0.08); border-color: rgba(96, 239, 255, 0.35); }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-card {
  background: rgba(8, 15, 40, 0.6);
  border: 1px solid rgba(96, 239, 255, 0.12);
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  height: 100%;
  display: flex; flex-direction: column;
  transition: border-color 0.22s, transform 0.22s;
}
.testimonial-card:hover { border-color: rgba(96, 239, 255, 0.28); transform: translateY(-3px); }
.testimonial-stars { color: #fbbf24; font-size: 0.82rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-text {
  font-size: 0.9rem; line-height: 1.7;
  color: rgba(226, 232, 240, 0.85);
  flex: 1; margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: #fff;
}
.testimonial-name { font-weight: 700; font-size: 0.88rem; color: #fff; }
.testimonial-role { font-size: 0.75rem; color: rgba(226, 232, 240, 0.5); }

/* ── Comparison table ─────────────────────────────────────── */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid rgba(96, 239, 255, 0.14);
  background: rgba(8, 15, 40, 0.5);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(96, 239, 255, 0.08);
  font-size: 0.88rem;
}
.compare-table th {
  background: rgba(0, 97, 255, 0.08);
  color: rgba(226, 232, 240, 0.9);
  font-weight: 700;
  text-align: left;
}
.compare-table th.ci-col { color: #60efff; }
.compare-table td:first-child { color: rgba(226, 232, 240, 0.65); font-weight: 500; }
.compare-table .yes { color: #4ade80; font-weight: 700; }
.compare-table .no  { color: rgba(248, 113, 113, 0.7); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(96, 239, 255, 0.03); }

/* ── Trust bar ────────────────────────────────────────────── */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center;
  padding: 20px 0;
}
.trust-bar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  font-size: 0.8rem; font-weight: 600;
  color: rgba(226, 232, 240, 0.75);
}
.trust-bar-item i { color: #60efff; }

/* ── Local SEO card polish ────────────────────────────────── */
.local-seo-card {
  background: rgba(8, 15, 40, 0.55);
  border: 1px solid rgba(96, 239, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
}
.local-seo-list {
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.92rem;
  line-height: 1.9;
  padding-left: 1.2rem;
  margin: 0;
}

/* ── Dashboard enhancements (client + admin) ──────────────── */
.dash-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.dash-quick-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 239, 255, 0.12);
  border-radius: 12px;
  text-decoration: none !important;
  color: rgba(226, 232, 240, 0.9) !important;
  font-size: 0.78rem; font-weight: 600;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.dash-quick-btn i { font-size: 1.35rem; color: #60efff; }
.dash-quick-btn:hover {
  background: rgba(96, 239, 255, 0.1);
  border-color: rgba(96, 239, 255, 0.3);
  transform: translateY(-2px);
  color: #fff !important;
}
.dash-health-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}
.dash-health-item:last-child { border-bottom: none; }
.dash-health-ok   { color: #4ade80; font-weight: 700; }
.dash-health-warn { color: #fbbf24; font-weight: 700; }
.dash-health-bad  { color: #f87171; font-weight: 700; }
.admin-welcome-banner {
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.15), rgba(96, 239, 255, 0.06));
  border: 1px solid rgba(96, 239, 255, 0.2);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 20px;
}