﻿/* Project Management Page Styles */
:root {
    --pm-primary: #0030DB;
    --pm-accent: #EF4444;
    --pm-bg-light: #F8FAFC;
    --pm-text-dark: #0F172A;
    --pm-text-muted: #64748B;
    --pm-border: #E2E8F0;
    --pm-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.overflow-visible { overflow: visible !important; }

/* Hero Section */
.pm-hero-floating {
    position: relative;
    padding: 210px 0 100px; /* Enhanced top/bottom breathing room */
    background: #fff;
    overflow: visible; /* Allow glows to bleed out if needed */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.pm-hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--pm-border) 1px, transparent 1px),
                      linear-gradient(90deg, var(--pm-border) 1px, transparent 1px);
    background-size: 100px 100px; /* Larger, cleaner grid */
    opacity: 0.3; /* Subtler */
    z-index: 0;
}

.pm-hero-container-rel {
    position: relative;
    padding: 100px 0; /* More internal breathing room */
    min-height: 650px;
    z-index: 10;
    /* Ensure no horizontal scroll but allow widgets to be absolute */
}

/* Central Info - Strictly max 800px to avoid widget hits */
.pm-hero-main-info {
    max-width: 850px; /* Slightly wider for the larger H1 */
    margin: 0 auto;
    position: relative;
    z-index: 5;
    text-align: center;
}

.pm-hero-main-info h1 {
    font-size: 72px; /* Slightly larger for impact */
    font-weight: 800;
    color: var(--pm-text-dark);
    line-height: 1.05;
    margin-bottom: 40px;
    letter-spacing: -2.5px;
}

#typing-text {
    color: var(--pm-primary);
}

.pm-hero-subtitle {
    font-size: 20px;
    color: var(--pm-text-muted);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 45px;
}

.pm-user-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #FFFBEB;
    border: 1px solid #FEF3C7;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #92400E;
}

.pm-user-rating-badge .pm-stars {
    color: #F59E0B;
    display: flex;
    gap: 2px;
}

@keyframes blink-cursor {
    from, to { border-color: transparent }
    50% { border-color: var(--pm-primary) }
}

.text-blue { color: var(--pm-primary); }

.pm-hero-checklist {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 45px;
}

.pm-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--pm-text-dark);
}

.pm-check-item i { color: #10B981; }

.pm-hero-btns {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 80px; /* More space before social proof */
}

.pm-btn-signup, .pm-btn-request {
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pm-btn-signup {
    background: var(--pm-primary);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 48, 219, 0.3);
}

.pm-btn-signup:hover {
    background: #001A72;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 48, 219, 0.4);
}

.pm-btn-request {
    background: #F8FAFC;
    color: var(--pm-text-dark);
    border: 1px solid var(--pm-border);
}

.pm-btn-request:hover { background: #F1F5F9; border-color: #CBD5E1; }

/* Social Proof */
.pm-hero-social-proof {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.pm-proof-label {
    font-size: 12px;
    font-weight: 800;
    color: #94A3B8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.pm-proof-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.pm-proof-item {
    font-size: 17px;
    font-weight: 700;
    color: #475569;
}

.pm-proof-divider {
    width: 1px;
    height: 16px;
    background: #CBD5E1;
}

/* Floating pm-widgets - Strict Outer Spacing */
.pm-widget {
    position: absolute;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--pm-border);
    padding: 24px;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Position them based on container edges (Container is 1400px) */
.pm-w-tl { top: -150px; left: -140px; width: 260px; }
.pm-w-ml { top: 250px; left: -180px; width: 300px; }

.pm-w-tr { top: -110px; right: -140px; width: 270px; }
.pm-w-br { bottom: -0px; right: -120px; width: 280px; }

/* --- REFINED FEATURE MOCKUPS --- */

/* High-Fidelity Image Styles */
.pm-feature-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.pm-viz-mockup {
    height: auto;
    background: #f8fafc;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 48, 219, 0.12), 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--pm-border);
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
}

/* ===== PROJECTS DASHBOARD VISUAL ===== */
.pm-dash {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    border-radius: 18px;
    padding: 22px 20px 16px;
    width: 100%;
    box-sizing: border-box;
}

.pm-dash-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.pm-dash-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.3px;
}

.pm-dash-count {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #94A3B8;
    font-weight: 400;
}

.pm-dash-filters {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.pm-dash-filter {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 8px;
    border: none;
    background: #F1F5F9;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pm-dash-filter.active {
    background: #2563EB;
    color: #fff;
}

.pm-dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pm-dash-card {
    background: #FAFBFC;
    border: 1px solid #E8ECF1;
    border-radius: 12px;
    padding: 14px 12px 12px;
    transition: box-shadow 0.2s ease;
}

.pm-dash-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pm-dash-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.pm-dash-card-name {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
    letter-spacing: -0.1px;
}

.pm-dash-card-company {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #94A3B8;
    font-weight: 400;
    margin-top: 2px;
}

.pm-dash-status-dots {
    display: flex;
    gap: 4px;
    padding-top: 2px;
}

.pm-dot-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.pm-dot-status.blue { background: #2563EB; }
.pm-dot-status.green { background: #10B981; }
.pm-dot-status.orange { background: #F59E0B; }
.pm-dot-status.red { background: #EF4444; }
.pm-dot-status.yellow { background: #F59E0B; }

.pm-dash-progress-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pm-dash-progress-label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #94A3B8;
    font-weight: 400;
    white-space: nowrap;
    min-width: 46px;
}

.pm-dash-progress-bar {
    flex: 1;
    height: 6px;
    background: #E8ECF1;
    border-radius: 10px;
    overflow: hidden;
}

.pm-dash-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease;
}

.pm-dash-progress-pct {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    min-width: 32px;
    text-align: right;
}

.pm-dash-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pm-dash-dates {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    color: #94A3B8;
    font-weight: 400;
}

.pm-dash-tasks {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    color: #64748B;
    font-weight: 500;
}

.pm-dash-avatars {
    display: flex;
    gap: 0;
}

.pm-dash-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-right: -6px;
}

.pm-dash-avatar:last-child {
    margin-right: 0;
}

/* Dashboard responsive */
@media (max-width: 600px) {
    .pm-dash {
        padding: 18px 14px 14px;
    }
    .pm-dash-grid {
        grid-template-columns: 1fr;
    }
    .pm-dash-title {
        font-size: 17px;
    }
}

/* ===== TASKS TABLE VISUAL ===== */
.pm-tasks-table {
    width: 100%;
    overflow-x: auto;
}

.pm-tasks-thead {
    display: flex;
    align-items: center;
    padding: 0 12px;
    margin-bottom: 4px;
    gap: 0;
}

.pm-tasks-thead .pm-tcol {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pm-tcol-task { flex: 2.2; min-width: 0; }
.pm-tcol-project { flex: 1.4; min-width: 0; }
.pm-tcol-board { flex: 0.8; min-width: 0; }
.pm-tcol-assignee { flex: 1.4; min-width: 0; }
.pm-tcol-priority { flex: 0.7; min-width: 0; text-align: center; }

.pm-tasks-tbody {
    display: flex;
    flex-direction: column;
}

.pm-tasks-row {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-bottom: 1px solid #F1F5F9;
    gap: 0;
    transition: background 0.15s;
}

.pm-tasks-row:hover {
    background: #F8FAFC;
}

.pm-tasks-row:last-child {
    border-bottom: none;
}

.pm-tasks-row .pm-tcol {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #334155;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-tasks-row .pm-tcol-task {
    font-weight: 500;
    color: #0F172A;
}

.pm-tasks-row .pm-tcol-project {
    color: #64748B;
    font-size: 11px;
}

.pm-tasks-row .pm-tcol-board {
    color: #94A3B8;
    font-size: 11px;
}

.pm-task-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.pm-task-dot.blue { background: #2563EB; }
.pm-task-dot.green { background: #10B981; }
.pm-task-dot.orange { background: #F59E0B; }

.pm-tbl-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pm-priority-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.pm-priority-badge.critical {
    background: #FEE2E2;
    color: #DC2626;
}

.pm-priority-badge.high {
    background: #FEF3C7;
    color: #D97706;
}

.pm-priority-badge.medium {
    background: #DBEAFE;
    color: #2563EB;
}

.pm-priority-badge.low {
    background: #F1F5F9;
    color: #64748B;
}

/* ===== GANTT / TIMELINE VISUAL ===== */
.pm-gantt {
    width: 100%;
    overflow-x: auto;
}

.pm-gantt-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E8ECF1;
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.pm-gantt-label-col {
    min-width: 180px;
    width: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 4px;
}

.pm-gantt-timeline-col {
    flex: 1;
    display: flex;
    position: relative;
    min-width: 0;
}

.pm-gantt-header .pm-gantt-timeline-col {
    justify-content: space-between;
    padding: 0 4px;
}

.pm-gantt-header .pm-gantt-timeline-col span {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #94A3B8;
    flex: 1;
    text-align: center;
}

.pm-gantt-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F8FAFC;
}

.pm-gantt-row.sub {
    padding: 6px 0;
}

.pm-gantt-row.sub .pm-gantt-label-col {
    padding-left: 28px;
}

.pm-gantt-row:last-child {
    border-bottom: none;
}

.pm-gantt-row .pm-gantt-label-col {
    font-size: 12px;
    font-weight: 400;
    color: #334155;
    text-transform: none;
    letter-spacing: 0;
}

.pm-gantt-expand {
    width: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pm-gantt-project-name {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-gantt-subtask {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #64748B;
    white-space: nowrap;
}

.pm-gantt-avatars {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
}

.pm-dash-avatar.sm {
    width: 20px;
    height: 20px;
    font-size: 8px;
    border-width: 1.5px;
    margin-right: -5px;
}

.pm-gantt-row .pm-gantt-timeline-col {
    position: relative;
    height: 24px;
}

.pm-gantt-bar {
    position: absolute;
    height: 8px;
    border-radius: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.pm-gantt-bar.blue { background: #2563EB; }
.pm-gantt-bar.light-blue { background: #93C5FD; }
.pm-gantt-bar.green { background: #10B981; }
.pm-gantt-bar.orange { background: #F59E0B; }
.pm-gantt-bar.light-orange { background: #FCD34D; }
.pm-gantt-bar.purple { background: #8B5CF6; }

.pm-gantt-milestone {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    line-height: 1;
}

.pm-gantt-bar.blue .pm-gantt-milestone { color: #1E40AF; }
.pm-gantt-bar.orange .pm-gantt-milestone { color: #D97706; }
.pm-gantt-bar.purple .pm-gantt-milestone { color: #6D28D9; }

/* ===== CAPACITY DASHBOARD VISUAL ===== */
.pm-cap-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.pm-cap-card {
    background: #F8FAFC;
    border: 1px solid #E8ECF1;
    border-radius: 10px;
    padding: 14px 12px;
    text-align: left;
}

.pm-cap-card.highlight-green { border-left: 3px solid #10B981; }
.pm-cap-card.highlight-blue { border-left: 3px solid #2563EB; }
.pm-cap-card.highlight-red { border-left: 3px solid #EF4444; }

.pm-cap-card-value {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}

.pm-cap-card-label {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    color: #94A3B8;
    font-weight: 400;
    margin-top: 2px;
}

.pm-cap-section-label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 12px;
}

.pm-cap-table {
    width: 100%;
    overflow-x: auto;
}

.pm-cap-thead {
    display: flex;
    align-items: center;
    padding: 0 8px 8px;
    border-bottom: 1px solid #E8ECF1;
    gap: 0;
}

.pm-cap-thead .pm-cap-col {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pm-cap-col-member { flex: 2; min-width: 0; }
.pm-cap-col-role { flex: 1.4; min-width: 0; }
.pm-cap-col-dept { flex: 1.2; min-width: 0; }
.pm-cap-col-proj { flex: 0.6; min-width: 0; text-align: center; }
.pm-cap-col-tasks { flex: 0.7; min-width: 0; text-align: center; }
.pm-cap-col-cap { flex: 1.2; min-width: 0; }

.pm-cap-tbody {
    display: flex;
    flex-direction: column;
}

.pm-cap-row {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    border-bottom: 1px solid #F1F5F9;
    gap: 0;
    transition: background 0.15s;
}

.pm-cap-row:hover { background: #F8FAFC; }
.pm-cap-row:last-child { border-bottom: none; }

.pm-cap-row .pm-cap-col {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #334155;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-cap-row .pm-cap-col-member {
    font-weight: 500;
    color: #0F172A;
}

.pm-cap-row .pm-cap-col-role,
.pm-cap-row .pm-cap-col-dept {
    color: #64748B;
    font-size: 11px;
}

.pm-cap-row .pm-cap-col-proj,
.pm-cap-row .pm-cap-col-tasks {
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.pm-cap-bar-wrap {
    display: inline-block;
    width: 100%;
    height: 7px;
    background: #E8ECF1;
    border-radius: 10px;
    overflow: hidden;
}

.pm-cap-bar-fill {
    display: block;
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.pm-cap-bar-fill.good { background: #10B981; }
.pm-cap-bar-fill.warning { background: #F59E0B; }
.pm-cap-bar-fill.overload { background: #EF4444; }

/* ===== REPORTS DASHBOARD VISUAL ===== */
.pm-rpt-table {
    width: 100%;
    overflow-x: auto;
}

.pm-rpt-thead {
    display: flex;
    align-items: center;
    padding: 0 8px 8px;
    border-bottom: 1px solid #E8ECF1;
    gap: 0;
}

.pm-rpt-thead .pm-rpt-col {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pm-rpt-col-project { flex: 1.8; min-width: 0; }
.pm-rpt-col-client { flex: 1.4; min-width: 0; }
.pm-rpt-col-status { flex: 0.9; min-width: 0; text-align: center; }
.pm-rpt-col-health { flex: 0.9; min-width: 0; }
.pm-rpt-col-progress { flex: 1.4; min-width: 0; }
.pm-rpt-col-plan { flex: 0.6; min-width: 0; text-align: center; }
.pm-rpt-col-tasks { flex: 0.6; min-width: 0; text-align: center; }

.pm-rpt-tbody {
    display: flex;
    flex-direction: column;
}

.pm-rpt-row {
    display: flex;
    align-items: center;
    padding: 11px 8px;
    border-bottom: 1px solid #F1F5F9;
    gap: 0;
    transition: background 0.15s;
}

.pm-rpt-row:hover { background: #F8FAFC; }
.pm-rpt-row:last-child { border-bottom: none; }

.pm-rpt-row .pm-rpt-col {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #334155;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-rpt-row .pm-rpt-col-project {
    font-weight: 500;
    color: #0F172A;
}

.pm-rpt-row .pm-rpt-col-client {
    color: #64748B;
    font-size: 11px;
}

.pm-rpt-row .pm-rpt-col-tasks {
    justify-content: center;
    color: #64748B;
    font-size: 12px;
}

/* Status Badges */
.pm-status-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.pm-status-badge.active { background: #DCFCE7; color: #16A34A; }
.pm-status-badge.overdue { background: #FEE2E2; color: #DC2626; }
.pm-status-badge.on-hold { background: #FEF3C7; color: #D97706; }
.pm-status-badge.completed { background: #DBEAFE; color: #2563EB; }

/* Health Dots */
.pm-health-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.pm-health-dot.green { background: #10B981; }
.pm-health-dot.orange { background: #F59E0B; }
.pm-health-dot.red { background: #EF4444; }

/* Progress Bar in Reports */
.pm-rpt-bar-wrap {
    display: inline-block;
    width: 60%;
    height: 6px;
    background: #E8ECF1;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.pm-rpt-bar-fill {
    display: block;
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* VS Plan */
.pm-plan-positive { color: #16A34A !important; font-weight: 600 !important; }
.pm-plan-negative { color: #DC2626 !important; font-weight: 600 !important; }
.pm-plan-neutral { color: #64748B !important; font-weight: 500 !important; }

/* Responsive for Capacity & Reports */
@media (max-width: 600px) {
    .pm-cap-summary { grid-template-columns: repeat(2, 1fr); }
    .pm-cap-card-value { font-size: 16px; }
}

/* Old Mockup Styles Removed */

@media (max-width: 1100px) {
    .pm-feature-grid { grid-template-columns: 1fr; gap: 40px; }
    .pm-feature-visual { display: block; order: 2; }
    .pm-viz-mockup { height: auto; }
    .pm-feature-info { text-align: center; max-width: 600px; margin: 0 auto; order: 1; }
    .pm-feature-info h3 { font-size: 32px; }
    .pm-feature-outcome { justify-content: center; text-align: left; }
    .pm-feature-list { display: inline-block; text-align: left; }
}

@media (max-width: 768px) {
    .pm-tabs-nav { 
        justify-content: flex-start; 
        overflow-x: auto; 
        white-space: nowrap; 
        padding-bottom: 5px; 
        gap: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .pm-tabs-nav::-webkit-scrollbar { display: none; }
    
    .pm-tab-btn { 
        padding: 12px 24px; 
        font-size: 14px; 
        width: auto; 
        flex-shrink: 0; 
        justify-content: center; 
    }
    .pm-tab-indicator { display: none; }
    .pm-tab-btn.active::after { 
        content: ""; 
        position: absolute; 
        left: 50%; 
        bottom: 0; 
        width: 40%; 
        height: 3px; 
        background: var(--pm-primary); 
        transform: translateX(-50%);
        border-radius: 2px;
    }
    .pm-feature-info h3 { font-size: 28px; }
    .pm-feature-outcome { flex-direction: column; gap: 10px; padding: 15px; }
    .pm-viz-mockup { height: auto; }
}

/* Enhanced pm-widget Aesthetics - Glassmorphism */
.pm-widget {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08), 
                0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    border: 1px solid rgba(226, 232, 240, 0.5);
    padding: 28px;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-widget:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 90px rgba(0, 48, 219, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

/* Background Accents */
.pm-hero-glow-1 {
    position: absolute;
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 48, 219, 0.08) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.pm-hero-glow-2 {
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

/* Floating Animations - Disabled */
.pm-float-1 { animation: none; }
.pm-float-2 { animation: none; }
.pm-float-3 { animation: none; }

/* Hide/Reposition pm-widgets on smaller screens to prevent overlap */
@media (max-width: 1600px) {
    .pm-w-tl { left: 0px; }
    .pm-w-ml { left: 0px; }
    .pm-w-tr { right: 0px; }
    .pm-w-br { right: 0px; }
}

@media (max-width: 1400px) {
    .pm-widget { position: relative; margin: 20px auto; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: 100% !important; max-width: 400px; }
    .pm-hero-container-rel { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 1100px) {
    .pm-hero-floating { padding: 80px 0; min-height: auto; }
    .pm-hero-main-info { max-width: 100%; text-align: center; }
    .pm-hero-main-info h1 { font-size: 42px; }
    .pm-hero-checklist { justify-content: center; flex-wrap: wrap; }
    .pm-hero-btns { justify-content: center; }
    .pm-hero-social-proof { justify-content: center; }
    
    /* Hide pm-widgets on mobile as they clutter the view */
    .pm-widget { display: none !important; }
}

/* pm-widget Components */
.pm-widget-header {
    font-size: 14px;
    font-weight: 800;
    color: var(--pm-text-dark);
    margin-bottom: 15px;
    text-align: left;
}

/* Board pm-widget */
.pm-task-item-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
}

.pm-tag {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.pm-tag.pm-done { background: #DCFCE7; color: #166534; }
.pm-tag.pm-review { background: #FEF9C3; color: #854D0E; }
.pm-tag.pm-live { background: #DBEAFE; color: #1E40AF; }

/* Blocker pm-widget */
.pm-widget-blocker {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #FFF1F2;
    border-color: #FECDD3;
}

.pm-blocker-icon {
    width: 40px;
    height: 40px;
    background: #EF4444;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.pm-blocker-info strong { display: block; font-size: 14px; color: #991B1B; }
.pm-blocker-info span { font-size: 12px; color: #B91C1C; }

/* Employee Report */
.pm-report-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pm-small-avatar { width: 32px; height: 32px; border-radius: 50%; }

.pm-bar-bg { flex: 1; height: 8px; background: #F1F5F9; border-radius: 4px; }
.pm-bar-fill { height: 100%; border-radius: 4px; }
.pm-bar-fill.pm-blue { background: var(--pm-primary); }
.pm-bar-fill.pm-orange { background: #F59E0B; }

/* Health pm-widget */
.pm-health-meta { margin-bottom: 15px; }
.pm-health-score { font-size: 32px; font-weight: 800; color: #10B981; }
.pm-health-label { font-size: 12px; font-weight: 600; color: #64748B; }
.pm-health-trend { font-size: 13px; font-weight: 700; color: #10B981; }

/* Velocity pm-widget */
.pm-wave-container { height: 40px; margin-bottom: 10px; }
.pm-velocity-val { font-size: 24px; font-weight: 800; color: var(--pm-text-dark); }


/* --- TABBED FEATURES SECTION (WRIKE-INSPIRED) --- */
.pm-features-tabs {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.pm-tabs-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.pm-tabs-header h2 {
    font-size: 52px;
    font-weight: 800;
    color: var(--pm-text-dark);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.pm-tabs-header p {
    font-size: 19px;
    color: var(--pm-text-muted);
    line-height: 1.6;
}

/* Tab Navigation */
.pm-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 80px;
    position: relative;
    border-bottom: 1px solid var(--pm-border);
    padding-bottom: 0;
}

.pm-tab-btn {
    background: transparent;
    border: none;
    padding: 20px 30px;
    font-size: 16px;
    font-weight: 700;
    color: var(--pm-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.pm-tab-btn i {
    font-size: 18px;
    opacity: 0.6;
}

.pm-tab-btn.active {
    color: var(--pm-primary);
}

.pm-tab-btn.active i {
    opacity: 1;
}

.pm-tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--pm-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 10px 10px 0 0;
    z-index: 1;
}

/* Tab Content */
.pm-tabs-content {
    
    position: relative;
}

.pm-tab-pane {
    display: none;
    animation: pm-tab-fade 0.6s ease;
}

.pm-tab-pane.active {
    display: block;
}

@keyframes pm-tab-fade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.pm-feature-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.pm-feature-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--pm-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pm-feature-info h3 {
    font-size: 42px;
    font-weight: 800;
    color: var(--pm-text-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.pm-feature-info p {
    font-size: 18px;
    color: var(--pm-text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.pm-feature-list {
    list-style: none;
    padding: 0;
}

.pm-feature-list li {
    font-size: 16px;
    font-weight: 700;
    color: var(--pm-text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-feature-list li i {
    color: #10B981;
}

/* High-Fidelity Visuals */
.pm-feature-visual {
    position: relative;
}

.pm-viz-wrapper {
    position: relative;
    padding: 10px;
}

.pm-viz-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border: 2px solid rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    z-index: 1;
}

/* .pm-viz-mockup style moved above for core feature images */

.pm-mock-header {
    background: #FAFAFA;
    padding: 20px 30px;
    border-bottom: 1px solid var(--pm-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--pm-text-dark);
}

/* Visual 1: Kanban Removed */
/* Visual 1: Cards Removed */

/* Visual 2: Gantt */
.pm-viz-gantt-detailed {
    padding: 30px;
}

.pm-gantt-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pm-g-row {
    height: 40px;
    background: #F1F5F9;
    border-radius: 8px;
    position: relative;
}

.pm-g-bar {
    position: absolute;
    height: 100%;
    background: var(--pm-primary);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 48, 219, 0.2);
}

.pm-g-bar.purple { background: #8B5CF6; }
.pm-g-bar.orange { background: #F59E0B; }

/* Visual 3: Collaboration */
.pm-viz-collab-feed {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pm-mock-msg {
    padding: 12px 20px;
    background: #F1F5F9;
    border-radius: 16px 16px 16px 4px;
    font-size: 14px;
    max-width: 80%;
}

.pm-mock-msg.user {
    align-self: flex-end;
    background: var(--pm-primary);
    color: #fff;
    border-radius: 16px 16px 4px 16px;
}

.pm-mock-file {
    background: #FFFBEB;
    border: 1px solid #FEF3C7;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #92400E;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Visual 4: Reports */
.pm-viz-reports {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.pm-chart-donut {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--pm-primary) 0% 75%, #E2E8F0 75% 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-chart-donut::after {
    content: "75%";
    position: absolute;
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--pm-text-dark);
}

.pm-stats-stack {
    flex: 1;
}

.pm-stat-row {
    font-size: 16px;
    font-weight: 700;
    color: var(--pm-text-muted);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.pm-stat-row span {
    color: var(--pm-text-dark);
}

/* Visual 5: Alerts Removed */

.pm-notif-toast {
    background: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-left: 4px solid var(--pm-accent);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 14px;
    transform: translateX(-10px);
    opacity: 0;
    animation: pm-toast-slide 0.5s forwards;
}

.pm-notif-toast.orange { border-color: #F59E0B; animation-delay: 0.2s; }

@keyframes pm-toast-slide {
    to { transform: translateX(0); opacity: 1; }
}

/* Footer Section */
.pm-tabs-footer {
    text-align: center;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.pm-btn-primary {
    background: #0030db;
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.pm-btn-primary:hover { transform: scale(1.05); }

.pm-btn-link {
    font-weight: 700;
    color: var(--pm-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1024px) {
    .pm-feature-grid { grid-template-columns: 1fr; gap: 40px; }
    .pm-tabs-nav { flex-wrap: wrap; }
    .pm-viz-circle { width: 300px; height: 300px; }
}

@media (max-width: 768px) {
    .pm-tabs-header h2 { font-size: 36px; }
    .pm-feature-info h3 { font-size: 30px; }
}

/* --- MINIMALIST STATS BANNER --- */
.pm-stats-banner {
    padding: 80px 0;
    background: #0030DB; /* Electric Blue */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.pm-stat-item {
    padding: 0 20px;
    position: relative;
}

.pm-stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.pm-stat-number {
    font-size: 56px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.pm-stat-text {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    max-width: 200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .pm-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
    .pm-stat-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
    .pm-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .pm-stat-item::after { display: none; }
    .pm-stat-number { font-size: 38px; }
    .pm-stat-text { font-size: 14px; }
}

/* ===== AI SOLUTIONS FOR EVERY TEAM ===== */
.pm-ai-solutions {
    padding: 100px 0;
    background: #fff;
}

.pm-ai-header {
    text-align: center;
    margin-bottom: 32px;
}

.pm-ai-header h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.pm-ai-light {
    font-weight: 300;
    color: #94A3B8;
}

.pm-ai-header p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    color: #64748B;
    margin: 0;
}

/* Team Tabs */
.pm-ai-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.pm-ai-tab {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 22px;
    border-radius: 50px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: #334155;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pm-ai-tab:hover {
    border-color: #CBD5E1;
    background: #F8FAFC;
}

.pm-ai-tab.active {
    border-color: #2563EB;
    color: #2563EB;
    background: #fff;
}

/* Content Panes */
.pm-ai-content {
    position: relative;
}

.pm-ai-pane {
    display: none;
    animation: pm-ai-fade 0.35s ease;
}

.pm-ai-pane.active {
    display: block;
}

@keyframes pm-ai-fade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.pm-ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #F8FAFC;
    border-radius: 24px;
    padding: 60px;
}

/* Left Side */
.pm-ai-left h3 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.pm-ai-left p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    color: #64748B;
    line-height: 1.7;
    margin: 0 0 24px;
}

.pm-ai-replaces {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.pm-ai-replaces-label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    letter-spacing: 1px;
}

.pm-ai-replaces i {
    font-size: 16px;
    color: #94A3B8;
}

.pm-ai-checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pm-ai-checks li {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-ai-checks li i {
    color: #10B981;
    font-size: 14px;
    flex-shrink: 0;
}

/* Right Side - Agent Cards */
.pm-ai-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.pm-ai-agent-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #E8ECF1;
    border-radius: 14px;
    padding: 16px 22px;
    width: 100%;
    max-width: 440px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pm-ai-agent-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.pm-ai-agent-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pm-ai-agent-icon i {
    font-size: 16px;
    color: #fff;
}

.pm-ai-agent-card span {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0F172A;
    line-height: 1.4;
}

.pm-ai-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #0F172A;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.2s ease;
}

.pm-ai-explore-btn:hover {
    background: #1E293B;
}

.pm-ai-explore-btn i {
    font-size: 12px;
}

/* AI Solutions Responsive */
@media (max-width: 1024px) {
    .pm-ai-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 32px;
    }
    .pm-ai-left h3 { font-size: 30px; }
    .pm-ai-header h2 { font-size: 34px; }
}

@media (max-width: 768px) {
    .pm-ai-solutions { padding: 60px 0; }
    .pm-ai-grid { padding: 32px 20px; }
    .pm-ai-left h3 { font-size: 26px; }
    .pm-ai-header h2 { font-size: 28px; }
    .pm-ai-agent-card { padding: 14px 16px; }
    .pm-ai-agent-card span { font-size: 13px; }
}

/* ===== CTA SECTION ===== */
.pm-cta-section {
    padding: 80px 0;
    background: #fff;
}

.pm-cta-box {
    position: relative;
    text-align: center;
    background: #0F172A;
    border-radius: 28px;
    padding: 80px 48px;
    overflow: hidden;
}

.pm-cta-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(99, 102, 241, 0.1) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pm-cta-content {
    position: relative;
    z-index: 1;
}

.pm-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #93C5FD;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.pm-cta-badge i {
    color: #FBBF24;
    font-size: 12px;
}

.pm-cta-box h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.pm-cta-box p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    color: #94A3B8;
    margin: 0 auto 36px;
    max-width: 520px;
    line-height: 1.6;
}

.pm-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pm-cta-btn-primary {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #2563EB;
    padding: 16px 38px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pm-cta-btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
}

.pm-cta-btn-primary i {
    font-size: 13px;
}

.pm-cta-btn-secondary {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #CBD5E1;
    background: transparent;
    border: 1.5px solid rgba(148, 163, 184, 0.3);
    padding: 16px 38px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.pm-cta-btn-secondary:hover {
    border-color: rgba(148, 163, 184, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.pm-cta-btn-secondary i {
    font-size: 16px;
}

/* Trust row */
.pm-cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pm-cta-trust-avatars {
    display: flex;
}

.pm-cta-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0F172A;
    margin-right: -7px;
}

.pm-cta-avatar:last-child {
    margin-right: 0;
}

.pm-cta-trust-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: #94A3B8;
}

.pm-cta-trust-text strong {
    color: #FBBF24;
}

@media (max-width: 768px) {
    .pm-cta-box { padding: 48px 24px; border-radius: 20px; }
    .pm-cta-box h2 { font-size: 28px; }
    .pm-cta-box p { font-size: 15px; }
    .pm-cta-actions { flex-direction: column; align-items: center; }
    .pm-cta-btn-primary, .pm-cta-btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
    .pm-cta-glow { width: 300px; height: 300px; }
}

/* --- PREMIUM INTEGRATIONS SECTION --- */
.pm-integrations {
    padding: 140px 0;
    background: #F8FAFC; 
    position: relative;
    overflow: hidden;
}

.pm-integrations-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.pm-integrations-header h2 {
    font-size: 52px;
    font-weight: 800;
    color: var(--pm-text-dark);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.pm-integrations-header p {
    font-size: 19px;
    color: var(--pm-text-muted);
    line-height: 1.6;
}

.pm-integrations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.pm-integration-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: 20px;
    border: 1px solid var(--pm-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.pm-integration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 48, 219, 0.08);
    border-color: rgba(0, 48, 219, 0.2);
}

.pm-ic-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-ic-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pm-ic-info strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: var(--pm-text-dark);
    margin-bottom: 4px;
}

.pm-ic-info span {
    font-size: 13px;
    color: var(--pm-text-muted);
    font-weight: 500;
}

.pm-integrations-footer {
    text-align: center;
    font-weight: 700;
    color: var(--pm-text-muted);
}

.pm-integrations-footer a {
    color: var(--pm-primary);
    text-decoration: none;
    margin-left: 8px;
    border-bottom: 2px solid rgba(0, 48, 219, 0.1);
    transition: all 0.3s ease;
}

.pm-integrations-footer a:hover {
    border-color: var(--pm-primary);
}

/* Integrations Responsive */
@media (max-width: 1200px) {
    .pm-integrations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .pm-integrations { padding: 80px 0; }
    .pm-integrations-header h2 { font-size: 36px; }
    .pm-integrations-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .pm-integration-card { padding: 24px 16px; }
    .pm-ic-logo { width: 48px; height: 48px; }
    .pm-ic-info strong { font-size: 15px; }
}

/* --- CLEAN & PROFESSIONAL PRICING --- */
/* --- HOW IT WORKS --- */
.pm-hiw {
    padding: 100px 0;
    background: #ffffff;
}

.pm-hiw-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

/* Left */
.pm-hiw-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pm-primary) !important;
    margin-bottom: 14px;
}

.pm-hiw-left h2 {
    font-weight: 700;
    color: var(--pm-text-dark);
    margin-bottom: 20px !important;
    line-height: 1.25;
}

.pm-hiw-desc {
    font-size: 15px;
    color: var(--pm-text-muted) !important;
    line-height: 1.8;
    margin-bottom: 36px;
}

.pm-hiw-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--pm-primary) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.pm-hiw-btn:hover {
    background: #0026ad !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 48, 219, 0.2);
}

.pm-hiw-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.pm-hiw-btn:hover i {
    transform: translateX(3px);
}

/* Right - Steps */
.pm-hiw-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pm-hiw-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #F1F5F9;
}

.pm-hiw-step:first-child {
    padding-top: 0;
}

.pm-hiw-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pm-hiw-num {
    flex-shrink: 0;
    font-size: 20px !important;
    font-weight: 800;
    color: var(--pm-primary) !important;
    min-width: 36px;
    padding-top: 2px;
}

.pm-hiw-body h3 {
    font-size: 18px !important;
    font-weight: 700;
    color: var(--pm-text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.pm-hiw-body p {
    font-size: 14px !important;
    color: var(--pm-text-muted) !important;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .pm-hiw-split { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .pm-hiw { padding: 80px 0; }
    .pm-hiw-step { gap: 16px; padding: 20px 0; }
}

/* --- COMPARISON SECTION --- */
.pm-compare {
    padding: 100px 0;
    background: #ffffff;
}

.pm-compare-header {
    text-align: center;
    margin-bottom: 56px;
}

.pm-compare-header h2 {
    font-weight: 700;
    color: var(--pm-text-dark) !important;
    margin-bottom: 16px !important;
}

.pm-compare-highlight {
    color: var(--pm-primary);
}

.pm-compare-header p {
    font-size: 17px;
    color: var(--pm-text-muted) !important;
    max-width: 520px;
    margin: 0 auto;
}

.pm-compare-wrapper {
    overflow-x: auto;
}

.pm-compare-table {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
}

/* Header */
.pm-compare-table thead th {
    padding: 20px 28px;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    vertical-align: middle;
    border-bottom: 2px solid #E2E8F0;
}

th.pm-ct-feature {
    color: var(--pm-text-dark);
    width: 22%;
    background: #F8FAFC;
}

th.pm-ct-old {
    color: var(--pm-text-muted);
    width: 39%;
    background: #F8FAFC;
}

th.pm-ct-jesto {
    color: #ffffff;
    width: 39%;
    background: var(--pm-primary);
    border-radius: 12px 12px 0 0;
}

.pm-ct-logo {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    vertical-align: middle;
    margin-right: 6px;
    background: #ffffff;
    padding: 2px;
}

/* Body */
.pm-compare-table tbody td {
    padding: 18px 28px;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: top;
}

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

.pm-compare-table tbody tr:hover td {
    background: #FAFBFD;
}

.pm-compare-table tbody tr:hover td.pm-ct-jesto {
    background: rgba(0, 48, 219, 0.06);
}

td.pm-ct-feature {
    font-weight: 600;
    color: var(--pm-text-dark);
}

td.pm-ct-old {
    color: var(--pm-text-muted);
}

td.pm-ct-old i {
    color: #EF4444;
    margin-right: 8px;
    font-size: 12px;
}

td.pm-ct-jesto {
    color: var(--pm-text-dark);
    background: rgba(0, 48, 219, 0.03);
    font-weight: 500;
    border-left: 2px solid var(--pm-primary);
}

td.pm-ct-jesto i {
    color: var(--pm-primary);
    margin-right: 8px;
    font-size: 13px;
}

.pm-compare-table tbody tr:last-child td.pm-ct-jesto {
    border-radius: 0 0 12px 0;
}

@media (max-width: 768px) {
    .pm-compare { padding: 80px 0; }
}

/* --- PRICING V2 --- */

/* Billing Switcher */
.pm-billing-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.pm-switcher-track {
    background: #F8FAFC;
    padding: 4px;
    border-radius: 100px;
    display: flex;
    border: 1px solid #E2E8F0;
    position: relative;
}

.pm-switch-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    color: var(--pm-text-muted);
    cursor: pointer;
    border-radius: 100px;
    z-index: 2;
    transition: color 0.3s;
    font-family: 'Ubuntu', sans-serif;
}

.pm-switch-btn.active { color: #fff; }

.pm-switch-btn span {
    font-size: 10px;
    background: rgba(0, 48, 219, 0.1);
    color: var(--pm-primary);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.pm-switch-btn.active span {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.pm-switch-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: var(--pm-primary);
    border-radius: 100px;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Currency Toggle */
.pm-currency-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.pm-curr-btn {
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pm-curr-btn.active {
    background: #0F172A;
    color: #fff;
    border-color: #0F172A;
}

.pm-curr-btn:hover:not(.active) { border-color: #CBD5E1; }

.pm-amount {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pricing-section .section-header.centered {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-section .section-header h2 {
    font-weight: 700;
    margin-bottom: 16px !important;
    color: var(--pm-text-dark);
}

.pricing-section .section-header p {
    color: #475569 !important;
}

.pricing-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    border-top: 1px solid #f1f5f9;
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    background: #f8fafc;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
}

.toggle-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--pm-text-muted);
    transition: all 0.3s ease;
}

.toggle-label.active {
    color: var(--pm-text-dark);
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #E2E8F0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .slider {
    background-color: var(--pm-primary);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.discount-badge {
    background: #10B981;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 6px;
    vertical-align: middle;
}

/* --- PRICING V2 GRID --- */
.pricing-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 32px;
}

.pricing-card-v2 {
    padding: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card-v2:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.pricing-card-v2.featured {
    border: 2px solid var(--pm-primary);
    border-radius: 16px;
    z-index: 2;
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pm-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 3;
}

.card-top {
    padding: 36px 28px 28px;
    border-bottom: 1px solid #f1f5f9;
}

.card-top h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--pm-text-dark);
    margin-bottom: 4px;
}

.plan-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--pm-primary);
    display: block;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.price-main {
    display: flex;
    align-items: baseline;
}

.price-main .currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--pm-text-dark);
}

.price-main .amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--pm-text-dark);
    line-height: 1;
    letter-spacing: -1.5px;
}

.enterprise-label {
    font-size: 28px;
    font-weight: 800;
    color: var(--pm-text-dark);
    letter-spacing: -0.5px;
}

.price-old {
    font-size: 16px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.price-note {
    font-size: 13px;
    color: #475569;
    margin-bottom: 4px;
}

.price-alt {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: var(--pm-primary);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--pm-primary);
}

.btn-pricing:hover {
    background: #0026ad;
    border-color: #0026ad;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 48, 219, 0.25);
}

.btn-pricing.outline {
    background: transparent;
    color: var(--pm-primary);
    border: 2px solid var(--pm-primary);
}

.btn-pricing.outline:hover {
    background: var(--pm-primary);
    color: white;
}

.btn-pricing.featured {
    background: var(--pm-primary);
    box-shadow: 0 4px 12px rgba(0, 48, 219, 0.25);
}

.card-features {
    padding: 24px 28px 32px;
    flex: 1;
}

.features-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--pm-text-dark);
    margin-bottom: 16px;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-features ul li {
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.card-features ul li i {
    color: var(--pm-primary);
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* --- FREE PLAN BAR --- */
.pricing-free-bar {
    display: grid;
    grid-template-columns: 240px 1fr auto;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 40px;
}

.free-bar-left h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--pm-text-dark);
    margin-bottom: 4px;
}

.free-bar-left .plan-category {
    margin-bottom: 16px;
}

.free-bar-left .price-main .currency {
    font-size: 18px;
}

.free-bar-left .price-main .amount {
    font-size: 36px;
}

.free-bar-left .price-note {
    margin-bottom: 0;
}

.free-bar-middle .features-label {
    margin-bottom: 12px;
}

.free-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 32px;
}

.free-features-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.free-features-grid ul li {
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.free-features-grid ul li i {
    color: var(--pm-primary);
    font-size: 11px;
    flex-shrink: 0;
}

.free-bar-right .btn-pricing {
    white-space: nowrap;
    width: auto;
    padding: 14px 28px;
}

/* Pricing Responsive */
@media (max-width: 1200px) {
    .pricing-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .pricing-free-bar {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
        padding: 28px 24px;
    }
    .free-features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .free-features-grid ul li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .pricing-section { padding: 80px 0; }
    .pricing-grid-v2 { grid-template-columns: 1fr; }
}

/* --- SCROLLING TESTIMONIALS --- */
.pm-testimonials {
    padding: 100px 0;
    background: #F8FAFC;
    overflow: hidden;
}

.pm-testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.pm-testimonials-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--pm-text-dark);
    margin-top: 16px;
}

.pm-testimonials-track-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Linear Gradient Fade edges */
.pm-testimonials-track-wrapper::before,
.pm-testimonials-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.pm-testimonials-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #F8FAFC, transparent);
}

.pm-testimonials-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #F8FAFC, transparent);
}

.pm-testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.pm-testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } /* 50% shift + half the gap */
}

.pm-testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.pm-tc-rating {
    margin-bottom: 20px;
    color: #F59E0B;
    font-size: 14px;
    display: flex;
    gap: 4px;
}

.pm-tc-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--pm-text-dark);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.pm-tc-content p::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 60px;
    color: rgba(0, 48, 219, 0.08);
    font-family: serif;
}

.pm-tc-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pm-tc-avatar {
    width: 44px;
    height: 44px;
    background: var(--pm-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.pm-tc-info strong {
    display: block;
    font-size: 15px;
    color: var(--pm-text-dark);
}

.pm-tc-info span {
    font-size: 13px;
    color: var(--pm-text-muted);
}

@media (max-width: 768px) {
    .pm-testimonials { padding: 60px 0; }
    .pm-testimonials-header h2 { font-size: 28px; }
    .pm-testimonial-card { width: 320px; padding: 30px; }
}

/* --- PREMIUM FAQ REDESIGN --- */
.pm-faq {
    padding: 140px 0;
    background: #fff;
    border-top: 1px solid var(--pm-border);
}

.pm-faq-grid {
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 65px;
    align-items: start;
}

.pm-faq-info {
    position: sticky;
    top: 140px;
}

.pm-faq-heading {
    font-size: 64px;
    font-weight: 800;
    color: var(--pm-text-dark);
    margin: 0 0 24px;
    letter-spacing: -3px;
    line-height: 1;
}

.pm-faq-subtext {
    font-size: 20px;
    color: var(--pm-text-muted);
    line-height: 1.6;
    margin-bottom: 48px;
}

.pm-faq-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #F8F9FA;
    border: 1px solid transparent;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    background: #fff;
    border-color: rgba(0, 48, 219, 0.1);
    box-shadow: 0 10px 40px rgba(0, 48, 219, 0.05);
    transform: translateY(-2px);
}

.faq-question {
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 21px;
    font-weight: 800;
    color: var(--pm-text-dark);
    user-select: none;
}

.faq-question i {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--pm-primary);
    font-size: 14px;
    background: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    
    font-size: 17px;
    line-height: 1.7;
    color: var(--pm-text-muted);
}

.faq-item.active {
    background: #fff;
    border-color: rgba(0, 48, 219, 0.2);
    box-shadow: 0 30px 60px rgba(0, 48, 219, 0.08);
}

.faq-item.active .faq-question {
    color: var(--pm-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--pm-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 48, 219, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* --- FINAL LAST CTA SECTION --- */

/* ===== BOTTOM CTA - FULL WIDTH ===== */
.pm-bottom-cta {
    position: relative;
    background: #0F172A;
    padding: 100px 40px;
    text-align: center;
    overflow: hidden;
}

.pm-bottom-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pm-bottom-cta-glow-1 {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.pm-bottom-cta-glow-2 {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.pm-bottom-cta-content {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 auto;
}

.pm-bottom-cta-label {
    display: inline-block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #93C5FD;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.pm-bottom-cta h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
}

.pm-bottom-cta p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    color: #94A3B8;
    line-height: 1.7;
    margin: 0 0 40px;
}

.pm-bottom-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.pm-bottom-btn-primary {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #2563EB;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pm-bottom-btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.pm-bottom-btn-primary i {
    font-size: 13px;
}

.pm-bottom-btn-ghost {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #CBD5E1;
    background: transparent;
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pm-bottom-btn-ghost:hover {
    border-color: rgba(148, 163, 184, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.pm-bottom-cta-trust {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.pm-bottom-cta-trust span {
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    color: rgba(148, 163, 184, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pm-bottom-cta-trust span i {
    color: #10B981;
    font-size: 12px;
}

@media (max-width: 768px) {
    .pm-bottom-cta { padding: 72px 20px; }
    .pm-bottom-cta h2 { font-size: 28px; }
    .pm-bottom-cta p { font-size: 15px; }
    .pm-bottom-cta-actions { flex-direction: column; align-items: center; }
    .pm-bottom-btn-primary,
    .pm-bottom-btn-ghost { width: 100%; max-width: 300px; justify-content: center; text-align: center; }
    .pm-bottom-cta-trust { flex-direction: column; align-items: center; gap: 10px; }
}

/* Base padding for answer text (so it breathes at every breakpoint, not only mobile) */
.faq-answer p {
    padding: 0 40px 24px;
}

/* Keep question text from being squeezed by the chevron icon */
.faq-question span {
    flex: 1 1 auto;
    min-width: 0;
}
.faq-question i {
    flex-shrink: 0;
}

/* FAQ Responsive Overrides */
@media (max-width: 1200px) {
    .pm-faq-grid { gap: 60px; }
    .pm-faq-heading { font-size: 42px; }
}

@media (max-width: 992px) {
    .pm-faq { padding: 80px 0; }
    .pm-faq-grid { grid-template-columns: 1fr; gap: 48px; }
    .pm-faq-info { position: static; text-align: center; }
    .pm-faq-cta {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .pm-faq-heading { font-size: 44px; letter-spacing: -1.5px; }
    .pm-faq-subtext {
        font-size: 17px;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .pm-faq {
        padding: 64px 0;
        border-top: none;
    }
    .pm-faq-grid { gap: 36px; }
    .pm-faq-heading {
        font-size: 32px;
        letter-spacing: -1px;
        line-height: 1.15;
        margin-bottom: 16px;
    }
    .pm-faq-subtext {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    .pm-faq-list-wrapper { gap: 10px; }

    .faq-item {
        border-radius: 14px;
    }
    .faq-item:hover {
        transform: none;
        box-shadow: none;
    }

    .faq-question {
        padding: 18px 18px;
        font-size: 16px;
        font-weight: 700;
        gap: 14px;
        line-height: 1.4;
    }
    .faq-question i {
        width: 32px;
        height: 32px;
        font-size: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    .faq-answer p {
        padding: 0 18px 20px;
        font-size: 15px;
        line-height: 1.65;
    }

    .faq-item.active {
        box-shadow: 0 8px 24px rgba(0, 48, 219, 0.06);
    }
    .faq-item.active .faq-answer {
        max-height: 800px;
    }
}

@media (max-width: 480px) {
    .pm-faq { padding: 48px 0; }
    .pm-faq-heading {
        font-size: 28px;
        letter-spacing: -0.5px;
    }
    .pm-faq-subtext { font-size: 15px; }

    .faq-question {
        padding: 16px 14px;
        font-size: 15px;
        gap: 10px;
    }
    .faq-question i {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .faq-answer p {
        padding: 0 14px 16px;
        font-size: 14px;
    }
}

/* ============================================================
   PMV — Project Management Visual Mockups (HTML/CSS coded)
   ============================================================ */

/* ── Shared ── */
.pmv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid #E2E8F0;
    background: #fff;
    flex-shrink: 0;
}
.pmv-header-left { display: flex; align-items: center; gap: 8px; }
.pmv-title  { font-weight: 700; font-size: 14px; color: #0F172A; }
.pmv-subtitle { font-size: 11px; color: #94A3B8; }
.pmv-badge-sprint {
    font-size: 10px; font-weight: 700;
    background: #EFF6FF; color: #0030DB;
    padding: 3px 10px; border-radius: 20px;
    border: 1px solid #BFDBFE;
}
.pmv-tabs { display: flex; gap: 4px; }
.pmv-tab { font-size: 11px; padding: 4px 10px; border-radius: 6px; color: #64748B; font-weight: 500; }
.pmv-tab.active { background: #EFF6FF; color: #0030DB; font-weight: 700; }

/* Avatar */
.pmv-av {
    width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.pmv-av.sm { width: 20px; height: 20px; font-size: 9px; }

/* ── Projects Grid ── */
.pmv-proj-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; padding: 12px;
    overflow-y: auto; max-height: calc(100% - 58px);
}
.pmv-proj-card {
    background: #fff; border: 1px solid #E2E8F0;
    border-radius: 10px; padding: 12px;
    display: flex; flex-direction: column; gap: 5px;
}
.pmv-proj-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pmv-proj-name { font-size: 12px; font-weight: 700; color: #0F172A; line-height: 1.3; }
.pmv-dots { display: flex; gap: 3px; flex-shrink: 0; margin-top: 2px; }
.pmv-dot { width: 7px; height: 7px; border-radius: 50%; }
.pmv-dot.blue   { background: #0030DB; }
.pmv-dot.green  { background: #16A34A; }
.pmv-dot.yellow { background: #F59E0B; }
.pmv-dot.red    { background: #EF4444; }
.pmv-dot.gray   { background: #CBD5E1; }
.pmv-client { font-size: 10px; color: #94A3B8; }
.pmv-prog-row { display: flex; justify-content: space-between; font-size: 10px; color: #64748B; margin-top: 2px; }
.pmv-prog-pct { font-weight: 700; color: #0F172A; }
.pmv-prog-bar { height: 5px; background: #F1F5F9; border-radius: 10px; overflow: hidden; }
.pmv-prog-fill { height: 100%; background: #0030DB; border-radius: 10px; }
.pmv-prog-fill.pmv-orange { background: #F59E0B; }
.pmv-prog-fill.pmv-red    { background: #EF4444; }
.pmv-prog-fill.pmv-yellow { background: #F59E0B; }
.pmv-prog-fill.pmv-green  { background: #16A34A; }
.pmv-proj-footer { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
.pmv-date  { font-size: 9px; color: #94A3B8; }
.pmv-arrow { font-size: 9px; color: #CBD5E1; }
.pmv-avatars { display: flex; margin-left: auto; }
.pmv-avatars .pmv-av { width: 18px; height: 18px; font-size: 8px; margin-left: -4px; border: 1.5px solid #fff; }
.pmv-tasks { font-size: 9px; color: #0030DB; font-weight: 700; white-space: nowrap; }

/* ── Kanban Board ── */
.pmv-kanban {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 8px; padding: 12px;
    height: calc(100% - 58px); overflow: hidden;
}
.pmv-kb-col {
    background: #F8FAFC; border-radius: 10px; padding: 10px;
    display: flex; flex-direction: column; gap: 7px;
    overflow: hidden; min-height: 0;
}
.pmv-kb-col-header {
    display: flex; align-items: center; gap: 5px;
    padding-bottom: 8px; border-bottom: 1px solid #E2E8F0;
    font-size: 11px; font-weight: 700; color: #334155; flex-shrink: 0;
}
.pmv-kb-col-dot { width: 8px; height: 8px; border-radius: 50%; background: #64748B; flex-shrink: 0; }
.pmv-kb-col-header.pmv-kb-todo   .pmv-kb-col-dot { background: #94A3B8; }
.pmv-kb-col-header.pmv-kb-inprog .pmv-kb-col-dot { background: #F59E0B; }
.pmv-kb-col-header.pmv-kb-review .pmv-kb-col-dot { background: #7C3AED; }
.pmv-kb-col-header.pmv-kb-done   .pmv-kb-col-dot { background: #16A34A; }
.pmv-kb-count {
    margin-left: auto; background: #E2E8F0; color: #475569;
    font-size: 9px; font-weight: 700; border-radius: 10px; padding: 1px 6px;
}
.pmv-kb-card {
    background: #fff; border: 1px solid #E2E8F0; border-radius: 8px;
    padding: 9px; display: flex; flex-direction: column; gap: 6px; flex-shrink: 0;
}
.pmv-kb-card.pmv-kb-active    { border-left: 3px solid #F59E0B; }
.pmv-kb-card.pmv-kb-done-card { border-left: 3px solid #16A34A; background: #F0FDF4; }
.pmv-kb-priority {
    font-size: 9px; font-weight: 700; padding: 2px 7px;
    border-radius: 4px; display: inline-flex; align-self: flex-start;
}
.pmv-prio-high { background: #FEE2E2; color: #DC2626; }
.pmv-prio-med  { background: #FEF9C3; color: #CA8A04; }
.pmv-prio-low  { background: #DCFCE7; color: #16A34A; }
.pmv-kb-task-name { font-size: 11px; font-weight: 600; color: #1E293B; margin: 0; line-height: 1.4; }
.pmv-kb-strikethrough { text-decoration: line-through; opacity: 0.55; }
.pmv-kb-progress-mini { height: 4px; background: #F1F5F9; border-radius: 10px; overflow: hidden; }
.pmv-kb-progress-mini > div { height: 100%; background: #F59E0B; border-radius: 10px; }
.pmv-kb-meta { display: flex; align-items: center; justify-content: space-between; }
.pmv-kb-date { font-size: 9px; color: #94A3B8; }
.pmv-done-date { color: #16A34A; font-weight: 700; }

/* ── Gantt Timeline ── */
.pmv-gantt {
    display: flex; flex-direction: column;
    height: calc(100% - 58px); overflow: hidden;
}
.pmv-gantt-header {
    display: flex; align-items: center;
    padding: 8px 16px; border-bottom: 1px solid #E2E8F0;
    background: #F8FAFC; flex-shrink: 0;
}
.pmv-gantt-label-col {
    width: 140px; flex-shrink: 0;
    font-size: 10px; font-weight: 700; color: #94A3B8;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.pmv-gantt-months { display: flex; flex: 1; justify-content: space-between; padding: 0 4px; }
.pmv-gantt-months span { font-size: 10px; color: #94A3B8; font-weight: 600; }
.pmv-gantt-body {
    flex: 1; overflow-y: auto; padding: 8px 16px;
    display: flex; flex-direction: column; gap: 7px;
}
.pmv-gantt-row { display: flex; align-items: center; gap: 8px; height: 34px; }
.pmv-gantt-label {
    width: 132px; flex-shrink: 0; display: flex; align-items: center;
    gap: 6px; font-size: 11px; font-weight: 600; color: #334155; overflow: hidden;
}
.pmv-gantt-label span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmv-gantt-timeline {
    flex: 1; height: 26px; position: relative;
    background: #F1F5F9; border-radius: 6px; overflow: hidden;
}
.pmv-gantt-timeline::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        90deg, transparent, transparent calc(20% - 1px),
        rgba(226,232,240,0.8) calc(20% - 1px), rgba(226,232,240,0.8) 20%
    );
    z-index: 0;
}
.pmv-gantt-bar {
    position: absolute; top: 3px; height: 20px; border-radius: 5px;
    display: flex; align-items: center; padding: 0 7px;
    font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.95);
    z-index: 1; white-space: nowrap; overflow: hidden;
}

/* ── Capacity / Resource Workload ── */
.pmv-capacity { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.pmv-cap-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid #E2E8F0;
    background: #fff; flex-shrink: 0; flex-wrap: wrap; gap: 8px;
}
.pmv-cap-header > span { font-size: 13px; font-weight: 700; color: #0F172A; }
.pmv-cap-legend { display: flex; align-items: center; gap: 10px; font-size: 10px; color: #64748B; flex-wrap: wrap; }
.pmv-leg-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.pmv-cap-rows {
    flex: 1; overflow-y: auto; padding: 12px 18px;
    display: flex; flex-direction: column; gap: 11px;
}
.pmv-cap-row { display: flex; align-items: center; gap: 12px; }
.pmv-cap-member { display: flex; align-items: center; gap: 9px; width: 150px; flex-shrink: 0; }
.pmv-cap-name { font-size: 12px; font-weight: 600; color: #334155; white-space: nowrap; line-height: 1.3; }
.pmv-cap-role { font-size: 10px; color: #94A3B8; line-height: 1.3; }
.pmv-cap-bar-track { flex: 1; height: 20px; background: #F1F5F9; border-radius: 6px; overflow: hidden; }
.pmv-cap-bar-fill {
    height: 100%; border-radius: 6px;
    display: flex; align-items: center; justify-content: flex-end;
    padding-right: 6px; font-size: 9px; font-weight: 700; color: #fff;
}
.pmv-cap-bar-fill.optimal { background: #16A34A; }
.pmv-cap-bar-fill.near    { background: #F59E0B; }
.pmv-cap-bar-fill.over    { background: #EF4444; }
.pmv-cap-pct { width: 36px; text-align: right; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.pmv-cap-pct.optimal { color: #16A34A; }
.pmv-cap-pct.near    { color: #F59E0B; }
.pmv-cap-pct.over    { color: #EF4444; }

/* ── Reporting / Analytics Dashboard ── */
.pmv-report { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; }
.pmv-rpt-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #F8FAFC; border-bottom: 1px solid #E2E8F0; flex-shrink: 0;
}
.pmv-rpt-stat {
    display: flex; flex-direction: column; gap: 3px;
    padding: 16px 14px; background: #fff;
    border-right: 1px solid #E2E8F0;
}
.pmv-rpt-stat:last-child { border-right: none; }
.pmv-rpt-val { font-size: 22px; font-weight: 800; color: #0F172A; line-height: 1; }
.pmv-rpt-val.blue  { color: #0030DB; }
.pmv-rpt-val.green { color: #16A34A; }
.pmv-rpt-val.red   { color: #EF4444; }
.pmv-rpt-lbl { font-size: 10px; color: #94A3B8; font-weight: 500; margin-top: 2px; }
.pmv-rpt-chart-area {
    flex: 1; padding: 14px 18px 12px;
    display: flex; flex-direction: column; gap: 10px; min-height: 0;
}
.pmv-rpt-chart-title { font-size: 11px; font-weight: 700; color: #334155; }
.pmv-rpt-bars { display: flex; align-items: flex-end; gap: 8px; flex: 1; min-height: 0; }
.pmv-rpt-bar-col {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; gap: 5px; height: 100%; justify-content: flex-end;
}
.pmv-rpt-bar { width: 100%; border-radius: 6px 6px 0 0; min-height: 4px; }
.pmv-rpt-bar.completed { background: linear-gradient(180deg, #3B82F6 0%, #0030DB 100%); }
.pmv-rpt-bar-lbl { font-size: 10px; color: #94A3B8; font-weight: 600; }
