@charset "utf-8";

/* ==============================================================
   1. VARIABILI E RESET BASE
   ============================================================== */
:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --card-bg: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(59, 130, 246, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: radial-gradient(circle at top right, #1e293b, transparent 40%),
                      radial-gradient(circle at bottom left, #1e293b, transparent 40%);
    background-attachment: fixed;
}

.bg-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* ==============================================================
   2. NAVBAR, DROPDOWN E HEADER
   ============================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--primary-color) !important;
    box-shadow: 0 4px 25px rgba(59, 130, 246, 0.4) !important;
}

.logo { font-size: 24px; font-weight: 800; color: #fff; }
.logo span { color: var(--primary-color); }

.navbar-menu { display: flex; align-items: center; justify-content: flex-end; flex-grow: 1; gap: 30px; }
.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; justify-content: flex-end; width: 100%; margin: 0; padding: 0; }
.nav-links li a { text-decoration: none; color: #cbd5e1; font-weight: 600; transition: color 0.3s; }
.nav-links li a:hover { color: #fff; }

.auth-buttons { display: flex; align-items: center; }
.auth-buttons a { text-decoration: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; transition: 0.3s; }
.btn-login { color: #fff; margin-right: 15px; }
.btn-register { background: var(--primary-color); color: #fff; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
.btn-register:hover { background: #2563eb; }

.mobile-toggle { display: none; background: none; border: none; color: #f8fafc; font-size: 1.8rem; cursor: pointer; padding: 0; margin: 0; }

/* Tendina Desktop (Glassmorphism) */
.dropdown { position: relative; padding: 15px 0; }
.dropdown-content { 
    display: none; position: absolute; background: rgba(15, 23, 42, 0.98); min-width: 280px; 
    box-shadow: 0px 15px 35px rgba(0,0,0,0.5); z-index: 1000; border-radius: 15px; 
    border: 1px solid #334155; top: 100%; right: 0; overflow: hidden; backdrop-filter: blur(10px); 
}
.dropdown-content a { color: #cbd5e1; padding: 15px 20px; text-decoration: none; display: block; font-size: 0.95rem; border-bottom: 1px solid #1e293b; transition: 0.3s; font-weight: 400; }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: #1e293b; color: #3b82f6; padding-left: 25px; }
.dropdown-content i { width: 25px; color: #3b82f6; text-align: center; }
.dropdown-separator { height: 1px; background-color: #334155; margin: 5px 0; }

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content { display: block; animation: fadeIn 0.3s; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ==============================================================
   3. HERO SECTION E RICERCA
   ============================================================== */
.hero { min-height: 80vh; display: flex; justify-content: center; align-items: center; text-align: center; padding: 50px 20px 10px 20px; }
.hero-content { max-width: 800px; }

.badge { display: inline-block; padding: 8px 16px; background: rgba(59, 130, 246, 0.1); color: #60a5fa; border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(59, 130, 246, 0.2); }
h1 { font-size: 54px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: #94a3b8; margin-bottom: 40px; }

.search-box {
    display: flex; align-items: stretch; background: #fff; max-width: 700px; margin: 0 auto;
    border-radius: 50px; border: 2px solid #3b82f6; box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    overflow: visible; padding: 0; position: relative; transition: 0.3s;
}
.search-box:focus-within { box-shadow: 0 0 35px rgba(59, 130, 246, 0.6); }

.gear-wrapper { position: relative; display: flex; align-items: center; justify-content: center; padding-left: 20px; }
.search-box .icon-url { color: #64748b; font-size: 22px; cursor: pointer; transition: 0.3s; padding-right: 15px; }
.search-box .icon-url:hover { color: #3b82f6; transform: rotate(90deg); }

.search-box input[type="url"] { flex: 1; border: none; padding: 20px 15px; font-size: 18px; background: transparent; color: #0f172a; outline: none; font-weight: 500; }
.search-box input::placeholder { color: #94a3b8; }

.search-box .btn-analyze {
    border: none; background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff;
    padding: 0 40px; font-weight: 800; font-size: 18px; cursor: pointer;
    border-radius: 50px; margin: 5px; transition: transform 0.3s, box-shadow 0.3s; white-space: nowrap;
}
.search-box .btn-analyze:hover { transform: scale(1.03); box-shadow: 0 5px 15px rgba(139, 92, 246, 0.5); }

.micro-copy { margin-top: 15px; margin-bottom: 20px; font-size: 13px; color: #64748b; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Fumetto e Dropdown Scansione */
.fumetto-scansione {
    position: absolute; bottom: 120%; left: 45%; transform: translateX(-50%);
    background: #2563eb; color: #fff; padding: 6px 14px; border-radius: 8px;
    font-size: 12px; font-weight: bold; white-space: nowrap;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
    animation: bounceFumetto 2s infinite; pointer-events: none; transition: opacity 0.3s, visibility 0.3s; z-index: 10;
}
.fumetto-scansione::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border-width: 6px; border-style: solid; border-color: #2563eb transparent transparent transparent; }
@keyframes bounceFumetto { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }
.fumetto-scansione.hidden { opacity: 0; visibility: hidden; }

.scan-options-dropdown {
    display: none; position: absolute; top: 140%; left: 0; background: #0f172a; border: 1px solid #3b82f6; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6); z-index: 100; padding: 15px; min-width: 320px; text-align: left;
}
.scan-options-dropdown.active { display: block; animation: fadeIn 0.3s; }
.scan-option-label { display: block; color: #cbd5e1; padding: 12px 10px; font-size: 14px; cursor: pointer; border-radius: 8px; transition: 0.3s; }
.scan-option-label:hover { background: #1e293b; color: #3b82f6; }
.scan-option-label input { margin-right: 10px; cursor: pointer; }

/* ==============================================================
   4. STATISTICHE (BARRA ORIZZONTALE)
   ============================================================== */
.stats-bar { display: flex; justify-content: center; align-items: center; gap: 40px; padding: 30px 5%; background: linear-gradient(90deg, rgba(15, 23, 42, 0.1), rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.1)); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); flex-wrap: wrap; margin-top: 10px; position: relative; z-index: 10;}
.stat-item { display: flex; align-items: center; gap: 15px; }
.stat-icon { width: 55px; height: 55px; background: rgba(59, 130, 246, 0.1); border-radius: 15px; display: flex; justify-content: center; align-items: center; font-size: 24px; color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.stat-text { text-align: left; }
.stat-number { font-size: 26px; font-weight: 900; color: #f8fafc; margin: 0; line-height: 1.1; font-family: monospace; }
.stat-label { font-size: 12px; color: #94a3b8; text-transform: uppercase; font-weight: bold; margin: 0; letter-spacing: 1px; }

/* ==============================================================
   5. SEZIONI CONTENUTO E FEATURES
   ============================================================== */
.seo-intro { max-width: 900px; margin: 0 auto; text-align: center; background: rgba(30, 41, 59, 0.4); padding: 35px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); box-shadow: inset 0 0 20px rgba(0,0,0,0.2); }
.seo-intro h2 { font-size: 26px; margin-bottom: 15px; color: #fff; }
.seo-intro p { font-size: 16px; color: #cbd5e1; line-height: 1.8; margin-bottom: 0; }
.seo-intro strong { color: #f8fafc; }

.features { display: flex; justify-content: center; gap: 30px; padding: 50px 5%; flex-wrap: wrap; margin-top: 0; }
.feature-card { background: var(--card-bg); border: 1px solid var(--border-color); padding: 30px; border-radius: 20px; width: 30%; min-width: 300px; backdrop-filter: blur(10px); transition: 0.3s; }
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.icon-box { font-size: 30px; color: var(--primary-color); margin-bottom: 20px; background: rgba(59, 130, 246, 0.1); width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; border-radius: 15px; }

/* ==============================================================
   6. COMPONENTI UI (Loading, Report, Accordion)
   ============================================================== */
.loading-container { max-width: 600px; margin: 0 auto; background: var(--card-bg); padding: 40px; border-radius: 20px; border: 1px solid var(--border-color); box-shadow: 0 15px 35px rgba(0,0,0,0.4); backdrop-filter: blur(10px); }
.loader-ring { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 30px auto; border: 4px dashed var(--primary-color); animation: spin 3s linear infinite; display: flex; justify-content: center; align-items: center; box-shadow: var(--glow); }
.loader-core { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); animation: pulse 1.5s ease-in-out infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 0.5; } 50% { transform: scale(1); opacity: 1; } 100% { transform: scale(0.8); opacity: 0.5; } }

.progress-wrapper { margin-top: 20px; }
.progress-bar { width: 100%; height: 12px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); border-radius: 10px; transition: width 0.4s ease-out; box-shadow: 0 0 10px var(--primary-color); }
.progress-percentage { font-size: 24px; font-weight: 800; color: #fff; margin-top: 10px; }

.dashboard-container { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.report-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.text-highlight { color: var(--primary-color); }
.report-actions { display: flex; gap: 15px; }
.btn-primary { background: var(--primary-color); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.btn-outline { background: transparent; color: #fff; border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 8px; cursor: pointer; }

.score-section { display: flex; align-items: center; gap: 30px; background: var(--card-bg); padding: 30px; border-radius: 20px; margin-bottom: 40px; border: 1px solid var(--border-color); }
.score-circle { width: 120px; height: 120px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 8px solid; box-shadow: inset 0 0 20px rgba(0,0,0,0.5); }
.score-good { border-color: #22c55e; color: #22c55e; text-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
.score-bad { border-color: #ef4444; color: #ef4444; }
.score-warning { border-color: #eab308; color: #eab308; }
.score-number { font-size: 36px; font-weight: 900; line-height: 1; }
.score-max { font-size: 14px; opacity: 0.7; }

.report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 50px; }
.report-card { background: var(--card-bg); padding: 25px; border-radius: 15px; border-top: 4px solid; }
.card-red { border-top-color: #ef4444; }
.card-yellow { border-top-color: #eab308; }
.card-green { border-top-color: #22c55e; }
.card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.card-header i { font-size: 24px; }
.card-header h4 { flex-grow: 1; margin: 0; }
.badge-status { padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: bold; color: #fff; }
.bg-red { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.bg-yellow { background: rgba(234, 179, 8, 0.2); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.3); }
.bg-green { background: rgba(34, 197, 94, 0.2); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.3); }
.result-list { list-style: none; padding: 0; }
.result-list li { margin-bottom: 12px; font-size: 14px; display: flex; align-items: center; gap: 10px;}
.text-red { color: #ef4444; }
.text-yellow { color: #eab308; }
.text-green { color: #22c55e; }

.cta-banner { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2)); border: 1px solid var(--primary-color); border-radius: 20px; padding: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta-content { flex: 1; min-width: 300px; }
.cta-content h3 { margin-bottom: 10px; }
.btn-register-large { background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); color: #fff; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 16px; box-shadow: var(--glow); transition: transform 0.3s; }
.btn-register-large:hover { transform: scale(1.05); }

.detailed-logs-section { margin-bottom: 50px; }
.section-title { font-size: 24px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.accordion-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; margin-bottom: 15px; overflow: hidden; }
.accordion-header { width: 100%; background: transparent; color: #fff; border: none; padding: 20px; font-size: 16px; font-weight: 600; text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.3s; }
.accordion-header:hover { background: rgba(255, 255, 255, 0.05); }
.accordion-icon { transition: transform 0.3s ease; }
.accordion-content { max-height: 0; padding: 0 20px; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; background: rgba(15, 23, 42, 0.5); }

.styled-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.styled-table th, .styled-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.styled-table th { background-color: rgba(0, 0, 0, 0.2); color: #cbd5e1; }
.styled-table code { background: rgba(0,0,0,0.4); padding: 3px 8px; border-radius: 5px; color: #60a5fa; }

footer { text-align: center; padding: 30px; color: #64748b; border-top: 1px solid var(--border-color); margin-top: 50px; }

/* ==============================================================
   7. RESPONSIVE DESIGN (Mobile e Tablet)
   ============================================================== */
@media (max-width: 768px) {
    /* Fix AI Banner Mobile */
    .ai-banner-container { padding: 25px 15px; text-align: center; justify-content: center; }
    .ai-banner-title { font-size: 1.6rem; word-break: break-word; } /* Riduce il font e rompe la parola se serve */
    .ai-banner-icon { flex: 0 0 100px; font-size: 5rem; margin: 0 auto; }
    /* Navbar e Menu Hamburger */
    .navbar { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
    .mobile-toggle { display: block; }
    
    .navbar-menu { 
        display: none; width: 100%; background: #0f172a; position: absolute; top: 100%; left: 0; 
        padding: 20px; border-bottom: 1px solid #3b82f6; z-index: 999; box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
        flex-direction: column; text-align: left; gap: 20px;
    }
    .navbar-menu.active { display: flex; }
    .nav-links { flex-direction: column; width: 100%; gap: 15px; align-items: flex-start; justify-content: flex-start; }
    
    .auth-buttons { display: flex; flex-direction: column; width: 100%; gap: 15px; }
    .btn-login { margin-right: 0; }

    /* Adattamento Tendina su Mobile */
    .dropdown { padding: 0; width: 100%; }
    .dropdown-content { position: static; display: none; box-shadow: none; border: none; background-color: transparent; padding-left: 15px; min-width: auto; }
    .dropdown.active .dropdown-content { display: block; }
    .dropbtn { display: flex; justify-content: space-between; align-items: center; width: 100%; }

    /* Testi e Barra di Ricerca della Home */
    .hero { padding-top: 90px; } 
    h1 { font-size: 36px; line-height: 1.2; }
    
    .search-box { flex-direction: column; background: transparent; border: none; box-shadow: none; }
    .gear-wrapper { padding: 0; margin-bottom: 15px; }
    .search-box .icon-url { display: flex; align-items: center; justify-content: center; background: #1e293b; color: #f8fafc; padding: 12px 25px; border-radius: 50px; font-size: 15px; border: 1px solid #3b82f6; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
    .search-box .icon-url::after { content: ' Opzioni Scansione'; margin-left: 10px; font-family: 'Inter', sans-serif; font-weight: bold; }
    .search-box .icon-url:hover { transform: translateY(-2px); }
    
    .fumetto-scansione { display: none; } 
    .scan-options-dropdown { left: 50%; transform: translateX(-50%); top: 110%; width: 90%; min-width: 0; }
    
    .search-box input[type="url"] { border-radius: 50px; width: 100%; text-align: center; border: 2px solid #3b82f6; padding: 18px; background: #fff; box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); margin-bottom: 15px; }
    .search-box .btn-analyze { width: 100%; margin: 0; padding: 20px; border-radius: 15px; }

    /* Cards e Griglia della Dashboard */
    .stats-bar { flex-direction: column; gap: 30px; text-align: center; padding: 40px 5%; }
    .stat-item { flex-direction: column; gap: 10px; }
    .stat-text { text-align: center; }
    
    .features, .report-grid { flex-direction: column; padding: 20px 5%; }
    .feature-card, .report-card { width: 100%; min-width: 100%; }
    
    .score-section { flex-direction: column; text-align: center; gap: 20px; }
    .report-header { flex-direction: column; text-align: center; gap: 15px; }
    .report-actions { width: 100%; display: flex; flex-direction: column; gap: 10px; }
    .btn-primary, .btn-outline { width: 100%; }

    /* Banner Call to Action e Accordion */
    .cta-banner { flex-direction: column; text-align: center; padding: 25px 15px; }
    .btn-register-large { width: 100%; font-size: 14px; text-align: center; }
    .accordion-header { font-size: 14px; padding: 15px 10px; flex-direction: column; gap: 10px; text-align: center; }
    
    /* Tabelle interne ridimensionate */
    .styled-table th, .styled-table td { padding: 8px; font-size: 12px; }
}
/* ==============================================================
   SEZIONE AI BANNER
   ============================================================== */
.ai-section { padding: 0 20px; margin-bottom: 60px; }
.ai-banner-container { max-width: 1000px; margin: 0 auto; padding: 40px; background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(15, 23, 42, 0.8)); border: 1px solid rgba(168, 85, 247, 0.4); border-radius: 20px; box-shadow: 0 10px 40px rgba(168, 85, 247, 0.15); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.ai-banner-content { flex: 1; min-width: 300px; }
.ai-badge { display:inline-block; background:rgba(168, 85, 247, 0.2); color:#c084fc; padding:6px 15px; border-radius:50px; font-weight:800; font-size: 0.85rem; border:1px solid rgba(168, 85, 247, 0.4); margin-bottom:15px; text-transform: uppercase; letter-spacing: 1px; }
.ai-banner-title { font-size: 2.2rem; color: #f8fafc; margin-top: 0; margin-bottom: 15px; line-height: 1.2; }
.ai-banner-title span { color: #a855f7; }
.ai-banner-text { color: #cbd5e1; font-size: 1.1rem; line-height: 1.7; margin-bottom: 20px; }
.ai-banner-link { display: inline-block; color: #a855f7; font-weight: bold; text-decoration: none; border-bottom: 1px dashed #a855f7; padding-bottom: 2px; transition: 0.3s; }
.ai-banner-link:hover { color:#d8b4fe; border-color:#d8b4fe; }
.ai-banner-icon { font-size: 7rem; color: #a855f7; opacity: 0.8; text-align: center; flex: 0 0 150px; filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.4)); }
/* ==============================================================
   8. ARTICOLI BLOG E CONTENUTI EDITORIALI
   ============================================================== */
.article-container { max-width: 800px; margin: 60px auto 100px; padding: 0 20px; color: #cbd5e1; font-size: 1.1rem; line-height: 1.8; }
.article-header { text-align: center; margin-bottom: 50px; }
.article-header h1 { font-size: 2.8rem; color: #f8fafc; margin-bottom: 15px; line-height: 1.2; }
.article-header .category { color: #f59e0b; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.article-container h2 { color: #60a5fa; font-size: 1.8rem; margin-top: 50px; margin-bottom: 20px; border-bottom: 1px solid rgba(59, 130, 246, 0.2); padding-bottom: 10px; }
.article-container h3 { color: #f8fafc; font-size: 1.4rem; margin-top: 30px; margin-bottom: 15px; }
.article-container strong { color: #f8fafc; }
.article-container ul { margin-bottom: 25px; padding-left: 20px; }
.article-container li { margin-bottom: 10px; }

/* Box Call to Action in mezzo agli articoli */
.cta-box { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(59, 130, 246, 0.1)); border: 1px solid #f59e0b; border-radius: 20px; padding: 40px; text-align: center; margin-top: 60px; box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15); }
.cta-box h3 { color: #f8fafc; font-size: 1.6rem; margin-top: 0; border-bottom: none; padding-bottom: 0;}
.btn-cta { display: inline-block; background: #f59e0b; color: #fff; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 1.1rem; margin-top: 15px; transition: 0.3s; }
.btn-cta:hover { transform: scale(1.05); background: #d97706; }

/* Adattamento Mobile Articoli */
@media (max-width: 768px) {
    .article-header h1 { font-size: 2.2rem; }
    .article-container h2 { font-size: 1.5rem; }
    .article-container { font-size: 1rem; }
    .cta-box { padding: 25px 15px; }
}

summary.faq-title:after { 
    content: '▼'; 
    font-family: sans-serif; 
    font-size: 14px; 
    color: #3b82f6; 
    transition: 0.3s; 
}

details.faq-item { background: rgba(30, 41, 59, 0.4); border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 12px; margin-bottom: 15px; transition: all 0.3s ease; }
details.faq-item[open] { border-color: #3b82f6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.1); background: rgba(30, 41, 59, 0.7); }
summary.faq-title { padding: 20px; font-size: 17px; font-weight: 600; color: #f8fafc; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary.faq-title::-webkit-details-marker { display: none; }
details[open] summary.faq-title:after { transform: rotate(180deg); }
.faq-text { padding: 0 20px 20px 20px; color: #cbd5e1; line-height: 1.7; font-size: 15px; }