/* =========================
   1. BASE / RESET
========================= */

body {
    margin: 0 auto;
    max-width: 1000px;
    font-family: sans-serif;
}

p {
    margin: 4px 0;
}

a {
    text-decoration: none;
    color: #094fe5;
}

a:visited {
    color: #094fe5;
}


/* =========================
   2. LAYOUT
========================= */

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: linear-gradient(90deg, #0A1A3A, #1E3A8A);

    position: sticky;
    top: 0;
    z-index: 1000;

    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar__logo {
    height: 60px;
    padding: 16px;
}

.navbar__links {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 32px;
    font-weight: bold;
}

.navbar__links a:hover {
    color: #fbc541;
}

/* Hero */
.hero {
    text-align: center;
    font-size: 1.2rem;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero__button {
    padding: 6px 20px;
    font-weight: bold;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #0A1A3A, #1E3A8A);
    margin-top: 16px;
    padding: 16px;
    text-align: center;
    color: white;
}


/* =========================
   3. COMPONENTS
========================= */

/* Cards */
.cards {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 16px;
}

.card {
    margin: 0 auto;
    width: 200px;
    border-radius: 15px;
    text-align: center;

    background: linear-gradient(90deg, #bec0c2 0%, #8e8d8d 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    color: #022216;

    transition: transform 0.3s ease;
}

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

.card__title {
    font-size: 1.5rem;
    padding: 16px 6px 0;
    margin: 0;
}

.card__description {
    padding: 16px;
    margin: 0;
}

/* Card Variants */
.card--pro {
    background: linear-gradient(90deg, #FCF6BA 0%, #BF953F 100%);
    color: #660033;
}

.card--enterprise {
    background: linear-gradient(90deg, #d3d6d8 0%, #58949c 100%);
    color: #4a4a4a;
}

/* Modal */
.modal {
    display: none;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.7);
    color: white;
}

.modal.active {
    display: block;
}

/* About */
.about-us__text {
    text-align: justify;
    font-size: 1.2rem;
    padding: 16px;
}

.contact-links {
    text-align: center;
}

.github__button,
.linkedin__button {
    height: 200px;
    padding: 16px;
}


/* =========================
   4. STATES / UTILITIES
========================= */

/* Navbar scroll state */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Mobile menu button */
.menu-btn {
    display: none;
}

/* Dark mode */
.dark {
    background: black;
    color: white;
}


/* =========================
   5. RESPONSIVE
========================= */

@media (max-width: 600px) {

    .menu-btn {
        display: block;
        margin-right: 16px;
    }

    .navbar__links {
        display: none;
        flex-direction: column;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        background: #1E3A8A;

        padding: 10px;
        border-radius: 0 0 8px 8px;
    }

    .navbar__links.active {
        display: flex;
    }
}