/* --- style-ape.css --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

:root {
    --primary: #7b2cbf; /* Viola Apedomus */
    --secondary: #f39200; /* Arancione Energetico */
    --light-bg: #f8f9fa;
    --dark-text: #2d3436;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    background-color: #fdfdfd;
    line-height: 1.7;
}

/* Header con Pulsante Indietro */
.hero-section {
    background: linear-gradient(135deg, var(--primary), #9d4edd);
    color: white;
    padding: 60px 0;
    border-radius: 0 0 50px 50px;
    margin-bottom: 40px;
    position: relative;
}

.btn-back {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 50px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-back:hover {
    background: rgba(255,255,255,0.25);
    color: white;
    transform: translateX(-5px);
}

/* Timeline delle Fasi */
.phase-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.04);
    border: 1px solid #f1f1f1;
    position: relative;
}

.phase-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--secondary);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Box IBAN */
.iban-box {
    background: #2d3436;
    color: #dfe6e9;
    padding: 25px;
    border-radius: 15px;
    font-family: 'Courier New', monospace;
    margin: 20px 0;
}

.iban-box strong { 
    color: var(--secondary); 
    font-size: 1.1rem; 
}

/* Griglia Prezzi */
.price-card {
    background: white;
    border-top: 4px solid var(--secondary);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Indicatori Semaforici */
.status-pill {
    padding: 2px 10px;
    border-radius: 5px;
    font-weight: bold;
}
.status-red { 
    color: #e74c3c; 
    background: rgba(231, 76, 60, 0.1); 
}
.status-green { 
    color: #27ae60; 
    background: rgba(39, 174, 96, 0.1); 
}

.btn-cta {
    background: var(--secondary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 15px rgba(243, 146, 0, 0.3);
    border: none;
}

.btn-cta:hover {
    filter: brightness(1.1);
    color: white;
}

@media (max-width: 768px) {
    .btn-back { position: relative; top: 0; left: 0; margin-bottom: 20px; display: inline-flex; }
    .hero-section { padding: 40px 20px; }
}
/* Pulsante Informativo Moderno */
.btn-info-ape {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    margin-top: 15px;
}

.btn-info-ape:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* Icona animata nel pulsante */
.btn-info-ape i {
    font-size: 1.2rem;
}