/* ─── VARIABLES ─── */
:root {
    --cyan: #00f5ff;
    --blue: #0066ff;
    --dark: #020b18;
    --card-bg: rgba(0, 20, 50, 0.55);
    --glow: 0 0 20px rgba(0, 245, 255, 0.4);
    --glow-strong: 0 0 40px rgba(0, 245, 255, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: url("fond.png") no-repeat center 0px;
    background-size: cover;
    color: #c8e8ff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ─── OVERLAY ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(1,8,16,0.3) 0%,
        rgba(0,10,30,0.45) 50%,
        rgba(0,5,20,0.7) 100%);
    pointer-events: none;
    z-index: 0;
}



/* ─── ANIMATIONS ─── */

    100% { top: 102%; }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0,245,255,0.3); }
    50%       { box-shadow: 0 0 25px rgba(0,245,255,0.7); }
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 22px 2.5rem 18px;
    background: transparent;
}

.nav a {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 35px;
    padding: 0.3rem 0.8rem;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.nav a:hover {
    color: var(--cyan);
    border-color: rgba(0, 245, 255, 0.4);
    background: rgba(0, 245, 255, 0.05);
    text-shadow: var(--glow);
}

/* ─── HEADER / HERO ─── */
.header {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7rem 2rem 4rem;
    z-index: 1;
}

.hero-badge {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.2s forwards;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-badge span {
    display: inline-block;
    width: 30px; height: 1px;
    background: var(--cyan);
    box-shadow: var(--glow);
}

.header-content h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 4.5vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 0 60px rgba(0,245,255,0.25);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.4s forwards;
}

.header-content h1 .accent { color: var(--cyan); text-shadow: var(--glow-strong); }

.header-content > p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: #6a9ab8;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2.8rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.55s forwards;
}

/* ─── BUTTONS ─── */
.buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.7s forwards;
}

.btn {
    padding: 13px 30px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.primary {
    background: linear-gradient(135deg, #0088ff, #00c8ff);
    color: #010810;
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(0,180,255,0.4);
}

.primary:hover {
    box-shadow: 0 6px 30px rgba(0,200,255,0.6);
    transform: translateY(-2px);
}

.secondary {
    background: rgba(0,245,255,0.05);
    color: var(--cyan);
    border: 1px solid rgba(0,245,255,0.4);
}

.secondary:hover {
    background: rgba(0,245,255,0.1);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

/* ─── DESCRIPTION BOX ─── */
.description {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,245,255,0.15);
    padding: 18px 36px;
    max-width: 660px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #8ab8d0;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.7s 0.9s forwards;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.description::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.description strong { color: #c8e8ff; }

/* ─── SECTION PRÉSENTATION ─── */
.presentation {
    position: relative;
    z-index: 1;
    background: rgba(200, 220, 240, 0.473);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 5rem 5vw 5rem;
}

.section-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 5px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-label::before, .section-label::after {
    content: '';
    display: inline-block;
    width: 20px; height: 1px;
    background: var(--cyan);
    box-shadow: var(--glow);
}

.presentation {
    background: rgba(200, 220, 255, 0.45);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 60px 40px 70px;
    margin-top: -80px;
    border-radius: 24px 24px 0 0;
    position: relative;
    z-index: 2;
}

.presentation h2 {
    font-size: 2em;
    margin-bottom: 14px;
    color: #0a3d62;
    font-weight: bold;
}

.presentation > p {
    max-width: 750px;
    margin: 0 auto 50px;
    color: #444;
    font-size: 1em;
    line-height: 1.7;
}


/* ─── CARDS ─── */
.cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 245, 255, 0.1);
    padding: 2.2rem 1.8rem 1.8rem;
    width: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #c8e8ff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    box-shadow: var(--glow);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s;
}

.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.card:hover {
    border-color: rgba(0, 245, 255, 0.35);
    background: rgba(0, 30, 70, 0.75);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,245,255,0.1);
}

.card:hover::before { transform: scaleY(1); }
.card:hover::after  { opacity: 1; }

.card-icon-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0,245,255,0.4));
    transition: filter 0.3s;
}

.card:hover .card-icon-img {
    filter: drop-shadow(0 0 14px rgba(0,245,255,0.7));
}

.card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

/* ─── FOOTER ─── */
footer {
    position: relative;
    z-index: 1;
    background: rgba(1, 5, 14, 0.92);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 245, 255, 0.25);
    color: #a0c8e0;
    text-align: center;
    padding: 18px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 2px;
}

.footer-brand {
    color: var(--cyan);
    margin-right: 12px;
}

.footer-sep { margin: 0 8px; color: rgba(0,245,255,0.4); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .nav a { margin-left: 16px; font-size: 0.7rem; }
    .cards { flex-direction: column; align-items: center; }
    .buttons { flex-direction: column; align-items: center; }
    .description { padding: 14px 20px; }
}

