/* ==========================================================================
   Home page (front-page.php) — All IPTV Solutions
   Modern split-hero SaaS layout — parrot green + blue on white
   ========================================================================== */

.home-main {
  padding-top: 0;
}

/* ---------- Shared section primitives ---------- */
.hp-section {
  padding: 6.5rem 0;
  position: relative;
  background: var(--bg-main);
}

.hp-section--alt {
  background: var(--bg-secondary);
}

.hp-head {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: none;
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  margin-bottom: 1.25rem;
}

.hp-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.hp-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 1rem;
}

.hp-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.hp-section-cta {
  text-align: center;
  margin-top: 3rem;
}

.hp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.hp-link:hover {
  color: var(--secondary-color);
  gap: 0.6rem;
}

/* ---------- Buttons ---------- */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1;
  padding: 1rem 1.9rem;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.hp-btn--primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-glow-green);
}

.hp-btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -10px rgba(76, 175, 55, 0.55);
}

.hp-btn--ghost {
  background: var(--bg-card);
  border-color: var(--border-strong);
  color: var(--text-main);
}

.hp-btn--ghost:hover {
  background: var(--bg-secondary);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.hp-btn--secondary {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: var(--shadow-glow-blue);
}

.hp-btn--secondary:hover {
  background: var(--secondary-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   1. Hero — split layout: bold copy left, dashboard art right
   ========================================================================== */
.hp-hero {
  position: relative;
  padding: 9.5rem 0 5rem;
  background:
    radial-gradient(1000px 520px at -6% -16%, var(--primary-tint), transparent 60%),
    radial-gradient(820px 460px at 104% -8%, var(--secondary-tint), transparent 58%),
    var(--bg-main);
  overflow: hidden;
}

.hp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 55% at 15% 10%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 55% at 15% 10%, #000 20%, transparent 80%);
  pointer-events: none;
}

.hp-hero .container {
  position: relative;
  z-index: 1;
}

.hp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 3rem;
  align-items: center;
}

.hp-hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.3rem;
  color: var(--text-main);
}

.hp-hero h1 .hp-grad {
  background: linear-gradient(95deg, var(--primary-dark) 0%, var(--primary-color) 45%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hp-hero-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 2.2rem;
}

.hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.1rem;
}

.hp-hero-trust {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.hp-hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hp-hero-trust .tick {
  color: var(--accent-green);
  font-weight: 700;
}

/* ---- Hero art: dashboard image + decorative blobs + floating badges ---- */
.hp-hero-right {
  position: relative;
}

.hp-hero-art {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.hp-hero-blob {
  position: absolute;
  border-radius: 0;
  filter: blur(50px);
  opacity: 0.55;
  z-index: 0;
}

.hp-hero-blob--green {
  width: 320px;
  height: 320px;
  background: var(--primary-color);
  top: -8%;
  right: 4%;
  opacity: 0.22;
}

.hp-hero-blob--blue {
  width: 280px;
  height: 280px;
  background: var(--secondary-color);
  bottom: -6%;
  left: 2%;
  opacity: 0.18;
}

.hp-hero-dashboard {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(15, 23, 42, 0.22));
}

.hp-float-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.hp-float-badge strong {
  color: var(--primary-dark);
  font-family: var(--font-display);
}

.hp-float-badge--top {
  top: -5%;
  left: -6%;
}

.hp-float-badge--bottom {
  bottom: 14%;
  right: -8%;
}

.hp-float-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  flex-shrink: 0;
}

/* Stat strip */
.hp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 4.5rem calc(50% - 50vw) 0;
  width: 100vw;
  max-width: 100vw;
  background: #0B0F19;
  padding: 2.4rem 1.5rem;
}

.hp-stat {
  text-align: center;
  padding: 0 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hp-stat:last-child {
  border-right: 0;
}

.hp-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.hp-stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   1b. OTT Apps visual showcase (image-forward cards)
   ========================================================================== */
.hp-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.hp-showcase-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
}

.hp-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  z-index: 2;
}

.hp-showcase-grid > .hp-showcase-card:nth-child(2n)::before {
  background: var(--secondary-color);
}

.hp-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.hp-showcase-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0B1220, #16233B);
  overflow: hidden;
}

.hp-showcase-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hp-showcase-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
}

.hp-showcase-body {
  padding: 1.6rem 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hp-showcase-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--text-main);
}

.hp-showcase-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1.3rem;
}

.hp-showcase-body .hp-link {
  margin-top: auto;
}

/* ==========================================================================
   1c. Split section (image one side, feature list the other)
   ========================================================================== */
.hp-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}

.hp-split-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 36px rgba(15, 23, 42, 0.14));
}

.hp-split-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hp-split-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.hp-split-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hp-split-item .hp-card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.hp-split-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--text-main);
}

.hp-split-item p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

/* ---------- Dark "control panel" section variant ---------- */
.hp-dark-section {
  background: var(--bg-ink);
  position: relative;
  overflow: hidden;
}

.hp-dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(76, 175, 55, 0.12), transparent 60%),
    radial-gradient(640px 400px at 0% 100%, rgba(37, 99, 235, 0.14), transparent 60%);
  pointer-events: none;
}

.hp-dark-section .container {
  position: relative;
  z-index: 1;
}

.hp-eyebrow--on-dark {
  background: rgba(76, 175, 55, 0.14);
  border-color: rgba(76, 175, 55, 0.3);
  color: #8BE28B;
}

.hp-title--on-dark {
  color: #fff;
}

.hp-sub--on-dark {
  color: rgba(255, 255, 255, 0.64);
}

.hp-dark-section .hp-split-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.hp-card-icon--on-dark {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #8BE28B;
}

.hp-dark-section .hp-split-item h3 {
  color: #fff;
}

.hp-dark-section .hp-split-item p {
  color: rgba(255, 255, 255, 0.62);
}

.hp-link--on-dark {
  color: #8BE28B;
}

.hp-link--on-dark:hover {
  color: #60A5FA;
}

/* ==========================================================================
   1d. Accent-top cards — colourful top border per card, icon-in-circle,
   small decorative badge footer. Used for Features/Benefits, WHMCS grid.
   ========================================================================== */
.hp-accent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-accent-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.hp-accent-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.hp-accent-grid--4col .hp-accent-card {
  padding: 1.6rem 1.4rem;
}

.hp-accent-grid--4col .hp-accent-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
}

.hp-accent-grid--4col .hp-accent-card h3 {
  font-size: 1rem;
}

.hp-accent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
}

.hp-accent-card .hp-link,
.hp-accent-card .hp-accent-btn {
  margin-top: auto;
  align-self: flex-start;
}

.hp-accent-card-media {
  margin: -1.9rem -1.75rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hp-accent-card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hp-accent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
}

.hp-accent-grid > .hp-accent-card:nth-child(2n)::before {
  background: var(--secondary-color);
}

.hp-accent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.hp-accent-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.hp-accent-grid > .hp-accent-card:nth-child(2n) .hp-accent-icon {
  background: var(--secondary-tint);
  color: var(--secondary-color);
}

.hp-accent-grid > .hp-accent-card .hp-accent-icon--navy {
  background: #E8ECF6;
  color: #33415C;
}

.hp-accent-grid > .hp-accent-card .hp-accent-icon--amber {
  background: #FDF2DA;
  color: #AD7509;
}

.hp-accent-icon svg {
  width: 22px;
  height: 22px;
}

.hp-accent-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--text-main);
}

.hp-accent-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1.2rem;
}

.hp-accent-card .hp-link {
  font-size: 0.88rem;
}

.hp-accent-icon--flat {
  background: none;
  border: none;
  border-radius: 0;
  width: 64px;
  height: 64px;
}

.hp-accent-icon--flat img {
  width: 100%;
  height: 100%;
  display: block;
}

.hp-accent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  background: var(--secondary-color);
  color: #fff !important;
  text-decoration: none;
  margin-top: 0.4rem;
  transition: background .2s ease, transform .2s ease;
}

.hp-accent-btn:hover {
  background: var(--secondary-hover);
  color: #fff !important;
  transform: translateY(-2px);
}

.hp-accent-footer {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hp-accent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: none;
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.7rem;
}

.hp-accent-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.hp-accent-grid > .hp-accent-card:nth-child(2n) .hp-accent-badge {
  color: var(--secondary-color);
  background: none;
  border-color: var(--secondary-color);
}

/* ==========================================================================
   2. Card grids (services, modules, process, payments, posts)
   ========================================================================== */
.hp-grid {
  display: grid;
  gap: 1.5rem;
}

.hp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hp-grid--4 { grid-template-columns: repeat(4, 1fr); }

.hp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
}

.hp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.hp-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary-color);
  background: none;
  border: 1px solid var(--secondary-color);
  border-radius: var(--radius-full);
  padding: 0.32rem 0.75rem;
  margin-bottom: 1.2rem;
}

.hp-card-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.hp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: var(--secondary-tint);
  border: 1px solid var(--secondary-tint-border);
  color: var(--secondary-color);
}

.hp-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.hp-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hp-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 0.7rem;
  color: var(--text-main);
}

.hp-card p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}

.hp-card .hp-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
}

/* ==========================================================================
   3. Apps carousel
   ========================================================================== */
.hp-carousel {
  position: relative;
}

.hp-carousel-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1.25rem;
  scrollbar-width: none;
}

.hp-carousel-track::-webkit-scrollbar {
  display: none;
}

.hp-app {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.15rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hp-app:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.hp-app-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hp-app-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.hp-app-plat {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hp-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.hp-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

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

.hp-carousel-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ==========================================================================
   4. Why us
   ========================================================================== */
.hp-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4.5rem;
  align-items: center;
}

.hp-why-media img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.hp-why-media--circle {
  position: relative;
}

.hp-why-media--circle::before {
  content: "";
  position: absolute;
  inset: 6% 10%;
  background: var(--primary-tint);
  border-radius: 50%;
  z-index: 0;
}

.hp-why-copy .hp-eyebrow {
  margin-bottom: 1.25rem;
}

.hp-why-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  color: var(--text-main);
}

.hp-why-copy > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 1.85rem;
}

.hp-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.hp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--text-main);
}

.hp-checklist .tick {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--primary-tint);
  border: 1px solid var(--primary-tint-border);
  color: var(--primary-dark);
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Bare checklist: plain glyph tick, no box, used in dense lists ---------- */
.hp-checklist--bare {
  gap: 1.15rem;
}

.hp-checklist--bare li {
  gap: 0.7rem;
  align-items: flex-start;
}

.hp-checklist--bare .tick {
  width: auto;
  height: auto;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  margin-top: 0.15rem;
}

.hp-checklist--bare strong {
  color: var(--text-main);
  font-weight: 700;
}

.hp-checklist--bare a {
  color: var(--text-main);
  font-weight: 700;
}

.hp-checklist--bare a:hover {
  color: var(--primary-dark);
}

/* Dark-background variant */
.hp-dark-section .hp-checklist li,
.pg-dark .hp-checklist li {
  color: rgba(255, 255, 255, 0.78);
}

.pg-dark .pg-price-card .hp-checklist li {
  color: var(--text-main);
}

.hp-dark-section .hp-checklist--bare .tick,
.pg-dark .hp-checklist--bare .tick {
  color: #8BE28B;
}

.hp-dark-section .hp-checklist--bare strong,
.pg-dark .hp-checklist--bare strong,
.hp-dark-section .hp-checklist--bare a,
.pg-dark .hp-checklist--bare a {
  color: #fff;
}

.hp-dark-section .hp-checklist--bare a:hover,
.pg-dark .hp-checklist--bare a:hover {
  color: #8BE28B;
}

.hp-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.hp-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hp-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hp-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: var(--secondary-tint);
  border: 1px solid var(--secondary-tint-border);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.hp-badge-icon svg {
  width: 18px;
  height: 18px;
}

.hp-badge h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text-main);
}

.hp-badge p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   5. Testimonials
   ========================================================================== */
.hp-quote {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  --quote-accent: var(--primary-color);
  --quote-accent-dark: var(--primary-dark);
  --quote-accent-tint: var(--primary-tint);
}

.hp-grid--3 .hp-quote:nth-of-type(2) {
  --quote-accent: var(--secondary-color);
  --quote-accent-dark: var(--secondary-hover);
  --quote-accent-tint: var(--secondary-tint);
}

.hp-grid--3 .hp-quote:nth-of-type(3) {
  --quote-accent: #F59E0B;
  --quote-accent-dark: #B45309;
  --quote-accent-tint: #FEF3E2;
}

.hp-quote:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--quote-accent);
}

.hp-quote-mark {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--quote-accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.hp-quote-mark svg {
  width: 18px;
  height: 18px;
  color: var(--quote-accent-dark);
}

.hp-stars {
  position: relative;
  z-index: 1;
  color: #F59E0B;
  letter-spacing: 0.14em;
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
}

.hp-quote blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 1.8rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.hp-quote-author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border-light);
}

.hp-quote-author .hp-avatar {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--quote-accent);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--border-light);
  flex-shrink: 0;
}

.hp-quote-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.hp-quote-author span {
  display: block;
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==========================================================================
   6. Process
   ========================================================================== */
.hp-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hp-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.hp-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 10px 22px -8px rgba(76, 175, 55, 0.55);
  margin-bottom: 1.3rem;
}

.hp-step-icon svg {
  width: 26px;
  height: 26px;
}

.hp-grid--3 .hp-step:nth-child(2) .hp-step-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
  box-shadow: 0 10px 22px -8px rgba(37, 99, 235, 0.5);
}

.hp-step-num {
  position: absolute;
  top: 1.6rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--border-strong);
  line-height: 1;
}

.hp-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.7rem;
  color: var(--text-main);
}

.hp-step p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Connector arrow between steps — desktop 3-col layout only */
@media (min-width: 1181px) {
  .hp-grid--3 .hp-step:not(:last-child)::before {
    content: "\2192";
    position: absolute;
    top: 4.65rem;
    right: -1.9rem;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--border-strong);
    z-index: 2;
  }
}

/* ==========================================================================
   7. Payment gateways
   ========================================================================== */
.hp-grid--pay {
  grid-template-columns: repeat(5, 1fr);
}

.hp-pay {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.3rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hp-pay:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.hp-pay-logo {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.95rem;
  border-radius: 0;
  background: var(--primary-tint);
  border: 1px solid var(--primary-tint-border);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-pay-logo svg {
  width: 22px;
  height: 22px;
}

.hp-pay h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  color: var(--text-main);
}

.hp-pay p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.hp-pay .hp-link {
  font-size: 0.85rem;
}

/* ==========================================================================
   8. FAQ
   ========================================================================== */
.hp-faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hp-faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.hp-faq details[open] {
  box-shadow: var(--shadow-sm);
}

.hp-faq details[open] summary {
  background: var(--bg-secondary);
}

.hp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 1.6rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hp-faq summary::-webkit-details-marker {
  display: none;
}

.hp-faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--primary-color);
  transition: transform .2s ease;
}

.hp-faq details[open] summary::after {
  content: "\2212";
  color: var(--secondary-color);
}

.hp-faq .hp-faq-body {
  padding: 0 1.6rem 1.5rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ==========================================================================
   9. Blog cards
   ========================================================================== */
.hp-post {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hp-post:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.hp-post-media {
  display: block;
  aspect-ratio: 1200/630;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-elevated);
  margin-bottom: 1.3rem;
}

.hp-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hp-post:hover .hp-post-media img {
  transform: scale(1.04);
}

.hp-post-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.hp-post-meta .cat {
  color: var(--secondary-color);
  font-weight: 700;
}

.hp-post h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}

.hp-post h3 a {
  color: var(--text-main);
}

.hp-post h3 a:hover {
  color: var(--primary-color);
}

.hp-post p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}

/* ==========================================================================
   10. Final CTA
   ========================================================================== */
.hp-cta {
  padding: 5.5rem 0;
  background:
    radial-gradient(760px 420px at 50% 0%, var(--primary-tint), transparent 70%),
    var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.hp-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hp-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  color: var(--text-main);
}

.hp-cta p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 2.1rem;
}

.hp-cta-note {
  margin: 1.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .hp-grid--pay { grid-template-columns: repeat(3, 1fr); }

  .hp-hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hp-hero-left {
    text-align: center;
  }

  .hp-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hp-hero-actions {
    justify-content: center;
  }

  .hp-hero-trust {
    justify-content: center;
  }

  .hp-hero-art {
    max-width: 480px;
  }

  .hp-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hp-split-media {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 960px) {
  .hp-section { padding: 4.5rem 0; }
  .hp-hero { padding: 8.5rem 0 3.5rem; }
  .hp-grid--3,
  .hp-grid--4,
  .hp-accent-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-showcase-grid { grid-template-columns: 1fr; }
  .hp-why { grid-template-columns: 1fr; gap: 2.75rem; }
  .hp-why-media { max-width: 480px; margin: 0 auto; }
  .hp-stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; margin-top: 3.5rem; }
  .hp-stat:nth-child(2) { border-right: 0; }
}

@media (max-width: 680px) {
  .hp-hero-trust {
    flex-wrap: wrap;
    white-space: normal;
    justify-content: center;
    gap: 0.6rem 1.25rem;
  }
  .hp-grid--3,
  .hp-grid--4,
  .hp-grid--2,
  .hp-grid--pay,
  .hp-accent-grid { grid-template-columns: 1fr; }
  .hp-badges { grid-template-columns: 1fr; }
  .hp-stats { padding: 1.5rem 1rem; }
  .hp-stat { border-right: 0; }
  .hp-hero-actions { flex-direction: column; width: 100%; }
  .hp-hero-actions .hp-btn { width: 100%; }
  .hp-app { flex-basis: 170px; }
  .hp-section { padding: 3.25rem 0; }
  .hp-head { margin-bottom: 2.25rem; }
  .hp-float-badge { font-size: 0.72rem; padding: 0.55rem 0.85rem; }
  .hp-float-badge--top { left: 0; top: 2%; }
  .hp-float-badge--bottom { right: 0; bottom: 4%; }
}

@media (max-width: 420px) {
  .hp-faq summary { padding: 1.05rem 1.15rem; font-size: 0.94rem; }
  .hp-faq .hp-faq-body { padding: 0 1.15rem 1.15rem; }
  .hp-card, .hp-quote, .hp-post, .hp-step, .hp-pay { padding: 1.4rem; }
}
