/* =============================================================
   ECHO APP – MAIN CSS
   Struttura: Variables → Reset → Layout → Components → Pages → Themes
============================================================= */

/* --- VARIABLES --- */
:root {
    --color-bg:         #0a0a0f;
    --color-bg-2:       #111118;
    --color-bg-3:       #1a1a24;
    --color-surface:    #1e1e2e;
    --color-border:     rgba(255,255,255,0.08);
    --color-primary:    #7c3aed;
    --color-primary-h:  #6d28d9;
    --color-accent:     #a78bfa;
    --color-text:       #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-success:    #10b981;
    --color-danger:     #ef4444;
    --color-warning:    #f59e0b;
    --radius-sm:        6px;
    --radius-md:        12px;
    --radius-lg:        20px;
    --shadow-sm:        0 2px 8px rgba(0,0,0,0.3);
    --shadow-md:        0 8px 32px rgba(0,0,0,0.4);
    --shadow-glow:      0 0 40px rgba(124,58,237,0.3);
    --transition:       0.2s ease;
    --font-main:        'Inter', system-ui, -apple-system, sans-serif;
    --header-h:         64px;
    --player-h:         80px;
    --sidebar-w:        260px;
    --panel-w:          280px;
}

/* Tema chiaro */
.theme-light {
    --color-bg:         #f8fafc;
    --color-bg-2:       #f1f5f9;
    --color-bg-3:       #e2e8f0;
    --color-surface:    #ffffff;
    --color-border:     rgba(0,0,0,0.08);
    --color-text:       #1e293b;
    --color-text-muted: #64748b;
    --shadow-sm:        0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:        0 8px 32px rgba(0,0,0,0.12);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg-2); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 3px; }

/* --- TYPOGRAPHY --- */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.btn-primary:hover { background: var(--color-primary-h); transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.btn-ghost:hover { background: var(--color-surface); }
.btn-danger { background: var(--color-danger); color: #fff; }
.btn-success { background: var(--color-success); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}
.logo-icon { font-size: 24px; }
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--color-text); background: var(--color-surface); }
.nav-cta { background: var(--color-primary); color: #fff !important; }
.nav-cta:hover { background: var(--color-primary-h); }
.nav-cta-outline { border: 1px solid var(--color-primary); color: var(--color-accent) !important; }
.nav-toggle { display: none; font-size: 20px; color: var(--color-text); }

/* --- HERO --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
}
.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 12px;
    z-index: 1;
}
.scroll-arrow {
    width: 20px; height: 20px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
    animation: bounce 1.5s infinite;
}
@keyframes bounce { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(6px); } }

/* --- FEATURES --- */
.features {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(30px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-glow); transform: translateY(-4px); }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--color-text-muted); font-size: 14px; }

/* --- CTA SECTION --- */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(167,139,250,0.05));
}
.cta-content h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.cta-content p { color: var(--color-text-muted); margin-bottom: 32px; font-size: 18px; }

/* --- FOOTER --- */
.footer {
    padding: 32px 24px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer p { color: var(--color-text-muted); font-size: 13px; }

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    max-width: 520px;
    width: calc(100% - 48px);
    box-shadow: var(--shadow-md);
    z-index: 9999;
    animation: slideUp 0.3s ease;
}
.cookie-banner.hidden { display: none; }
.cookie-content p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 12px; }
@keyframes slideUp { from { transform: translateX(-50%) translateY(20px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }

/* --- FORMS --- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--color-text-muted); }
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-bg-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
}
.form-input:focus { outline: none; border-color: var(--color-primary); }
.form-error { font-size: 12px; color: var(--color-danger); margin-top: 4px; }

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}
.modal-overlay.hidden { display: none; }
.modal {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-md);
    animation: modalIn 0.2s ease;
}
@keyframes modalIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.modal-body { color: var(--color-text-muted); font-size: 14px; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* --- CARD BRANO --- */
.track-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}
.track-card:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.track-cover { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--color-bg-3); }
.track-info { padding: 12px; }
.track-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { font-size: 12px; color: var(--color-text-muted); margin-bottom: 12px; }
.track-actions { display: flex; gap: 8px; }

/* --- NOTIFICATION BADGE --- */
.notif-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--color-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- UTILITIES --- */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.mt-4 { margin-top: 16px; }
.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: 13px; }
.w-full { width: 100%; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-nav { display: none; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--color-bg-2); padding: 16px; border-bottom: 1px solid var(--color-border); }
    .header-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .features { padding: 60px 16px; }
    .cta-section { padding: 60px 16px; }
}

/* =============================================================
   NUOVE SEZIONI HOMEPAGE
============================================================= */

/* --- LAYOUT BASE --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(124,58,237,0.15);
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* --- HEADER AGGIORNATO --- */
.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: var(--color-border);
    margin: 0 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Header scroll effect */
.header.scrolled {
    background: rgba(10,10,15,0.97);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* --- HERO AGGIORNATO --- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 0 60px;
    padding-top: var(--header-h);
}

.hero-content {
    text-align: left;
    padding: 0;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: 100px;
    font-size: 13px;
    color: var(--color-accent);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(-10px);
}

.hero-badge.visible { opacity: 1; transform: translateY(0); }

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.typed-text {
    min-height: 1.2em;
    display: inline-block;
}

.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--color-accent);
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 1s infinite;
}

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-subtitle {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    width: 100%;
    max-width: 100%;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 48px;
}

.btn-glow {
    box-shadow: 0 0 30px rgba(124,58,237,0.4);
}
.btn-glow:hover {
    box-shadow: 0 0 50px rgba(124,58,237,0.6);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease 0.4s;
}

.hero-stats.visible { opacity: 1; transform: translateY(0); }

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--color-border);
}

/* Hero orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 500px; height: 500px;
    background: rgba(124,58,237,0.2);
    top: -100px; left: -100px;
    animation: orb-float 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 350px; height: 350px;
    background: rgba(167,139,250,0.15);
    bottom: 0; right: 200px;
    animation: orb-float 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 200px; height: 200px;
    background: rgba(196,181,253,0.1);
    top: 40%; right: 0;
    animation: orb-float 6s ease-in-out infinite;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 20px); }
}

/* Hero player preview */
.hero-player-preview {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease 0.5s;
}

.hero-player-preview.visible { opacity: 1; transform: translateX(0); }

.preview-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    width: 280px;
    box-shadow: var(--shadow-md), 0 0 60px rgba(124,58,237,0.15);
    backdrop-filter: blur(10px);
}

.preview-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.preview-cover-art {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c3aed, #a78bfa, #6d28d9);
    animation: cover-shift 4s ease-in-out infinite;
}

@keyframes cover-shift {
    0%, 100% { filter: hue-rotate(0deg) brightness(1); }
    50% { filter: hue-rotate(30deg) brightness(1.1); }
}

.preview-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: rgba(0,0,0,0.3);
    color: #fff;
}

.preview-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.preview-artist {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.preview-bar {
    height: 4px;
    background: var(--color-bg-3);
    border-radius: 2px;
    margin-bottom: 12px;
    overflow: hidden;
}

.preview-progress {
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
    animation: progress-anim 4s linear infinite;
}

@keyframes progress-anim {
    0% { width: 0%; }
    100% { width: 100%; }
}

.preview-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 18px;
    color: var(--color-text-muted);
}

.preview-controls .active { color: var(--color-primary); }

/* --- MARQUEE --- */
.marquee-band {
    overflow: hidden;
    background: rgba(124,58,237,0.08);
    border-top: 1px solid rgba(124,58,237,0.15);
    border-bottom: 1px solid rgba(124,58,237,0.15);
    padding: 14px 0;
}

.marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- FEATURES AGGIORNATE --- */
.features-section { background: var(--color-bg); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card-large {
    grid-column: span 1;
}

.feature-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: rgba(124,58,237,0.5);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.feature-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(124,58,237,0.06), transparent 60%);
    pointer-events: none;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(124,58,237,0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon { font-size: 26px; }

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(124,58,237,0.12);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.03em;
}

/* --- HOW IT WORKS --- */
.how-section { background: var(--color-bg-2); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 40px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: translateY(24px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 64px;
    font-weight: 900;
    color: rgba(124,58,237,0.12);
    line-height: 1;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.step-connector {
    display: none; /* visibile solo su desktop via pseudo-element */
}

/* Linea connettore tra step */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 72px;
    left: calc(33.33% - 16px);
    right: calc(33.33% - 16px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    pointer-events: none;
}

/* --- PREMIUM --- */
.premium-section { background: var(--color-bg); }

.premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.premium-content .section-tag { margin-bottom: 16px; }
.premium-content .section-title { text-align: left; margin-bottom: 16px; }
.premium-content .section-subtitle { text-align: left; margin: 0 0 28px; }

.premium-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.premium-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text-muted);
}

.check {
    color: var(--color-success);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.premium-visual {
    display: flex;
    justify-content: center;
}

.premium-card {
    position: relative;
    background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(167,139,250,0.1));
    border: 1px solid rgba(124,58,237,0.4);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 300px;
    overflow: hidden;
}

.premium-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.premium-badge-icon { font-size: 24px; }

.premium-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prem-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.06);
}

.prem-item span { font-size: 20px; }

.premium-card-glow {
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(124,58,237,0.3);
    border-radius: 50%;
    filter: blur(60px);
    bottom: -60px; right: -60px;
    pointer-events: none;
}

/* --- ROLES --- */
.roles-section { background: var(--color-bg-2); }

.roles-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.role-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    width: 180px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.role-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.role-card:hover {
    border-color: rgba(124,58,237,0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.role-card.role-premium {
    border-color: rgba(245,158,11,0.3);
    background: linear-gradient(135deg, rgba(245,158,11,0.05), var(--color-surface));
}

.role-card.role-premium:hover { border-color: rgba(245,158,11,0.6); box-shadow: 0 0 30px rgba(245,158,11,0.2); }

.role-card.role-dev {
    border-color: rgba(124,58,237,0.4);
    background: linear-gradient(135deg, rgba(124,58,237,0.08), var(--color-surface));
}

.role-icon { font-size: 36px; margin-bottom: 12px; }

.role-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.role-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* --- FAQ --- */
.faq-section { background: var(--color-bg); }

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.open { border-color: rgba(124,58,237,0.4); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    gap: 16px;
    transition: background 0.2s;
}

.faq-question:hover { background: rgba(255,255,255,0.03); }

.faq-icon {
    font-size: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- CTA FINALE --- */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(167,139,250,0.06));
    border-top: 1px solid rgba(124,58,237,0.15);
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- FOOTER AGGIORNATO --- */
.footer {
    background: var(--color-bg-2);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--color-text); }

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* --- COOKIE BANNER AGGIORNATO --- */
.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-icon { font-size: 28px; flex-shrink: 0; }

.cookie-text { flex: 1; }
.cookie-text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.cookie-text p { font-size: 13px; color: var(--color-text-muted); margin: 0; }

.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* --- AOS ANIMATIONS --- */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"]    { transform: translateY(30px); }
[data-aos="fade-down"]  { transform: translateY(-20px); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }

[data-aos].visible {
    opacity: 1;
    transform: translate(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 120px 32px 60px;
        text-align: center;
    }
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-player-preview { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .premium-grid { grid-template-columns: 1fr; gap: 40px; }
    .premium-content .section-title,
    .premium-content .section-subtitle { text-align: center; }
    .premium-content .section-tag { display: block; text-align: center; }
    .premium-visual { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .app-tracks-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .header-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--color-bg-2);
        padding: 16px;
        border-bottom: 1px solid var(--color-border);
        gap: 8px;
    }
    .header-nav.open { display: flex; }
    .nav-toggle { display: flex; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .roles-grid { gap: 12px; }
    .role-card { width: calc(50% - 6px); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .cookie-content { flex-wrap: wrap; }
    .cookie-actions { width: 100%; }
    .app-tracks-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
    .app-page-inner { padding: 20px 16px; }
    .app-support-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 20px 50px; }
    .container { padding: 0 16px; }
    .role-card { width: 100%; }
    .cta-actions { flex-direction: column; align-items: center; }
    .app-tracks-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .app-track-card { font-size: 12px; }
    .app-track-title { font-size: 12px; }
    .app-track-artist { font-size: 11px; }
    .player-controls { gap: 4px; }
    .player-btn { padding: 6px; font-size: 14px; }
    .player-btn-play { width: 38px; height: 38px; }
}
