/* PCS - Cardiac Patient Communication Services Page Styles */

/* ============================================
   TYPOGRAPHY - Using variables from typography.css
   ============================================ */
.pcs-page h1,
.pcs-page h2,
.pcs-page h3,
.pcs-page h4,
.pcs-page h5,
.pcs-page h6 {
    font-family: var(--font-display);
    line-height: var(--leading-tight);
}

.pcs-page p,
.pcs-page span,
.pcs-page li {
    font-family: var(--font-primary);
}

.pcs-page .lead {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--weight-regular);
    line-height: var(--leading-relaxed);
}

/* Prevent horizontal overflow from decorative elements */
.pcs-page {
    overflow-x: hidden;
}

.pcs-page .main-container {
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION - Particles & Shapes
   ============================================ */
.pcs-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
    padding: 10vh 0 100px;
    z-index: 1;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pcs-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    z-index: 2;
}

/* Background Video */
.pcs-hero-video-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.pcs-hero-video-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.8) 50%, rgba(139, 92, 246, 0.7) 100%);
    z-index: 1;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.pcs-hero-video-bg.video-loaded::before {
    opacity: 0;
    pointer-events: none;
}

.pcs-hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(-1);
    min-height: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 992px) {
    .pcs-hero-video-bg {
        display: none;
    }
}

.pcs-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.pcs-hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    bottom: 20%;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    top: 40%;
    right: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(244, 114, 182, 0.1) 100%);
    bottom: 30%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

.pcs-hero .container {
    position: relative;
    z-index: 10;
}

/* Hero Two-Column Layout */
.pcs-hero-row {
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.pcs-hero-content {
    text-align: left;
}

.pcs-hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Cards Stack */
.pcs-hero-cards-stack {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
    margin-left: auto;
}

.pcs-hero-card {
    position: absolute;
    width: 180px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.pcs-hero-card img,
.pcs-hero-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card positions - diagonal creative layout */
.pcs-hero-card-1 {
    top: 0;
    right: 0;
    z-index: 3;
    animation: cardFloat1 4s ease-in-out infinite;
}

.pcs-hero-card-2 {
    top: 130px;
    left: -20px;
    z-index: 2;
    animation: cardFloat2 4.5s ease-in-out infinite;
}

.pcs-hero-card-3 {
    bottom: 0;
    right: 0;
    z-index: 1;
    animation: cardFloat3 5s ease-in-out infinite;
}

.pcs-hero-card video {
    transform: scaleX(-1);
}

/* Hover effects */
.pcs-hero-cards-stack:hover .pcs-hero-card-1 {
    transform: translateY(-8px) scale(1.03);
    z-index: 4;
}

.pcs-hero-cards-stack:hover .pcs-hero-card-2 {
    transform: translateX(-8px) scale(1.02);
}

.pcs-hero-cards-stack:hover .pcs-hero-card-3 {
    transform: translateY(8px) scale(1.02);
}

/* Floating animations */
@keyframes cardFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-6px); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Card badges */
.pcs-hero-card-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.pcs-hero-card-2 .badge-dot {
    background: #f59e0b;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

/* Decorative gradient border on front card */
.pcs-hero-card-1::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    border-radius: 18px;
    z-index: -1;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .pcs-hero-row {
        flex-direction: column;
        text-align: center;
        min-height: 0;
    }
    
    .pcs-hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .pcs-hero-cards-stack {
        height: 350px;
        transform: scale(0.85);
    }
}

@media (max-width: 767px) {
    .pcs-hero-media {
        display: none;
    }
    
    .pcs-hero-content {
        text-align: center;
    }
}

.pcs-hero-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
    font-weight: var(--weight-extrabold);
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: var(--tracking-tighter);
    line-height: var(--leading-tight);
}

.pcs-hero-subtitle {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--weight-regular);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: var(--leading-normal);
}

.pcs-hero-tagline {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: var(--leading-relaxed);
}

/* Hero Buttons */
.pcs-btn-glow {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    border: none;
    padding: 18px 40px;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.pcs-btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.pcs-btn-glow:hover,
.pcs-btn-glow:focus,
.pcs-btn-glow:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
    color: white !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pcs-btn-glow:hover::before {
    left: 100%;
}

.pcs-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 18px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.pcs-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

/* Hero Wave */
.pcs-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 5;
    pointer-events: none;
}

.pcs-hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.pcs-stats {
    padding: 80px 0;
    background: #f8f9fa;
}

.pcs-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pcs-card-hover:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.pcs-stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.pcs-stat-icon i {
    font-size: 32px;
    color: white;
}

.pcs-card-hover:hover .pcs-stat-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.pcs-stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.pcs-stat-number {
    font-family: var(--font-display);
    font-size: clamp(var(--text-4xl), 4vw, var(--text-6xl));
    font-weight: var(--weight-extrabold);
    letter-spacing: var(--tracking-tighter);
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.pcs-stat-suffix {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    color: #8b5cf6;
}

.pcs-stat-label {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: #1e293b;
    margin-top: 0;
}

.pcs-stat-desc {
    display: block;
    font-family: var(--font-primary);
    font-size: 16px;
    color: #64748b;
    margin-top: 0;
    line-height: var(--leading-relaxed);
}

/* ============================================
   CHALLENGES SECTION - Parallax & 3D Cards
   ============================================ */
.pcs-challenges {
    padding: 100px 0;
    position: relative;
    background: #0f172a;
    overflow: hidden;
}

.pcs-challenges-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
    animation: bgPulse 10s infinite ease-in-out;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.pcs-challenges h2 {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: var(--weight-extrabold);
    letter-spacing: var(--tracking-tight);
    color: white;
}

.pcs-challenge-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    height: 100%;
    min-height: 300px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.pcs-card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.pcs-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.8s;
}

.pcs-card-3d:hover .pcs-card-shine {
    left: 100%;
}

.pcs-challenge-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pcs-icon-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 2px solid rgba(59, 130, 246, 0.5);
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.pcs-challenge-icon i {
    font-size: 36px;
    color: white;
}

.pcs-challenge-card h4 {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: white;
    margin-bottom: 10px;
}

.pcs-challenge-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.pcs-solution {
    padding: 100px 0;
    background: #f8f9fa;
}

.pcs-benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    background: white;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid transparent;
    min-height: 200px;
    height: 100%;
}

.pcs-benefit-animated:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.pcs-benefit-number {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-right: 25px;
    transition: all 0.5s ease;
}

.pcs-number-animated {
    position: relative;
}

.pcs-benefit-animated:hover .pcs-number-animated {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.pcs-benefit-content h4 {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin-bottom: 10px;
    color: #1e293b;
}

.pcs-benefit-content p {
    color: #64748b;
    margin-bottom: 0;
    font-size: 14px;
}

/* EHR Integration Box */
.pcs-ehr-integration {
    background: white;
    padding: 35px 40px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.pcs-glow-box {
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pcs-glow-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(59, 130, 246, 0.1) 60deg, transparent 120deg);
    animation: glowRotate 6s linear infinite;
}

@keyframes glowRotate {
    100% { transform: rotate(360deg); }
}

.pcs-ehr-icon-wrap {
    position: relative;
    margin-right: 30px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pcs-ehr-icon-wrap i {
    font-size: 48px;
    color: #3b82f6;
    position: relative;
    z-index: 1;
}

.pcs-ehr-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    animation: ehrPulse 2s infinite;
}

@keyframes ehrPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pcs-ehr-integration p {
    margin-bottom: 0;
    color: #475569;
    position: relative;
    z-index: 1;
}

/* ============================================
   SERVICES SECTION - Glass Cards
   ============================================ */
.pcs-services {
    padding: 20px 0 100px;
}

.pcs-gradient-bg {
    background: linear-gradient(180deg, #f8f9fa 0%, #e2e8f0 100%);
}

.pcs-service-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    height: 100%;
    min-height: 370px;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pcs-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.pcs-service-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.pcs-service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.pcs-service-icon i {
    font-size: 22px;
    color: white;
}

.pcs-service-card h4 {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: #1e293b;
    margin-bottom: 0;
}

/* v4.6o: Pills 3 columnas con line breaks */
.pcs-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.pcs-pill {
    display: flex;
    align-items: center;
    width: calc(33.33% - 14px);
    min-height: 85px;
    padding: 20px 24px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.pcs-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.pcs-pill-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.pcs-pill:hover .pcs-pill-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.pcs-pill-icon i {
    font-size: 22px;
    color: white;
}

.pcs-pill span {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.pcs-pill em {
    font-style: normal;
    font-weight: 400;
    color: #64748b;
}

@media (max-width: 1200px) {
    .pcs-pill {
        width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .pcs-pill {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .pcs-pill-grid {
        gap: 15px;
    }
    
    .pcs-pill {
        padding: 18px 20px;
        min-height: 75px;
    }
    
    .pcs-pill-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        margin-right: 16px;
    }
    
    .pcs-pill-icon i {
        font-size: 18px;
    }
}

.pcs-animated-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pcs-animated-list li {
    padding: 15px 0 15px 35px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    color: #475569;
    transition: all 0.3s ease;
}

.pcs-animated-list li:last-child {
    border-bottom: none;
}

.pcs-animated-list li::before {
    content: "\e64c";
    font-family: 'themify';
    position: absolute;
    left: 0;
    top: 12px;
    color: #10b981;
    font-size: 16px;
    transition: all 0.3s ease;
}

.pcs-animated-list li:hover {
    padding-left: 40px;
    color: #1e293b;
}

.pcs-animated-list li:hover::before {
    transform: scale(1.2);
}

/* Feature Badges */
.pcs-feature-badge {
    text-align: center;
    padding: 35px 25px;
    transition: all 0.4s ease;
}

.pcs-badge-float {
    animation: badgeFloat 4s ease-in-out infinite;
}

.pcs-badge-float:nth-child(2) {
    animation-delay: -1.3s;
}

.pcs-badge-float:nth-child(3) {
    animation-delay: -2.6s;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pcs-badge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.pcs-badge-icon i {
    font-size: 32px;
    color: #3b82f6;
    line-height: 1;
}

.pcs-badge-float:hover .pcs-badge-icon {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.pcs-badge-float:hover .pcs-badge-icon i {
    color: white;
}

.pcs-feature-badge h5 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: 10px;
    color: #1e293b;
}

.pcs-feature-badge p {
    font-size: var(--text-sm);
    color: #64748b;
    margin-bottom: 0;
    line-height: var(--leading-relaxed);
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */
.pcs-testimonial {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pcs-testimonial-parallax {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.pcs-testimonial-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: bgSlide 30s linear infinite;
}

@keyframes bgSlide {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.pcs-testimonial-card {
    background: white;
    padding: 50px 50px 40px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.1);
    height: 100%;
}

.pcs-float-card {
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pcs-quote-icon {
    position: absolute;
    top: -25px;
    left: 50px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.pcs-quote-animated {
    animation: quotePulse 2s infinite;
}

@keyframes quotePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pcs-quote-icon i {
    font-size: 24px;
    color: white;
}

.pcs-quote-text {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--weight-regular);
    line-height: var(--leading-relaxed);
    color: #475569;
    font-style: italic;
    margin: 25px 0 35px;
    padding: 20px 0;
    border: none;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.pcs-testimonial-author {
    display: flex;
    align-items: center;
}

.pcs-author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.pcs-author-avatar span {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.pcs-author-info {
    display: flex;
    flex-direction: column;
}

.pcs-author-info strong {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: #1e293b;
}

.pcs-author-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: #3b82f6;
    margin-top: 2px;
}

.pcs-author-company {
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    color: #64748b;
}

/* Metrics with Ring Animation */
.pcs-metric {
    text-align: center;
    padding: 30px;
    color: white;
}

.pcs-metric-glow {
    transition: all 0.5s ease;
}

.pcs-metric-glow:hover {
    transform: scale(1.05);
}

.pcs-metric-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 10px;
}

.pcs-metric-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.pcs-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 8;
}

.pcs-ring-fill {
    fill: none;
    stroke: #10b981;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease-out;
}

.pcs-metric-ring-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcs-metric-ring .pcs-metric-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    letter-spacing: var(--tracking-tighter);
    color: white;
    line-height: 1;
}

.pcs-metric-ring .pcs-metric-percent {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: white;
    margin-left: 2px;
    line-height: 1;
}

.pcs-metric-label {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: 5px;
}

.pcs-metric-desc {
    display: block;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    opacity: 0.8;
    line-height: var(--leading-relaxed);
}

/* ============================================
   CTA SECTION
   ============================================ */
.pcs-cta {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.pcs-cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    top: -200px;
    right: -100px;
    animation: ctaFloat 15s ease-in-out infinite;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    bottom: -150px;
    left: -100px;
    animation: ctaFloat 20s ease-in-out infinite reverse;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.pcs-cta-title {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: var(--weight-extrabold);
    letter-spacing: var(--tracking-tight);
    color: #1e293b;
    margin-bottom: 25px;
}

.pcs-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white !important;
    border: none;
    padding: 18px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    margin-top: 20px;
}

.pcs-btn-cta i {
    transition: transform 0.3s ease;
}

.pcs-btn-cta:hover,
.pcs-btn-cta:focus,
.pcs-btn-cta:active {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    color: white !important;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.pcs-btn-cta:hover i {
    transform: translateX(5px);
}

/* Timeline Process */
.pcs-process {
    background: white;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.pcs-timeline {
    position: relative;
}

.pcs-timeline-line {
    position: absolute;
    left: 66px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 2px;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.8s ease-out;
}

.pcs-timeline-line.animated {
    transform: scaleY(1);
}

.pcs-process-step {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    position: relative;
}

.pcs-step-animated {
    transition: all 0.4s ease;
}

.pcs-step-animated:hover {
    transform: translateX(10px);
}

.pcs-process-number {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-extrabold);
    color: white;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.pcs-number-pop:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.pcs-process-content strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: #1e293b;
    margin-bottom: 5px;
}

.pcs-process-content p {
    font-size: var(--text-sm);
    color: #64748b;
    margin-bottom: 0;
    line-height: var(--leading-relaxed);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .pcs-challenge-card {
        min-height: 355px;
    }

    .pcs-benefit-item {
        min-height: 250px;
    }
}

@media (max-width: 992px) {
    .pcs-hero {
        min-height: 0;
        padding: 100px 0 80px;
    }
    
    .pcs-hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .pcs-btn-outline {
        margin-left: 0;
        margin-top: 0;
    }
    
    .pcs-stat-item {
        min-height: 320px;
    }
    
    .pcs-benefit-item {
        flex-direction: column;
        height: auto;
        min-height: 300px;
    }
    
    .pcs-benefit-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .pcs-ehr-integration {
        flex-direction: column;
        text-align: center;
    }
    
    .pcs-ehr-icon-wrap {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .pcs-metric-ring {
        width: 120px;
        height: 120px;
    }
    
    .pcs-challenge-card {
        height: auto;
        min-height: 330px;
        padding: 25px 10px;
    }
    
    .pcs-challenges h2 {
        font-size: 30px;
    }
    
    .pcs-service-card {
        height: auto;
        min-height: 390px;
        padding: 25px;
    }
    
    .pcs-testimonial-card {
        height: auto;
        min-height: 0;
    }
    
    .pcs-btn-cta {
        margin-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .pcs-hero {
        padding: 80px 0 60px;
    }
    
    .pcs-hero-buttons {
        flex-direction: column;
    }
    
    .pcs-btn-glow,
    .pcs-btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .pcs-challenges {
        padding: 70px 0;
    }
    
    .pcs-solution {
        padding: 70px 0;
    }
    
    .pcs-services {
        padding: 20px 0 70px;
    }
    
    .pcs-testimonial {
        padding: 70px 0;
    }
    
    .pcs-cta {
        padding: 70px 0;
    }

    .pcs-stat-item {
        min-height: 0;
        margin-bottom: 30px;
    }

    .pcs-challenge-card {
        height: auto;
        min-height: 0;
        margin-bottom: 20px;
    }
    
    .pcs-benefit-item {
        height: auto;
        min-height: 0;
    }
    
    .pcs-service-card {
        height: auto;
        min-height: 0;
        margin-bottom: 25px;
    }
    
    .pcs-testimonial-card {
        padding: 50px 20px 30px;
        height: auto;
        min-height: 0;
        margin-bottom: 20px;
    }
    
    .pcs-process {
        padding: 25px;
    }
    
    .pcs-timeline-line {
        display: none;
    }
}

/* ============================================
   SMOOTH SCROLL & PERFORMANCE
   ============================================ */
.pcs-page {
    overflow-x: hidden;
}

.pcs-page * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* AOS elements should not block interactions */

/* Fix z-index stacking */
.pcs-page .main-container {
    position: relative;
    z-index: 1;
}

.pcs-page section {
    position: relative;
    z-index: 2;
}

.pcs-hero {
    z-index: 1;
}

.pcs-stats {
    z-index: 3;
    position: relative;
}
