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

body {
    font-family: Arial, sans-serif;
    background: #f7f9ff;
    color: #18223b;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

.logo {
    font-size: 27px;
    font-weight: bold;
    color: #2865e9;
    text-decoration: none;
}

.logo span {
    color: #8b65e9;
}

.navlinks {
    display: flex;
    gap: 25px;
    align-items: center;
}

.navlinks a {
    text-decoration: none;
    color: #34415e;
    font-weight: 600;
}

.navbutton {
    background: #2865e9;
    color: white !important;
    padding: 10px 20px;
    border-radius: 9px;
}

.hero {
    padding: 90px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    background: linear-gradient(
        120deg,
        #edf3ff,
        #f6efff
    );
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.15;
    margin: 20px 0;
}

.hero h1 span {
    color: #2865e9;
}

.hero p {
    font-size: 18px;
    color: #65718b;
    margin-bottom: 25px;
}

.badge {
    display: inline-block;
    background: #e6edff;
    color: #2865e9;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
}

.hero-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 340px;
    box-shadow: 0 15px 45px rgba(50,80,150,0.10);
}

.hero-card h2 {
    margin: 15px 0;
}

.card-icon {
    background: #2865e9;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 25px;
    font-weight: bold;
}

.feature {
    padding: 10px 0;
    color: #53627e;
}

.button {
    display: inline-block;
    background: linear-gradient(
        120deg,
        #2865e9,
        #7959e9
    );
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 9px;
    padding: 13px 23px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.button.secondary {
    background: white;
    color: #2865e9;
    border: 1px solid #dce5ff;
}

.features,
.products,
.dashboard {
    padding: 65px 8%;
}

.features h2,
.products h2 {
    margin-bottom: 25px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    );
    gap: 22px;
    margin-top: 25px;
}

.feature-card,
.product-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(30,60,120,0.05);
}

.feature-card h3,
.product-card h3 {
    margin-bottom: 12px;
}

.product-card p {
    color: #69758e;
    margin: 12px 0;
}

.auth-container {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(30,60,120,0.08);
}

.auth-card h1 {
    margin-bottom: 8px;
}

.auth-card p {
    color: #78839a;
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 15px 0 7px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 13px;
    border: 1px solid #dce2ef;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
}

input:focus {
    border-color: #2865e9;
}

.full {
    width: 100%;
}

.table-container {
    overflow-x: auto;
    margin: 25px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #edf0f6;
}

th {
    color: #2865e9;
}

.alert {
    padding: 12px;
    margin: 10px 8%;
    border-radius: 8px;
    background: #e7efff;
}

.alert.error {
    background: #ffe9e9;
    color: #a22;
}

.alert.success {
    background: #e5f9ec;
    color: #176b37;
}

footer {
    background: white;
    padding: 35px 8%;
    text-align: center;
    color: #778198;
    margin-top: 50px;
}

@media(max-width: 750px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .navlinks {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        padding: 55px 7%;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-card {
        width: 100%;
    }

}
