/* /platform: the Gen-Z look shared with the homepage (genz.css), plus the two dropdowns, role cards, the
   login-creation flows and the video grid. */
.pf-page { background: #fff; }
/* Section rhythm and the centred intro line (the homepage keeps these inline). */
.pf-page .gz-section { padding: 4rem 0; scroll-margin-top: 80px; }
.pf-page .gz-lead-center { text-align: center; max-width: 60ch; margin: -0.5rem auto 2rem; color: var(--text-secondary); }

/* ------------------------------ Hero ------------------------------ */
.pf-hero { padding: 7rem 0 3rem; }
.pf-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 1.6rem; }
.pf-pick-btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.4rem; border-radius: 999px; background: #fff; color: #0f172a; border: 2px solid #0f172a; box-shadow: 4px 4px 0 #0f172a; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.pf-pick-btn strong { font-weight: 900; }
.pf-pick-btn i { font-size: 0.8rem; opacity: 0.6; }
.pf-pick-btn:hover, .pf-pick-btn:focus-visible { transform: translate(-2px, -3px); box-shadow: 7px 7px 0 #0f172a; background: #fdf2f8; outline: none; }
.pf-hero-note { margin: 1.4rem 0 0; font-weight: 700; font-size: 0.92rem; }
.pf-hero-note a { color: var(--text-secondary); text-decoration: none; border-bottom: 2px dashed rgba(100, 116, 139, 0.5); padding-bottom: 2px; }
.pf-hero-note a:hover { color: #dc2626; border-color: #dc2626; }
.pf-hero-note i { color: #ef4444; margin-right: 0.3rem; }

/* ------------------------------ Dropdowns ------------------------------ */
.pf-page .pf-main { padding: 1.5rem 0 2rem; }
.pf-wrap { display: grid; gap: 1.4rem; }
.pf-drop { background: #fff; border: 2px solid #0f172a; border-radius: 26px; box-shadow: 6px 6px 0 #0f172a; overflow: hidden; scroll-margin-top: 90px; }
.pf-drop-head { width: 100%; display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.5rem; background: linear-gradient(135deg, #fff 0%, #fdf2f8 60%, #ecfeff 100%); border: 0; cursor: pointer; text-align: left; font: inherit; color: #0f172a; }
.pf-drop-head:focus-visible { outline: 3px solid rgba(124, 58, 237, 0.5); outline-offset: -4px; }
.pf-drop-emoji { flex: none; width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; background: var(--gradient-vibrant); box-shadow: 3px 3px 0 #0f172a; border: 2px solid #0f172a; }
.pf-drop-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.pf-drop-title b { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.pf-drop-title small { color: var(--text-secondary); font-size: 0.92rem; font-weight: 600; }
.pf-drop-chev { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #0f172a; color: #fff; transition: transform .25s ease; }
.pf-drop.is-open .pf-drop-chev { transform: rotate(180deg); }
.pf-drop-panel { padding: 0.4rem 1.5rem 1.6rem; }
.pf-drop-panel[hidden] { display: none; }

.pf-step { padding: 1.6rem 0 0.4rem; }
.pf-step + .pf-step { border-top: 2px dashed rgba(15, 23, 42, 0.14); margin-top: 1.4rem; }
.pf-step-head { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1.1rem; }
.pf-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-vibrant); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 2px solid #0f172a; margin-top: 0.1rem; }
.pf-step-head h3 { font-size: 1.2rem; font-weight: 900; letter-spacing: -0.01em; margin: 0 0 0.2rem; }
.pf-step-head p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; max-width: 62ch; }

/* 1. Logins: the highlighted block */
.pf-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.9rem; padding: 1.1rem; border-radius: 22px; background: linear-gradient(135deg, #fdf2f8, #f5f3ff 50%, #ecfeff); border: 2px dashed rgba(124, 58, 237, 0.35); }
.pf-role { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.1rem 1.1rem 1rem; background: #fff; border: 2px solid #0f172a; border-radius: 18px; box-shadow: 4px 4px 0 #0f172a; transition: transform .2s ease, box-shadow .2s ease; }
.pf-role:hover { transform: translate(-2px, -3px); box-shadow: 7px 7px 0 #0f172a; }
.pf-role-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.pf-role-emoji { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: #fdf2f8; border: 2px solid #0f172a; }
.pf-role-badge { padding: 0.22rem 0.6rem; border-radius: 999px; background: #0f172a; color: #fff; font-family: inherit; font-weight: 800; font-size: 0.68rem; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.pf-role h4 { margin: 0.2rem 0 0; font-size: 1.08rem; font-weight: 900; }
.pf-role p { margin: 0; flex: 1; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; }
.pf-role-btn { margin-top: 0.4rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.6rem 0.9rem; border-radius: 999px; font-weight: 800; font-size: 0.85rem; text-decoration: none; text-align: center; }
a.pf-role-btn { background: var(--gradient-vibrant); color: #fff; box-shadow: 0 8px 18px -8px rgba(168, 85, 247, 0.7); transition: transform .18s ease; }
a.pf-role-btn:hover { transform: translateY(-2px); }
.pf-role-btn.is-soon { background: transparent; color: #64748b; border: 2px dashed rgba(100, 116, 139, 0.5); font-weight: 700; }

/* Fill the rows evenly: five logins as 3 + 2, four logins in one row. */
@media (min-width: 801px) {
    .pf-roles[data-count="5"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .pf-roles[data-count="5"] .pf-role { grid-column: span 2; }
    .pf-roles[data-count="5"] .pf-role:nth-child(n+4) { grid-column: span 3; }
    .pf-roles[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 2. Structure */
.pf-path { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0; }
.pf-path li { display: inline-flex; align-items: center; }
.pf-path li span { padding: 0.65rem 1.1rem; border-radius: 14px; background: #fff; border: 2px solid #0f172a; box-shadow: 3px 3px 0 #0f172a; font-weight: 800; }
.pf-path li:nth-child(1) span { background: #fef9c3; } .pf-path li:nth-child(2) span { background: #dcfce7; } .pf-path li:nth-child(3) span { background: #fce7f3; } .pf-path li:nth-child(4) span { background: #dbeafe; }
.pf-path li:not(:last-child)::after { content: '→'; margin: 0 0.7rem; font-weight: 900; color: #ec4899; font-size: 1.2rem; }

/* 3. Two ways to create logins */
.pf-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pf-way { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.2rem; border-radius: 20px; border: 2px solid #0f172a; box-shadow: 4px 4px 0 #0f172a; background: #fff; }
.pf-way:nth-child(1) { background: linear-gradient(160deg, #fff, #fef9c3 160%); }
.pf-way:nth-child(2) { background: linear-gradient(160deg, #fff, #dcfce7 160%); }
.pf-way-top { display: flex; align-items: center; gap: 0.8rem; }
.pf-way-emoji { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 2px solid #0f172a; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.pf-way-top small { display: block; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #db2777; }
.pf-way-top h4 { margin: 0; font-size: 1.2rem; font-weight: 900; }
.pf-way-lead { margin: 0; font-weight: 700; }
.pf-flow { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0.5rem; flex: 1; }
.pf-flow li { counter-increment: s; position: relative; padding: 0.55rem 0.8rem 0.55rem 2.6rem; background: rgba(255, 255, 255, 0.85); border: 2px solid rgba(15, 23, 42, 0.12); border-radius: 12px; font-size: 0.92rem; font-weight: 600; }
.pf-flow li::before { content: counter(s); position: absolute; left: 0.55rem; top: 50%; transform: translateY(-50%); width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #0f172a; color: #fff; font-family: inherit; font-weight: 800; font-size: 0.78rem; line-height: 1.5rem; text-align: center; }
.pf-watch { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem; border-radius: 999px; background: #fff; border: 2px solid #0f172a; color: #0f172a; font-weight: 800; font-size: 0.85rem; text-decoration: none; transition: transform .18s ease; }
.pf-watch i { color: #ef4444; }
.pf-watch:hover { transform: translateY(-2px); }

/* 4. Profile */
.pf-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.9rem; }
.pf-profile-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; border-radius: 16px; background: #f8fafc; border: 2px solid rgba(15, 23, 42, 0.1); }
.pf-profile-item > span { flex: none; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; background: #fff; border: 2px solid #0f172a; }
.pf-profile-item b { display: block; font-size: 0.95rem; }
.pf-profile-item small { display: block; color: var(--text-secondary); font-size: 0.82rem; line-height: 1.4; }

/* ------------------------------ Videos ------------------------------ */
.pf-videos { background: linear-gradient(180deg, #fff, #f5f3ff 60%, #fff); }
.pf-vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.pf-video { background: #fff; border: 2px solid #0f172a; border-radius: 20px; box-shadow: 5px 5px 0 #0f172a; overflow: hidden; scroll-margin-top: 100px; display: flex; flex-direction: column; }
.pf-vframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-bottom: 2px solid #0f172a; background: #0f172a; cursor: pointer; overflow: hidden; }
.pf-vframe img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; transition: transform .3s ease; }
.pf-vframe:hover img { transform: scale(1.04); }
.pf-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #ef4444; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; border: 2px solid #0f172a; box-shadow: 3px 3px 0 #0f172a; }
.pf-play .fa-play { margin-left: 3px; }
.pf-vframe.is-soon .pf-play { top: 42%; }
.pf-vframe.is-soon { cursor: default; background: linear-gradient(135deg, #1e1b4b, #4c1d95 55%, #be185d); }
.pf-soon-tag { position: absolute; left: 0.8rem; bottom: 0.7rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: #fef9c3; color: #713f12; font-family: inherit; font-weight: 800; font-size: 0.72rem; line-height: 1; border: 2px solid #0f172a; }
.pf-iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-bottom: 2px solid #0f172a; display: block; background: #000; }
.pf-vtext { padding: 1rem 1.1rem 1.15rem; }
.pf-vtext h3 { margin: 0 0 0.3rem; font-size: 1.02rem; line-height: 1.3; font-weight: 900; }
.pf-vtext p { margin: 0; color: var(--text-secondary); font-size: 0.88rem; }

/* ------------------------------ CTA ------------------------------ */
.pf-page .pf-cta-sec { padding: 1rem 0 4rem; }
.pf-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 28px; color: #fff; background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #3b82f6 100%); box-shadow: 0 30px 60px -20px rgba(168, 85, 247, 0.6); }
.pf-cta h2 { margin: 0 0 0.3rem; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 900; letter-spacing: -0.02em; }
.pf-cta p { margin: 0; opacity: 0.92; }
.pf-cta-btns { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ------------------------------ Small screens ------------------------------ */
@media (max-width: 800px) {
    .pf-ways { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .pf-hero { padding: 5.4rem 0 2rem; }
    .pf-pick { flex-direction: column; align-items: stretch; padding: 0 0.5rem; }
    .pf-pick-btn { justify-content: center; }
    .pf-drop { border-radius: 22px; box-shadow: 4px 4px 0 #0f172a; }
    .pf-drop-head { padding: 1rem 1rem; gap: 0.8rem; }
    .pf-drop-emoji { width: 48px; height: 48px; font-size: 1.6rem; border-radius: 14px; }
    .pf-drop-title small { font-size: 0.82rem; }
    .pf-drop-chev { width: 36px; height: 36px; }
    .pf-drop-panel { padding: 0.2rem 1rem 1.3rem; }
    .pf-roles { padding: 0.8rem; grid-template-columns: 1fr; }
    .pf-path li:not(:last-child)::after { margin: 0 0.45rem; }
    .pf-path li span { padding: 0.5rem 0.8rem; font-size: 0.9rem; }
    .pf-cta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .pf-pick-btn, .pf-role, .pf-watch, .pf-drop-chev, .pf-vframe img { transition: none; }
}
