/* HANGO BLACK — landing pública (index.php) v2 */

.hango-landing-page {
  --hl-bg: #070708;
  --hl-surface: rgba(18, 18, 22, 0.72);
  --hl-border: rgba(255, 255, 255, 0.08);
  --hl-orange: #ff6b2b;
  --hl-orange-soft: rgba(255, 107, 43, 0.18);
  --hl-text: #f4f4f5;
  --hl-muted: #a1a1aa;
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--hl-text);
  background: var(--hl-bg);
  overflow-x: hidden;
}

.hango-landing-page * {
  box-sizing: border-box;
}

.hl-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 107, 43, 0.22), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(255, 107, 43, 0.08), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(120, 120, 140, 0.12), transparent 40%),
    linear-gradient(180deg, #0f0f12 0%, #070708 55%, #050506 100%);
}

.hl-bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hl-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hl-orb-a {
  width: 420px;
  height: 420px;
  background: rgba(255, 107, 43, 0.15);
  top: -120px;
  right: -80px;
}

.hl-orb-b {
  width: 320px;
  height: 320px;
  background: rgba(80, 80, 100, 0.2);
  bottom: 10%;
  left: -100px;
}

.hl-wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.hl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 20px;
}

.hl-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.hl-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 107, 43, 0.35);
  box-shadow: 0 8px 24px rgba(255, 107, 43, 0.2);
}

.hl-brand span {
  color: var(--hl-orange);
}

.hl-top-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: Inter, system-ui, sans-serif;
}

.hl-btn:hover {
  transform: translateY(-1px);
}

.hl-btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.hl-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff7a3d, #e85518);
  border: 1px solid rgba(255, 180, 120, 0.35);
  box-shadow: 0 8px 28px rgba(255, 107, 43, 0.35);
}

.hl-btn-ghost {
  color: var(--hl-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hl-border);
}

.hl-btn-wa {
  border: 1px solid rgba(37, 211, 102, 0.55);
  background: rgba(37, 211, 102, 0.08);
  color: #dcfce7;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.12);
}

.hl-btn-wa:hover {
  border-color: rgba(37, 211, 102, 0.85);
  background: rgba(37, 211, 102, 0.16);
  color: #fff;
  box-shadow: 0 0 32px rgba(37, 211, 102, 0.22);
}

.hl-btn-outline {
  color: var(--hl-text);
  background: transparent;
  border: 1px solid rgba(255, 107, 43, 0.45);
}

.hl-btn-lg {
  padding: 14px 26px;
  font-size: 0.95rem;
}

.hl-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0 56px;
  text-align: left;
}

.hl-hero-copy {
  min-width: 0;
}

.hl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hl-chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffb088;
  background: rgba(255, 107, 43, 0.1);
  border: 1px solid rgba(255, 107, 43, 0.25);
}

.hl-title {
  margin: 0 0 8px;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--hl-text);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hl-title-black {
  display: block;
  background: linear-gradient(90deg, #ff6b2b, #ff9f6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hl-lead {
  max-width: 32em;
  margin: 0 0 24px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--hl-muted);
}

.hl-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hl-cta-row {
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

@media (min-width: 901px) {
  .hl-cta-row {
    flex-wrap: nowrap;
  }

  .hl-cta-row .hl-btn-lg {
    padding: 13px 18px;
    font-size: 0.88rem;
    white-space: nowrap;
  }
}

.hl-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.hl-hero-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 107, 43, 0.25);
  animation: hl-spin 28s linear infinite;
}

@keyframes hl-spin {
  to { transform: rotate(360deg); }
}

.hl-hero-card {
  position: relative;
  width: min(100%, 380px);
  padding: 28px;
  border-radius: 24px;
  background: var(--hl-surface);
  border: 1px solid var(--hl-border);
  backdrop-filter: blur(16px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hl-hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.5), transparent 40%, transparent 60%, rgba(255, 107, 43, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hl-hero-mascot {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 16px;
  border-radius: 16px;
}

.hl-hero-card p {
  text-align: center;
  font-size: 0.82rem;
  color: var(--hl-muted);
  line-height: 1.5;
  margin: 0;
}

.hl-hero-card strong {
  color: #fff;
}

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

.hl-product {
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: var(--hl-surface);
  border: 1px solid var(--hl-border);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s;
  text-align: left;
  min-height: 0;
  box-shadow: none;
}

.hl-product:hover {
  border-color: rgba(255, 107, 43, 0.35);
  transform: translateY(-2px);
}

.hl-product-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
  background: var(--hl-orange-soft);
  border: 1px solid rgba(255, 107, 43, 0.25);
}

.hl-product-name {
  margin: 0 0 8px;
  font-family: Syne, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hl-text);
}

.hl-product-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--hl-muted);
  max-width: none;
}

.hl-product-featured {
  border-color: rgba(255, 107, 43, 0.35);
  background: linear-gradient(145deg, rgba(255, 107, 43, 0.08), rgba(18, 18, 22, 0.85));
}

.hl-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(255, 107, 43, 0.06);
  border: 1px solid rgba(255, 107, 43, 0.22);
  text-align: left;
}

.hl-strip p {
  margin: 0;
  font-size: 0.92rem;
  color: #d4d4d8;
}

.hl-strip a {
  font-weight: 600;
  color: #ffb088;
  text-decoration: none;
}

.hl-strip a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hl-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hl-hero-visual {
    order: -1;
  }

  .hl-cta,
  .hl-chips {
    justify-content: center;
  }

  .hl-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 800px) {
  .hl-products {
    grid-template-columns: 1fr;
  }
}

/* Login modal — HANGO V5 */
.hg-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.hg-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 24px;
  border-radius: 18px;
  background: #141414;
  border: 1px solid rgba(255, 107, 43, 0.28);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 107, 43, 0.08);
}

.hg-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #888;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.hg-close:hover {
  color: #f0e8dc;
  background: rgba(255, 107, 43, 0.15);
}

.hg-brand {
  text-align: center;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #f0e8dc;
  margin-bottom: 8px;
}

.hg-brand span {
  color: #ff9f6b;
}

.hg-title {
  margin: 0 0 6px;
  text-align: center;
  font-family: Syne, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fafafa;
}

.hg-sub {
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #888;
}

.hg-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hg-tab {
  padding: 10px 12px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #888;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: Inter, sans-serif;
}

.hg-tab--active {
  color: #0c0c0c;
  background: linear-gradient(135deg, #ff6b2b, #e55a20);
  box-shadow: 0 4px 16px rgba(255, 107, 43, 0.35);
}

.hg-panel {
  text-align: left;
}

.hg-lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #72767d;
  margin-bottom: 6px;
}

.hg-inp {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #f0e8dc;
  font-size: 0.95rem;
  outline: none;
  font-family: Inter, sans-serif;
}

.hg-inp:focus {
  border-color: rgba(255, 107, 43, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.12);
}

.hg-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6b2b, #e55a20);
  color: #0c0c0c;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 107, 43, 0.3);
  font-family: Inter, sans-serif;
}

.hg-btn:hover:not(:disabled) {
  filter: brightness(1.05);
}

.hg-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hg-msg {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.hg-msg--ok {
  background: rgba(34, 197, 94, 0.09);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.hg-msg--err {
  background: rgba(239, 68, 68, 0.09);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.hg-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hg-foot-link {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: #ff9f6b;
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 8px;
  background: rgba(255, 107, 43, 0.06);
  border: 1px solid rgba(255, 107, 43, 0.15);
}

.hg-foot-link:hover {
  color: #ff6b2b;
  background: rgba(255, 107, 43, 0.12);
}

@media (max-width: 768px) {
  .hg-foot {
    grid-template-columns: 1fr;
  }
}

