:root {
  --hp-bg: #070b14;
  --hp-bg-alt: #0c1220;
  --hp-surface: rgba(15, 40, 30, 0.55);
  --hp-border: rgba(15, 159, 102, 0.22);
  --hp-text: #e8eef8;
  --hp-muted: #9aa8bf;
  --hp-accent: #1fbf7a;
  --hp-accent-2: #0d7ea0;
  --hp-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --hp-radius: 18px;
  --hp-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.hp-body {
  margin: 0;
  font-family: var(--hp-font);
  color: var(--hp-text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(31, 191, 122, 0.14), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(13, 126, 160, 0.14), transparent 55%),
    linear-gradient(180deg, #05080f 0%, var(--hp-bg) 40%, #050910 100%);
  min-height: 100vh;
  line-height: 1.6;
}

.hp-skip {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: var(--hp-accent);
  color: #041018;
  padding: .5rem 1rem;
  z-index: 1000;
}
.hp-skip:focus { inset-inline-start: 1rem; top: 1rem; }

.hp-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.55);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.hp-header.is-scrolled,
.hp-header.is-solid {
  background: rgba(7, 11, 20, 0.92);
  border-bottom-color: var(--hp-border);
}

.hp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.hp-logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--hp-text);
  font-weight: 800;
  letter-spacing: .02em;
}
.hp-logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--hp-accent), var(--hp-accent-2));
  color: #041018;
  font-size: .85rem;
  font-weight: 800;
}

.hp-nav-links {
  display: none;
  align-items: center;
  gap: 1rem;
}
.hp-nav-links a {
  color: var(--hp-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: color .2s ease;
}
.hp-nav-links a:hover,
.hp-nav-links a:focus-visible { color: var(--hp-accent); }

.hp-menu-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--hp-border);
  border-radius: .75rem;
  padding: .65rem .7rem;
  cursor: pointer;
}
.hp-menu-btn span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--hp-text);
}

.hp-nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  inset-inline: 1rem;
  top: 4.4rem;
  padding: 1rem;
  border-radius: var(--hp-radius);
  background: rgba(10, 16, 28, 0.98);
  border: 1px solid var(--hp-border);
  box-shadow: var(--hp-shadow);
}

@media (min-width: 900px) {
  .hp-menu-btn { display: none; }
  .hp-nav-links,
  .hp-nav-links.is-open-desktop {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.65rem;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.hp-btn:hover { transform: translateY(-1px); }
.hp-btn:focus-visible {
  outline: 2px solid var(--hp-accent);
  outline-offset: 3px;
}
.hp-btn-primary {
  background: linear-gradient(135deg, var(--hp-accent), var(--hp-accent-2));
  color: #041018;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.25);
}
.hp-btn-ghost {
  border-color: var(--hp-border);
  color: var(--hp-text);
  background: rgba(255, 255, 255, 0.03);
}

.hp-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}
.hp-hero-glow {
  position: absolute;
  inset: 10% 20% auto;
  height: 240px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hp-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hp-hero-grid { grid-template-columns: 1.1fr .9fr; }
}
.hp-eyebrow {
  color: var(--hp-accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 700;
  margin: 0 0 .75rem;
}
.hp-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.hp-lead {
  color: var(--hp-muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0 0 1.5rem;
}
.hp-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hp-network { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(34, 211, 238, 0.15)); }
.hp-pulse { transform-origin: center; animation: hpPulse 2.8s ease-in-out infinite; }
.hp-pulse-2 { animation-delay: .4s; }
.hp-pulse-3 { animation-delay: .9s; }
@keyframes hpPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.hp-stats { padding: 1rem 0 2.5rem; }
.hp-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 800px) {
  .hp-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hp-stat {
  padding: 1.25rem;
  border-radius: var(--hp-radius);
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  backdrop-filter: blur(10px);
  text-align: center;
}
.hp-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hp-accent);
}
.hp-stat-label { color: var(--hp-muted); font-size: .9rem; }

.hp-section { padding: 3.5rem 0; }
.hp-section-alt { background: linear-gradient(180deg, transparent, rgba(12, 18, 32, 0.7), transparent); }
.hp-section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.hp-section-head h2,
.hp-section-head h1 {
  margin: 0 0 .5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.hp-section-head p { margin: 0; color: var(--hp-muted); }

.hp-cards {
  display: grid;
  gap: 1rem;
}
.hp-cards-2 { grid-template-columns: 1fr; }
.hp-cards-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .hp-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .hp-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.hp-card {
  padding: 1.35rem;
  border-radius: var(--hp-radius);
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--hp-shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.hp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.4);
}
.hp-card h3,
.hp-card h2 {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
}
.hp-card h3 a,
.hp-card h2 a,
.hp-link {
  color: var(--hp-text);
  text-decoration: none;
}
.hp-card h3 a:hover,
.hp-card h2 a:hover,
.hp-link:hover { color: var(--hp-accent); }
.hp-card p { margin: 0; color: var(--hp-muted); }
.hp-card-icon {
  display: inline-flex;
  margin-bottom: .75rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--hp-accent);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hp-dist-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: .75rem;
  margin-bottom: .75rem;
  background: rgba(255, 255, 255, 0.04);
}
.hp-dist-fallback {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  margin-bottom: .75rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(59, 130, 246, 0.3));
  font-weight: 800;
}

.hp-badge {
  display: inline-flex;
  margin-top: .85rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--hp-border);
  color: var(--hp-muted);
  font-size: .75rem;
  text-transform: capitalize;
}
.hp-badge-accent {
  color: #041018;
  background: var(--hp-accent);
  border-color: transparent;
  font-weight: 700;
}

.hp-price.is-featured {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.15), var(--hp-shadow);
}
.hp-price-amount {
  margin: 1rem 0 .35rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--hp-text);
}
.hp-price-amount small {
  font-size: .9rem;
  color: var(--hp-muted);
  font-weight: 600;
  margin-inline-start: .25rem;
}
.hp-muted { color: var(--hp-muted); }
.hp-empty { color: var(--hp-muted); padding: 1rem 0; }
.hp-more { margin-top: 1.25rem; }

.hp-cta {
  padding: 3.5rem 0;
}
.hp-cta-inner {
  padding: 2.25rem;
  border-radius: calc(var(--hp-radius) + 4px);
  border: 1px solid var(--hp-border);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(59, 130, 246, 0.08)),
    rgba(12, 18, 32, 0.85);
  text-align: center;
}
.hp-cta-inner h2 { margin: 0 0 .5rem; }
.hp-cta-inner p { color: var(--hp-muted); margin: 0 0 1.25rem; }

.hp-footer {
  border-top: 1px solid var(--hp-border);
  padding: 2rem 0 2.5rem;
  color: var(--hp-muted);
}
.hp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.hp-footer a { color: var(--hp-muted); text-decoration: none; }
.hp-footer a:hover { color: var(--hp-accent); }
.hp-footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

.hp-page { padding: 5.5rem 0 3rem; }
.hp-article { max-width: 760px; }
.hp-article-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--hp-radius);
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--hp-border);
}
.hp-prose { color: var(--hp-text); font-size: 1.05rem; }

[dir="rtl"] .hp-hero-actions,
[dir="rtl"] .hp-footer-links,
[dir="rtl"] .hp-nav {
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hp-pulse,
  .hp-btn,
  .hp-card { animation: none; transition: none; }
}

/* V19: Branding, Resellers & Pricing additions */
.hp-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 60px;
  max-width: 220px;
  object-fit: contain;
  margin-inline-end: 0.6rem;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .hp-logo-img {
    max-height: 48px;
    max-width: 180px;
  }
}
.hp-reseller-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.hp-btn-sm {
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.hp-btn-sm:hover { opacity: 0.85; color: #fff; }
.hp-btn-telegram {
  background: #229ED9;
  color: #fff;
}
.hp-btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.hp-btn-website {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hp-border);
  color: var(--hp-text);
}
.hp-btn-website:hover {
  background: rgba(255, 255, 255, 0.15);
}
.hp-price-features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hp-price-features li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--hp-muted);
}
.hp-price-check {
  color: var(--hp-accent);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.hp-ad-slot-box {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}


/* FORCE PUBLIC WEBSITE LOGO SIZE */
.hp-nav .hp-logo img.hp-logo-img {
    display: block !important;
    width: auto !important;
    height: 60px !important;
    max-width: 220px !important;
    max-height: 60px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
}

@media (max-width: 767.98px) {
    .hp-nav .hp-logo img.hp-logo-img {
        width: auto !important;
        height: 48px !important;
        max-width: 180px !important;
        max-height: 48px !important;
    }
}
