/* =========================================
 *  QSOLink - GLOBAL VARIABLES & RESET
 *  ========================================= */
:root {
    --bg-dark: #121212;
    --bg-panel: #1e1e20;
    --border: #333;
    --accent: #2979FF; /* Blue App */
    --lcd-cyan: #00e5ff;
    --lcd-orange: #ff9500;
    --lcd-green: #30d158;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --radio-bg: #121214;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .frequency, .btn, .nav-links, .vfo-data {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
 *  NAVBAR
 *  ========================================= */
.navbar {
    background: linear-gradient(180deg, #2a2a2c 0%, #161618 100%);
    height: 70px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 2px solid #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.3rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon {
    width: 24px;
    height: 24px;
}

.lcd-dot {
    color: var(--lcd-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--text-gray);
}

.nav-links a:hover {
    color: var(--lcd-cyan);
    text-shadow: 0 0 8px var(--lcd-cyan);
}

.highlight-link {
    color: var(--lcd-green) !important;
    border: 1px solid var(--lcd-green);
    padding: 5px 10px;
    border-radius: 4px;
}

.highlight-link:hover {
    background: var(--lcd-green);
    color: black !important;
}

.lang-container select {
    background: #111;
    color: var(--lcd-orange);
    border: 1px solid #444;
    padding: 5px;
    border-radius: 4px;
    font-family: 'Orbitron';
    cursor: pointer;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* =========================================
 *  BUTTONS (Hardware Style)
 *  ========================================= */
.hardware-btn {
    background: linear-gradient(180deg, #444 0%, #222 100%);
    border: 1px solid #555;
    border-radius: 6px;
    padding: 10px 20px;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 4px 0 #000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.hardware-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

.hardware-btn:hover {
    border-color: var(--lcd-cyan);
    color: var(--lcd-cyan);
}

.btn-primary { border-color: var(--accent); }
.btn-paypal { border-color: #0070ba; }
.btn-doc { border-color: var(--lcd-orange); }

/* =========================================
 *  HERO SECTION
 *  ========================================= */
.hero {
    padding-top: 100px;
    min-height: 100vh;
    background: radial-gradient(circle at center, #222 0%, #0a0a0a 100%);
    position: relative;
    display: flex;
    align-items: center;
}

.overlay-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    z-index: 1;
    width: 100%;
}

.radio-panel {
    background: linear-gradient(145deg, #252527, #1b1b1d);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.panel-inset {
    background: rgba(0,0,0,0.4);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 25px;
    box-shadow: inset 0 0 20px #000;
}

.vfo-display {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    border: 2px solid #555;
}

.frequency {
    font-size: 2.5rem;
    color: var(--lcd-cyan);
    text-shadow: 0 0 10px rgba(0,229,255,0.5);
}

.unit {
    font-size: 1rem;
    color: #888;
}

.highlight {
    color: var(--accent);
}

.description {
    font-family: 'Roboto Mono', monospace;
    color: var(--lcd-orange);
    margin-bottom: 30px;
}

.phone-mockup {
    max-width: 320px;
    border: 8px solid #111;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.glow-effect {
    filter: drop-shadow(0 0 20px rgba(41, 121, 255, 0.3));
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* =========================================
 *  FEATURE STRIP
 *  ========================================= */
.feature-strip {
    background: #000;
    border-top: 2px solid var(--lcd-orange);
    border-bottom: 2px solid var(--lcd-orange);
    padding: 20px 0;
}

.feature-strip .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--lcd-orange);
    font-family: 'Orbitron';
    font-weight: bold;
    text-transform: uppercase;
}

.strip-item img {
    width: 32px;
}

/* =========================================
 *  SECTIONS GENERAL
 *  ========================================= */
section {
    padding: 80px 0;
    border-top: 1px solid #222;
}

.section-dark { background-color: var(--bg-dark); }
.section-light { background-color: #161618; }

.center-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.radio-list li {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.radio-list i {
    color: var(--lcd-green);
    font-size: 1.4rem;
    margin-top: 2px;
}

.radio-list strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.radio-list span {
    color: #aaa;
    font-size: 0.95rem;
}

/* =========================================
 *  APRS SPECIFIC
 *  ========================================= */
.badge-experimental {
    display: inline-block;
    background: var(--lcd-orange);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.3);
}

/* =========================================
 *  GRIDS & CARDS
 *  ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.grid-community {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card, .comm-card {
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.card:hover, .comm-card:hover {
    transform: translateY(-5px);
    border-color: var(--lcd-cyan);
}

.mini-mockup {
    width: 80%;
    border: 2px solid #333;
    border-radius: 8px;
    margin-bottom: 15px;
}

.comm-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--lcd-cyan);
}

.qr-img {
    width: 150px;
    border-radius: 8px;
    margin: 10px 0;
    border: 2px solid #fff;
}

.gold { border-color: var(--lcd-orange); }
.gold .comm-icon { color: var(--lcd-orange); }

/* =========================================
 *  TUTORIALS & VIDEO LOCK
 *  ========================================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.video-grid.locked {
    filter: grayscale(1);
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
}

.video-overlay-msg {
    text-align: center;
    color: var(--lcd-orange);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px dashed var(--lcd-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.video-btn:hover {
    border-color: red;
    color: red;
}

.docs-btn-container {
    text-align: center;
    margin-bottom: 30px;
}

/* =========================================
 *  ROADMAP
 *  ========================================= */
.coming-soon {
    background: repeating-linear-gradient(45deg, #0d0d0d, #0d0d0d 10px, #121212 10px, #121212 20px);
    padding: 60px 0;
    text-align: center;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.roadmap-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--lcd-cyan);
}

.highlight-roadmap {
    border-color: var(--lcd-green) !important;
    box-shadow: inset 0 0 15px rgba(48, 209, 88, 0.2) !important;
}

.dev-humor {
    color: var(--lcd-orange);
    font-style: italic;
    margin-top: 20px;
}

/* =========================================
 *  DOWNLOAD PANEL
 *  ========================================= */
.download-panel {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.green-icon { color: #3DDC84; }

.warning-text {
    color: var(--lcd-orange);
    margin-top: 20px;
    font-family: 'Roboto Mono';
    font-size: 0.9rem;
    text-align: center;
}

/* =========================================
 *  SUPPORT & FOOTER
 *  ========================================= */
.support {
    text-align: center;
    padding: 60px 0;
}

footer {
    background: #000;
    padding: 50px 0;
    border-top: 3px solid var(--lcd-cyan);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.tiny {
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-right a {
    margin-left: 20px;
    font-size: 0.9rem;
}

/* =========================================
 *  MOBILE RESPONSIVENESS
 *  ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Masqué par défaut */
    }

    .nav-links.active-menu {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #1a1a1c;
        padding: 20px;
        border-bottom: 2px solid var(--lcd-cyan);
        z-index: 999;
    }

    .hamburger {
        display: block;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .vfo-display {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .split-layout, .split-layout.reverse {
        flex-direction: column;
    }

    .feature-strip .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .comm-card.discord {
        border-bottom: 3px solid #5865F2; /* Couleur officielle Discord */
    }

    .comm-card.discord:hover {
        background: rgba(88, 101, 242, 0.1);
        border-color: #5865F2;
        box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
    }

    /* Optionnel : faire pulser l'image au survol */
    .comm-card.discord:hover img {
        transform: scale(1.1);
        transition: 0.3s;
    }
    .comm-card.telegram { border-bottom: 3px solid #0088cc; }
    .comm-card.discord { border-bottom: 3px solid #5865f2; }
}
