:root {
    --bg-dark: #0a0b10;
    --primary: #00d2ff;
    --primary-glow: rgba(0, 210, 255, 0.6);
    --secondary: #ffd700;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    
    /* NUOVI FONT V3/V9 */
    --font-tech: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.background-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 20%);
    z-index: -1;
}

.container { width: 90%; max-width: 1200px; padding: 20px; position: relative; padding-bottom: 80px; }

/* Language Switcher */
.lang-switch { position: absolute; top: 0; right: 20px; width: 160px; }

.lang-select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 8px 12px;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 6px;
    width: 100%;
    outline: none;
    transition: 0.3s;
    cursor: pointer;
}
.lang-select:hover, .lang-select:focus {
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}
.lang-select option { background-color: #0a0b10; color: white; }

/* Header Styles */
.header-section { text-align: center; margin-bottom: 50px; margin-top: 50px; }

.main-title {
    font-family: var(--font-tech);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.highlight { color: var(--primary); }
.subtitle { color: var(--text-muted); font-size: 1.2rem; font-weight: 400; }

/* Grid Layout */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Tool Cards */
.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    position: relative; overflow: hidden;
}

.tool-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.07); }

.card-icon {
    font-size: 2.5rem; margin-bottom: 20px;
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1); transition: 0.3s;
}

.card-content h2 { font-family: var(--font-tech); font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; }
.card-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.5; font-family: var(--font-body); }

.btn-action {
    margin-top: auto; display: inline-block; padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 6px;
    font-size: 0.9rem; font-weight: 700; font-family: var(--font-tech);
    transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}

/* Colors */
.card-split:hover { border-color: var(--secondary); box-shadow: 0 0 30px rgba(255, 215, 0, 0.15); }
.card-split .card-icon { color: var(--secondary); }
.card-split:hover .card-icon { background: rgba(255, 215, 0, 0.1); border-color: var(--secondary); box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
.card-split:hover .btn-action { background: var(--secondary); color: #000; border-color: var(--secondary); }

.card-flight:hover { border-color: var(--primary); box-shadow: 0 0 30px rgba(0, 210, 255, 0.15); }
.card-flight .card-icon { color: var(--primary); }
.card-flight:hover .card-icon { background: rgba(0, 210, 255, 0.1); border-color: var(--primary); box-shadow: 0 0 20px rgba(0, 210, 255, 0.4); }
.card-flight:hover .btn-action { background: var(--primary); color: #000; border-color: var(--primary); }

.card-expedition:hover { border-color: #d8b4fe; box-shadow: 0 0 30px rgba(216, 180, 254, 0.15); }
.card-expedition .card-icon { color: #d8b4fe; }
.card-expedition:hover .card-icon { background: rgba(216, 180, 254, 0.1); border-color: #d8b4fe; box-shadow: 0 0 20px rgba(216, 180, 254, 0.4); }
.card-expedition:hover .btn-action { background: #d8b4fe; border-color: #d8b4fe; color: #000; }

.footer-info { text-align: center; margin-top: 50px; color: var(--text-muted); font-size: 0.8rem; }

/* COOKIE BANNER STYLE */
.cookie-banner {
    position: fixed; bottom: -150px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 600px; background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(10px); border: 1px solid var(--primary);
    border-radius: 10px; padding: 20px; display: flex; align-items: center;
    justify-content: space-between; gap: 20px; box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
    z-index: 9999; transition: bottom 0.5s ease-in-out;
}
.cookie-banner.show { bottom: 20px; }

.cookie-text { font-size: 0.9rem; color: #e0e0e0; line-height: 1.4; font-family: var(--font-body); }

.cookie-btn {
    background: var(--primary); color: #000; border: none; padding: 10px 20px;
    font-family: var(--font-tech); font-weight: 700; border-radius: 5px;
    cursor: pointer; transition: 0.3s; white-space: nowrap; font-size: 0.9rem;
}
.cookie-btn:hover { background: white; box-shadow: 0 0 15px var(--primary-glow); }

@media (max-width: 768px) {
    .main-title { font-size: 2.5rem; }
    .cookie-banner { flex-direction: column; text-align: center; width: 95%; }
    .cookie-btn { width: 100%; }
    .lang-switch { position: relative; top: auto; right: auto; width: 100%; margin-bottom: 20px; justify-content: center; }
}