/* ===== VARIABILI CSS SPECIFICHE PLATFORM ===== */
:root {
    /* I colori primari sono definiti nel CSS ATF: --primary-blue, --primary-orange, --primary-red */
    
    /* Shadows e effetti */
    --shadow-card-enhanced: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Colori status specifici */
    --safeeye-primary: #10B981;
    --status-available-bg: rgba(16, 185, 129, 0.15);
    --status-development-bg: rgba(245, 158, 11, 0.15);
    --status-community-bg: rgba(139, 92, 246, 0.15);
    
    /* Spaziature modal */
    --modal-space-xs: 0.25rem;
    --modal-space-sm: 0.5rem;
    --modal-space-md: 1rem;
    --modal-space-lg: 1.5rem;
    --modal-space-xl: 2rem;
    --modal-space-2xl: 3rem;
    
    /* Colori testo modal */
    --modal-text-primary: #ffffff;
    --modal-text-secondary: rgba(255, 255, 255, 0.8);
    --description-muted: rgba(255, 255, 255, 0.6);

    /* Enhanced spacing scale */
    --modal-space-xs: 0.5rem;
    --modal-space-sm: 0.75rem;
    --modal-space-md: 1rem;
    --modal-space-lg: 1.5rem;
    --modal-space-xl: 2rem;
    --modal-space-2xl: 3rem;
}

/* ===== VARIABILI CSS RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --modal-space-xs: 0.4rem;
        --modal-space-sm: 0.6rem;
        --modal-space-md: 0.8rem;
        --modal-space-lg: 1rem;
        --modal-space-xl: 1.2rem;
        --modal-space-2xl: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --modal-space-xs: 0.3rem;
        --modal-space-sm: 0.4rem;
        --modal-space-md: 0.6rem;
        --modal-space-lg: 0.8rem;
        --modal-space-xl: 1rem;
        --modal-space-2xl: 1.2rem;
    }
}

/* ===== SEZIONE PLATFORM PRINCIPALE ===== */
.platform-section {
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.platform-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== HEADER PLATFORM ===== */
.platform-header {
    text-align: center;
    margin-bottom: 4rem;
}

.platform-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #327fa8 0%, #4a9bc7 70%, #F2A93B 95%);
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 2px 4px rgba(50, 127, 168, 0.3));
}

.platform-subtitle {
    font-size: 1.2rem;
    color: white;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== TIMELINE LAYOUT RESPONSIVE ===== */
.platform-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    /*margin: 1rem 0;*/
}

@media (max-width: 768px) {
    .platform-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .platform-timeline {
        gap: 1rem;
        margin: 1.5rem 0;
    }
}

/* ===== PLATFORM CARDS ===== */
.platform-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(50, 127, 168, 0.2);
    border-radius: 16px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(16px);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(50, 127, 168, 0.6), rgba(50, 127, 168, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card:hover {
    /*transform: translateY(-8px) scale(1.01);*/
    box-shadow: var(--shadow-card-enhanced);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(50, 127, 168, 0.4);
}

/* Hover effects specifici per tipo di card */
.platform-card-1:hover {
    background: linear-gradient(135deg, 
        var(--status-available-bg) 0%, 
        rgba(16, 185, 129, 0.08) 100%);
    border-color: rgba(16, 185, 129, 0.4);
}

.platform-card-2:hover {
    background: linear-gradient(135deg, 
        var(--status-development-bg) 0%, 
        rgba(245, 158, 11, 0.08) 100%);
    border-color: rgba(245, 158, 11, 0.4);
}

.platform-card-3:hover {
    background: linear-gradient(135deg, 
        var(--status-community-bg) 0%, 
        rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(139, 92, 246, 0.4);
}

.platform-card-title {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.platform-summary {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* ===== PLATFORM ICONS ===== */
.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
}

.platform-card-1 .platform-icon {
    background: linear-gradient(135deg, #10B981, #059669);
}

.platform-card-2 .platform-icon {
    background: linear-gradient(135deg, #F2A93B, #D97706);
}

.platform-card-3 .platform-icon {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

/* ===== PLATFORM APP LIST ===== */
.platform-app-list {
    margin: 1.5rem 0;
    text-align: left;
}

.platform-app-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(50, 127, 168, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    cursor: pointer;
    overflow: hidden;
}

.platform-app-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    /*transform: translateX(8px);*/
}

.platform-app-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-orange);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.platform-app-item:hover::before {
    transform: scaleY(1);
}

.platform-app-name {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.platform-app-name::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-orange);
    font-weight: bold;
}

.platform-app-item:hover .platform-app-name::after {
    opacity: 1;
    transform: translateX(0);
}

.platform-app-description {
    color: white;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ===== PLATFORM CTA ===== */
.platform-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
    width: fit-content;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.platform-card:hover .platform-cta {
    background: linear-gradient(135deg, #327fa8, #4a9bc7);
    border-color: #327fa8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(50, 127, 168, 0.4);
}

/* ===== MODAL OVERLAY ===== */
.platform-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.platform-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== MODAL CONTENT RESPONSIVE ===== */
.platform-modal-content {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(50, 127, 168, 0.3);
    border-radius: 25px;
    padding: 3rem;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.platform-modal-overlay.active .platform-modal-content {
    transform: scale(1) translateY(0);
}

@media (max-width: 1024px) {
    .platform-modal-content {
        padding: 2rem;
        margin: 1rem;
        max-height: 85vh;
    }
}

@media (max-width: 768px) {
    .platform-modal-content {
        padding: 1.5rem;
        margin: 0.5rem;
        border-radius: 20px;
        max-height: 95vh;
    }
}

@media (max-width: 480px) {
    .platform-modal-content {
        padding: 1rem;
        margin: 0.25rem;
        border-radius: 15px;
        max-height: 98vh;
    }
}

/* ===== MODAL HEADER E NAVIGATION RESPONSIVE ===== */
.platform-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(50, 127, 168, 0.3);
    position: relative;
}

.platform-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-modal-close:hover {
    background: rgba(255, 75, 51, 0.8);
    border-color: #FF4B33;
}

.platform-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.platform-modal-nav:hover {
    background: rgba(50, 127, 168, 0.8);
    border-color: #327fa8;
    opacity: 1;
}

.platform-modal-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.platform-modal-nav.disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.platform-modal-nav-prev {
    left: 0;
}

.platform-modal-nav-next {
    right: 0;
}

@media (max-width: 768px) {
    .platform-modal-header {
        padding: 0 2rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .platform-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
    }
    
    .platform-modal-nav {
        width: 35px;
        height: 35px;
        position: static;
        transform: none;
    }
    
    .platform-modal-nav-prev, 
    .platform-modal-nav-next {
        position: static;
    }
}

@media (max-width: 480px) {
    .platform-modal-header {
        padding: 0 1rem;
        margin-bottom: 1rem;
    }
    
    .platform-modal-close {
        width: 30px;
        height: 30px;
    }
    
    .platform-modal-nav {
        width: 30px;
        height: 30px;
    }
}

/* ===== MODAL TITLE E LOGO ===== */
.platform-modal-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.platform-modal-logo {
    width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.platform-modal-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .platform-modal-logo {
        width: 200px;
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .platform-modal-logo {
        width: 150px;
        max-width: 70%;
    }
}

@media (max-width: 360px) {
    .platform-modal-logo {
        width: 120px;
        max-width: 60%;
    }
}

.platform-modal-app-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    text-align: center;
}

.platform-modal-badge {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* ===== MODAL BODY E SEZIONI ===== */
.platform-modal-body {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.platform-modal-section {
    margin-bottom: 2rem;
}

.platform-modal-section h3 {
    color: #F2A93B;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== MODAL FEATURES - DESKTOP ORIGINALE ===== */
.platform-modal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.platform-modal-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(50, 127, 168, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-modal-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(50, 127, 168, 0.4);
}

.platform-modal-feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.platform-modal-feature h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.platform-modal-feature p {
    font-size: 0.9rem;
    color: white;
}

@media (max-width: 1024px) {
    .platform-modal-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.8rem;
    }
    
    .platform-modal-feature {
        padding: 1rem;
    }
    
    .platform-modal-feature-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .platform-modal-feature h4 {
        font-size: 1.8rem;
    }
    
    .platform-modal-feature p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .platform-modal-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin: 1rem 0;
    }
    
    .platform-modal-feature {
        padding: var(--modal-space-md);
        border-radius: 15px;
        /* Aggiunte specifiche per mobile */
        width: 100%;
        min-height: 90px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .platform-modal-feature-icon {
        font-size: 1.6rem;
        margin-bottom: var(--modal-space-sm);
    }
    
    .platform-modal-feature h4 {
        font-size: 0.9rem;
        margin-bottom: var(--modal-space-sm);
        line-height: 1.3;
        text-align: center;
    }
    
    .platform-modal-feature p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .platform-modal-features {
        gap: 0.6rem;
        margin: 0.8rem 0;
    }
    
    .platform-modal-feature {
        padding: var(--modal-space-sm);
        min-height: 80px;
        border-radius: 12px;
    }
    
    .platform-modal-feature-icon {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    
    .platform-modal-feature h4 {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .platform-modal-feature p {
        font-size: 0.75rem;
    }
}

/* ===== MODAL ACTIONS ===== */
.platform-modal-actions {
    display: flex;
    gap: var(--modal-space-lg);
    justify-content: center;
    margin-top: var(--modal-space-2xl);
    padding-top: var(--modal-space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.platform-modal-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        var(--safeeye-primary), 
        transparent);
}

.platform-cta-primary, .platform-cta-secondary {
    padding: var(--modal-space-md) var(--modal-space-2xl);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--modal-space-sm);
    position: relative;
    overflow: hidden;
}

.platform-cta-primary {
    background:  #327fa8;
    color: white;
    
}

.platform-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
   
    transition: left 0.6s ease;
}

.platform-cta-primary:hover::before {
    left: 100%;
}

.platform-cta-primary:hover {
    background: #FF4B33;
    transform: translateY(-3px) scale(1.02);
    
}

.platform-cta-primary::after {
    /*content: '🚀';*/
    margin-left: var(--modal-space-xs);
    transition: transform 0.3s ease;
}

.platform-cta-primary:hover::after {
    transform: translateX(4px);
}

.platform-cta-secondary {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    color: var(--modal-text-secondary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.platform-cta-secondary:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    color: var(--modal-text-primary);
    border-color: rgba(254, 243, 199, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.1);
}

.platform-cta-secondary::after {
    content: '▶️';
    margin-left: var(--modal-space-xs);
    transition: transform 0.3s ease;
}

.platform-cta-secondary:hover::after {
    transform: translateX(4px);
}

/* ===== KEY FEATURES LIST ===== */
.platform-key-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.platform-key-features li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
    line-height: 1.5;
}

.platform-key-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== HIGHLIGHT BOXES ===== */
.platform-highlight-box {
    background: linear-gradient(135deg, rgba(50, 127, 168, 0.2), rgba(50, 127, 168, 0.1));
    border: 1px solid rgba(50, 127, 168, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #327fa8;
}

.platform-highlight-box h4 {
    color:var(--primary-orange);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* ===== WORKFLOW STEPS ===== */
.platform-workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.platform-workflow-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.platform-workflow-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-3px);
}

.platform-workflow-step::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.platform-workflow-icon {
    font-size: 2rem;
    color: #8B5CF6;
    margin-bottom: 1rem;
}

.platform-workflow-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.platform-workflow-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ===== UTILITY CLASSES ===== */
.desc-muted {
    color: var(--description-muted);
    font-style: italic;
    font-size: 0.85em;
    opacity: 0.9;
}

.norm-ref {
    color: var(--primary-orange);
    font-weight: 600;
    
    padding: 0.1em 0.3em;
    border-radius: 4px;
    
    transition: all 0.3s ease;
}

.norm-ref:hover {
    background: rgba(242, 169, 59, 0.15);
    border-bottom-color: var(--primary-orange);
    transform: translateY(-1px);
}

.plus-sign {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.3em;
    margin: 0 0.2em;
    text-shadow: 0 2px 4px rgba(255, 107, 90, 0.3);
    transition: all 0.3s ease;
}

/* ===== TEXT HIGHLIGHTS ===== */
strong[style*="color:#FF4B33"] {
    color: var(--primary-red) !important;
    font-weight: 700;
    background: linear-gradient(135deg, 
        rgba(255, 75, 51, 0.1) 0%, 
        rgba(255, 75, 51, 0.05) 100%);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    border-bottom: 2px solid rgba(255, 75, 51, 0.3);
    transition: all 0.3s ease;
}

strong[style*="color:#FF4B33"]:hover {
    background: rgba(255, 75, 51, 0.15);
    border-bottom-color: var(--primary-red);
    transform: translateY(-1px);
}

strong[style*="color:#327fa8"] {
    color: var(--primary-blue) !important;
    font-weight: 700;
    background: linear-gradient(135deg, 
        rgba(50, 127, 168, 0.1) 0%, 
        rgba(50, 127, 168, 0.05) 90%);
    padding: 0.1em 0.3em;
    border-radius: 4px;
    border-bottom: 2px solid rgba(50, 127, 168, 0.3);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

strong[style*="color:#327fa8"]:hover {
    background: rgba(50, 127, 168, 0.15);
    border-bottom-color: var(--primary-blue);
    transform: translateY(-1px);
}

/* ===== ACCESSIBILITY ===== */
.platform-card:focus,
.platform-app-item:focus,
.platform-modal-feature:focus,
.platform-key-features li:focus,
.platform-cta-primary:focus,
.platform-cta-secondary:focus {
    outline: 2px solid var(--safeeye-primary);
    outline-offset: 2px;
}

/* ===== FIX SPECIFICI ELEMENTI RESPONSIVE ===== */

/* Fix per norm-ref e plus-sign */
@media (max-width: 768px) {
    .norm-ref {
        font-size: 0.8rem;
        padding: 0.1em 0.2em;
        display: inline-block;
        margin: 0.1rem 0;
        word-break: break-word;
    }
    
    .plus-sign {
        font-size: 1rem;
        margin: 0.2rem;
        display: block;
        text-align: center;
    }
    
    .desc-muted {
        font-size: 0.75rem;
        line-height: 1.3;
        word-break: break-word;
    }
}

/* Fix per contenuto overflow */
.platform-modal-overlay,
.platform-modal-content,
.platform-modal-features,
.platform-modal-feature,
.platform-modal-section {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Touch devices optimization */
@media (hover: none) and (pointer: coarse) {
    .platform-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .platform-card:hover .platform-icon {
        transform: scale(1.05);
    }
    
    .platform-app-item:hover {
        transform: translateX(4px);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .platform-section {
        padding: 2rem 1rem;
    }
    
    .platform-card {
        padding: 1.5rem;
    }
    
    .platform-modal-header {
        padding: 0 2rem;
    }
    
    .platform-modal-title-container {
        gap: 0.5rem;
    }
    
    .platform-modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .platform-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .platform-modal-section {
        padding: var(--modal-space-md);
    }
    
    .platform-modal-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--modal-space-md);
    }
    
    .platform-cta-primary, .platform-cta-secondary {
        padding: var(--modal-space-md) var(--modal-space-lg);
        font-size: 1rem;
        justify-content: center;
    }
    
    .platform-key-features li {
        padding-left: 3rem;
    }
    
    .platform-highlight-box {
        padding: var(--modal-space-lg);
        border-left-width: 4px;
    }
    
    .platform-modal-section h3 {
        font-size: 1.1rem;
    }
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
    .platform-card,
    .platform-icon,
    .platform-cta,
    .platform-app-item,
    .platform-modal-section,
    .platform-modal-feature,
    .platform-key-features li,
    .platform-cta-primary,
    .platform-cta-secondary,
    .platform-highlight-box {
        transition: none;
    }
    
    .platform-card:hover {
        transform: none;
    }
    
    .platform-card:hover .platform-icon {
        transform: none;
    }
    
    .platform-app-name::after {
        display: none;
    }
    
    .platform-modal-feature:hover .platform-modal-feature-icon {
        transform: none;
    }
}

/* ===== ENHANCED MODAL SECTIONS ===== */

.platform-modal-section {
    margin-bottom: var(--modal-space-xl);
    padding: var(--modal-space-lg);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(255, 255, 255, 0.01) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.platform-modal-section:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Enhanced section text */
.platform-modal-section p {
    color: var(--modal-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--modal-space-md);
}

/* ===== ENHANCED HIGHLIGHT BOXES ===== */

.platform-highlight-box {
    background: linear-gradient(135deg, 
        rgba(50, 127, 168, 0.25) 0%, 
        rgba(50, 127, 168, 0.15) 30%,
        rgba(242, 169, 59, 0.08) 70%,
        rgba(255, 75, 51, 0.05) 100%);
    border: 1px solid rgba(50, 127, 168, 0.4);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 6px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(50, 127, 168, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.platform-highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(242, 169, 59, 0.1) 0%, 
        transparent 70%);
    border-radius: 50%;
    animation: highlightFloat 8s ease-in-out infinite;
}

.platform-highlight-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, 
        rgba(255, 75, 51, 0.08) 0%, 
        transparent 60%);
    border-radius: 50%;
    animation: highlightFloat 6s ease-in-out infinite reverse;
}

@keyframes highlightFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.platform-highlight-box:hover {
    background: linear-gradient(135deg, 
        rgba(50, 127, 168, 0.35) 0%, 
        rgba(50, 127, 168, 0.25) 30%,
        rgba(242, 169, 59, 0.12) 70%,
        rgba(255, 75, 51, 0.08) 100%);
    border-color: rgba(50, 127, 168, 0.6);
    box-shadow: 
        0 16px 48px rgba(50, 127, 168, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.platform-highlight-box h4 {
    color: var(--primary-orange);
    margin-bottom: var(--modal-space-md);
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: var(--modal-space-sm);
}

.platform-highlight-box p {
    color: var(--modal-text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1.02rem;
}

/* ===== ENHANCED KEY FEATURES LIST ===== */

.platform-key-features {
    list-style: none;
    padding: 0;
    margin: var(--modal-space-xl) 0;
    display: grid;
    gap: var(--modal-space-md);
}

.platform-key-features li {
    color: var(--modal-text-secondary);
    position: relative;
    padding: var(--modal-space-md) var(--modal-space-md) var(--modal-space-md) 3.5rem;
    line-height: 1.6;
    font-size: 1.02rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.04) 0%, 
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-key-features li:hover {
    color: var(--modal-text-primary);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.platform-key-features li::before {
    content: "✓";
    position: absolute;
    left: var(--modal-space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--safeeye-primary);
    font-weight: bold;
    font-size: 1.4rem;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2) 0%, 
        rgba(16, 185, 129, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.platform-key-features li:hover::before {
    background: var(--safeeye-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    border-color: var(--safeeye-primary);
}

/* Enhanced strong elements within lists */
.platform-key-features li strong {
    color: var(--modal-text-primary);
    font-weight: 600;
}