:root {
    --primary: #D4AF37;
    /* Gold */
    --primary-light: #F1D592;
    --secondary: #FFFFFF;
    --bg-dark: #000000;
    --bg-surface: #0A0A0A;
    --bg-card: #111111;
    --text-main: #FFFFFF;
    --text-muted: #888888;
    --border: rgba(255, 255, 255, 0.1);
    --gold-border: rgba(212, 175, 55, 0.3);
    --glass: rgba(0, 0, 0, 0.85);
    --success: #C5A028;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-text {
    color: var(--primary);
}

/* RGPD */
.rgpd-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: var(--bg-card);
    padding: 1rem 2rem;
    z-index: 3000;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.rgpd-banner a {
    color: var(--primary);
    text-decoration: underline;
}

/* Navbar */
.navbar {
    padding: 2rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
}

/* Buttons */
.btn {
    padding: 1.1rem 2.4rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: none;
    font-size: 0.85rem;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: black;
    box-shadow: 0 4px 0px #A3862C;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: black !important;
}

.btn-white {
    background: white;
    color: black;
}

.btn-white:hover {
    background: #f0f0f0;
}

.btn-large {
    padding: 1.25rem 3.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background-color: #000;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 800px;
}

.hero-tag {
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2.5rem;
    letter-spacing: -4px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 600px;
    border-left: 1px solid var(--primary);
    padding-left: 2rem;
}

.hero-img {
    position: relative;
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.1));
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Sections */
section {
    padding: 10rem 0;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    margin-bottom: 5rem;
    max-width: 700px;
    line-height: 1.8;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Cards & Glass */
.glass-morph {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3.5rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.glass-morph:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cap-card img {
    filter: grayscale(1) contrast(1.1);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.cap-card:hover img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.05);
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Outfit';
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Hardware List */
.spec-list {
    list-style: none;
    margin-top: 2rem;
}

.spec-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-name {
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.spec-value {
    color: var(--primary);
    font-family: 'Outfit';
    font-weight: 600;
}

/* Capabilities */
.cap-card {
    border-left: 2px solid var(--primary);
    padding-left: 2rem;
    margin-bottom: 4rem;
}

.cap-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hardware-foundation-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--gold-border);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.luxury-card {
    background: linear-gradient(145deg, #111, #050505);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.luxury-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.card-decoration {
    width: 40px;
    height: 1px;
    background: var(--primary);
    margin-bottom: 1.5rem;
}

/* Team Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.team-card {
    text-align: center;
}

.team-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    filter: grayscale(1) contrast(1.1);
    transition: all 0.5s ease;
}

.team-card:hover .team-img {
    filter: grayscale(0) contrast(1);
    border-color: var(--primary);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: block;
}

.team-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 600px;
    width: 100%;
    position: relative;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 0 100px rgba(212, 175, 55, 0.1);
}

.close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary);
}

.quiz-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quiz-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

/* Footer Links & Geovast Integration */
.footer-links-column h4 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column li {
    margin-bottom: 1rem;
}

.footer-links-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-legal-links a:hover {
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-img {
        width: 80%;
        margin: 0 auto;
        order: -1;
    }

    .hero h1 {
        text-align: center;
    }

    .hero p {
        text-align: center;
        margin: 0 auto 3rem;
        border: none;
        padding: 0;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 900px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}