/* 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);
}

.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: 100%;
    object-fit: contain; /* Full image visible, no cropping */
    display: block;
}

.pm-viz-mockup {
    height: 350px; /* Uniform height for all mockups */
    background: #f8fafc; /* Seamless background for "contained" images */
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 48, 219, 0.1);
    border: 1px solid var(--pm-border);
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
}

/* 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: 300px; }
    .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: 260px; }
}

/* 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 */
@keyframes pm-float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pm-float-fast {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

.pm-float-1 { animation: pm-float-slow 6s ease-in-out infinite; }
.pm-float-2 { animation: pm-float-fast 4s ease-in-out infinite; }
.pm-float-3 { animation: pm-float-slow 8s ease-in-out infinite; }

/* 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; }
}

/* --- 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 --- */
.pm-pricing {
    padding: 120px 0;
    background: #fff;
    position: relative;
}

.pm-pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.pm-pricing-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--pm-text-dark);
    margin-bottom: 20px;
}

.pm-pricing-header p {
    font-size: 18px;
    color: var(--pm-text-muted);
}

.pm-billing-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.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;
}

.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);
}

.pm-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.pm-pricing-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pm-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.pm-pricing-card.popular {
    border-color: var(--pm-primary);
    box-shadow: 0 10px 30px rgba(0, 48, 219, 0.08);
}

.pm-pc-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pm-primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.pm-pc-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--pm-text-dark);
}

.pm-pc-price {
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px;
}

.pm-curr { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--pm-text-dark); }
.pm-amount { font-size: 48px; font-weight: 800; color: var(--pm-text-dark); line-height: 1; }
.pm-period { font-size: 14px; color: var(--pm-text-muted); margin-bottom: 6px; margin-left: 4px; }

.pm-pc-body { flex-grow: 1; margin-bottom: 40px; }
.pm-pc-body ul { list-style: none; padding: 0; }
.pm-pc-body li {
    font-size: 15px;
    color: var(--pm-text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-pc-body i { color: var(--pm-primary); font-size: 14px; }

.pm-pc-footer { display: flex; flex-direction: column; gap: 16px; align-items: center; }

.pm-btn-primary-filled {
    width: 100%;
    background: var(--pm-primary);
    color: #fff !important;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s;
}

.pm-btn-primary-lite {
    width: 100%;
    background: #F1F5F9;
    color: var(--pm-primary) !important;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s;
}

.pm-btn-primary-filled:hover { opacity: 0.9; }
.pm-btn-primary-lite:hover { background: #E2E8F0; }

.pm-trial-link {
    font-size: 13px;
    color: var(--pm-text-muted);
    font-weight: 600;
    text-decoration: none;
}

.pm-trial-link:hover { color: var(--pm-primary); }

/* Enterprise Card */
.pm-pricing-enterprise {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #E2E8F0;
}

.pm-pe-info h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--pm-text-dark); }
.pm-pe-info p { font-size: 15px; color: var(--pm-text-muted); }

.pm-btn-secondary-outline {
    padding: 12px 24px;
    border: 1px solid var(--pm-primary);
    color: var(--pm-primary) !important;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s;
}

.pm-btn-secondary-outline:hover { background: rgba(0, 48, 219, 0.05); }

/* Responsive */
@media (max-width: 1024px) {
    .pm-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pm-pricing { padding: 80px 0; }
    .pm-pricing-header h2 { font-size: 32px; }
    .pm-pricing-grid { grid-template-columns: 1fr; }
    .pm-pricing-enterprise { flex-direction: column; text-align: center; gap: 20px; padding: 30px 20px; }
}

/* --- 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 --- */
.pm-last-cta {
    padding: 140px 0;
    background: #fff;
}

.pm-cta-card {
    background: #0030DB;
    border-radius: 60px;
    padding: 100px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.pm-cta-content h2 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -2px;
}

.pm-cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
}

.pm-cta-form {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    max-width: 600px;
}

.pm-cta-form input {
    flex: 1;
    padding: 20px 28px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
}

.pm-cta-form input::placeholder { color: rgba(255, 255, 255, 0.5); }

.pm-btn-signup-cta {
    padding: 20px 40px;
    background: #fff;
    color: #0030DB;
    border: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pm-btn-signup-cta:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

.pm-cta-trust {
    display: flex;
    gap: 32px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.pm-cta-trust i { color: rgba(255, 255, 255, 0.9); margin-right: 8px; }

/* Visual Side */
.pm-cta-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-success-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 240px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 2;
    animation: pm-float-cta 6s infinite ease-in-out;
}

.pm-sc-1 { top: 20px; left: -20px; animation-delay: 0s; }
.pm-sc-2 { top: 150px; right: -40px; animation-delay: 2s; }
.pm-sc-3 { bottom: 40px; left: 40px; animation-delay: 4s; }

.pm-sc-icon {
    width: 48px;
    height: 48px;
    background: #F1F5F9;
    color: #0030DB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pm-sc-icon.blue { background: #E0F2FE; color: #0369A1; }
.pm-sc-icon.orange { background: #FFEDD5; color: #EA580C; }

.pm-sc-info { display: flex; flex-direction: column; }
.pm-sc-info strong { font-size: 15px; color: #0F172A; }
.pm-sc-info span { font-size: 13px; color: #64748B; font-weight: 500; }

.pm-cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    z-index: 1;
}

@keyframes pm-float-cta {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 1200px) {
    .pm-cta-card { padding: 80px 60px; grid-template-columns: 1fr; gap: 100px; text-align: center; }
    .pm-cta-content h2 { font-size: 48px; }
    .pm-cta-content p { margin: 0 auto 40px; }
    .pm-cta-form { margin: 0 auto 32px; }
    .pm-cta-trust { justify-content: center; }
    .pm-cta-visual { height: 350px; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .pm-cta-card { border-radius: 40px; padding: 60px 30px; }
    .pm-cta-content h2 { font-size: 36px; }
    .pm-cta-form { flex-direction: column; border-radius: 20px; }
    .pm-cta-form input { border-radius: 12px; }
    .pm-btn-signup-cta { border-radius: 12px; }
    .pm-cta-trust { flex-direction: column; gap: 12px; align-items: center; }
}

/* 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: 60px; }
    .pm-faq-info { position: static; text-align: center; }
    .pm-faq-cta { align-items: center; }
    .pm-faq-heading { font-size: 48px; }
}

@media (max-width: 768px) {
    .pm-faq-heading { font-size: 36px; }
    .faq-question { padding: 20px 24px; font-size: 17px; }
    .faq-answer p { padding: 0 24px 24px; font-size: 15px; }
}
