/* Hero */
.hero {
  padding: 24px;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner-img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  border-radius: var(--radius);
  margin: 0 auto;
}

/* Service grids */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.recharges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 480px;
}

/* Promo banner */
.promo-banner {
  background: var(--lavender);
  border-radius: var(--radius);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.promo-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.promo-icon {
  width: 72px;
  height: 72px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
}

.promo-left h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.promo-left p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.promo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-feature {
  text-align: center;
}

.promo-feature .feat-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.promo-feature span {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--purple); }

.social-icons { display: flex; gap: 12px; }

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--purple);
  font-weight: 600;
  transition: background 0.2s;
}

.social-icons a:hover { background: var(--purple); color: var(--white); }

.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* Auth pages */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--lavender);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 40px;
}

.auth-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-footer a { color: var(--purple); font-weight: 600; }

/* Dashboard */
.dashboard-page { padding: 40px 0 64px; background: var(--lavender); min-height: calc(100vh - var(--header-h)); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  padding: 24px;
  text-align: center;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple);
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.orders-table th, .orders-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.orders-table th {
  font-weight: 600;
  color: var(--text-muted);
  background: var(--lavender);
}

.status-paid { color: var(--green); font-weight: 600; }
.status-pending { color: var(--orange); font-weight: 600; }
.status-cancel, .status-fail { color: #ef4444; font-weight: 600; }

.quick-links {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Pay page */
.pay-page { padding: 40px 0 64px; }

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.pay-form-card { padding: 32px; }

.pay-summary {
  padding: 28px;
  background: var(--lavender);
  border: none;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
}

.summary-row.discount { color: var(--green); font-weight: 600; }

.summary-row.total {
  border-top: 2px solid var(--purple);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.summary-row.total .amount { color: var(--purple); }

#service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Payment status */
.status-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--lavender);
}

.status-card {
  max-width: 480px;
  width: 100%;
  padding: 48px 40px;
  text-align: center;
}

.status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
}

.status-icon.success { background: var(--green-bg); }
.status-icon.pending { background: var(--orange-bg); }
.status-icon.fail { background: #fef2f2; }

/* Responsive */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-banner { grid-template-columns: 1fr; padding: 28px; }
  .promo-left { flex-direction: column; text-align: center; }
  .promo-features { grid-template-columns: 1fr; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .pay-summary { position: static; }
}

#how-it-works .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  #how-it-works .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .recharges-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .orders-table { font-size: 0.75rem; }
  .orders-table th, .orders-table td { padding: 8px; }
}
