/* Hero CTA Section */
    .hero-cta-section {
        background: linear-gradient(135deg, #031a32 0%, #002543 100%);
        padding: 40px;
        border-radius: 12px;
        text-align: center;
        margin: 40px 0;
    }
    
    .hero-cta-text {
        color: white;
        font-size: 1.3rem;
        margin: 0;
        line-height: 1.8;
    }
    
    .hero-link {
        color: #fef08a;
        text-decoration: underline;
        font-weight: 600;
        transition: color 0.3s ease;
    }
    
    .hero-link:hover {
        color: #fde047;
    }
        
    /* References Section */
    .references-section {
        margin-top: 3rem;
    }

    .references-toggle {
        background: linear-gradient(135deg, #043160, #1e5289);
        color: white;
        padding: 1rem 1.5rem;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(4, 49, 96, 0.3);
    }

    .references-toggle:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(4, 49, 96, 0.4);
    }

    .references-title {
        color: white;
        font-size: 1.3rem;
        font-weight: 700;
        margin: 0;
    }

    .references-arrow {
        font-size: 1.5rem;
        transition: transform 0.3s ease;
    }

    .references-toggle.active .references-arrow {
        transform: rotate(180deg);
    }

    .references-content {
    margin-top: 20px;
    padding: 20px;
    }

    .references-list {
        padding: 2rem;
        list-style: none;
        margin: 0;
    }

    .references-list li {
        margin-bottom: 1rem;
        padding: 0.8rem;
        background: #f8f9fa;
        border-left: 4px solid var(--par-title-color);
        border-radius: 4px;
        line-height: 1.5;
        font-size: 0.9rem;
    }
    
    /* Software Hero */
    .software-hero {
        background: #001d3c;
        color: white;
        padding: 60px 40px;
        border-radius: 15px;
        margin-bottom: 40px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    .software-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 3s infinite;
    }
    
    @keyframes shimmer {
        0% { left: -100%; }
        100% { left: 100%; }
    }
    
    .software-hero h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        font-weight: 700;
        position: relative;
        z-index: 1;
    }
    
    .software-hero p {
        font-size: 1.3rem;
        max-width: 800px;
        margin: 10px auto;
        line-height: 1.8;
        position: relative;
        z-index: 1;
    }
    
    /* Installation Section - Parchment Style */
    .parchment {
        background: linear-gradient(to bottom, #f4e8d0 0%, #f9f3e8 50%, #f4e8d0 100%);
        border-radius: 15px;
        padding: 50px 40px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        border: 3px solid #d4a574;
        position: relative;
    }
    
    .story-content {
        color: #2c3e50;
        line-height: 1.8;
        font-size: 1.1rem;
    }
    
    .story-content p {
        margin-bottom: 20px;
    }
    
    .story-content strong {
        color: #1e5289;
        font-size: 1.2rem;
    }
    
    .installation-steps {
        counter-reset: step-counter;
        list-style: none;
        padding-left: 0;
    }

    .installation-steps li {
        counter-increment: step-counter;
        margin-bottom: 30px;
        padding-left: 60px;
        position: relative;
    }

    .installation-steps li::before {
        content: counter(step-counter);
        position: absolute;
        left: 0;
        top: 0;
        background: #1e5289;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.2rem;
    }

    /* Code Blocks */
    .code-block {
        background: #2d3748;
        color: #e2e8f0;
        padding: 15px 20px;
        border-radius: 8px;
        font-family: 'Courier New', monospace;
        margin: 15px 0;
        overflow-x: auto;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    
    .code-block:hover {
        background: #374151;
    }
    
    /* Image Placeholder */
    .image-placeholder {
        margin: 20px 0;
        text-align: center;
    }
    
    .image-placeholder img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    /* Feature Grid */
    .feature-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin: 30px 0;
    }
    
    .feature-card {
        background: white;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    }
    
    .feature-card h4 {
        color: #1e5289;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    /* Step Cards */
    .step-card {
        background: #f8f9fa;
        padding: 30px;
        border-radius: 12px;
        margin-bottom: 25px;
        border-left: 6px solid #1e5289;
    }
    
    .step-card h3 {
        color: #1e5289;
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .step-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

    .step-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    /* Workflow Diagram */
    .workflow-diagram {
        background: white;
        padding: 30px;
        border-radius: 12px;
        margin: 30px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .workflow-diagram img {
        max-width: 100%;
        height: auto;
    }
    
    /* Color Badges */
    .color-badge {
        display: inline-block;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
        margin: 5px;
    }
    
    .badge-green {
        background: #c6f6d5;
        color: #22543d;
    }
    
    .badge-yellow {
        background: #fef08a;
        color: #854d0e;
    }
    
    .badge-red {
        background: #fecaca;
        color: #991b1b;
    }
    
    .badge-purple {
        background: #e9d5ff;
        color: #6b21a8;
    }
    
    /* Usage Steps Container */
    .usage-steps-container {
        margin: 30px 0;
    }

    .usage-step-row {
        background: white;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        margin-bottom: 25px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .usage-step-row:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    }

    .usage-step-content {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    .usage-number {
        background: #1e5289;
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 700;
        flex-shrink: 0;
    }

    .usage-text {
        flex: 1;
    }

    .usage-text h4 {
        color: #1e5289;
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

    .usage-text p {
        color: #4a5568;
        line-height: 1.6;
        margin: 0;
    }

    .usage-step-image {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        min-height: 150px;
    }

    .usage-step-image img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* Placeholder per immagini mancanti */
    .usage-step-image:empty::before {
        content: '📸';
        font-size: 3rem;
        color: #cbd5e0;
    }

    /* Responsive Design per mobile */
    @media (max-width: 767px) {
        .usage-step-row {
            padding: 20px 15px;
        }
        
        .usage-step-content {
            margin-bottom: 20px;
        }
        
        .usage-number {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }
        
        .usage-text h4 {
            font-size: 1.1rem;
        }
        
        .usage-step-image {
            min-height: 200px;
        }
    }

    /* Usage Grid */
    .usage-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin: 30px 0;
    }
    
    .usage-step {
        background: white;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
        transition: transform 0.3s ease;
    }
    
    .usage-step:hover {
        transform: translateY(-5px);
    }

    .usage-icon { 

        font-size: 2.5rem; 

        margin: 0 auto 15px; 

        height: 50px; 

        display: flex; 

        align-items: center; 

        justify-content: center; 

    } 
    
    .usage-step h4 {
        color: #1e5289;
        margin-bottom: 10px;
    }
    
    
    
    /* Responsive Design */
    @media (max-width: 992px) {
        .feature-grid {
            grid-template-columns: 1fr;
        }
        
        .usage-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .improvements-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .software-hero h1 {
            font-size: 2rem;
        }
        
        .software-hero p {
            font-size: 1.1rem;
        }
        
        .usage-grid {
            grid-template-columns: 1fr;
        }
        
        .parchment {
            padding: 30px 20px;
        }
        
        .story-title {
            font-size: 2rem;
        }
    }
    
    @media (max-width: 576px) {
        .improvements-grid {
            grid-template-columns: 1fr;
        }
        
        .improvement-item {
            min-height: 150px;
        }
    }

    /* Breakpoint extra-small (< 576px) */
    @media (max-width: 576px) {
        /* Hero section */
        .software-hero {
            padding: 40px 20px;
        }
        
        .software-hero h1 {
            font-size: 1.8rem;
        }
        
        .software-hero p {
            font-size: 1rem;
        }
        
        /* Parchment */
        .parchment {
            padding: 20px 15px;
        }
        
        /* Installation steps */
        .installation-steps li {
            padding-left: 50px;
            font-size: 0.95rem;
        }
        
        .installation-steps li::before {
            width: 35px;
            height: 35px;
            font-size: 1rem;
        }
        
        /* Code blocks */
        .code-block {
            font-size: 0.85rem;
            padding: 12px 15px;
            word-break: break-all;
        }
        
        /* Color badges */
        .color-badge {
            font-size: 0.8rem;
            padding: 6px 10px;
            margin: 3px;
        }
        
        /* Feature cards */
        .feature-card {
            padding: 20px;
        }
        
        .feature-card h4 {
            font-size: 1.2rem;
        }
        
        /* CTA section */
        .hero-cta-section {
            padding: 30px 20px;
        }
        
        .hero-cta-text {
            font-size: 1rem;
        }
        
        /* Usage steps */
        .usage-step {
            padding: 20px 15px;
        }
        
        /* References */
        .references-list li {
            font-size: 0.85rem;
            padding: 0.6rem;
        }
    }

    /* Breakpoint molto piccolo (< 400px) */
    @media (max-width: 400px) {
        .parchment {
            padding: 15px 10px;
        }
        
        .software-hero {
            padding: 30px 15px;
        }
        
        .software-hero h1 {
            font-size: 1.5rem;
        }
        
        .installation-steps li {
            padding-left: 45px;
        }
    }

    /* Container principale - previene overflow */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .col {
        padding-left: 15px;
        padding-right: 15px;
    }

    @media (max-width: 576px) {
        .col {
            padding-left: 10px;
            padding-right: 10px;
        }
    }
