:root {
    --ph-green: #57f357;
    --ph-green-deep: #1abc47;
    --ph-violet: #a78bfa;
    --ph-bg: #070809;
    --ph-panel: #101214;
    --ph-line: rgba(255, 255, 255, 0.09);
    --ph-muted: rgba(255, 255, 255, 0.62);
}

html {
    scroll-behavior: smooth;
}

body.ph-page {
    overflow-x: hidden;
    background: var(--ph-bg);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.ph-page *,
.ph-page *::before,
.ph-page *::after {
    box-sizing: border-box;
}

.ph-page main {
    position: relative;
    z-index: 1;
}

.ph-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.ph-section {
    position: relative;
    padding: 112px 0;
}

.ph-heading {
    max-width: 760px;
    margin-bottom: 54px;
}

.ph-heading--center {
    margin-inline: auto;
    text-align: center;
}

.ph-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--ph-green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ph-heading h2,
.ph-demo__content h2,
.ph-dashboard__content h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.55rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.ph-heading h2 span,
.ph-demo__content h2 span,
.ph-dashboard__content h2 span,
.ph-cta h2 span {
    color: var(--ph-green);
}

.ph-heading p,
.ph-demo__content > p,
.ph-dashboard__content > p {
    margin: 20px 0 0;
    color: var(--ph-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.ph-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

.ph-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Hero */
.ph-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 142px 0 90px;
    overflow: hidden;
}

.ph-hero::before {
    position: absolute;
    width: 780px;
    height: 780px;
    top: -320px;
    right: -170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(87, 243, 87, 0.13), transparent 68%);
    content: '';
    pointer-events: none;
}

.ph-hero::after {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    content: '';
    pointer-events: none;
}

.ph-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
    gap: 72px;
    align-items: center;
}

.ph-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 9px 14px;
    border: 1px solid rgba(87, 243, 87, 0.18);
    border-radius: 999px;
    background: rgba(87, 243, 87, 0.06);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ph-kicker__dot,
.ph-live__dot {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--ph-green);
    box-shadow: 0 0 14px var(--ph-green);
    animation: ph-pulse 1.4s ease-in-out infinite alternate;
}

.ph-hero h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(2.75rem, 5.1vw, 5.2rem);
    font-weight: 850;
    line-height: 0.99;
    letter-spacing: -0.065em;
}

.ph-hero h1 span {
    display: inline;
    background: linear-gradient(100deg, #82ff82, #39d987 60%, #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ph-hero__lead {
    max-width: 670px;
    margin: 27px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.72;
}

.ph-hero__actions,
.ph-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.ph-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    font: 800 0.88rem/1 'Montserrat', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ph-button svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.ph-button:hover {
    transform: translateY(-2px);
}

.ph-button--primary {
    background: linear-gradient(180deg, #72ff72, #2ecb47);
    box-shadow: 0 14px 38px rgba(46, 203, 71, 0.21);
    color: #061006;
}

.ph-button--ghost {
    border-color: var(--ph-line);
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
}

.ph-button--ghost:hover {
    border-color: rgba(87, 243, 87, 0.32);
    background: rgba(87, 243, 87, 0.06);
}

.ph-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.74rem;
    font-weight: 650;
}

.ph-hero__facts span::before {
    margin-right: 8px;
    color: var(--ph-green);
    content: '✓';
}

.ph-hero__visual {
    position: relative;
    min-height: 580px;
}

.ph-visual__halo {
    position: absolute;
    inset: 8% 3% 0;
    border-radius: 44% 56% 40% 60%;
    background: radial-gradient(circle at 50% 35%, rgba(87,243,87,.25), rgba(87,243,87,.03) 48%, transparent 72%);
    filter: blur(18px);
}

.ph-visual__image {
    position: absolute;
    inset: 28px 16px 30px 42px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 36px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.ph-visual__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ph-visual__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 6, 6, 0.78), transparent 45%), linear-gradient(120deg, rgba(4,6,6,.2), transparent);
}

.ph-analysis,
.ph-live {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(10, 13, 14, 0.88);
    box-shadow: 0 18px 48px rgba(0,0,0,.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ph-analysis {
    min-width: 282px;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 17px;
}

.ph-analysis--quality {
    top: 82px;
    left: -8px;
}

.ph-analysis--offer {
    right: -20px;
    bottom: 150px;
}

.ph-analysis__icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: none;
    place-items: center;
    border-radius: 12px;
    font-weight: 900;
}

.ph-analysis__icon--green { background: rgba(87,243,87,.12); color: var(--ph-green); }
.ph-analysis__icon--violet { background: rgba(167,139,250,.13); color: var(--ph-violet); }
.ph-analysis span:nth-child(2) { display: grid; gap: 4px; }
.ph-analysis b { font-size: .76rem; }
.ph-analysis small { color: rgba(255,255,255,.48); font-size: .66rem; }
.ph-analysis strong { margin-left: auto; color: var(--ph-green); font-size: .9rem; }

.ph-live {
    right: 20px;
    bottom: 62px;
    left: 68px;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 15px;
    color: rgba(255,255,255,.68);
    font-size: .68rem;
    font-weight: 700;
}

.ph-wave {
    display: flex;
    height: 22px;
    align-items: center;
    gap: 3px;
    margin-left: auto;
}

.ph-wave i {
    width: 2px;
    height: 35%;
    border-radius: 4px;
    background: var(--ph-green);
    animation: ph-wave 800ms ease-in-out infinite alternate;
}

.ph-wave i:nth-child(2n) { animation-delay: -200ms; height: 70%; }
.ph-wave i:nth-child(3n) { animation-delay: -400ms; height: 100%; }

/* Cards and process */
.ph-pains,
.ph-capabilities,
.ph-faq {
    background: #0a0b0d;
}

.ph-pains__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ph-card,
.ph-feature,
.ph-rollout__grid article {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ph-line);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}

.ph-card {
    min-height: 265px;
    padding: 30px;
}

.ph-card::after {
    position: absolute;
    width: 170px;
    height: 170px;
    right: -80px;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(87,243,87,.06);
    filter: blur(8px);
    content: '';
}

.ph-card__number {
    display: block;
    margin-bottom: 52px;
    color: var(--ph-green);
    font-size: .72rem;
    font-weight: 800;
}

.ph-card h3,
.ph-step h3,
.ph-feature h3,
.ph-rollout__grid h3 {
    margin: 0 0 12px;
    font-size: 1.12rem;
    font-weight: 750;
    letter-spacing: -.025em;
}

.ph-card p,
.ph-step p,
.ph-feature p,
.ph-rollout__grid p {
    margin: 0;
    color: var(--ph-muted);
    font-size: .88rem;
    line-height: 1.65;
}

.ph-process {
    overflow: hidden;
}

.ph-process__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ph-step {
    position: relative;
    padding: 0 4px;
}

.ph-step__top {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.ph-step__top span {
    display: grid;
    width: 44px;
    height: 44px;
    flex: none;
    place-items: center;
    border: 1px solid rgba(87,243,87,.3);
    border-radius: 50%;
    background: #0d1710;
    color: var(--ph-green);
    font-size: .8rem;
    font-weight: 850;
}

.ph-step__top i {
    width: 100%;
    height: 1px;
    margin-left: 12px;
    background: linear-gradient(90deg, rgba(87,243,87,.3), transparent);
}

.ph-step:last-child .ph-step__top i { display: none; }

/* Transcript demo */
.ph-demo {
    background: radial-gradient(circle at 80% 40%, rgba(87,243,87,.07), transparent 35%), #0a0b0d;
}

.ph-demo__grid,
.ph-dashboard__grid {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: 76px;
    align-items: center;
}

.ph-checklist {
    display: grid;
    gap: 13px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ph-checklist li {
    display: flex;
    gap: 11px;
    color: rgba(255,255,255,.75);
    font-size: .84rem;
    line-height: 1.5;
}

.ph-checklist li span {
    color: var(--ph-green);
    font-weight: 900;
}

.ph-transcript,
.ph-dashboard__panel {
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 26px;
    background: rgba(14, 17, 18, .93);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.ph-transcript {
    padding: 24px;
}

.ph-transcript__header,
.ph-dashboard__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.42);
    font-size: .72rem;
}

.ph-transcript__header > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.83);
}

.ph-transcript__wave {
    display: flex;
    height: 60px;
    align-items: center;
    gap: 7px;
    margin: 18px 0;
    padding: 0 10px;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(87,243,87,.04);
}

.ph-transcript__wave span {
    width: 100%;
    height: var(--wave, 35%);
    border-radius: 3px;
    background: linear-gradient(to top, rgba(87,243,87,.35), var(--ph-green));
}

.ph-transcript__wave span:nth-child(2n) { --wave: 68%; }
.ph-transcript__wave span:nth-child(3n) { --wave: 90%; }
.ph-transcript__wave span:nth-child(4n) { --wave: 48%; }

.ph-dialogue {
    display: grid;
    gap: 10px;
}

.ph-dialogue p {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 13px;
    background: rgba(255,255,255,.025);
}

.ph-dialogue b { color: var(--ph-green); font-size: .68rem; }
.ph-dialogue span { color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.55; }

.ph-transcript__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.ph-transcript__tags span {
    padding: 7px 9px;
    border: 1px solid rgba(87,243,87,.14);
    border-radius: 8px;
    background: rgba(87,243,87,.055);
    color: rgba(155,255,155,.78);
    font-size: .61rem;
    font-weight: 700;
}

.ph-score {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--ph-line);
    color: rgba(255,255,255,.52);
    font-size: .72rem;
}

.ph-score strong {
    color: var(--ph-green);
    font-size: 1.6rem;
}

.ph-score small { color: rgba(255,255,255,.35); font-size: .7rem; }

/* Capabilities */
.ph-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ph-feature {
    min-height: 225px;
    padding: 28px;
    transition: border-color 180ms ease, transform 180ms ease;
}

.ph-feature:hover {
    border-color: rgba(87,243,87,.23);
    transform: translateY(-3px);
}

.ph-feature__icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 31px;
    place-items: center;
    border: 1px solid rgba(87,243,87,.15);
    border-radius: 13px;
    background: rgba(87,243,87,.06);
    color: var(--ph-green);
    font-size: 1rem;
    font-weight: 900;
}

/* Dashboard */
.ph-dashboard__grid {
    grid-template-columns: 1.1fr .9fr;
}

.ph-dashboard__panel {
    padding: 27px;
}

.ph-dashboard__bar {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ph-line);
}

.ph-dashboard__bar span { color: #fff; font-weight: 750; }

.ph-dashboard__metrics {
    display: grid;
    gap: 19px;
    padding: 28px 0 20px;
}

.ph-dashboard__metrics > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px 16px;
    color: rgba(255,255,255,.64);
    font-size: .75rem;
}

.ph-dashboard__metrics strong { color: #fff; }
.ph-dashboard__metrics i {
    position: relative;
    grid-column: 1 / -1;
    height: 6px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255,255,255,.055);
}
.ph-dashboard__metrics i::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--value);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ph-green-deep), var(--ph-green));
    content: '';
}

.ph-dashboard__note {
    padding: 13px 15px;
    border: 1px solid rgba(167,139,250,.15);
    border-radius: 12px;
    background: rgba(167,139,250,.06);
    color: rgba(255,255,255,.66);
    font-size: .7rem;
}

.ph-dashboard__note span { margin-right: 7px; color: var(--ph-violet); }

.ph-dashboard__list {
    display: grid;
    gap: 11px;
    margin-top: 25px;
}

.ph-dashboard__list span {
    color: rgba(255,255,255,.72);
    font-size: .8rem;
}

.ph-dashboard__list span::before {
    margin-right: 10px;
    color: var(--ph-green);
    content: '—';
}

/* Rollout, FAQ and CTA */
.ph-rollout {
    border-top: 1px solid var(--ph-line);
}

.ph-rollout__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ph-rollout__grid article {
    padding: 26px;
}

.ph-rollout__grid b {
    display: block;
    margin-bottom: 34px;
    color: var(--ph-green);
    font-size: .69rem;
    text-transform: uppercase;
}

.ph-faq__list {
    width: min(850px, 100%);
    margin-inline: auto;
}

.ph-faq__item {
    border-bottom: 1px solid var(--ph-line);
}

.ph-faq__item button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
    font: 700 .96rem/1.4 'Montserrat', sans-serif;
    text-align: left;
}

.ph-faq__item button i {
    display: grid;
    width: 30px;
    height: 30px;
    flex: none;
    place-items: center;
    border: 1px solid var(--ph-line);
    border-radius: 50%;
    color: var(--ph-green);
    font-style: normal;
    transition: transform 220ms ease;
}

.ph-faq__item > div {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 260ms ease;
}

.ph-faq__item > div p {
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--ph-muted);
    font-size: .86rem;
    line-height: 1.7;
}

.ph-faq__item.is-open > div {
    grid-template-rows: 1fr;
}

.ph-faq__item.is-open > div p {
    padding-bottom: 25px;
}

.ph-faq__item.is-open button i {
    transform: rotate(45deg);
}

.ph-cta {
    padding: 115px 0;
    background: radial-gradient(circle at 50% 0%, rgba(87,243,87,.12), transparent 52%), #080a09;
}

.ph-cta__inner {
    padding: 64px;
    border: 1px solid rgba(87,243,87,.16);
    border-radius: 30px;
    background: rgba(255,255,255,.025);
    text-align: center;
}

.ph-cta h2 {
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    line-height: 1.06;
    letter-spacing: -.055em;
}

.ph-cta p {
    max-width: 680px;
    margin: 20px auto 0;
    color: var(--ph-muted);
    font-size: .95rem;
    line-height: 1.7;
}

.ph-cta__actions {
    justify-content: center;
}

@keyframes ph-pulse {
    to { opacity: .45; transform: scale(.84); }
}

@keyframes ph-wave {
    to { height: 25%; opacity: .45; }
}

@media (max-width: 1040px) {
    .ph-hero__grid { grid-template-columns: 1fr 440px; gap: 34px; }
    .ph-hero h1 { font-size: clamp(2.7rem, 5.8vw, 4.5rem); }
    .ph-process__grid { grid-template-columns: repeat(3, 1fr); row-gap: 42px; }
    .ph-step:nth-child(3) .ph-step__top i { display: none; }
    .ph-demo__grid, .ph-dashboard__grid { gap: 42px; }
}

@media (max-width: 820px) {
    .ph-section { padding: 82px 0; }
    .ph-hero { min-height: auto; padding: 120px 0 72px; }
    .ph-hero__grid, .ph-demo__grid, .ph-dashboard__grid { grid-template-columns: 1fr; }
    .ph-hero__visual { width: min(560px, 100%); min-height: 520px; margin-inline: auto; }
    .ph-pains__grid, .ph-capabilities__grid { grid-template-columns: repeat(2, 1fr); }
    .ph-rollout__grid { grid-template-columns: repeat(2, 1fr); }
    .ph-demo__content, .ph-dashboard__content { max-width: 680px; }
    .ph-dashboard__panel { order: 2; }
    .ph-dashboard__content { order: 1; }
}

@media (max-width: 560px) {
    .ph-shell { width: min(100% - 28px, 1180px); }
    .ph-section { padding: 68px 0; }
    .ph-heading { margin-bottom: 38px; }
    .ph-hero { padding: 102px 0 56px; }
    .ph-kicker { font-size: .62rem; letter-spacing: .04em; }
    .ph-hero h1 { font-size: clamp(2.45rem, 12.5vw, 3.5rem); }
    .ph-hero__lead { font-size: .94rem; }
    .ph-hero__actions, .ph-cta__actions { display: grid; grid-template-columns: 1fr; }
    .ph-button { width: 100%; }
    .ph-hero__facts { display: grid; gap: 9px; }
    .ph-hero__visual { min-height: 430px; margin-top: 10px; }
    .ph-visual__image { inset: 18px 0 24px; border-radius: 25px; }
    .ph-analysis { min-width: 0; max-width: 230px; padding: 11px 12px; }
    .ph-analysis--quality { top: 42px; left: -4px; }
    .ph-analysis--offer { right: -4px; bottom: 107px; }
    .ph-analysis strong { display: none; }
    .ph-live { right: 12px; bottom: 38px; left: 12px; }
    .ph-pains__grid, .ph-capabilities__grid, .ph-process__grid, .ph-rollout__grid { grid-template-columns: 1fr; }
    .ph-step__top i, .ph-step:nth-child(3) .ph-step__top i { display: block; }
    .ph-step:last-child .ph-step__top i { display: none; }
    .ph-card { min-height: 225px; }
    .ph-card__number { margin-bottom: 34px; }
    .ph-transcript, .ph-dashboard__panel { padding: 17px; border-radius: 20px; }
    .ph-transcript__tags { display: grid; }
    .ph-feature { min-height: 205px; }
    .ph-cta { padding: 72px 0; }
    .ph-cta__inner { padding: 43px 18px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ph-reveal { opacity: 1; transform: none; transition: none; }
    .ph-kicker__dot, .ph-live__dot, .ph-wave i { animation: none; }
}
