@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=DM+Sans:wght@400;500;700&display=swap');

html, body {
    overflow-x: hidden;
    margin: 0;
}

.pvf-hero {
    width: 100%;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    min-height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Some environments carry a site-wide snippet that force-transparents any
   direct child of .entry-content with !important (written for other pages'
   own full-bleed sections, e.g. .pv-hero/.pv-video) — this section is also a
   direct child of .entry-content, so it gets caught by it too. Reassert with
   matching !important + higher specificity (doubled class) instead of
   depending on that snippet knowing about this plugin. */
.pvf-hero.pvf-hero {
    background: #000000 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* WP admin bar adds 32px to html when logged in — without this the hero overflows the viewport vertically */
body.admin-bar .pvf-hero {
    min-height: calc(100vh - 32px);
}

.pvf-logo {
    position: absolute;
    top: 32px;
    left: 40px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-decoration: none;
    z-index: 4;
}

.pvf-logo-dot {
    color: #2A7FFF;
}

.pvf-hero-inner {
    max-width: 1320px;
    width: 100%;
    text-align: center;
}

.pvf-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(42px, 7vw, 76px);
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 64px;
    line-height: 1.05;
}

.pvf-fork-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.pvf-fork-option {
    position: relative;
    flex: 1 1 400px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    background: #0a0e14;
    padding: 20px 20px 28px;
    box-sizing: border-box;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pvf-fork-option:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ── Visual panel (no dark tint — image/canvas shown clean) ── */
.pvf-fork-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #05070c;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pvf-fork-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Browser-window chrome (Webdesign panel only) — makes clear it's a website ── */
.pvf-browser-chrome {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #e4e4e4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pvf-browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.pvf-browser-dot:nth-child(1) { background: #ff5f57; }
.pvf-browser-dot:nth-child(2) { background: #febc2e; }
.pvf-browser-dot:nth-child(3) { background: #28c840; }

.pvf-browser-screen {
    flex: 1 1 auto;
    min-height: 0; /* without this, flex column + height:100% img overflows and gets clipped */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #05070c;
}

.pvf-fork-bg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Tool icon badges anchored inside the automation panel (ring around the hub) ── */
.pvf-tool-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    z-index: 2;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
}

.pvf-tool-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Messenger / Gmail / Instagram / WhatsApp — bumped up, Calendar stays default size */
.pvf-tool-badge--lg {
    width: 76px;
    height: 76px;
    border-radius: 18px;
}

/* Claude — the hub, bigger and glowing, everything else feeds into it */
.pvf-tool-hub {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    z-index: 3;
    box-shadow: 0 0 0 1px rgba(42, 127, 255, 0.4), 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 40px rgba(42, 127, 255, 0.35);
}

.pvf-fork-option:hover .pvf-fork-bg-img {
    transform: scale(1.04);
}

/* ── Caption below the panel (plain, untinted background) ── */
.pvf-fork-text {
    padding-top: 20px;
    text-align: left;
}

.pvf-fork-label {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.pvf-fork-hook {
    display: block;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin-top: 10px;
}

@media (max-width: 640px) {
    .pvf-fork-row {
        flex-direction: column;
        align-items: stretch;
    }
    .pvf-fork-option {
        max-width: none;
    }
}
