/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f0f14;
    color: #f2f2f2;
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
nav {
    width: 100%;
    background: #111118;
    border-bottom: 1px solid #1f1f2e;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

/* Mobile */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    padding: 120px 20px;
    text-align: center;
    background: radial-gradient(circle at top, #1a1a28 0%, #0f0f14 60%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 600px;
    margin: auto;
    color: #bbb;
}

.hero button {
    margin-top: 30px;
    padding: 12px 28px;
    border: none;
    background: #ffffff;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.hero button:hover {
    background: #ddd;
}

/* ===== SECTION ===== */
section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #161622;
    padding: 25px;
    border: 1px solid #25253a;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #111118;
    border-top: 1px solid #1f1f2e;
    color: #777;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #111118;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
    .center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
  }
}