/* PromptLoc - Consolidated Styles */
/* Uses brand fonts from site.css, reuses homepage patterns */

/* ========== LINKING LINES HERO ANIMATION ========== */
@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.8;
    }

    90% {
        opacity: 1;
    }
}

@keyframes lineTravel {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0.3;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }

    100% {
        stroke-dashoffset: -1000;
        opacity: 0.3;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(13, 128, 140, 0.3);
    }

    50% {
        box-shadow: 0 0 60px rgba(82, 192, 204, 0.6);
    }
}

@keyframes gridFade {

    0%,
    100% {
        opacity: 0.04;
    }

    50% {
        opacity: 0.08;
    }
}

@keyframes nodeGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(13, 128, 140, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(13, 128, 140, 0.7);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========== HERO SECTION ========== */
/* ========== HERO SECTION ========== */
/* --- Hero Section Refined --- */
.pl-hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Restore Original Gradient */
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    border-bottom: 1px solid var(--brand-gold);
}

/* Remove Gradient Fade */
.pl-hero-section::after {
    display: none;
}



/* Subtle grid background */
.pl-circuit-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(13, 128, 140, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(13, 128, 140, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFade 8s ease-in-out infinite;
}

/* Neural Network Background (Updated Visibility) */
.pl-neural-network {
    position: absolute;
    inset: 0;
    overflow: hidden;
    /* Restore Original Background Overlay logic if needed, or keep transparent to show hero gradient */
    background: radial-gradient(1200px 700px at 50% 30%, rgba(13, 18, 48, 0.4) 0%, transparent 55%, rgba(4, 5, 10, 0.6) 100%);
    opacity: 0.9;
    z-index: 0;
}

/* Subtle drifting noise */
.pl-nn-drift {
    position: absolute;
    inset: -40px;
    background:
        repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 6px),
        repeating-radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 7px);
    opacity: 0.35;
    filter: blur(0.2px);
    animation: plDrift 16s ease-in-out infinite;
    pointer-events: none;
}

@keyframes plDrift {

    0%,
    100% {
        transform: translate3d(-10px, -6px, 0);
    }

    50% {
        transform: translate3d(12px, 10px, 0);
    }
}

/* SVG edges */
.pl-nn-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pl-edge {
    stroke: #0D808C;
    /* Full Brand Teal color, no rgba transparency in definition */
    stroke-width: 1.5;
    /* Thicker teal lines */
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-dasharray: 4 14;
    animation: plFlow 18s linear infinite;
    opacity: 0.7;
    /* High opacity for visibility */
}

.pl-edge.gold-subtle {
    stroke: rgba(231, 206, 103, 0.3);
    /* Subtle Gold */
    stroke-width: 1;
    opacity: 0.1;
    /* Very faint */
}

.pl-edge.hot {
    stroke: var(--brand-gold);
    /* Brand Gold Bright */
    stroke-width: 1.2;
    /* Slightly thinner than before (1.5) */
    stroke-dasharray: 2 14;
    animation: plFlow 22s linear infinite, plGlow 12s ease-in-out infinite;
    opacity: 0.5;
    /* Lower opacity */
    filter: drop-shadow(0 0 1px rgba(231, 206, 103, 0.3));
    /* Minimal glow */
}

@keyframes plFlow {
    to {
        stroke-dashoffset: -320;
    }
}

@keyframes plGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 2px rgba(231, 206, 103, 0.2));
        opacity: 0.5;
    }

    50% {
        filter: drop-shadow(0 0 6px rgba(231, 206, 103, 0.6));
        opacity: 1;
    }
}

/* Nodes */
.pl-nodes {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.pl-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-teal-light);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(82, 192, 204, 0.4);
    animation: plPulse 8s ease-in-out infinite;
}

/* Node Variations */
.pl-node.gold {
    background: var(--brand-gold);
    box-shadow: 0 0 10px rgba(231, 206, 103, 0.4);
}

.pl-node.small {
    width: 5px;
    height: 5px;
    opacity: 0.8;
}

.pl-node.large {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 15px rgba(82, 192, 204, 0.6);
}

.pl-node.large.gold {
    box-shadow: 0 0 15px rgba(231, 206, 103, 0.6);
}

/* Ripple effect (reduced for small nodes) */
.pl-node::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
    opacity: 0;
    animation: plRipple 6s ease-out infinite;
}

.pl-node.gold::after {
    background: radial-gradient(circle, rgba(231, 206, 103, 0.3), transparent 70%);
}

@keyframes plPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes plRipple {
    0% {
        transform: scale(0.5);
        opacity: 0.4;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Stagger timings */
.pl-node:nth-child(3n) {
    animation-delay: -0.7s;
}

.pl-node:nth-child(4n) {
    animation-delay: -1.1s;
}

.pl-node:nth-child(5n) {
    animation-delay: -1.6s;
}

/* Hero Content Grid */
.pl-hero-content {
    position: relative;
    z-index: 10;
    /* GLOBAL CONTAINER STANDARD */
    width: 100%;
    max-width: 1280px;
    /* Matched to var(--container-width) in site.css */
    margin: 0 auto;
    /* Ensure centering */
    padding: 0 24px;
    /* Matched to .container-custom padding */
}

.pl-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Column: Text align left */
.pl-hero-text {
    text-align: left;
    max-width: 650px;
}

.text-justify-desktop {
    text-align: justify;
    text-justify: inter-word;
}

/* pl-badge removed - replaced by global badge-glass-teal */

/* H1 and subtitle styles removed - using global site.css classes (.hero-title, .hero-subtitle) */

.pl-hero-section h1 .highlight {
    color: var(--brand-gold);
    position: relative;
    display: inline-block;
}

/* Buttons */
.pl-cta-group {
    display: flex;
    gap: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.pl-hero-text .pl-cta-group {
    justify-content: flex-start;
}

/* Button styles removed - using global site.css classes */

/* Right Column: Upload Form */
.pl-hero-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.promptloc-lead-form {
    max-width: 450px;
    min-height: 510px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.24),
        0 0 0 3px rgba(231, 206, 103, 0.1);
    padding: 20px 20px 18px;
}

.promptloc-lead-form .form-header h4 {
    color: var(--brand-gold);
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: 0.015em;
}

.promptloc-lead-form .form-header {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.promptloc-lead-form .form-dots span:first-child {
    background: rgba(231, 206, 103, 0.9);
}

.promptloc-lead-form .form-dots span {
    background: rgba(255, 255, 255, 0.28);
}

.promptloc-lead-form .quote-stepper {
    gap: 8px;
    margin-bottom: 14px;
}

.promptloc-lead-form .quote-step-pill {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
}

.promptloc-lead-form .quote-step-pill.is-active {
    background: rgba(231, 206, 103, 0.22);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(231, 206, 103, 0.28);
}

.promptloc-lead-form .quote-step {
    min-height: 318px;
}

.promptloc-lead-form .quote-form-main {
    gap: 4px;
}

.promptloc-lead-form .form-group {
    margin-bottom: 10px;
}

.promptloc-lead-form .form-group label {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 5px;
}

.promptloc-lead-form .fake-input {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.14);
}

.promptloc-lead-form .real-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.promptloc-lead-form .real-input:focus {
    border-color: rgba(231, 206, 103, 0.72);
    box-shadow: 0 0 0 3px rgba(231, 206, 103, 0.18);
}

.promptloc-lead-form .quote-next-btn {
    width: 220px;
    min-width: 220px;
}

.promptloc-lead-form .real-textarea {
    min-height: 128px;
}

.promptloc-lead-form .quote-step-intro {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.promptloc-lead-form .quote-step-intro strong {
    color: #fff;
}

.promptloc-lead-form .upload-dropzone {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.promptloc-lead-form .upload-dropzone-copy span,
.promptloc-lead-form .upload-dropzone-copy small {
    color: rgba(255, 255, 255, 0.7);
}

.promptloc-lead-form .quote-security-note {
    color: rgba(255, 255, 255, 0.72);
    margin-top: 8px;
    margin-bottom: 12px;
}

.promptloc-lead-form .upload-file-chip {
    background: rgba(255, 255, 255, 0.1);
}

.promptloc-lead-form .quote-checkbox-label {
    color: rgba(255, 255, 255, 0.84);
}

.promptloc-lead-form .quote-checkbox-label a {
    color: var(--brand-gold);
}

.promptloc-lead-form .turnstile-wrap {
    margin-top: 10px;
    margin-bottom: 6px;
}

.promptloc-lead-form .quote-step-actions {
    padding-top: 12px;
}

/* Mock Upload Card styles removed - using global site.css classes */

/* Upload form children styles removed - using global site.css classes */

.pl-form-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .pl-hero-grid {
        grid-template-columns: 1fr;
        /* Removed text-align: center to fixes mobile centering issue */
        gap: 50px;
        align-items: center;
    }

    .pl-hero-text {
        /* Removed auto margins and center align */
        text-align: left;
    }

    .pl-cta-group {
        justify-content: flex-start;
        /* Align buttons left on mobile */
    }

    .pl-hero-form {
        width: 100%;
        align-items: center;
    }
}

/* ========== COMPARISON MATRIX SECTION ========== */
.pl-compare-section {
    padding: 80px 0;
    background: #f4fcfd;
    /* Light Blue Background */
    position: relative;
    color: #0f5e66;
    /* Deep Teal Text */
}

.pl-compare-section .pl-section-title {
    color: var(--brand-teal);
}

.pl-section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

/* Override: Comparison section is left-aligned */
.pl-compare-section .pl-section-header {
    text-align: left;
}

.pl-section-header h2 {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--brand-teal);
    margin-bottom: 10px;
}

.pl-hint {
    color: #1f8b96;
    /* Medium Teal */
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.pl-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* Increased gap */
    max-width: 1280px;
    /* Wider container */
    margin: 0 auto;
    padding: 0 24px;
    align-items: stretch;
}

/* Cards - SaaS Style */
.pl-card {
    border: 1px solid rgba(13, 128, 140, 0.1);
    /* Subtle Teal Border */
    background: #ffffff;
    border-radius: 24px;
    /* Larger radius */
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px -5px rgba(13, 128, 140, 0.05);
    /* Teal-tinted shadow */
}

.pl-card.solution-card {
    background: #ffffff;
    border: 2px solid rgba(82, 192, 204, 0.3);
    /* Stronger Teal Border */
    box-shadow: 0 20px 40px -10px rgba(82, 192, 204, 0.15);
}

/* Card Head */
.pl-card-head {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(244, 252, 253, 0.5);
    /* Very light teal tint */
    border-bottom: 1px solid rgba(13, 128, 140, 0.05);
}

.solution-head {
    background: linear-gradient(to right, rgba(82, 192, 204, 0.08), rgba(231, 206, 103, 0.08));
    border-bottom: 1px solid rgba(82, 192, 204, 0.15);
}

.pl-card-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pl-head-icon {
    width: 52px;
    /* Increased */
    height: 52px;
    border-radius: 14px;
    background: #f0fdfa;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    /* Larger font */
    color: var(--brand-teal);
    box-shadow: 0 2px 5px rgba(13, 128, 140, 0.1);
}

.problem-head .pl-head-icon {
    color: var(--brand-gold);
    /* Gold for Traditional */
    background: #fffdf0;
    /* Light Gold Tint */
}

.solution-head .pl-head-icon {
    background: var(--brand-teal);
    color: white;
    box-shadow: 0 4px 10px rgba(82, 192, 204, 0.3);
}

.pl-title-text strong {
    display: block;
    color: var(--brand-teal);
    font-size: 1.15rem;
    font-weight: 700;
}

.problem-head .pl-title-text strong {
    color: var(--brand-teal);
}

.pl-title-text span {
    display: block;
    font-size: 0.85rem;
    color: #4a9ea6;
    /* Lighter/Muted Teal */
    font-weight: 500;
}

.pl-pill {
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pl-pill.warning {
    background: rgba(231, 206, 103, 0.1);
    color: #bfa15f;
    /* Darker Gold Text */
    border: 1px solid rgba(231, 206, 103, 0.2);
}

.pl-pill.success {
    background: rgba(53, 227, 177, 0.15);
    color: var(--brand-teal);
    /* Dark Teal Text */
    border: 1px solid rgba(53, 227, 177, 0.3);
}

/* Card Body & Feature Grid */
.pl-card-body {
    padding: 30px;
}

.pl-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Default State - Use Layering for Border */
.pl-feat-item {
    background: transparent;
    /* Essential for layering */
    position: relative;
    z-index: 0;
    /* Stacking Context Root */
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    /* Clips the massive beam to the card shape */
    border: 1px solid rgba(13, 128, 140, 0.1);
    /* Inactive State Border */
}

/* Solution Items - No Default Border */
.solution-card .pl-feat-item {
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* 1. LAYER: White Background (The "Card Body") */
.pl-feat-item::after {
    content: '';
    position: absolute;
    inset: 3px;
    /* Leaves 2px for the beam border */
    background: #ffffff;
    border-radius: 14px;
    /* Matches visual radius */
    z-index: -1;
    /* Behind content */
}

/* 2. LAYER: The Spinning Beam */
.pl-feat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1500px;
    /* Massive Square covers any rectangle */
    height: 1500px;
    transform: translate(-50%, -50%);
    /* Centered */
    background: transparent;
    z-index: -2;
    /* Behind White Body */
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

/* ACTIVE STATE - GOLD */
.pl-feat-item.active-gold {
    border-color: transparent !important;
    /* Hide static border */
}

.pl-feat-item.active-gold::before {
    opacity: 1;
    /* Longer Tail (40-100%) for visual continuity */
    background: conic-gradient(from 0deg, transparent 40%, #d4af37 100%);
    animation: border-rotate 1.5s linear infinite;
    /* Slower spin for smoothness */
}

/* ACTIVE STATE - TEAL */
.pl-feat-item.active-teal {
    border-color: transparent !important;
}

.pl-feat-item.active-teal::before {
    opacity: 1;
    /* Longer Tail (40-100%) */
    background: conic-gradient(from 0deg, transparent 40%, var(--brand-teal) 100%);
    animation: border-rotate 1.5s linear infinite;
    /* Slower spin for smoothness */
}

@keyframes border-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Tickmark Sparkle Animation */
@keyframes tick-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4) rotate(15deg);
    }

    100% {
        transform: scale(1);
    }
}

.pl-feat-item.active-teal .pl-badge-mark.good i {
    animation: tick-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    filter: drop-shadow(0 0 10px rgba(82, 192, 204, 1));
}

/* Hover Reset */
.pl-card:hover {
    transform: none;
    box-shadow: 0 10px 30px -5px rgba(13, 128, 140, 0.05);
}

.pl-feat-item:hover {
    transform: none;
    box-shadow: none;
}

.pl-feat-item b {
    display: block;
    color: var(--brand-teal);
    /* Dark Teal */
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.pl-feat-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #2c7a85;
    /* Steel Blue/Teal mix */
    line-height: 1.4;
}

/* Badge Marks */
.pl-badge-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.pl-badge-mark.bad {
    background: #fffdf0;
    /* Light Gold */
    color: #d4af37;
    /* Gold Icon */
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.pl-badge-mark.good {
    background: #e6fffa;
    color: var(--brand-teal);
    border: 1px solid rgba(53, 227, 177, 0.3);
}

/* REMOVE VS BADGE STYLES - It's deleted */
/* Responsive */
@media (max-width: 991px) {
    .pl-compare-grid {
        grid-template-columns: 1fr;
    }

    .pl-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== DATA PIPELINE SECTION ========== */
.pl-pipeline {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, #003845 0%, #002b36 100%);
}

.pl-pipeline .pl-section-header {
    margin-bottom: var(--spacing-xl);
}

.pl-section-title {
    font-family: 'Inter', sans-serif;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.pl-section-title span {
    color: var(--brand-teal-light);
}







.pl-sec-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #0f5e66;
    /* Deep Teal from image */
}

/* Special Icon Treatments */
.pl-icon-box {
    width: 50px;
    height: 50px;
    background: #0f5e66;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl-icon-box i {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Azure Card Specifics */
.pl-sec-pill {
    display: inline-block;
    border: 1px solid #7bcbd4;
    color: #0f5e66;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    background: transparent;
}

.pl-sec-card h3 {
    color: #0f5e66;
    /* Dark Teal Text */
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.3;
    min-height: 48px;
    /* Align titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl-sec-divider {
    height: 1px;
    width: 60px;
    background: #e0e0e0;
    margin: 0 auto 24px auto;
}

.pl-sec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    align-self: flex-start;
}

.pl-sec-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    font-weight: 500;
}

/* Custom Bullet - Angle Right */
.pl-sec-list li::before {
    content: "\F285";
    /* Bootstrap Icon Chevron Right (bi-chevron-right) */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--brand-gold);
    font-weight: bold;
    font-size: 0.75rem;
    line-height: 1;
    top: 5px;
}

.pl-section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: var(--font-size-md);
    color: var(--text-secondary);
}

/* Simple Pipeline Flow */
.pl-pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: nowrap;
    padding: 50px 24px;
}

.pl-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pl-flow-node {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.pl-flow-node i {
    font-size: 1.6rem;
    color: var(--brand-teal-light);
    transition: all 0.5s ease;
}

.pl-flow-node.engine {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(13, 128, 140, 0.4), rgba(13, 128, 140, 0.2));
    border: 3px solid var(--brand-gold);
}

.pl-flow-node.engine i {
    font-size: 2.2rem;
    color: #fff;
}

.pl-flow-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    /* Light color for dark background */
    text-align: center;
    max-width: 120px;
    transition: all 0.5s ease;
}

.pl-flow-arrow {
    width: 40px;
    height: 2px;
    background: var(--brand-teal-light);
    align-self: center;
    border-radius: 2px;
    margin: 0 10px;
    /* Offset up to align with Node center (compensating for Label height) */
    transform: translateY(-15px);
}

.pl-flow-arrow.gold {
    background: var(--brand-gold);
    box-shadow: 0 0 10px rgba(231, 206, 103, 0.4);
}

/* Stack of 4 assets - all equal sized */
.pl-flow-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border: 2px solid rgba(82, 192, 204, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    align-self: center;
}

.pl-flow-stack .pl-flow-item {
    flex-direction: row;
    gap: 12px;
}

.pl-flow-stack .pl-flow-label {
    text-align: left;
}

/* Mobile: Vertical layout */
@media (max-width: 900px) {
    .pl-pipeline-flow {
        flex-direction: column;
        gap: 0;
        /* Remove gap, handle via arrow margin */
    }

    .pl-flow-arrow {
        /* Fix missing lines on mobile */
        transform: rotate(90deg);
        width: 40px;
        /* Keep length */
        height: 2px;
        /* Keep thickness */
        margin: 20px 0;
        /* Add vertical spacing */
    }

    .pl-flow-stack {
        width: 100%;
        max-width: 280px;
    }
}

/* Auto-cycling highlight animation */
@keyframes flowHighlight {

    0%,
    12.5% {
        border-color: var(--brand-gold);
        box-shadow: 0 0 25px rgba(231, 206, 103, 0.6);
        transform: scale(1.08);
    }

    12.5%,
    100% {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: none;
        transform: scale(1);
    }
}

@keyframes flowLabelHighlight {

    0%,
    12.5% {
        color: var(--brand-gold);
    }

    12.5%,
    100% {
        color: var(--text-secondary);
    }
}

/* Apply staggered highlights - 8 steps, 1s each = 8s loop */
.pl-flow-item[data-step="1"] .pl-flow-node {
    animation: flowHighlight 8s ease-in-out infinite;
    animation-delay: 0s;
}

.pl-flow-item[data-step="2"] .pl-flow-node {
    animation: flowHighlight 8s ease-in-out infinite;
    animation-delay: 1s;
}

.pl-flow-item[data-step="3"] .pl-flow-node {
    animation: flowHighlight 8s ease-in-out infinite;
    animation-delay: 2s;
}

.pl-flow-item[data-step="4"] .pl-flow-node {
    animation: flowHighlight 8s ease-in-out infinite;
    animation-delay: 3s;
}

.pl-flow-item[data-step="5"] .pl-flow-node {
    animation: flowHighlight 8s ease-in-out infinite;
    animation-delay: 4s;
}

.pl-flow-item[data-step="6"] .pl-flow-node {
    animation: flowHighlight 8s ease-in-out infinite;
    animation-delay: 5s;
}

.pl-flow-item[data-step="7"] .pl-flow-node {
    animation: flowHighlight 8s ease-in-out infinite;
    animation-delay: 6s;
}

.pl-flow-item[data-step="8"] .pl-flow-node {
    animation: flowHighlight 8s ease-in-out infinite;
    animation-delay: 7s;
}

.pl-flow-item[data-step="1"] .pl-flow-label {
    animation: flowLabelHighlight 8s ease-in-out infinite;
    animation-delay: 0s;
}

.pl-flow-item[data-step="2"] .pl-flow-label {
    animation: flowLabelHighlight 8s ease-in-out infinite;
    animation-delay: 1s;
}

.pl-flow-item[data-step="3"] .pl-flow-label {
    animation: flowLabelHighlight 8s ease-in-out infinite;
    animation-delay: 2s;
}

.pl-flow-item[data-step="4"] .pl-flow-label {
    animation: flowLabelHighlight 8s ease-in-out infinite;
    animation-delay: 3s;
}

.pl-flow-item[data-step="5"] .pl-flow-label {
    animation: flowLabelHighlight 8s ease-in-out infinite;
    animation-delay: 4s;
}

.pl-flow-item[data-step="6"] .pl-flow-label {
    animation: flowLabelHighlight 8s ease-in-out infinite;
    animation-delay: 5s;
}

.pl-flow-item[data-step="7"] .pl-flow-label {
    animation: flowLabelHighlight 8s ease-in-out infinite;
    animation-delay: 6s;
}

.pl-flow-item[data-step="8"] .pl-flow-label {
    animation: flowLabelHighlight 8s ease-in-out infinite;
    animation-delay: 7s;
}

/* Engine node (PromptLoc) special styling */
.pl-step-node.engine {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(13, 128, 140, 0.4), rgba(13, 128, 140, 0.2));
    border-color: var(--brand-teal);
}

.pl-step-node.engine i {
    font-size: 2.5rem;
    color: #fff;
}

/* Step group (4-way split) */
.pl-step-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
}

/* Arrows */
.pl-step-arrow {
    font-size: 1.5rem;
    color: var(--brand-gold);
    z-index: 2;
}

/* Bifurcation lines (from Source to 4 items) */
.pl-bifurcation {
    position: relative;
    width: 60px;
    height: 200px;
    z-index: 1;
}

.pl-bifurcation-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(82, 192, 204, 0.5), var(--brand-teal-light));
}

.pl-bifurcation-line.line-1 {
    top: 12%;
}

.pl-bifurcation-line.line-2 {
    top: 37%;
}

.pl-bifurcation-line.line-3 {
    top: 62%;
}

.pl-bifurcation-line.line-4 {
    top: 87%;
}

/* Convergence lines (from 4 items to PromptLoc) */
.pl-convergence {
    position: relative;
    width: 60px;
    height: 200px;
    z-index: 1;
}

.pl-convergence-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-teal-light), rgba(82, 192, 204, 0.5));
}

.pl-convergence-line.line-1 {
    top: 12%;
}

.pl-convergence-line.line-2 {
    top: 37%;
}

.pl-convergence-line.line-3 {
    top: 62%;
}

.pl-convergence-line.line-4 {
    top: 87%;
}

/* Auto-cycling highlight animation */
@keyframes stepHighlight {

    0%,
    12.5% {
        border-color: var(--brand-gold);
        box-shadow: 0 0 25px rgba(231, 206, 103, 0.6);
        transform: scale(1.1);
    }

    12.5%,
    100% {
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: none;
        transform: scale(1);
    }
}

/* Apply staggered auto-cycling highlights */
.pl-step[data-step="1"] .pl-step-node {
    animation: stepHighlight 8s ease-in-out infinite;
    animation-delay: 0s;
}

.pl-step[data-step="2"] .pl-step-node {
    animation: stepHighlight 8s ease-in-out infinite;
    animation-delay: 1s;
}

.pl-step[data-step="3"] .pl-step-node {
    animation: stepHighlight 8s ease-in-out infinite;
    animation-delay: 2s;
}

.pl-step[data-step="4"] .pl-step-node {
    animation: stepHighlight 8s ease-in-out infinite;
    animation-delay: 3s;
}

.pl-step[data-step="5"] .pl-step-node {
    animation: stepHighlight 8s ease-in-out infinite;
    animation-delay: 4s;
}

.pl-step[data-step="6"] .pl-step-node.engine {
    animation: stepHighlight 8s ease-in-out infinite;
    animation-delay: 5s;
}

.pl-step[data-step="7"] .pl-step-node {
    animation: stepHighlight 8s ease-in-out infinite;
    animation-delay: 6s;
}

.pl-step[data-step="8"] .pl-step-node {
    animation: stepHighlight 8s ease-in-out infinite;
    animation-delay: 7s;
}

/* Label highlight when node is highlighted */
@keyframes labelHighlight {

    0%,
    12.5% {
        color: var(--brand-gold);
        transform: scale(1.05);
    }

    12.5%,
    100% {
        color: var(--text-secondary);
        transform: scale(1);
    }
}

.pl-step[data-step="1"] .pl-step-label {
    animation: labelHighlight 8s ease-in-out infinite;
    animation-delay: 0s;
}

.pl-step[data-step="2"] .pl-step-label {
    animation: labelHighlight 8s ease-in-out infinite;
    animation-delay: 1s;
}

.pl-step[data-step="3"] .pl-step-label {
    animation: labelHighlight 8s ease-in-out infinite;
    animation-delay: 2s;
}

.pl-step[data-step="4"] .pl-step-label {
    animation: labelHighlight 8s ease-in-out infinite;
    animation-delay: 3s;
}

.pl-step[data-step="5"] .pl-step-label {
    animation: labelHighlight 8s ease-in-out infinite;
    animation-delay: 4s;
}

.pl-step[data-step="6"] .pl-step-label {
    animation: labelHighlight 8s ease-in-out infinite;
    animation-delay: 5s;
}

.pl-step[data-step="7"] .pl-step-label {
    animation: labelHighlight 8s ease-in-out infinite;
    animation-delay: 6s;
}

.pl-step[data-step="8"] .pl-step-label {
    animation: labelHighlight 8s ease-in-out infinite;
    animation-delay: 7s;
}

/* ========== WORKFLOW MODULES (Overlap Layout) ========== */
.pl-workflows {
    background: #ffffff;
    /* Simplfying to solid white since we aren't overlapping here anymore */
    padding: 80px 0 80px 0;
    /* Restored bottom padding for cards */
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.pl-workflows h2 {
    color: var(--brand-teal) !important;
    /* Ensure visibility on white */
}

.pl-workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on desktop */
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Card Style - Clean Light Theme */
.pl-workflow-module {
    background: #ffffff;
    border: 1px solid rgba(13, 128, 140, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 15px rgba(13, 128, 140, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pl-workflow-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(13, 128, 140, 0.1);
}

.pl-module-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: var(--spacing-md);
    padding-bottom: 0;
    border-bottom: none;
}

.pl-module-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pl-module-icon i {
    color: #fff;
    font-size: 1.5rem;
}

.pl-module-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--brand-teal);
    /* Dark Teal Title */
    margin: 0;
    opacity: 1;
    /* Ensure full opacity for headers */
    letter-spacing: -0.5px;
}

.pl-module-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pl-module-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    font-family: 'Inter', sans-serif;
    font-size: var(--font-size-base);
    color: #1e5359;
    /* Dark Teal for items */
    font-weight: 500;
    border-bottom: 1px solid rgba(13, 128, 140, 0.1);
}

.pl-module-list li:last-child {
    border-bottom: none;
}

.pl-module-list li::before {
    content: '›';
    color: var(--brand-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========== COMPLIANCE SECTION SPECIFIC ========== */
.pl-workflow-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 1200px) {
    .pl-workflow-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pl-workflow-grid-4 {
        grid-template-columns: 1fr;
    }
}

.pl-compliance-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pl-compliance-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: #f0fdfa;
    /* Very light teal bg */
    border: 1px solid rgba(13, 128, 140, 0.1);
    color: var(--brand-teal);
    font-size: 2.5rem;
    box-shadow: 0 4px 10px rgba(13, 128, 140, 0.05);
}

.pl-compliance-icon svg {
    width: 40px;
    height: auto;
}

.pl-compliance-icon i {
    font-size: 2.5rem;
}

/* ========== CTA SECTION (Dark Theme) ========== */
/* ========== CTA REFINE (Match Homepage Testimonials BG) ========== */
.pl-cta {
    background-image:
        radial-gradient(circle at 90% 30%, transparent 15%, rgba(255, 255, 255, 0.04) 16%, rgba(255, 255, 255, 0.04) 40%, transparent 41%, transparent),
        radial-gradient(circle at 5% 70%, transparent 10%, rgba(255, 255, 255, 0.02) 11%, rgba(255, 255, 255, 0.02) 30%, transparent 31%, transparent),
        linear-gradient(to bottom, #0d808c 0%, #002b36 100%);

    padding: 120px 0;
    /* Resetting huge padding */
    margin-top: 0;
    /* Removing negative margin pull-up */
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.pl-cta-group {
    display: flex;
    justify-content: center;
    /* Center buttons */
    gap: 20px;
    flex-wrap: wrap;
}

.pl-cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.pl-cta h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    /* White Title */
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.pl-cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    /* White paragraph */
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.text-gold-underline {
    position: relative;
    display: inline-block;
}

.text-gold-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    /* Adjust distance */
    width: 100%;
    height: 3px;
    /* Thickness */
    background: var(--brand-gold);
    border-radius: 2px;
}

.pl-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--brand-gold);
    color: #002b36;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: var(--font-size-md);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pl-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(231, 206, 103, 0.4);
    color: #002b36;
}

.pl-btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pl-btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .pl-hero h1 {
        font-size: var(--font-size-3xl);
    }

    .pl-compare-grid {
        grid-template-columns: 1fr;
    }

    .pl-compare-center {
        order: -1;
    }

    .pl-pipeline-visual {
        flex-direction: column;
        align-items: center;
    }

    .pl-pipe-arrow {
        transform: rotate(90deg);
    }

    .pl-workflow-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        /* Center cards */
    }

    .pl-workflow-module {
        width: 100%;
        max-width: 450px;
        /* Constrain width on mobile/tablet */
    }
}

/* Subtitle Visibility Overrides */
/* Section Pill Base */
.pl-section-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 30px auto 0 auto;
    /* Added auto margins to center pill when block-level */
}

/* Ensure centering in center-aligned headers */
.pl-section-header .pl-section-pill {
    display: table;
    /* Using table to allow intrinsic width + margin auto centering */
}

/* Left-aligned pill for left-aligned headers */
.pl-compare-section .pl-section-header .pl-section-pill {
    margin-left: 0;
}

/* Workflow (Light BG) Pill */
.pl-workflows .pl-section-pill {
    background: rgba(13, 128, 140, 0.05);
    /* Very light teal tint */
    color: var(--brand-teal);
    border: 1.5px solid var(--brand-teal);
}

.pl-workflows .pl-section-subtitle {
    color: rgba(30, 83, 89, 0.85) !important;
    margin-top: 20px !important;
}

/* Pipeline (Dark BG) Pill */
.pl-pipeline .pl-section-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pl-pipeline .pl-section-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 20px !important;
}

/* Comparison Subtitle spacing */
.pl-compare-section .pl-section-subtitle {
    margin-top: 30px !important;
}

@media (max-width: 768px) {
    .pl-hero h1 {
        font-size: var(--font-size-2xl);
    }

    .pl-section-title {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 576px) {
    .pl-card-head {
        flex-wrap: wrap;
    }

    .pl-pill {
        margin-left: auto;
        /* Push to right if wrapped, or keep structure */
    }
}

/* Proven Impact Section */
.pl-impact-section {
    position: relative;
    padding: 100px 0 120px 0;
    /* More bottom padding to contain cards */
    overflow: hidden;
    background: radial-gradient(circle at center, #004d61 0%, #002b36 70%);
}

.pl-impact-glass-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    border-radius: 1rem;
    /* Even smaller radius */
    padding: 1rem;
    /* Minimal padding */
    min-height: 180px;
    /* Condensed height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.pl-impact-glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--brand-gold);
    transform: translateY(-8px);
    /* Subtle lift instead of overlap */
}

.pl-shimmer-sweep {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 25%, rgba(255, 255, 255, 0.05) 50%, transparent 75%);
    background-size: 250% 250%;
    background-position: 100% 100%;
    transition: background-position 0.8s ease;
    pointer-events: none;
    z-index: 1;
}

.pl-impact-glass-card:hover .pl-shimmer-sweep {
    background-position: 0% 0%;
}

.pl-impact-icon-bg {
    position: absolute;
    right: -1rem;
    top: -1rem;
    color: rgba(255, 255, 255, 0.06);
    /* Increased from 0.02 for better visibility */
    transform: rotate(12deg);
    transition: all 0.5s ease;
    pointer-events: none;
    font-size: 100px !important;
    /* Increased from 80px */
}

.pl-shimmer-sweep+.pl-impact-icon-bg+.pl-impact-card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.pl-impact-glass-card:hover .pl-impact-icon-bg {
    transform: rotate(12deg) scale(1.1);
    color: rgba(255, 255, 255, 0.06);
}

.pl-impact-metric-prefix {
    color: var(--brand-gold);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.pl-impact-metric-value {
    font-size: 2.2rem;
    /* Significantly reduced */
    font-weight: 800;
    color: var(--brand-gold);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 0.25rem;
}

.pl-impact-metric-label {
    font-size: 1.1rem;
    /* Increased from 0.85rem */
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: white;
    margin-top: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.pl-impact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    /* Reduced glow size */
    height: 600px;
    background: rgba(212, 175, 55, 0.06);
    border-radius: 9999px;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.pl-impact-title {
    font-size: 3rem;
    /* Slightly smaller title */
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.pl-impact-title span:first-child {
    color: white;
}

.pl-impact-title span:last-child {
    color: var(--brand-gold);
}

@media (max-width: 991px) {
    .pl-impact-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .pl-impact-metric-value {
        font-size: 3rem;
    }

    .pl-impact-glass-card {
        min-height: 250px;
        padding: 2rem;
    }
}
