/* ===== CSS PAGINA PUBBLICITÀ ===== */
/* Design moderno e responsive per ItalyAmami */

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a0b2e, #2d1b69, #1a0b2e);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 11, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(162, 89, 236, 0.3);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #a259ec, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #a259ec, #8a2be2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(162, 89, 236, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #a259ec;
    border: 2px solid #a259ec;
}

.btn-secondary:hover {
    background: #a259ec;
    color: white;
    transform: translateY(-2px);
}

.btn-download {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-contact {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 80px;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 60px 0;
    background: rgba(162, 89, 236, 0.1);
    border-radius: 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(162, 89, 236, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #a259ec, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    color: #e0d7fa;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== FEATURES SECTION ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: rgba(26, 11, 46, 0.8);
    border: 1px solid rgba(162, 89, 236, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a259ec, #8a2be2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(162, 89, 236, 0.2);
    border-color: #a259ec;
}

.feature-icon {
    font-size: 3rem;
    color: #a259ec;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    color: #e0d7fa;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-description {
    color: #c4b5fd;
    line-height: 1.6;
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
    background: rgba(162, 89, 236, 0.1);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
}

.download-section h2 {
    font-size: 2.5rem;
    color: #e0d7fa;
    margin-bottom: 30px;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.download-card {
    background: rgba(26, 11, 46, 0.8);
    border: 1px solid rgba(162, 89, 236, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: #a259ec;
    box-shadow: 0 10px 30px rgba(162, 89, 236, 0.2);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-card.android .download-icon {
    color: #4CAF50;
}

.download-card.ios .download-icon {
    color: #007AFF;
}

.download-card.web .download-icon {
    color: #a259ec;
}

.download-title {
    font-size: 1.3rem;
    color: #e0d7fa;
    margin-bottom: 15px;
    font-weight: 600;
}

.download-description {
    color: #c4b5fd;
    margin-bottom: 20px;
    line-height: 1.5;
}

.download-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.download-btn.android {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.download-btn.ios {
    background: linear-gradient(135deg, #007AFF, #0056CC);
    color: white;
}

.download-btn.web {
    background: linear-gradient(135deg, #a259ec, #8a2be2);
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.download-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== STATS SECTION ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(162, 89, 236, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(162, 89, 236, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #a259ec;
    margin-bottom: 10px;
}

.stat-label {
    color: #e0d7fa;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(26, 11, 46, 0.9);
    border-top: 1px solid rgba(162, 89, 236, 0.3);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer p {
    margin: 5px 0;
    color: #c4b5fd;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.footer-link {
    color: #c4b5fd;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(162, 89, 236, 0.1);
    border: 1px solid rgba(162, 89, 236, 0.2);
}

.footer-link:hover {
    color: #e0d7fa;
    background: rgba(162, 89, 236, 0.2);
    border-color: #a259ec;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: #a259ec;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #e0d7fa;
    transform: scale(1.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .download-section {
        padding: 40px 20px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 11, 46, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #a259ec, #8a2be2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8a2be2, #a259ec);
}
