/* --- Daedalus Executive --- */

/* 1. IMPORT & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --bg-color: #020617;          /* Grigio-blu scuro corporate */
    --card-color: #0F172A;        /* Sfondo card, leggermente più chiaro */
    --border-color: #1E293B;      /* Colore dei bordi, sottile */
    --text-primary: #F8FAFC;      /* Bianco quasi puro per titoli */
    --text-secondary: #94A3B8;    /* Grigio chiaro per testo, alta leggibilità */
    --accent-color: #2563EB;      /* Blu vibrante per interazioni */
}

/* 2. GENERAL STYLES & RESET */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
}

/* 3. LAYOUT & SECTIONS */
.section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

/* 4. COMPONENTS */

/* Navbar */
.navbar {
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    text-align: center;
}

.hero-section .lead {
    max-width: 700px; /* Limita la larghezza per migliore leggibilità */
    margin: 1.5rem auto 0 auto;
}

/* Channel Cards */
.channel-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%; /* Fondamentale per altezza uniforme */
    display: flex; /* Abilita Flexbox */
    flex-direction: column; /* Dispone gli elementi in colonna */
    text-align: center; /* *** CORREZIONE: Centra tutto il testo *** */
}

.channel-card .card-content {
    flex-grow: 1; /* Fa in modo che questo contenitore occupi tutto lo spazio disponibile */
    display: flex;
    flex-direction: column;
    justify-content: center; /* *** CORREZIONE: Centra verticalmente icona e titolo *** */
}

.channel-card .icon {
    font-size: 2.25rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.channel-card h5 {
    color: var(--text-primary);
    font-weight: 600;
}

.channel-card .card-buttons {
    margin-top: 1.5rem; /* Spazio sopra i bottoni */
}

.channel-card .btn {
    width: 110px; /* *** CORREZIONE: Imposta una larghezza fissa per entrambi i bottoni *** */
    margin: 0.25rem;
}

.channel-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.15); /* Bagliore elegante */
}

/* Footer */
footer {
    padding: 5rem 0;
    text-align: center;
}

footer .copyright {
    margin-top: 4rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: opacity 0.2s ease;
}

.btn-primary:hover {
    opacity: 0.85;
}

.btn-outline-light {
    border-color: var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
}

.btn-outline-light:hover {
    background-color: var(--card-color);
    border-color: var(--card-color);
    color: var(--text-primary);
}
