/* ==================================================
   ÆKOZ - STYLE.CSS
   Structure principale du site
================================================== */

/* ==================================================
   GLOBAL
================================================== */

body {

    font-family: var(--font-main);

    background:
        radial-gradient(
            circle at top,
            rgba(255,255,255,0.06),
            transparent 40%
        ),
        var(--color-bg);

    color: var(--color-text);

    overflow-x: hidden;
}

/* ==================================================
   CONTAINER
================================================== */

.container {

    width: min(100% - 48px, var(--container-width));

    margin-inline: auto;
}

/* ==================================================
   SECTIONS
================================================== */

section {

    position: relative;

    padding-block: var(--space-2xl);
}

/* ==================================================
   TYPOGRAPHY
================================================== */

h1 {

    font-size: clamp(48px, 6vw, var(--text-hero));

    line-height: 1;

    font-weight: var(--weight-bold);

    letter-spacing: -2px;
}

h2 {

    font-size: clamp(40px, 4vw, 64px);

    line-height: 1.1;

    font-weight: var(--weight-bold);

    letter-spacing: -1px;
}

h3 {

    font-size: 24px;

    font-weight: var(--weight-semibold);
}

p {

    font-size: var(--text-md);

    line-height: 1.7;

    color: var(--color-text-muted);
}

/* ==================================================
   ORANGE HIGHLIGHT
================================================== */

.highlight {

    color: var(--color-orange);
}

/* ==================================================
   NAVBAR
================================================== */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    backdrop-filter: blur(12px);

    background:
        rgba(5, 7, 11, 0.55);

    border-bottom:
        1px solid rgba(255,255,255,0.05);
}

.navbar-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 88px;
}

/* ==================================================
   HERO
================================================== */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;
}

.hero-background {

    position: absolute;

    inset: 0;

    z-index: -2;
}

.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            to bottom,
            rgba(5,7,11,0.15),
            rgba(5,7,11,0.85)
        );
}

.hero-content {

    max-width: 1100px;
}

.hero-description {

    max-width: 720px;

    margin-inline: auto;

    margin-top: var(--space-md);

    font-size: 20px;
}

/* ==================================================
   BUTTONS
================================================== */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding:
        16px 32px;

    border-radius:
        var(--radius-full);

    transition:
        var(--transition-fast);

    font-weight:
        var(--weight-medium);
}

.btn-primary {

    background:
        var(--color-orange);

    color:
        white;

    box-shadow:
        var(--glow-orange);
}

.btn-primary:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 0 40px rgba(231,79,1,0.35);
}

.btn-secondary {

    border:
        1px solid rgba(255,255,255,0.12);

    background:
        rgba(255,255,255,0.04);

    backdrop-filter:
        blur(8px);
}

.btn-secondary:hover {

    border-color:
        rgba(231,79,1,0.45);

    box-shadow:
        var(--glow-orange);
}

/* ==================================================
   GRID
================================================== */

.grid-2 {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        32px;
}

.grid-3 {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        32px;
}

/* ==================================================
   CARD
================================================== */

.card {

    position: relative;

    overflow: hidden;

    border-radius:
        var(--radius-lg);

    background:
        rgba(255,255,255,0.03);

    border:
        1px solid rgba(255,255,255,0.06);

    backdrop-filter:
        blur(10px);

    transition:
        var(--transition-medium);
}

.card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(231,79,1,0.25);

    box-shadow:
        var(--glow-orange);
}

/* ==================================================
   GLOW BACKGROUND
================================================== */

.glow-background {

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(231,79,1,0.12),
            transparent 70%
        );

    filter:
        blur(140px);
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1024px) {

    .grid-2,
    .grid-3 {

        grid-template-columns:
            1fr;
    }

    h1 {

        line-height: 1.1;
    }
}

@media (max-width: 768px) {

    section {

        padding-block:
            96px;
    }

    .navbar-inner {

        height:
            72px;
    }

    .hero-description {

        font-size:
            18px;
    }

    .btn {

        width:
            100%;
    }
}
