/* ═══════════════════════════════════════════
   ZELLENIUM — Landing Pages Shared Styles
   ═══════════════════════════════════════════ */

/* ── Landing Hero ── */
.lp-hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--nav-h) 0 80px;
}

@media (max-width: 640px) {
  .lp-hero {
    min-height: unset;
    padding: var(--nav-h) 0 60px;
    align-items: flex-start;
  }
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.lp-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 40% 50%, black 30%, transparent 100%);
}

.lp-glow {
  position: absolute;
  border-radius: 50%;
  transform: translateZ(0); /* removed heavy blur */
  pointer-events: none;
}

.lp-glow--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
}

.lp-glow--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: 10%;
}

/* cyan accent */
.lp-accent--cyan .lp-glow--1 { background: radial-gradient(circle, rgba(0,212,255,.14) 0%, transparent 70%); }
.lp-accent--cyan .lp-glow--2 { background: radial-gradient(circle, rgba(0,136,255,.10) 0%, transparent 70%); }

/* purple accent */
.lp-accent--purple .lp-glow--1 { background: radial-gradient(circle, rgba(124,58,237,.16) 0%, transparent 70%); }
.lp-accent--purple .lp-glow--2 { background: radial-gradient(circle, rgba(0,212,255,.08) 0%, transparent 70%); }

.lp-hero-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.lp-hero-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-cyan);
  padding: 6px 14px;
  border: 1px solid rgba(0,212,255,.2);
  border-radius: var(--r-full);
  background: var(--c-cyan-dim);
  animation: fadeUp .7s ease both;
}

.lp-eyebrow--purple {
  color: #a855f7;
  border-color: rgba(124,58,237,.25);
  background: var(--c-purple-dim);
}

.lp-hero-title {
  font-family: var(--f-sans);
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--c-text);
  animation: fadeUp .7s ease .08s both;
}

.lp-hero-desc {
  font-size: clamp(13.5px, 1.2vw, 16px);
  color: var(--c-text-2);
  line-height: 1.75;
  max-width: 480px;
  animation: fadeUp .7s ease .16s both;
}

.lp-hero-desc strong { color: var(--c-text); font-weight: 600; }

.lp-hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp .7s ease .24s both;
}

/* ── Visual side ── */
.lp-hero-visual {
  flex: 0 0 440px;
  position: relative;
  height: 440px;
  animation: fadeUp .8s ease .32s both;
}

/* Visual card (central large card on the right) */
.lp-visual-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  background: rgba(13,13,26,.85);
  backdrop-filter: blur(24px);
  border: 1px solid var(--c-border-2);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: 0 0 60px rgba(0,212,255,.12), 0 24px 60px rgba(0,0,0,.5);
  z-index: 1;
}

.lp-visual-card--purple {
  border-color: rgba(124,58,237,.3);
  box-shadow: 0 0 60px rgba(124,58,237,.14), 0 24px 60px rgba(0,0,0,.5);
}

/* Small floating cards around visual */
.lp-mini-card {
  position: absolute;
  background: rgba(13,13,26,.82);
  backdrop-filter: blur(20px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 11.5px;
  color: var(--c-text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  animation: floatCard 6s ease-in-out infinite;
  z-index: 2;
}

/* Mini cards inset from edges so they don't clip out of the container */
.lp-mini-card--tl { top: 8%;    left: 4%;   animation-delay: 0s; }
.lp-mini-card--tr { top: 8%;    right: 4%;  animation-delay: 0.7s; }
.lp-mini-card--bl { bottom: 8%; left: 4%;   animation-delay: 1.4s; }
.lp-mini-card--br { bottom: 8%; right: 4%;  animation-delay: 2.1s; }

.lp-mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00dc82;
  box-shadow: 0 0 6px #00dc82;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.lp-mini-dot--cyan  { background: var(--c-cyan); box-shadow: 0 0 6px var(--c-cyan); }
.lp-mini-dot--purple { background: #a855f7;      box-shadow: 0 0 6px #a855f7; }

/* ── Features section ── */
.lp-features {
  padding: 96px 40px;
  position: relative;
}

.lp-features-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.lp-feat-card {
  padding: 28px 24px;
  background: rgba(13,13,26,.5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  backdrop-filter: blur(12px);
}

.lp-feat-card:hover {
  border-color: var(--c-border-2);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(0,212,255,.08), 0 12px 40px rgba(0,0,0,.3);
}

.lp-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--c-cyan-dim);
  border: 1px solid rgba(0,212,255,.18);
  color: var(--c-cyan);
}

.lp-feat-icon--purple {
  background: var(--c-purple-dim);
  border-color: rgba(124,58,237,.22);
  color: #a855f7;
}

.lp-feat-title {
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.2px;
}

.lp-feat-desc {
  font-size: 13px;
  color: var(--c-text-2);
  line-height: 1.7;
}

/* ── How it works ── */
.lp-steps {
  padding: 0 40px 96px;
}

.lp-steps-inner {
  max-width: 900px;
  margin: 0 auto;
}

.lp-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.lp-steps-list::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--c-cyan), rgba(124,58,237,.5), transparent);
  z-index: 0;
}

.lp-step {
  display: flex;
  gap: 24px;
  padding: 0 0 40px 0;
  position: relative;
  z-index: 1;
}

.lp-step:last-child { padding-bottom: 0; }

.lp-step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border-2);
  display: grid;
  place-items: center;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-cyan);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0,212,255,.15);
}

.lp-step-num--purple {
  border-color: rgba(124,58,237,.3);
  color: #a855f7;
  box-shadow: 0 0 16px rgba(124,58,237,.18);
}

.lp-step-body {
  padding-top: 10px;
}

.lp-step-title {
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
  letter-spacing: -.2px;
}

.lp-step-desc {
  font-size: 13.5px;
  color: var(--c-text-2);
  line-height: 1.7;
  max-width: 600px;
}

/* ── CTA Strip ── */
.lp-cta-strip {
  margin: 0 40px 80px;
  padding: 56px 60px;
  background: linear-gradient(135deg, rgba(0,212,255,.06), rgba(124,58,237,.08));
  border: 1px solid var(--c-border-2);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.lp-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(0,212,255,.06), transparent),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(124,58,237,.08), transparent);
  pointer-events: none;
}

.lp-cta-text {
  position: relative;
  z-index: 1;
}

.lp-cta-title {
  font-family: var(--f-sans);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.5px;
  margin-bottom: 8px;
}

.lp-cta-desc {
  font-size: 14px;
  color: var(--c-text-2);
  line-height: 1.6;
}

.lp-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Back link ── */
.lp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--c-text-3);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--t-fast);
  margin-bottom: 20px;
}

.lp-back:hover { color: var(--c-cyan); }

/* ── Reusable progress/stat visual ── */
.lp-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.lp-stat-label { font-size: 11px; color: var(--c-text-2); font-weight: 500; }
.lp-stat-val   { font-size: 11px; color: var(--c-text);   font-weight: 700; }

.lp-bar {
  height: 4px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.06);
  overflow: hidden;
  margin-bottom: 10px;
}

.lp-bar-fill {
  height: 100%;
  border-radius: var(--r-full);
  animation: barLoad 1.6s cubic-bezier(.4,0,.2,1) both;
  animation-delay: 0.8s;
}

.lp-bar-fill--cyan   { background: var(--c-cyan); }
.lp-bar-fill--purple { background: var(--c-purple); }
.lp-bar-fill--blue   { background: var(--c-blue); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lp-hero-inner  { padding: 0 40px; gap: 40px; }
  .lp-hero-visual { flex: 0 0 380px; height: 380px; }
}

@media (max-width: 860px) {
  .lp-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 32px;
    gap: 48px;
  }

  /* Sai do posicionamento absoluto — altura automática pelo conteúdo */
  .lp-hero-visual {
    flex: none;
    width: 100%;
    height: auto;
    align-self: center;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 48px 0;  /* espaço para os mini cards não escaparem */
  }

  /* Tira absolute — flui normalmente no centro */
  .lp-hero-visual .lp-visual-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 300px;
    padding: 22px;
  }

  /* Mini cards: reposicionar em relação ao visual container com padding */
  .lp-mini-card--tl { top: 10px;  left: 4%; }
  .lp-mini-card--tr { top: 10px;  right: 4%; }
  .lp-mini-card--bl { bottom: 10px; left: 4%; }
  .lp-mini-card--br { bottom: 10px; right: 4%; }

  .lp-features-grid { grid-template-columns: 1fr 1fr; }

  .lp-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
    margin: 0 20px 60px;
  }

  .lp-cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .lp-hero-inner { padding: 0 20px; gap: 32px; }

  .lp-hero-visual { padding: 0; }

  .lp-hero-visual .lp-visual-card {
    max-width: 100%;
    padding: 18px;
  }

  .lp-features, .lp-steps { padding-left: 20px; padding-right: 20px; }
  .lp-features-grid { grid-template-columns: 1fr; }

  /* Mobile: esconde mini cards — card principal limpo e sem corte */
  .lp-mini-card { display: none; }
}
