:root {
    --bg-color: #2c2f33; /* Discord Dark */
    --card-bg: #23272a;
    --accent-blue: rgb(0, 35, 85);
    --text-color: #ffffff;
    --text-muted: #b9bbbe;
    --font-main: 'Inter', sans-serif; /* Grotesque Style */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: #1e1f22;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.nav-btn.active {
    color: white;
    border-bottom: 2px solid var(--accent-blue);
}

/* Content Control */
.tab-content {
    display: none;
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logos */
.main-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-blue);
    margin-bottom: 0.7rem;
}

.tier-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 0.7rem;
}

/* Pricing Tiers */
.tiers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tier-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #40444b;
}

.tier-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.tier-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.tier-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #40444b;
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
}

/* Note Section */
.note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
}

/* Advantages Slider - Aggiornato per altezze diverse */
.slider {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) transparent;
    scroll-snap-type: x mandatory; /* Migliora lo scorrimento mobile */
}

.slide {
    flex: 0 0 300px; /* Larghezza fissa per le card dei vantaggi */
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #40444b;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.slide img {
    width: 100%;
    height: 450px; /* Altezza fissa per gestire screenshot lunghi */
    object-fit: contain; /* L'immagine non viene tagliata */
    background-color: #1e1f22; /* Colore di sfondo scuro per le immagini corte */
    border-radius: 8px;
    margin-bottom: 1rem;
}

.slide span {
    font-weight: bold;
    color: var(--text-color);
    margin-top: auto; /* Spinge il testo sempre in fondo */
}

.blue-text { color: #5896f2; margin: 1.5rem 0 0.5rem 0; }

/* More Section */
.contact-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    margin: auto;
}

.info-item { margin: 1rem 0; }
.info-item a { color: #00b0f4; text-decoration: none; }

/* Mobile */
@media (max-width: 768px) {
    .main-logo { width: 120px; height: 120px; }
    
    .slide {
        flex: 0 0 85%; /* Semplifica la visione su mobile */
    }
    
    .slide img {
        height: 350px; /* Ridotto leggermente per schermi piccoli */
    }
}