/* ================================
   VARIABLES + RESET
================================ */

:root {
    --bg: #081726;
    --bg2: #050f18;
    --ink: #eaf2ff;
    --muted: rgba(234, 242, 255, 0.72);
    --muted2: rgba(234, 242, 255, 0.55);
    --accent: #38bdf8;
    --accent2: #22c55e;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui;
    color: var(--ink);
    background: linear-gradient(180deg, var(--bg), var(--bg2));
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: var(--max);
    margin: auto;
    padding: 0 20px;
}

/* ================================
   HEADER
================================ */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(8, 23, 38, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 800;
}

.mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    display: flex;
    gap: 18px;
    font-weight: 600;
}

.nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
}

/* Buttons */

.btn {
    padding: 12px 18px;
    border-radius: 16px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #eaf2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.btn.primary {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border: none;
    color: #041018;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Hamburger */

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    user-select: none;
}

/* ================================
   SLIDE MOBILE MENU
================================ */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: linear-gradient(180deg, #0b1f33, #081726);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    z-index: 999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
}

.mobile-menu.open {
    right: 0;
}

/* Mobile Header */

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.close-menu {
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

/* Mobile Links */

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-links a {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    text-align: center;
    transition: 0.2s;
}

.mobile-links a:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ================================
   FOOTER
================================ */

footer {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.footer-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-center {
    text-align: center;
    font-size: 13px;
}

.footer-links {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted2);
}
.footer-links a:hover {
    color: var(--ink);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 900px) {
    .nav {
        display: none;
    }
    .cta {
        display: none;
    }
    .hamburger {
        display: block;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-left,
    .footer-social {
        justify-content: center;
    }
}
