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

:root {
    --blue: #2A7FFF;
    --dark: #000000;
    --cream: #FFFBFE;
}

html {
    scroll-behavior: smooth;
}

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

/* The theme's block-flow layout adds margin-block-start to every top-level
   element in the content area (except the first child) — that landed right
   between our sticky nav and the hero as a visible gap. Zero it out on all
   of this page's own top-level sections regardless of theme spacing tokens. */
.pva-nav,
.pva-hero,
.pva-capabilities,
.pva-honesty,
.pva-about,
.pva-cta,
.pva-sticky-bottom {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* 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) — our sections are also
   direct children of .entry-content, so they get caught by it too. Reassert
   with matching !important + higher specificity (doubled class) instead of
   depending on that snippet knowing about this plugin. */
.pva-nav.pva-nav { background: var(--dark) !important; }
.pva-hero.pva-hero {
    background: var(--dark) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}
.pva-capabilities.pva-capabilities { background: var(--cream) !important; }
.pva-honesty.pva-honesty { background: var(--dark) !important; }
.pva-about.pva-about { background: var(--cream) !important; }
.pva-cta.pva-cta { background: var(--dark) !important; }

/* ═══════════════════════ STICKY NAV ═══════════════════════ */

.pva-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: var(--dark);
    box-sizing: border-box;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pva-logo {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-decoration: none;
}

.pva-logo-dot {
    color: var(--blue);
}

.pva-nav-cta {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    background: var(--blue);
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pva-nav-cta:hover {
    background: #1a6ef0;
    transform: translateY(-1px);
}

/* ═══════════════════════ HERO ═══════════════════════ */

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

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

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

.pva-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(38px, 6vw, 68px);
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    line-height: 1.08;
}

.pva-hero-sub {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    max-width: 640px;
    margin: 0 auto;
}

/* ── Icon-flow strip — the hero's visual, foreshadows the capability grid ── */

.pva-hero-flow {
    margin: 56px auto 0;
    max-width: 720px;
    width: 100%;
    box-sizing: border-box;
}

.pva-flow-line {
    position: relative;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin: 0 20px 22px;
}

.pva-flow-pulse {
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5aa3ff;
    box-shadow: 0 0 10px 2px rgba(42, 127, 255, 0.6);
    transform: translate(-50%, -50%);
    animation: pva-flow-travel 3.2s linear infinite;
}

.pva-flow-pulse--2 {
    animation-delay: 1.6s;
}

@keyframes pva-flow-travel {
    0%   { left: 0%;   opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.pva-flow-icons {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.pva-flow-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
}

.pva-flow-icon svg {
    width: 26px;
    height: 26px;
    color: rgba(255, 255, 255, 0.55);
}

.pva-flow-icon span {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

.pva-hero-cta {
    display: inline-block;
    margin-top: 44px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 13px 28px;
    border-radius: 8px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pva-hero-cta:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

.pva-scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.5));
}

@media (max-width: 700px) {
    .pva-flow-icon span {
        display: none;
    }
}

@media (max-width: 560px) {
    .pva-nav {
        padding: 0 20px;
    }
}

/* ═══════════════════════ SHARED SECTION SHELL ═══════════════════════ */

.pva-section-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 100px 24px;
    box-sizing: border-box;
}

.pva-eyebrow {
    display: block;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

.pva-eyebrow--light {
    color: #7fb1ff;
}

.pva-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--dark);
    letter-spacing: -0.01em;
    margin: 0 0 56px;
    line-height: 1.15;
    max-width: 640px;
}

/* ═══════════════════════ CAPABILITY GRID ═══════════════════════ */

.pva-capabilities {
    background: var(--cream);
}

.pva-cap-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pva-cap-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pva-cap-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pva-cap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.pva-cap-visual {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 127, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 22px;
    color: var(--blue);
}

.pva-icon {
    width: 36px;
    height: 36px;
}

.pva-cap-label {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.pva-cap-line {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.6);
    margin: 10px 0 0;
}

/* ── The hub-and-tools card — reused/expanded from the fork's hero visual.
   This is the featured card: full-width banner, row layout, bigger visual —
   "expanded" per the brief, not just an equal-sized fourth grid tile. ── */

.pva-cap-card--hub {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 32px;
}

.pva-cap-visual--hub {
    position: relative;
    flex: 0 0 46%;
    width: auto;
    aspect-ratio: 16 / 9;
    height: auto;
    background: #05070c;
    border-radius: 14px;
    margin-bottom: 0;
    overflow: hidden;
}

.pva-cap-hub-text {
    flex: 1 1 auto;
}

.pva-cap-hub-text .pva-cap-label {
    font-size: 24px;
}

.pva-cap-hub-text .pva-cap-line {
    font-size: 16px;
    max-width: 420px;
}

.pva-hub-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.pva-tool-badge {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    z-index: 2;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
}

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

.pva-tool-badge--lg {
    width: 50px;
    height: 50px;
    border-radius: 13px;
}

.pva-tool-hub {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    z-index: 3;
    box-shadow: 0 0 0 1px rgba(42, 127, 255, 0.4), 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 28px rgba(42, 127, 255, 0.35);
}

@media (max-width: 780px) {
    .pva-cap-row {
        grid-template-columns: 1fr;
    }
    .pva-cap-card--hub {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }
    .pva-cap-visual--hub {
        flex: 0 0 auto;
        width: 100%;
    }
    .pva-cap-hub-text .pva-cap-line {
        max-width: none;
    }
}

/* ═══════════════════════ HONESTY ═══════════════════════ */

.pva-honesty {
    background: var(--dark);
}

.pva-honesty-inner {
    text-align: center;
}

.pva-honesty-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(26px, 3.6vw, 38px);
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 auto 28px;
    max-width: 720px;
}

.pva-honesty-line {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    max-width: 620px;
    margin: 0 auto 14px;
}

/* ═══════════════════════ ABOUT ═══════════════════════ */

.pva-about {
    background: var(--cream);
}

.pva-about-inner {
    display: flex;
    gap: 56px;
    align-items: center;
}

.pva-about-photo {
    flex: 0 0 260px;
    width: 260px;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

.pva-about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pva-about-text {
    flex: 1 1 auto;
}

.pva-about-text .pva-section-title {
    margin-bottom: 20px;
}

.pva-about-line {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
    max-width: 520px;
    margin: 0 0 14px;
}

.pva-about-line:last-child {
    margin-bottom: 0;
}

@media (max-width: 680px) {
    .pva-about-inner {
        flex-direction: column;
        text-align: center;
    }
    .pva-about-line {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ═══════════════════════ FINAL CTA ═══════════════════════ */

.pva-cta {
    background: var(--dark);
}

.pva-cta-inner {
    text-align: center;
}

.pva-cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(32px, 4.4vw, 46px);
    color: #ffffff;
    margin: 0 0 18px;
}

.pva-cta-sub {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto 40px;
}

.pva-cta-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 620px;
    margin: 0 auto;
}

.pva-cta-input {
    flex: 1 1 220px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    padding: 15px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    box-sizing: border-box;
}

.pva-cta-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.pva-cta-input:focus {
    outline: none;
    border-color: var(--blue);
}

.pva-cta-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='1.6'%3E%3Cpath d='M5 8l5 5 5-5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 40px;
    cursor: pointer;
}

.pva-cta-select:invalid {
    color: rgba(255, 255, 255, 0.4);
}

.pva-cta-select option {
    color: #000000;
    background: #ffffff;
}

.pva-cta-button {
    flex: 0 0 auto;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 32px;
    border-radius: 10px;
    border: none;
    background: var(--blue);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pva-cta-button:hover {
    background: #1a6ef0;
    transform: translateY(-1px);
}

.pva-cta-button:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

.pva-cta-status {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    color: #7fb1ff;
    margin: 20px 0 0;
    min-height: 20px;
}

.pva-cta-status.pva-cta-status--error {
    color: #ff8a8a;
}

@media (max-width: 480px) {
    .pva-cta-form {
        flex-direction: column;
    }
    .pva-cta-button {
        width: 100%;
    }
}

/* ═══════════════════════ MOBILE STICKY CTA ═══════════════════════ */
/* Thumb-reach primary CTA on small screens — desktop already has the sticky
   nav CTA, this covers the mobile-specific case per the conversion data. */

.pva-sticky-bottom {
    display: none;
}

@media (max-width: 680px) {
    .pva-sticky-bottom {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(6px);
        box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
        box-sizing: border-box;
    }

    .pva-sticky-bottom-btn {
        display: block;
        width: 100%;
        text-align: center;
        font-family: 'DM Sans', system-ui, sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: #ffffff;
        text-decoration: none;
        background: var(--blue);
        padding: 14px;
        border-radius: 10px;
        box-sizing: border-box;
    }

    /* keep the bottom bar from covering the final CTA form itself */
    .pva-cta {
        padding-bottom: 76px;
    }
}
