/* PharmaTALKS extensions — sections added/replaced from the full course spec */

:root {
    --ph-primary: #0e415b;
    --ph-primary-dark: #0a3547;
    --ph-secondary: #e13732;
    --ph-secondary-dark: #b8241f;
    --ph-text: #1f2937;
    --ph-muted: #64748b;
    --ph-bg-soft: #f8f9fa;
    --ph-border: rgba(14, 65, 91, 0.1);
}

.ph-section {
    padding: 5rem 0;
}

.ph-section.ph-alt {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.ph-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.ph-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ph-secondary);
    margin-bottom: 0.75rem;
}

.ph-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--ph-primary);
    margin: 0 0 0.75rem;
    letter-spacing: -0.5px;
}

.ph-header p {
    font-size: 1.05rem;
    color: var(--ph-muted);
    margin: 0;
    line-height: 1.6;
}

/* ===== What is PharmaTALKS Split Section ===== */
.ph-what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    padding: 0 1rem;
}

@media (max-width: 900px) {
    .ph-what-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.ph-what-left {
    text-align: left;
}

.ph-what-left .ph-header {
    text-align: left;
    margin: 0 0 1.5rem 0;
    max-width: 100%;
}

.ph-what-left .ph-oneliner {
    text-align: left;
    margin: 1.5rem 0 0 0;
    max-width: 100%;
}

.ph-float-right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-end;
}

.ph-float-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0,0,0,0.02);
    width: 85%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ph-float-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Staggering effect similar to floating UI panels */
.ph-float-card:nth-child(1) { align-self: flex-start; transform: rotate(-1deg); }
.ph-float-card:nth-child(2) { align-self: flex-end; transform: rotate(1deg) translateX(1rem); margin-top: -1rem; }
.ph-float-card:nth-child(3) { align-self: flex-start; transform: rotate(-0.5deg) translateX(1.5rem); margin-top: -0.5rem; }
.ph-float-card:nth-child(4) { align-self: flex-end; transform: rotate(1.5deg); margin-top: -1rem; }

@media (max-width: 600px) {
    .ph-float-card {
        width: 100%;
        align-self: center !important;
        margin: 0 !important;
        transform: none !important;
    }
    .ph-float-card:nth-child(n) {
        transform: none !important;
        margin: 0 !important;
    }
}

.ph-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(225, 55, 50, 0.1);
    color: var(--ph-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ph-float-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ph-primary);
    margin: 0 0 0.35rem 0;
    letter-spacing: 0.2px;
}

.ph-float-text p {
    font-size: 0.9rem;
    color: var(--ph-muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== 4 Pillars grid (Legacy hidden if needed) ===== */
.ph-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ph-pillar {
    background: #ffffff;
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.ph-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(14, 65, 91, 0.12);
}

.ph-pillar::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ph-secondary), var(--ph-secondary-dark));
}

.ph-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(225, 55, 50, 0.12);
    color: var(--ph-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.ph-pillar h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ph-primary);
    margin: 0 0 0.5rem;
    letter-spacing: 0.3px;
}

.ph-pillar p {
    font-size: 0.92rem;
    color: var(--ph-muted);
    line-height: 1.55;
    margin: 0;
}

/* ===== One-liner differentiator ===== */
.ph-oneliner {
    max-width: 900px;
    margin: 2.5rem auto 0;
    padding: 1.75rem 2rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ph-primary);
    font-style: italic;
    /* 3D styling similar to FAQs */
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ph-oneliner:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 1);
}

/* ===== Academic Team cards ===== */
.ph-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 992px) {
    .ph-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ph-team-grid {
        grid-template-columns: 1fr;
    }
}

.ph-team-card {
    background: #fff;
    border: 1px solid var(--ph-border);
    border-radius: 18px;
    padding: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ph-team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(14, 65, 91, 0.12);
}

.ph-team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ph-primary), var(--ph-primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.ph-team-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ph-primary);
    margin: 0 0 0.2rem;
}

.ph-team-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ph-secondary);
    margin: 0 0 0.6rem;
}

.ph-team-creds {
    font-size: 0.75rem;
    color: var(--ph-muted);
    font-style: italic;
    margin: 0 0 0.85rem;
    line-height: 1.5;
}

.ph-team-bio {
    font-size: 0.82rem;
    color: var(--ph-text);
    line-height: 1.6;
    margin: 0;
}

/* ===== Audience + Focus grid ===== */
.ph-audience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.85rem;
    max-width: 1120px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.ph-audience-item {
    background: #fff;
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    padding: 1rem 1.1rem 1rem 2.75rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--ph-text);
    line-height: 1.5;
}

.ph-audience-item::before {
    content: "✓";
    position: absolute;
    left: 0.9rem;
    top: 1rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ph-secondary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Who Is It For (Bento Grid) ===== */
.ph-audience-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.ph-bento-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
}

.ph-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(14, 65, 91, 0.08);
}

/* Card placements */
.ph-bento-card.tall {
    grid-row: span 2;
    justify-content: flex-end;
}
.ph-bento-card.medium {
    grid-row: span 1;
    justify-content: flex-end;
}

/* Graphic area inside the card */
.ph-bento-card .bento-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 52%;
    display: block;
    pointer-events: none;
    z-index: 1;
}

.ph-bento-card.tall .bento-graphic {
    height: 58%;
}

.ph-bento-card .bento-graphic::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #ffffff);
    z-index: 2;
}

.ph-bento-card .bento-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.ph-bento-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ph-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.ph-bento-card p {
    font-size: 0.9rem;
    color: var(--ph-text);
    margin: 0;
    line-height: 1.55;
}

.bento-img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
    border: none;
    transition: transform 0.4s ease;
}

.ph-bento-card:hover .bento-img {
    transform: scale(1.05);
}

/* Specific Card Styling */
.bento-card-1 .bento-graphic { /* Optional background behind image */ }
.bento-card-2 .bento-graphic { }
.bento-card-3 .bento-graphic { }
.bento-card-4 .bento-graphic { }
.bento-card-5 .bento-graphic { }

.bento-card-6 {
    background: linear-gradient(135deg, rgba(10,40,65,1) 0%, rgba(14,65,91,1) 100%);
    color: #ffffff;
    align-items: flex-start;
    justify-content: space-between;
}
.ph-bento-card.bento-card-6 h4 {
    color: #ffffff;
}
.ph-bento-card.bento-card-6 p {
    color: rgba(255,255,255,0.85);
}
.bento-card-6 .bento-graphic {
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent 70%);
}
.bento-card-6 .bento-graphic::after {
    display: none;
}

.bento-card-6 .btn-dark-bento {
    margin-top: 1.25rem;
    padding: 0.6rem 1.25rem;
    background: #000;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}
.bento-card-6 .btn-dark-bento:hover { background: #333; }

.bento-card-7 .bento-graphic { }

/* Responsive adjustments */
@media (max-width: 992px) {
    .ph-audience-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card-3 {
        grid-column: span 2;
        grid-row: span 1;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    .bento-card-3 .bento-graphic { padding-bottom: 0; right: 0; left: auto; width: 50%; justify-content: flex-end; padding-right: 2rem; }
}

@media (max-width: 650px) {
    .ph-audience-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .ph-bento-card.tall, .ph-bento-card.medium, .bento-card-3 {
        grid-row: span 1;
        grid-column: span 1;
        min-height: 250px;
        flex-direction: column;
    }
    .bento-card-3 .bento-graphic { width: 100%; justify-content: center; padding: 0 0 50% 0; }
}

.ph-focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1120px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.ph-focus-card {
    background: #fff;
    border: 1px solid var(--ph-border);
    border-radius: 14px;
    padding: 1.25rem 1.25rem 1.25rem 3.25rem;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ph-focus-card:hover {
    transform: translateY(-3px);
    border-color: rgba(225, 55, 50, 0.35);
}

.ph-focus-card .ph-focus-icon {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    font-size: 1.35rem;
    line-height: 1;
}

.ph-focus-card h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ph-primary);
    margin: 0 0 0.35rem;
}

.ph-focus-card p {
    font-size: 0.88rem;
    color: var(--ph-muted);
    margin: 0;
    line-height: 1.55;
}

.ph-subheading {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ph-primary);
    margin: 3rem 0 0.5rem;
}

/* ===== 7 advantages (Bento Mosaic) ===== */
.ph-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ph-advantage {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ph-advantage:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 1);
}

@media (min-width: 993px) {
    .ph-advantage:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .ph-advantage:nth-child(2) { grid-column: span 2; }
    .ph-advantage:nth-child(3) { grid-column: span 1; }
    .ph-advantage:nth-child(4) { grid-column: span 1; }
    .ph-advantage:nth-child(5) { grid-column: span 1; }
    .ph-advantage:nth-child(6) { grid-column: span 1; }
    .ph-advantage:nth-child(7) { grid-column: span 2; }
    
    .ph-advantage:nth-child(1) .ph-advantage-title { font-size: 1.35rem; gap: 1rem; margin-bottom: 1.5rem; }
    .ph-advantage:nth-child(1) .ph-adv-icon { width: 60px; height: 60px; font-size: 1.8rem; }
    .ph-advantage:nth-child(1) p { font-size: 1.05rem; line-height: 1.75; }
}

@media (max-width: 992px) {
    .ph-advantages {
        grid-template-columns: repeat(2, 1fr);
    }
    .ph-advantage:nth-child(1) { grid-column: span 2; }
    .ph-advantage:nth-child(7) { grid-column: span 2; }
}

@media (max-width: 600px) {
    .ph-advantages {
        grid-template-columns: 1fr;
    }
    .ph-advantage:nth-child(1),
    .ph-advantage:nth-child(7) {
        grid-column: span 1;
    }
}

.ph-advantage:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(14, 65, 91, 0.08);
}

.ph-advantage-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ph-primary);
    margin: 0 0 1.2rem;
}

.ph-advantage-title .ph-adv-icon {
    font-size: 1.3rem;
    background: linear-gradient(135deg, rgba(82, 192, 185, 0.15), rgba(14, 65, 91, 0.05));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ph-advantage p {
    font-size: 0.95rem;
    color: var(--ph-text);
    line-height: 1.65;
    margin: 0;
}

/* ===== Comparison table ===== */
.ph-compare-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: auto;
}

.ph-compare {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.04),
        0 4px 10px rgba(0, 0, 0, 0.02);
    min-width: 700px;
    border-style: hidden;
}

.ph-compare th, .ph-compare td {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ph-compare thead th {
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1.5rem 1.25rem;
    text-align: left;
    border-top: none;
}

.ph-compare thead th:nth-child(1) {
    background: #ffffff;
    color: var(--ph-primary);
    border-left: none;
}

.ph-compare thead th:nth-child(2) {
    background: linear-gradient(135deg, var(--ph-primary), var(--ph-primary-dark));
    color: #ffffff;
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    position: relative;
    box-shadow: 0 4px 15px rgba(14, 65, 91, 0.15);
    border: none;
}

.ph-compare thead th:nth-child(3) {
    background: #f8fafc;
    color: #4b5563;
    text-align: center;
    border-right: none;
}

.ph-compare tbody td {
    padding: 1.25rem 1.25rem;
    font-size: 0.95rem;
    vertical-align: middle;
    line-height: 1.5;
}

.ph-compare tbody tr:nth-child(even) td:nth-child(1),
.ph-compare tbody tr:nth-child(even) td:nth-child(3) {
    background-color: rgba(0, 0, 0, 0.015);
}

.ph-compare tbody td:first-child {
    font-weight: 600;
    color: var(--ph-primary);
    border-left: none;
}

.ph-compare tbody td:nth-child(2) {
    background: rgba(14, 65, 91, 0.03);
    color: var(--ph-primary);
    text-align: left;
    padding-left: 2.5rem;
    font-weight: 600;
    border-left: 2px solid rgba(14, 65, 91, 0.1);
    border-right: 2px solid rgba(14, 65, 91, 0.1);
}

.ph-compare tbody td:nth-child(3) {
    color: #6b7280;
    text-align: left;
    padding-left: 2.5rem;
    border-right: none;
}

.ph-compare tbody tr:last-child td {
    border-bottom: none;
}

.ph-compare tbody td .ph-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    margin-right: 0.5rem;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

.ph-compare tbody td .ph-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f3f4f6;
    color: #9ca3af;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    margin-right: 0.5rem;
}

.ph-diff3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2.5rem auto 0;
    padding: 0 1rem;
}

.ph-diff3-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ph-diff3-item:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 1);
}

.ph-diff3-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ph-secondary), #d93832);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(225, 55, 50, 0.25);
}

.ph-diff3-item p {
    margin: 0;
    color: var(--ph-primary);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ===== How program works ===== */
.ph-how-intro {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ph-text);
}

.ph-how-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    max-width: 1120px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.ph-how-feature {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 1),
        inset 0 -2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.ph-how-feature:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 1);
}

.ph-how-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}

.ph-how-feature .feature-text {
    flex-grow: 1;
}

.ph-how-feature .feature-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ph-primary);
}

.ph-how-feature .feature-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ph-muted);
}

.ph-how-feature .feature-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--ph-muted);
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ph-how-feature:hover .feature-arrow {
    opacity: 1;
    color: var(--ph-secondary);
    transform: translate(2px, -2px);
}

/* =========================================================================
   7. STEP-BY-STEP PROCESS (WAVY TIMELINE / STAGGERED CARDS UI)
   ========================================================================= */
.ph-process-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
}

/* Base styling for Grid */
.ph-steps-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Wavy line behind the cards */
.ph-process-line {
    position: absolute;
    top: 50%;
    left: 2%;
    width: 96%;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(56, 189, 248, 0.1) 0%, 
        rgba(56, 189, 248, 0.8) 50%, 
        rgba(56, 189, 248, 0.1) 100%);
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* Single Step Card Container */
.ph-step-card {
    background: #fff;
    border: 1px solid var(--ph-border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.ph-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 32px rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
}

/* Stagger up and down */
.ph-step-card.step-up {
    margin-bottom: 3rem;
    margin-top: 0;
}

.ph-step-card.step-down {
    margin-top: 3rem;
    margin-bottom: 0;
}

/* Big faint background number */
.ph-step-bg-num {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(56, 189, 248, 0.05);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.ph-step-card:hover .ph-step-bg-num {
    color: rgba(56, 189, 248, 0.1);
    transform: scale(1.05);
}

/* Icon Container */
.ph-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(2, 132, 199, 0.1));
    color: var(--ph-primary);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

/* Text Content */
.ph-step-content {
    position: relative;
    z-index: 1;
}

.ph-step-content h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ph-text);
}

.ph-step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ph-text-light);
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .ph-steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .ph-step-card.step-up, .ph-step-card.step-down {
        margin: 0;
    }
    .ph-process-line {
        display: none; /* Hide line on wrapped grid */
    }
}

@media (max-width: 640px) {
    .ph-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== Final CTA Section ===== */
.ph-final-cta {
    background: linear-gradient(135deg, var(--ph-primary) 0%, #0a2e42 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ph-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(225, 55, 50, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.ph-final-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ph-final-cta .ph-eyebrow {
    color: var(--ph-secondary);
    margin-bottom: 1rem;
}

.ph-final-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.ph-highlight {
    color: var(--ph-secondary);
}

.ph-final-cta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 2.5rem;
}

.ph-final-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.ph-final-cta-buttons .ph-cta-final {
    min-width: 210px;
}

.ph-final-cta-buttons .ph-cta-final .inner {
    padding: 13px 26px;
    white-space: nowrap;
}

/* Keep Final CTA buttons static (no hover animation) */
.ph-final-cta-buttons .ph-cta-final,
.ph-final-cta-buttons .ph-cta-final::before,
.ph-final-cta-buttons .ph-cta-final .inner {
    transition: none !important;
}

.ph-final-cta-buttons .ph-cta-final:not(.btn-3d-dark):hover {
    transform: none !important;
    background: linear-gradient(135deg, rgba(235, 75, 70, 0.9), rgba(190, 30, 25, 0.95)) !important;
    box-shadow:
        0 15px 35px -5px rgba(225, 55, 50, 0.5),
        0 6px 15px -2px rgba(225, 55, 50, 0.4),
        inset 0 4px 6px rgba(255, 255, 255, 0.5),
        inset 0 -6px 10px rgba(120, 10, 10, 0.6),
        inset 0 2px 15px rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-bottom-color: rgba(225, 55, 50, 0.8) !important;
}

.ph-final-cta-buttons .ph-cta-final.btn-3d-dark:hover {
    transform: none !important;
    background: linear-gradient(135deg, rgba(20, 80, 110, 0.9), rgba(12, 55, 75, 0.95)) !important;
    box-shadow:
        0 15px 35px -5px rgba(14, 65, 91, 0.5),
        0 6px 15px -2px rgba(14, 65, 91, 0.4),
        inset 0 4px 6px rgba(255, 255, 255, 0.4),
        inset 0 -6px 10px rgba(5, 20, 30, 0.7),
        inset 0 2px 15px rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-bottom-color: rgba(14, 65, 91, 0.8) !important;
}

.ph-final-cta-buttons .ph-cta-final:hover::before {
    opacity: 0.6 !important;
}

.ph-final-cta-buttons .ph-cta-final:hover .inner {
    transform: none !important;
}

@media (max-width: 640px) {
    .ph-final-cta {
        padding: 3.5rem 0;
    }

    .ph-final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ph-final-cta-buttons .ph-cta-final {
        width: 100%;
        max-width: 320px;
    }

    .ph-final-cta-buttons .ph-cta-final .inner {
        width: 100%;
        justify-content: center;
        white-space: normal;
        line-height: 1.25;
    }
}
. p h - b a d g e s   { 
         b a c k g r o u n d :   r g b a ( 1 4 ,   6 5 ,   9 1 ,   0 . 7 ) ; 
         b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ; 
         b o r d e r - r a d i u s :   1 . 5 r e m ; 
         p a d d i n g :   2 r e m   3 r e m   2 r e m   2 r e m ; 
         d i s p l a y :   f l e x ; 
         f l e x - d i r e c t i o n :   c o l u m n ; 
         g a p :   1 r e m ; 
         c l i p - p a t h :   p o l y g o n ( 0   0 ,   9 3 %   0 ,   1 0 0 %   5 0 % ,   9 3 %   1 0 0 % ,   0   1 0 0 % ) ; 
         b o x - s h a d o w :   0   1 0 p x   3 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 3 ) ; 
         c o l o r :   w h i t e ; 
 } 
 
 . p h - b a d g e - i t e m   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   f l e x - s t a r t ; 
         g a p :   1 r e m ; 
         f o n t - s i z e :   1 r e m ; 
         l i n e - h e i g h t :   1 . 4 ; 
 } 
 
 . p h - b a d g e - i c o   { 
         f o n t - s i z e :   1 . 5 r e m ; 
         f l e x - s h r i n k :   0 ; 
 } 
 
 

.ph-badges {
    background: rgba(14, 65, 91, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    clip-path: polygon(0 0, 93% 0, 100% 50%, 93% 100%, 0 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
}
.ph-badge-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.4;
}
.ph-badge-ico {
    font-size: 1.5rem;
    flex-shrink: 0;
}
