/* Landing page */

html {
    height: 100%;
    overflow: hidden;
}

.landing-body {
    background-image: url('../src/img/background.png');
    background-color: var(--bg-color);
    background-size: cover;
    background-position: center;
    height: 100vh;
    overflow: hidden;
    display: grid;
    grid-template-rows: 62px 1fr auto;
}

/* ── NAV ── */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    background-color: rgba(23, 23, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    height: 62px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo {
    background-image: url('../src/img/logo-dark.png');
    background-size: cover;
    background-position: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.nav-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-link:hover { color: #fff; }

.nav-cta {
    background-color: #fff;
    color: #111;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background-color: rgba(255,255,255,0.88);
    transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
}

.hero-content {
    max-width: 580px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.hero-logo {
    background-image: url('../src/img/logo-dark.png');
    background-size: cover;
    background-position: center;
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 24px rgba(255,255,255,0.1));
}

.hero-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0;
}

.highlight {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    margin: 0;
    max-width: 420px;
}

.hero-ctas {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.25rem;
}

.btn-primary {
    background-color: #fff;
    color: #111;
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,255,255,0.18);
}

.btn-ghost {
    background-color: transparent;
    color: rgba(255,255,255,0.7);
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    transition: background-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
    background-color: rgba(255,255,255,0.07);
    color: #fff;
}

/* FEATURES */
.features {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem 2rem;
    flex-wrap: nowrap;
}

.feature-card {
    background-color: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 1.5rem 1.4rem;
    flex: 1;
    max-width: 300px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.5);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255,255,255,0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.feature-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 640px) {
    html { overflow: auto; }

    .landing-body {
        height: auto;
        overflow: auto;
        grid-template-rows: 62px auto auto;
    }

    .landing-nav { padding: 0 1.2rem; }

    .hero { padding: 2.5rem 1.2rem 1rem; }

    .features {
        flex-direction: column;
        align-items: center;
        padding: 1rem 1.2rem 2.5rem;
    }

    .feature-card { max-width: 100%; width: 100%; }

    .hero-ctas { flex-direction: column; width: 100%; }

    .btn-primary, .btn-ghost { text-align: center; }
}
