/* =========================================================
   SMM.BZ — Homepage Redesign Styles
   Modern Dark/Light-compatible UI with Glassmorphism
   ========================================================= */

:root {
  --hp-gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --hp-gradient-accent: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  --hp-glow: rgba(37, 99, 235, 0.15);
  --hp-card-bg: var(--surface, #ffffff);
  --hp-border: var(--border, #e2e8f0);
}

[data-theme=dark] {
  --hp-glow: rgba(99, 102, 241, 0.25);
  --hp-card-bg: rgba(30, 41, 59, 0.7);
}

.hp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Hero Section ────────────────────────────────────────── */
.hp-hero {
  position: relative;
  padding: 56px 0 48px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  overflow: hidden;
}

.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary, #2563eb);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.hp-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink, #0f172a);
  margin-bottom: 18px;
}

.hp-hero-title .highlight {
  background: var(--hp-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hp-hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary, #64748b);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hp-hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.hp-stat-card {
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s, border-color 0.2s;
}

.hp-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary, #2563eb);
}

.hp-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hp-stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink, #0f172a);
  line-height: 1.2;
}

.hp-stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary, #64748b);
  font-weight: 500;
}

/* ─── Interactive Package Generator / Wizard ──────────────── */
.hp-section {
  padding: 56px 0;
}

.hp-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hp-section-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary, #2563eb);
  margin-bottom: 8px;
  display: block;
}

.hp-section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink, #0f172a);
  margin-bottom: 12px;
}

.hp-section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
}

.hp-wizard-card {
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
}

@media (max-width: 960px) {
  .hp-wizard-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.hp-wizard-step-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary, #64748b);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-wizard-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary, #2563eb);
  color: #fff;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Platform Grid in Wizard */
.hp-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.hp-platform-btn {
  background: var(--bg, #f8fafc);
  border: 2px solid var(--hp-border);
  border-radius: 14px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.hp-platform-btn:hover {
  border-color: var(--primary, #2563eb);
  transform: translateY(-2px);
}

.hp-platform-btn.active {
  border-color: var(--primary, #2563eb);
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.hp-platform-btn i {
  font-size: 1.5rem;
}

.hp-platform-btn span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
}

/* Service options in Wizard */
.hp-service-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.hp-service-opt-btn {
  background: var(--bg, #f8fafc);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink, #0f172a);
  text-align: left;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hp-service-opt-btn:hover {
  border-color: var(--primary, #2563eb);
}

.hp-service-opt-btn.active {
  background: var(--primary, #2563eb);
  color: #fff;
  border-color: var(--primary, #2563eb);
}

/* Quantity Slider */
.hp-slider-box {
  background: var(--bg, #f8fafc);
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.hp-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hp-slider-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary, #2563eb);
}

.hp-range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--hp-border);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.hp-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary, #2563eb);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  transition: transform 0.1s;
}

.hp-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.hp-preset-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hp-preset-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--hp-border);
  background: var(--hp-card-bg);
  font-size: 0.78125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text-secondary, #64748b);
}

.hp-preset-pill:hover,
.hp-preset-pill.active {
  background: var(--primary, #2563eb);
  color: #fff;
  border-color: var(--primary, #2563eb);
}

/* Wizard Summary Box */
.hp-wizard-summary {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, rgba(124, 58, 237, 0.06) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hp-summary-header {
  border-bottom: 1px dashed var(--hp-border);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.hp-summary-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink, #0f172a);
  margin-bottom: 6px;
}

.hp-summary-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary, #64748b);
}

.hp-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 12px;
  color: var(--text-secondary, #64748b);
}

.hp-summary-row strong {
  color: var(--ink, #0f172a);
}

.hp-price-total {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary, #2563eb);
  line-height: 1;
  margin: 20px 0 6px;
}

.hp-price-unit {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 24px;
}

.hp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 14px;
  background: var(--hp-gradient-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  color: #fff;
}

/* ─── Preset Packages Section ────────────────────────────── */
.hp-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.hp-pkg-card {
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hp-pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  border-color: var(--primary, #2563eb);
}

.hp-pkg-card.featured {
  border: 2px solid var(--primary, #2563eb);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, var(--hp-card-bg) 100%);
}

.hp-pkg-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--hp-gradient-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hp-pkg-header {
  margin-bottom: 16px;
}

.hp-pkg-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 14px;
}

.hp-pkg-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink, #0f172a);
  margin-bottom: 4px;
}

.hp-pkg-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary, #64748b);
}

.hp-pkg-price {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--ink, #0f172a);
  margin: 16px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hp-pkg-price span {
  font-size: 0.8125rem;
  color: var(--text-secondary, #64748b);
  font-weight: 500;
}

.hp-pkg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.hp-pkg-list li {
  font-size: 0.875rem;
  color: var(--text-secondary, #64748b);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed var(--hp-border);
}

.hp-pkg-list li:last-child {
  border-bottom: none;
}

.hp-pkg-list li i {
  color: #10b981;
  font-size: 0.85rem;
}

/* ─── Services Grid / Item Selector ──────────────────────── */
.hp-filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  padding: 16px 20px;
}

.hp-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hp-filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--hp-border);
  background: var(--bg, #f8fafc);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary, #64748b);
  cursor: pointer;
  transition: all 0.18s;
}

.hp-filter-chip:hover,
.hp-filter-chip.active {
  background: var(--primary, #2563eb);
  color: #fff;
  border-color: var(--primary, #2563eb);
}

.hp-search-box {
  position: relative;
  min-width: 240px;
}

.hp-search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 999px;
  border: 1px solid var(--hp-border);
  background: var(--bg, #f8fafc);
  font-size: 0.875rem;
  color: var(--ink, #0f172a);
  outline: none;
}

.hp-search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted, #94a3b8);
}

.hp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.hp-service-card {
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.18s;
}

.hp-service-card:hover {
  border-color: var(--primary, #2563eb);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.hp-service-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.hp-service-plat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.hp-service-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
  line-height: 1.35;
}

.hp-service-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78125rem;
  color: var(--text-secondary, #64748b);
  margin-bottom: 16px;
}

.hp-service-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--hp-border);
}

.hp-service-rate {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary, #2563eb);
}

.hp-service-rate sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
}

.hp-service-select-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary, #2563eb);
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}

.hp-service-select-btn:hover {
  background: var(--primary, #2563eb);
  color: #fff;
}

/* ─── FAQ Section ─────────────────────────────────────────── */
.hp-faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp-faq-item {
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  overflow: hidden;
}

.hp-faq-q {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.hp-faq-q i {
  transition: transform 0.2s;
}

.hp-faq-item.open .hp-faq-q i {
  transform: rotate(180deg);
}

.hp-faq-a {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
  display: none;
}

.hp-faq-item.open .hp-faq-a {
  display: block;
}

/* ─── Service Category Blocks ────────────────────────────── */
.hp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.hp-cat-card {
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.hp-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary, #2563eb);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.hp-cat-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hp-cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}

.hp-cat-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink, #0f172a);
  line-height: 1.2;
}

.hp-cat-count {
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--primary, #2563eb);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.hp-cat-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hp-cat-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg, #f8fafc);
  border: 1px solid var(--hp-border);
  color: var(--text-secondary, #64748b);
}

.hp-cat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--hp-border);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary, #2563eb);
}

.hp-cat-footer i {
  transition: transform 0.2s;
}

.hp-cat-card:hover .hp-cat-footer i {
  transform: translateX(4px);
}
