* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #0a0a0a;
    color: #fff;
}

/* ÉTOILES */
#stars {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* HERO */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo-text {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.nav-right a {
    margin-left: 20px;
    font-size: 0.85rem;
    color: #ccc;
    text-decoration: none;
}

.nav-right a:hover {
    color: #fff;
}

/* HERO CENTER */
.hero-center {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 40px 80px;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #aaa;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.hero-meta {
    font-size: 0.8rem;
    color: #777;
}

/* BOUTONS */
.btn {
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn.primary {
    background: #2563eb;
    color: #fff;
}

.btn.secondary {
    border: 1px solid #333;
    color: #fff;
}

/* CONTENU */
.container {
    background: transparent;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 0px 40px;
}


/* TOOLS */
.tools-section h2 {
    font-size: 2rem;
}

.section-subtitle {
    margin-top: 8px;
    color: #aaa;
    max-width: 600px;
}

/* GRID */
.projects {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* CARD */
.project-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    margin-top: 12px;
    font-size: 1.1rem;
}

.need {
    margin-top: 8px;
    color: #ccc;
    font-size: 0.9rem;
}

.desc {
    margin-top: 6px;
    color: #888;
    font-size: 0.8rem;
}

/* BADGES */
.badges {
    display: flex;
    gap: 8px;
}

.badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 6px;
}

.beta { background: #4f46e5; }
.tech { background: #2563eb; }
.network { background: #059669; }

/* ACTION */
.action {
    margin-top: auto;
    margin-top: 20px;
    text-align: center;
    padding: 10px;
    background: #1f2937;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
}

.action:hover {
    background: #374151;
}

/* ABOUT */
.about-section {
    margin-top: 120px;
    max-width: 700px;
}

.about-section p {
    margin-top: 14px;
    color: #aaa;
    line-height: 1.6;
}

.muted {
    color: #666;
    font-size: 0.85rem;
}

/* PREVIEW */
#preview-box {
    position: fixed;
    width: 420px;
    height: 260px;
    background: #0b0b0b;
    border: 1px solid #222;
    border-radius: 14px;
    overflow: hidden;
    display: none;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

#preview-frame {
    width: 1280px;
    height: 800px;
    border: none;
    transform: scale(0.33);
    transform-origin: top left;
}

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 40px 20px 20px;
    text-align: center;
    background: #0b0b0b;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.75rem;
    color: #666;
}

.footer-logo {
    height: 14px;
    width: auto;
    opacity: 0.6;
}

/* ===== RESPONSIVE HERO TITLE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
