/* ═══════════════════════════════════════════════════════════
   PORTFOLIO MODE — css/portfolio.css
   Trigger no login → modal overlay com prévia do sistema.
═══════════════════════════════════════════════════════════ */

/* ══ TRIGGER ════════════════════════════════════════════ */

.pf-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: .75rem 0 0;
  margin-top: .5rem;
  border: none;
  border-top: 1px solid var(--b1);
  background: none;
  font-family: 'Syne', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tx3);
  cursor: pointer;
  transition: color .2s;
  user-select: none;
}
.pf-trigger:hover      { color: var(--acc); }
.pf-trigger[aria-expanded="true"] { color: var(--acc); }

.pf-trigger-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acc);
  flex-shrink: 0;
  opacity: .5;
  transition: opacity .2s, transform .2s;
}
.pf-trigger:hover .pf-trigger-dot,
.pf-trigger[aria-expanded="true"] .pf-trigger-dot {
  opacity: 1;
  transform: scale(1.25);
}

/* ══ OVERLAY PANEL ═════════════════════════════════════ */

.pf-panel {
  position: fixed;
  z-index: 310;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(6, 6, 10, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.pf-panel.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Inner card ────────────────────────────────────── */

.pf-inner {
  background: var(--s1, #141418);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(0,0,0,.6), 0 0 80px rgba(37,99,235,.04);
  transform: translateY(12px) scale(.97);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.pf-panel.open .pf-inner {
  transform: translateY(0) scale(1);
}

/* ── Close button ──────────────────────────────────── */

.pf-close {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  z-index: 5;
}
.pf-close:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* ── Screenshot — app frame ────────────────────────── */

.pf-shot-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0a0a10;
  flex-shrink: 0;
}

.pf-shot-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--acc, #2563eb) 0%, #60a5fa 50%, transparent 100%);
  z-index: 6;
  pointer-events: none;
}

/* Chrome — barra de janela */
.pf-frame-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: #0c0c14;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}
.pf-frame-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pf-frame-dot:nth-child(1) { background: #ff5f57; }
.pf-frame-dot:nth-child(2) { background: #ffbd2e; }
.pf-frame-dot:nth-child(3) { background: #28c840; }
.pf-frame-url {
  font-family: 'DM Mono', monospace;
  font-size: .6rem;
  color: rgba(255, 255, 255, .25);
  margin-left: 8px;
  white-space: nowrap;
  letter-spacing: .02em;
}

/* Área da screenshot */
.pf-shot-area {
  position: relative;
  overflow: hidden;
  flex: 1;
}

.pf-shot {
  width: 100%;
  height: auto;
  display: block;
}
svg.pf-shot {
  overflow: hidden;
}

/* Vinheta — suave, só nas bordas */
.pf-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 85% at 50% 45%, transparent 50%, rgba(10,10,16,.4) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── Corpo (desc + feats + CTA) ────────────────────── */

.pf-body {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1.1rem 1.2rem 1.3rem;
}

.pf-body-title {
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  color: var(--tx1, #eeeef5);
  letter-spacing: -.02em;
}
.pf-body-title .vi{color:#2563EB}
.pf-body-title .thax{color:#8b95a5}

.pf-desc {
  font-size: .78rem;
  font-weight: 400;
  color: var(--tx2, #a0a0b8);
  line-height: 1.6;
  margin: 0;
}

.pf-feats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  margin: 0;
  padding: 0;
}
.pf-feat {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  color: var(--tx2, #a0a0b8);
  line-height: 1.4;
}
.pf-check {
  font-size: .6rem;
  font-weight: 800;
  color: var(--acc, #2563eb);
  flex-shrink: 0;
  line-height: 1;
}

.pf-cta {
  display: block;
  width: 100%;
  margin-top: .3rem;
  padding: .7rem;
  border: none;
  border-radius: 10px;
  background: var(--acc, #2563eb);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: opacity .15s;
  text-decoration: none;
}
.pf-cta:hover { opacity: .88; }

/* ── Animações de entrada (staggered) ──────────────── */

@keyframes pf-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.pf-panel.open .pf-shot-wrap { animation: pf-in .3s ease .05s both; }
.pf-panel.open .pf-body-title { animation: pf-in .25s ease .1s both; }
.pf-panel.open .pf-desc       { animation: pf-in .25s ease .15s both; }
.pf-panel.open .pf-feat:nth-child(1) { animation: pf-in .22s ease .18s both; }
.pf-panel.open .pf-feat:nth-child(2) { animation: pf-in .22s ease .21s both; }
.pf-panel.open .pf-feat:nth-child(3) { animation: pf-in .22s ease .24s both; }
.pf-panel.open .pf-feat:nth-child(4) { animation: pf-in .22s ease .27s both; }
.pf-panel.open .pf-feat:nth-child(5) { animation: pf-in .22s ease .30s both; }
.pf-panel.open .pf-feat:nth-child(6) { animation: pf-in .22s ease .33s both; }
.pf-panel.open .pf-cta { animation: pf-in .25s ease .35s both; }
