/* =========================================
   STYLE.CSS - FUSIONNÉ
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* On remplace l'image.webp par une couleur de fond solide sombre 
       pour que le canvas se voit bien par dessus */
    background-color: #22223B;
    color: #EADEDA;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    /* Évite les scrollbars horizontales */

    /* Cela réduit tout à 85% de la taille originale */
    /* Alternative pour Firefox qui ne supporte pas toujours "zoom" : */

}

/* --- CANVAS VISUALIZER --- */
#interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Place le canvas derrière le contenu */
    pointer-events: auto;
    /* Permet l'interaction souris */
}

/* --- HEADER & NAVIGATION --- */
header {
    background: rgba(234, 222, 218, 0.95);
    /* Légère transparence pour voir les particules */
    padding: 20px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

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

.header-container a {
    text-decoration: none;
}


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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #22223B;
    margin: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #B58AFF, #8AFF5B);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

#burger {
    width: 30px;
    height: 2px;
    background: #22223B;
    display: block;
    position: relative;
    transition: background 0.3s ease;
}

#burger::before,
#burger::after {
    content: '';
    width: 30px;
    height: 2px;
    background: #22223B;
    display: block;
    position: absolute;
    left: 0;
    transform-origin: center;
    transition: all 0.3s ease;
}

#burger::before {
    top: -8px;
}

#burger::after {
    top: 8px;
}

#burger.open {
    background: transparent;
}

#burger.open::before {
    transform: rotate(45deg);
    top: 0;
}

#burger.open::after {
    transform: rotate(-45deg);
    top: 0;
}

nav {
    display: none;
    width: 100%;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

nav.active {
    display: flex;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 120px;
    margin: 0;
    padding: 0;

}

nav a {
    color: #22223B;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 25px;
    border: 2px solid transparent;
    display: block;
    width: 100%;
    text-align: center;
}

nav a:hover,
nav a.active-link {
    background: #B58AFF;
    color: white;
    border-color: #B58AFF;
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    nav a {
        font-size: 16px;
    }
}

/* --- STRUCTURE PRINCIPALE --- */
.container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 60px 40px;
    flex: 1;
    width: 100%;



}

.zoom {
    zoom: 0.70;
}

/* Style Glassmorphism pour les sections afin de voir le visualizer derrière */
.content-section {
    background-image: url("fond_lycee.webp");

    /* Plus transparent */
    backdrop-filter: blur(10px);

    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 40px;
    color: #22223B;
}

.content-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

* .image-placeholder {
    width: 100%;

    max-width: 1500px;

    /* --- VERIFIE BIEN QUE CETTE LIGNE EST PRESENTE --- */
    background-image: url("deux_lyceens.webp");
    /* ------------------------------------------------- */

    /* Les paramètres pour bien afficher l'image */
    background-size: cover;
    /* L'image couvre tout le bloc */
    background-position: center;
    /* L'image est centrée */
    background-repeat: no-repeat;
    /* Pas de répétition */

    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    /* Très important : donne une hauteur minimale à la boite */
    min-height: 600px;
}


.text-content {
    max-width: 1500px;
    text-align: justify;
    /* Fond crème semi-transparent */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.text-content p {
    color: #22223B;
    font-size: 23px;
    /* J'ai légèrement augmenté la taille pour la lisibilité (était 14px) */
    line-height: 1.5;
    margin-bottom: 20px;
    /* Réduit un peu la marge (était 30px) */
    font-weight: 500;
    /* Rend le texte un peu plus gras pour qu'il ressorte mieux */
}

#next-page-btn {
    display: none;
    /* caché par défaut */
    background-color: #EADEDA;
    /* fond clair pour qu'on le voie */
    color: #22223B;
    /* texte visible */
    border: 3px solid #22223B;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 35px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

#next-page-btn:hover {
    background: linear-gradient(135deg, #B58AFF, #8AFF5B);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(181, 138, 255, 0.4);
}

.button-group {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    /* espace entre bulle et bouton */
}

.btn-outline {
    display: block;
    padding: 18px 40px;
    background: transparent;
    color: #22223B;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    border: 3px solid #22223B;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #B58AFF, #8AFF5B);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(181, 138, 255, 0.4);
}

.hero {
    text-align: center;
    padding: 80px 20px;
    /* Ajout d'un fond glass pour le hero aussi si nécessaire, sinon texte simple */
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #B58AFF, #8AFF5B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Ombre modifiée pour lisibilité sur fond sombre */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 1));
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #EADEDA;
    filter: drop-shadow(2px 2px 0 #22223B) drop-shadow(-2px -2px 0 #22223B) drop-shadow(2px -2px 0 #22223B) drop-shadow(-2px 2px 0 #22223B) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* Meilleure lisibilité */
}

/* --- BOUTONS --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    margin: 10px;
    background: #B58AFF;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #B58AFF;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: #B58AFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(181, 138, 255, 0.3);
}

.btn-periwinkle {
    background: #8AFF5B;
    color: #22223B;
    border-color: #8AFF5B;
}

.btn-periwinkle:hover {
    background: transparent;
    color: #8AFF5B;
    box-shadow: 0 8px 20px rgba(138, 255, 91, 0.3);
}

/* --- CONTROLES AUDIO VISUALIZER (Nouveau) --- */
/* --- CONTROLES AUDIO VISUALIZER --- */
.ui-container {
    /* PAR DÉFAUT (MOBILE) : Fixé en bas de l'écran */
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 25px;
    /* Un peu plus compact */

    background: rgba(34, 34, 59, 0.9);
    /* Fond sombre opaque pour bien ressortir sur le header clair */
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(181, 138, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Cache les contrôles quand le menu est ouvert */
.ui-container.hidden {
    opacity: 0;
    pointer-events: none;
    /* Empêche de cliquer dessus quand c'est invisible */
    visibility: hidden;
}

/* SUR ORDINATEUR (Grand écran) : Centré dans le header */
@media (min-width: 969px) {
    .header-container {
        position: relative;
        /* Nécessaire pour le centrage absolu des enfants */
    }

    .ui-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: auto;
        /* On annule la position basse */

        padding: 8px 20px;
        /* Encore plus fin pour rentrer dans le header */
        box-shadow: none;
        /* Moins d'ombre nécessaire dans le header */
    }
}

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

.vol-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #EADEDA;
    padding: 0;
}

/* Style du Slider personnalisé */
input[type="range"] {
    -webkit-appearance: none;
    width: 100px;
    height: 6px;
    background: rgba(234, 222, 218, 0.2);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #B58AFF;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.separator {
    width: 1px;
    height: 24px;
    background: rgba(234, 222, 218, 0.2);
}

.capture-btn {
    background: transparent;
    border: 1px solid #8AFF5B;
    color: #8AFF5B;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.capture-btn:hover,
.capture-btn.capture-active {
    background: #8AFF5B;
    color: #22223B;
    box-shadow: 0 0 15px rgba(138, 255, 91, 0.4);
}



/* PAGE QCM / QUIZZ*/

/* ----- CONTAINER ----- */
#qcm-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 50px;
    background: #EADEDA;
    /* Fond principal clair */
    border-radius: 20px;
    border: 4px solid #22223B;
    /* Contour bleu nuit */
    box-shadow: 0 0 30px rgba(34, 34, 59, 0.4);
    max-width: 700px;
    /* ⬅ Réduit */
    margin: 40px auto;
    padding: 35px;
    /* ⬅ Réduit */
    background: #EADEDA;
    border-radius: 18px;
    border: 3px solid #22223B;
    box-shadow: 0 0 25px rgba(34, 34, 59, 0.35);
    font-family: Arial, sans-serif;
}

/* ----- TITRE ----- */
#qcm-container h2 {
    font-size: 32px;
    /* ⬅ Réduit */
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #22223B;
}

/* ----- QUESTION BLOCS ----- */
.qcm-question {
    margin-bottom: 35px;
    /* ⬅ Réduit */
}

.q-title {
    font-size: 24px;
    /* ⬅ Réduit */
    font-weight: bold;
    color: #22223B;
    margin-bottom: 15px;
}

/* ----- OPTIONS ----- */
.q-option {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 18px;
    /* ⬅ Réduit */
    margin: 14px 0;
    border-radius: 15px;
    /* ⬅ Réduit */
    border: 3px solid #22223B;
    /* ⬅ Réduit */
    font-size: 22px;
    /* ⬅ Réduit */
    cursor: pointer;
    transition: 0.25s;
    color: #22223B;
}

.q-option input[type="radio"] {
    width: 26px;
    /* ⬅ Réduit */
    height: 26px;
    margin-right: 15px;
}

/* Survol */
.q-option:hover {
    background: #B58AFF;
    /* Violet pastel */
    color: #22223B;
    border-color: #410554;
    /* Violet profond */
}

/* Sélection visuelle */
.q-option input[type="radio"]:checked+span {
    font-weight: 900;
    color: #410554;
    text-decoration: underline;
    color: #22223B;
    border-color: #410554;

}

/* ----- BONNE RÉPONSE ----- */
.qcm-correct {
    background: #8AFF5B !important;
    /* Vert fluo */
    border-color: #2d7f14 !important;
    color: #0a3c05 !important;
    font-weight: bold;
}

/* ----- MAUVAISE RÉPONSE ----- */
.qcm-wrong {
    background: #B58AFF !important;
    /* Violet clair */
    border-color: #410554 !important;
    color: #22223B !important;
    font-weight: bold;
}

/* ----- BOUTON VALIDATION ----- */
#qcm-submit {
    width: 100%;

    padding: 25px;
    font-size: 32px;
    font-weight: 900;
    background: #410554;
    /* Violet profond */

    padding: 18px;
    /* ⬅ Réduit */
    font-size: 26px;
    /* ⬅ Réduit */
    font-weight: 800;
    background: #410554;
    color: #EADEDA;
    border-radius: 15px;
    border: 3px solid #22223B;
    /* ⬅ Réduit */
    cursor: pointer;
    transition: 0.25s;
}

#qcm-submit:hover {
    background: #22223B;

    /* Bleu nuit */
    color: #EADEDA;
}

/* ----- ZONE DE RÉSULTAT ----- */
#qcm-result {
    margin-top: 30px;
    padding: 22px;
    /* ⬅ Réduit */
    border-radius: 15px;
    font-size: 26px;
    /* ⬅ Réduit */
    font-weight: 900;
    display: none;
    text-align: center;
    border: 3px solid #22223B;
    /* ⬅ Réduit */
}

/* Score bon */
#qcm-result.good {
    background: #8AFF5B;
    color: #0b3a16;
}

/* Score mauvais */
#qcm-result.bad {
    background: #B58AFF;
    color: #410554;
}

/* ----- BOUTON FINIR LE PARCOURS ----- */
#finish-btn {
    width: 100%;
    padding: 20px;
    margin-top: 25px;
    font-size: 26px;
    font-weight: 800;
    border-radius: 15px;
    border: 3px solid #22223B;
    background: #999;
    /* Grisé quand désactivé */
    color: #EEE;
    cursor: not-allowed;
    opacity: 0.6;
    transition: 0.25s;
}

#finish-btn a {
    text-decoration: none;
}

/* Quand il devient actif */
#finish-btn.enabled {
    background: #8AFF5B;
    color: #0a3c05;
    cursor: pointer;
    opacity: 1;
}

#finish-btn.enabled:hover {
    background: #5bd23f;
}


/* --- FOOTER --- */
footer {
    background: rgba(234, 222, 218, 0.95);
    color: #22223B;
    padding: 60px 40px 30px;
    margin-top: auto;
    /* Pousse le footer en bas */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #22223B;
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: #22223B;
    text-decoration: none;
    line-height: 2;
    display: block;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: #B58AFF;
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 2px solid #22223B;
    text-align: center;
    color: #22223B;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #B58AFF, #8AFF5B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(181, 138, 255, 0.5);
}

/* --- UTILITAIRES --- */
/* Empêche la sélection de texte (utile pour le visualiseur) */
.unselectable {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
    user-select: none;
    /* Standard */
    cursor: default;
    /* Curseur par défaut au lieu du curseur de texte */
}

.credit-boxnom {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 90px;
    text-decoration: none;
}

/* Chaque item */
.credit-boxnom>* {
    display: flex;
    /* active flex dans l’item */
    align-items: center;
    /* centre verticalement */
    justify-content: center;
    /* centre horizontalement */
    text-align: center;
    /* centre le texte sur plusieurs lignes */
    padding: 10px;
    /* optionnel */
}

.credit-boxnom p {
    background: linear-gradient(135deg, #8c67cc 0%, #61b340 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.credit-boxnom p:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.merci {
    padding-bottom: 50px;
    margin-top: -90px;
    text-align: center;
    font-size: 68px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #B58AFF, #8AFF5B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 0 #22223B) drop-shadow(-2px -2px 0 #22223B) drop-shadow(2px -2px 0 #22223B) drop-shadow(-2px 2px 0 #22223B) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.credith2 {
    margin-top: -50px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 1));
}

/* --- BOITE DE DIALOGUE STYLE POKÉMON --- */
#dialogue-box {
    width: 1200px;
    /* largeur fixe */
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    border: 4px solid #22223B;
    border-radius: 20px;
    padding: 20px 30px;
    font-size: 35px;
    color: #22223B;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-bottom: 30px;
}

#dialogue-text {
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.5;
}

#dialogue-next {
    position: absolute;
    bottom: 5px;
    /* toujours en bas */
    right: 20px;
    /* toujours à droite */
    font-size: 35px;
    opacity: 0.8;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s;
}

#dialogue-next:hover {
    opacity: 1;
}

/* === Page ressource === */
:root {
    --blue: #22223B;
    --beige: #EADEDA;
    --purple: #B58AFF;
    --green: #8AFF5B;
}

.container_ {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}



/* Lien vers NIRD */
.main-cta {
    padding: 60px 24px;
}

.cta-card {
    background: linear-gradient(135deg, var(--purple) 0%, var(--green) 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    color: var(--blue);
    max-width: 800px;
    margin: 0 auto;
}

.logo-nird img {
    height: 6rem;
    width: auto;
    margin-bottom: 1.4rem;
}

.cta-card h2 {
    margin-bottom: 16px;
}

.cta-card p {
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Buttons */
.btnn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btnn-primary {
    background-color: var(--blue);
    color: var(--beige);
}

.btnn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 34, 59, 0.3);
}

.btnn-secondary {
    background-color: var(--purple);
    color: var(--blue);
}

.btnn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btnn-accent {
    background-color: var(--green);
    color: var(--blue);
}

.btnn-accent:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Alternatives Section */
.alternatives {
    padding: 80px 24px;
    text-align: center;
}

.alternatives h2,
.alternatives p {
    color: var(--beige);
    filter: drop-shadow(2px 2px 0 #22223B) drop-shadow(-2px -2px 0 #22223B) drop-shadow(2px -2px 0 #22223B) drop-shadow(-2px 2px 0 #22223B) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.section-subtitle {
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto 48px;
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.alternative-category {
    background-color: white;
    color: var(--blue);
    border: 2px solid rgba(34, 34, 59, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    transition: all 0.3s ease;
}

.alternative-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(34, 34, 59, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon.purple {
    background-color: var(--purple);
}

.category-icon.green {
    background-color: var(--green);
}

.category-icon svg {
    color: var(--blue);
}

.software-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.software-link {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    background-color: rgba(234, 222, 218, 0.3);
    border-radius: 8px;
    text-decoration: none;
    color: var(--blue);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.software-link:hover {
    background-color: rgba(181, 138, 255, 0.1);
    border-color: var(--purple);
    transform: translateX(4px);
}

.software-name {
    font-weight: 500;
    margin-bottom: 4px;
}

.software-desc {
    font-size: 0.875rem;
    opacity: 0.7;
}



/* Responsive */
@media (max-width: 768px) {

    .main-cta,
    .alternatives {
        padding: 60px 24px;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .alternatives-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btnn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }
}