/* Pixva page — social-first marketing layout. */

.pv { --ig: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); --fb: #1877f2; --night: #0c0919; }
.pv .container { position: relative; }

/* ---------- Hero ---------- */
.pv-hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); background: var(--night); color: #fff; }
.pv-hero::before {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(35% 40% at 78% 30%, rgba(221, 42, 123, 0.45), transparent 70%),
    radial-gradient(30% 35% at 92% 80%, rgba(245, 133, 41, 0.35), transparent 70%),
    radial-gradient(40% 45% at 10% 10%, rgba(108, 76, 245, 0.45), transparent 70%);
  filter: blur(10px);
  content: '';
  animation: meshMove 18s ease-in-out infinite alternate;
}
.pv-hero::after { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); content: ''; }
@keyframes meshMove { to { transform: translate(-4%, 3%) rotate(6deg); } }
.pv-hero .container { z-index: 1; display: grid; align-items: center; gap: 48px; grid-template-columns: 1.05fr 0.95fr; }
.pv-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 99px; background: rgba(255, 255, 255, 0.06); font-size: 13px; font-weight: 700; color: #e9e3ff; backdrop-filter: blur(8px); }
.pv-kicker img { width: 26px; height: 26px; padding: 3px; border-radius: 8px; background: #fff; }
.pv-hero h1 { margin-top: 22px; font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
.pv-hero h1 .ig-text { background: var(--ig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-hero .lead { margin-top: 20px; max-width: 540px; color: #c9c3e6; }
.pv-hero .hero-actions { margin-top: 30px; }
.pv-hero .btn-ghost { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #fff; }
.pv-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; font-weight: 600; color: #b9b2d9; }
.pv-trust span { display: inline-flex; align-items: center; gap: 8px; }
.pv-trust svg { width: 17px; height: 17px; color: #4ade80; }

/* Phone with an auto-scrolling feed */
.pv-stage { position: relative; display: grid; min-height: 560px; place-items: center; }
.pv-phone { position: relative; z-index: 2; width: 290px; height: 560px; overflow: hidden; padding: 10px; border: 10px solid #1b1630; border-radius: 44px; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.pv-phone::before { position: absolute; z-index: 3; top: 8px; left: 50%; width: 90px; height: 22px; border-radius: 99px; background: #1b1630; content: ''; transform: translateX(-50%); }
.pv-feed-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin: -10px -10px 0; padding: 30px 16px 8px; box-shadow: 0 1px 0 #efefef; background: #fff; font-size: 15px; font-weight: 800; color: #111; }
.pv-feed-top span { font-family: 'Grand Hotel', 'Brush Script MT', cursive; font-size: 22px; font-weight: 400; }
.pv-feed { animation: feed 22s linear infinite; }
.pv-phone:hover .pv-feed { animation-play-state: paused; }
@keyframes feed { to { transform: translateY(-50%); } }

/* A social post */
.post { margin-bottom: 14px; color: #111; }
.post-hd { display: flex; align-items: center; gap: 8px; padding: 0 4px 7px; font-size: 12px; font-weight: 800; }
.post-hd .av { width: 28px; height: 28px; flex: none; padding: 2px; border-radius: 50%; background: var(--ig); }
.post-hd .av i { display: grid; width: 100%; height: 100%; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #7c2d12; font-size: 8px; font-style: normal; color: #fde68a; }
.post-hd small { display: block; font-weight: 600; color: #8e8e8e; }
.post-hd .net { margin-left: auto; padding: 3px 8px; border-radius: 99px; font-size: 10px; font-weight: 800; color: #fff; }
.net.ig { background: var(--ig); }
.net.fb { background: var(--fb); }
.net.pr { background: #111; }
.post-art { position: relative; display: grid; overflow: hidden; aspect-ratio: 1; place-items: center; border-radius: 14px; color: #fff; text-align: center; }
.post-art .dsh { width: 46%; aspect-ratio: 1; margin: 0 auto 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.3) 0 6%, transparent 7%), radial-gradient(circle at 60% 58%, #9a3412 0 5%, transparent 6%), radial-gradient(circle at 40% 62%, #166534 0 4%, transparent 5%), radial-gradient(circle, #fbbf24 0 42%, #f59e0b 55%, #b45309 64%, #f5f5f4 65% 77%, transparent 78%); box-shadow: 0 14px 26px rgba(0, 0, 0, 0.4); }
.post-art .dsh.green { background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.3) 0 6%, transparent 7%), radial-gradient(circle at 55% 55%, #fde68a 0 9%, transparent 10%), radial-gradient(circle, #f97316 0 40%, #c2410c 58%, #f5f5f4 60% 75%, transparent 76%); }
.post-art .dsh.cup { border-radius: 22% 22% 40% 40%; background: radial-gradient(circle at 50% 30%, #fef3c7 0 18%, #b45309 19% 46%, #f5f5f4 47% 70%, transparent 71%); }
.post-art b { display: block; font-size: 22px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.post-art em { display: block; margin-top: 6px; font-size: 26px; font-style: normal; font-weight: 800; color: #fde68a; }
.post-art .badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.18); font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; backdrop-filter: blur(4px); }
.post-art .big { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; }
.post-acts { display: flex; gap: 12px; padding: 8px 4px 2px; font-size: 18px; }
.post-acts .like { color: #e11d48; animation: heart 2.4s infinite; }
.post-likes { padding: 0 4px; font-size: 11.5px; font-weight: 800; }
.post-cap { padding: 2px 4px 0; font-size: 11.5px; line-height: 1.4; color: #262626; }
.post-cap b { font-weight: 800; }

/* Floating notifications around the phone */
.pv-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; background: rgba(28, 22, 52, 0.82); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); font-size: 12.5px; color: #e9e3ff; backdrop-filter: blur(12px); animation: noteIn 9s var(--ease) infinite; }
.pv-note b { display: block; font-size: 13px; color: #fff; }
.pv-note i { display: grid; width: 34px; height: 34px; flex: none; place-items: center; border-radius: 11px; font-size: 16px; font-style: normal; color: #fff; }
.pv-note.n1 { top: 8%; left: -6%; }
.pv-note.n2 { top: 44%; right: -8%; animation-delay: 3s; }
.pv-note.n3 { bottom: 9%; left: -2%; animation-delay: 6s; }
@keyframes noteIn { 0% { opacity: 0; transform: translateY(14px) scale(0.95); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-10px); } }

/* ---------- Platforms strip ---------- */
.pv-platforms { position: relative; z-index: 2; margin-top: -34px; }
.pv-platforms .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--muted); }
.pv-platforms .pl { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.pv-platforms .pl i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: #fff; }
.pv-platforms .pl i svg { width: 17px; height: 17px; }

/* ---------- Carousel ---------- */
.pv-car { position: relative; overflow: hidden; padding: 30px 0 10px; cursor: grab; touch-action: pan-y; user-select: none; }
.pv-car.dragging { cursor: grabbing; }
.pv-track { position: relative; display: flex; gap: 22px; width: max-content; transition: transform 0.7s var(--ease); will-change: transform; }
.pv-car.dragging .pv-track { transition: none; }
.pv-card { width: 300px; flex: none; padding: 12px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); opacity: 0.55; transform: scale(0.86) rotate(-2deg); transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), box-shadow 0.7s; }
.pv-card:nth-child(even) { transform: scale(0.86) rotate(2deg); }
.pv-card.is-on { opacity: 1; transform: none; box-shadow: var(--shadow-lg); }
.pv-card .meta { display: flex; justify-content: space-between; margin-top: 10px; padding: 0 4px; font-size: 11px; font-weight: 700; color: var(--muted-2); }
.pv-card .meta span:last-child { color: var(--mint); }
.pv-car-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.pv-car-ctrl button { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); cursor: pointer; transition: transform 0.25s var(--ease), border-color 0.2s; }
.pv-car-ctrl button:hover { border-color: #cfc4ff; transform: translateY(-2px); }
.pv-car-ctrl svg { width: 20px; height: 20px; }
.pv-dots { display: flex; gap: 6px; }
.pv-dots i { width: 8px; height: 8px; border-radius: 99px; background: #dcd7ee; transition: width 0.4s var(--ease), background 0.4s; }
.pv-dots i.on { width: 26px; background: var(--brand); }

/* ---------- How it works ---------- */
.pv-steps { position: relative; display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pv-steps::before { position: absolute; top: 34px; right: 12%; left: 12%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #8f73ff, #dd2a7b, #f58529, #8f73ff); background-size: 300% 100%; content: ''; animation: flowLine 6s linear infinite; }
@keyframes flowLine { to { background-position: 300% 0; } }
.pv-step { position: relative; padding: 0 6px; text-align: center; }
.pv-step .num { position: relative; z-index: 1; display: grid; width: 68px; height: 68px; margin: 0 auto; place-items: center; border-radius: 22px; background: #fff; box-shadow: var(--shadow); color: var(--brand); animation: stepPop 8s infinite; }
.pv-step:nth-child(2) .num { animation-delay: 2s; }
.pv-step:nth-child(3) .num { animation-delay: 4s; }
.pv-step:nth-child(4) .num { animation-delay: 6s; }
@keyframes stepPop { 0%, 100% { background: #fff; color: var(--brand); transform: none; } 5%, 20% { background: linear-gradient(135deg, #8f73ff, #dd2a7b); color: #fff; transform: translateY(-6px) scale(1.06); } }
.pv-step .num svg { width: 28px; height: 28px; }
.pv-step h3 { margin-top: 18px; font-size: 18px; font-weight: 800; }
.pv-step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); }
.bt { position: relative; overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.bt:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.bt h3 { font-size: 19px; font-weight: 800; }
.bt p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.bt .lbl { display: inline-flex; margin-bottom: 10px; padding: 4px 10px; border-radius: 99px; background: var(--brand-soft); font-size: 11.5px; font-weight: 800; color: var(--brand-deep); }
.bt.big { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #1d1236, #0c0919); color: #fff; }
.bt.big p { color: #c9c3e6; }
.bt.big .lbl { background: rgba(255, 255, 255, 0.1); color: #e9e3ff; }
.bt.wide { grid-column: span 2; }
.bt .vis { margin-top: 18px; }
.bt.big .vis { display: grid; align-items: center; gap: 18px; grid-template-columns: 1fr 1fr; }
.from-to { display: grid; gap: 10px; }
.from-to .src { padding: 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.06); font-size: 13px; }
.from-to .src b { display: block; color: #fff; }
.from-to .src small { color: #b9b2d9; }
.from-to .arrow-dn { justify-self: center; width: 2px; height: 26px; background: linear-gradient(#8f73ff, #dd2a7b); position: relative; }
.from-to .arrow-dn::after { position: absolute; bottom: -2px; left: 50%; width: 9px; height: 9px; border-right: 2px solid #dd2a7b; border-bottom: 2px solid #dd2a7b; content: ''; transform: translateX(-50%) rotate(45deg); }
.bt .ticket { display: flex; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg, #fff1e6, #ffe0c2); }
.bt .ticket .l { display: grid; width: 74px; place-items: center; border-right: 2px dashed rgba(224, 106, 31, 0.4); font-size: 22px; font-weight: 800; color: #e06a1f; }
.bt .ticket .r { padding: 10px 12px; font-size: 12.5px; }
.bt .ticket .r b { display: block; font-size: 14px; }
.bt .days { display: grid; gap: 5px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.bt .days span { display: grid; height: 38px; place-items: center; border-radius: 10px; background: var(--bg-2); font-size: 11px; font-weight: 800; color: var(--muted); }
.bt .days span.post { background: var(--brand); color: #fff; animation: dayPulse 3s infinite; }
.bt .days span.off { background: #fff1f2; color: #e11d48; text-decoration: line-through; }
@keyframes dayPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(108, 76, 245, 0.4); } 50% { box-shadow: 0 0 0 6px rgba(108, 76, 245, 0); } }
.bt .kit { display: flex; align-items: center; gap: 10px; }
.bt .kit .sw { display: flex; }
.bt .kit .sw i { width: 34px; height: 34px; margin-left: -8px; border: 3px solid #fff; border-radius: 50%; animation: swPop 5s infinite; }
.bt .kit .sw i:first-child { margin-left: 0; }
.bt .kit .sw i:nth-child(2) { animation-delay: 0.2s; }
.bt .kit .sw i:nth-child(3) { animation-delay: 0.4s; }
.bt .kit .sw i:nth-child(4) { animation-delay: 0.6s; }
@keyframes swPop { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-6px); } }
.bt .kit .aa { margin-left: auto; font-family: Georgia, serif; font-size: 34px; font-weight: 700; color: #7c2d12; }
.bt .sched { display: grid; gap: 8px; }
.bt .sched .row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 700; }
.bt .sched .time { position: relative; display: inline-block; width: 70px; height: 20px; }
.bt .sched .time span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 8px; background: var(--brand); font-size: 11.5px; color: #fff; }
.bt .sched .time .t2 { opacity: 0; animation: tSwap 6s infinite; }
.bt .sched .time .t1 { animation: tSwapOut 6s infinite; }
@keyframes tSwap { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tSwapOut { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
.bt .appr { display: flex; align-items: center; gap: 10px; }
.bt .appr .pv-btn { position: relative; width: 150px; height: 44px; border-radius: 12px; background: var(--brand); font-size: 14px; font-weight: 800; color: #fff; animation: approve 6s infinite; }
.bt .appr .pv-btn span { position: absolute; inset: 0; display: grid; place-items: center; }
.bt .appr .pv-btn .a2 { opacity: 0; animation: swapIn 6s infinite; }
.bt .appr .pv-btn .a1 { animation: swapOut 6s infinite; }
.bt .appr small { color: var(--muted); }

/* ---------- Guardrails strip ---------- */
.pv-guard { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pv-guard div { display: flex; gap: 12px; padding: 18px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.pv-guard svg { width: 22px; height: 22px; flex: none; color: #a78bfa; }
.pv-guard b { display: block; font-size: 15px; color: #fff; }
.pv-guard small { font-size: 13px; color: #b9b2d9; }

/* ---------- Final CTA ---------- */
.pv-cta { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px); border-radius: 32px; background: var(--night); color: #fff; text-align: center; }
.pv-cta::before { position: absolute; inset: -30%; background: radial-gradient(35% 40% at 20% 30%, rgba(221, 42, 123, 0.45), transparent 70%), radial-gradient(35% 40% at 80% 70%, rgba(108, 76, 245, 0.5), transparent 70%); content: ''; animation: meshMove 14s ease-in-out infinite alternate; }
.pv-cta > * { position: relative; }
.pv-cta .h2 { max-width: 760px; margin: 0 auto; }
.pv-cta .lead { max-width: 600px; margin: 14px auto 0; color: #c9c3e6; }
.pv-cta .hero-actions { justify-content: center; }
.pv-cta .btn-primary { background: #fff; color: var(--brand-deep); }
.pv-cta .btn-ghost { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .pv-hero .container { grid-template-columns: 1fr; text-align: center; }
  .pv-hero .lead { margin-left: auto; margin-right: auto; }
  .pv-hero .hero-actions, .pv-trust { justify-content: center; }
  .pv-note.n1 { left: 4%; }
  .pv-note.n2 { right: 2%; }
  .pv-note.n3 { left: 8%; }
  .pv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .pv-steps::before { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-guard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pv-stage { min-height: 520px; }
  .pv-phone { width: 260px; height: 510px; }
  .pv-note { display: none; }
  .pv-note.n2 { display: flex; top: auto; right: auto; bottom: -6px; left: 50%; translate: -50% 0; white-space: nowrap; }
  .pv-card { width: 260px; }
  .pv-track { gap: 14px; }
  .pv-steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bt.big, .bt.wide { grid-column: auto; grid-row: auto; }
  .bt.big .vis { grid-template-columns: 1fr; }
  .pv-guard { grid-template-columns: 1fr; }
  .pv-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-feed { animation: none; }
}

.bt .cap-type { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.bt .cap-type .typed { display: inline-block; overflow: hidden; max-width: 100%; white-space: nowrap; vertical-align: bottom; border-right: 2px solid var(--brand); animation: type 7s steps(46) infinite, caret 0.8s step-end infinite; }
.bt .cap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bt .cap-tags span { padding: 4px 10px; border-radius: 99px; background: var(--bg-2); font-size: 12px; font-weight: 700; color: var(--brand-deep); }
