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

body {
    background: #f4f8fb;
    color: #243447;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.navbar {
    background: #ffffff;
    border-bottom: 1px solid #dde8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-wrapper {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    color: #126b8f;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 22px;
    list-style: none;
}

.nav-menu a {
    color: #243447;
    font-weight: 600;
    text-decoration: none;
}

.nav-menu a:hover {
    color: #126b8f;
}

.hero {
    background: linear-gradient(135deg, #e9f8ff 0%, #ffffff 60%, #f3fbf7 100%);
    padding: 84px 0;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: 1.2fr 0.8fr;
}

.hero h1 {
    color: #153243;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero p {
    color: #526475;
    font-size: 18px;
    margin-bottom: 28px;
    max-width: 620px;
}

.button {
    background: #1592b8;
    border-radius: 6px;
    color: #ffffff;
    display: inline-block;
    font-weight: 700;
    padding: 12px 20px;
    text-decoration: none;
}

.button:hover {
    background: #126b8f;
}

.hero-card {
    background: #ffffff;
    border: 1px solid #dde8f0;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(21, 50, 67, 0.08);
}

.hero-card h2 {
    color: #153243;
    font-size: 24px;
    margin-bottom: 16px;
}

.hero-card ul {
    color: #526475;
    display: grid;
    gap: 12px;
    list-style: none;
}

.section {
    padding: 64px 0;
}

.section h2 {
    color: #153243;
    font-size: 32px;
    margin-bottom: 26px;
}

.cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: #ffffff;
    border: 1px solid #dde8f0;
    border-radius: 8px;
    padding: 24px;
}

.card h3 {
    color: #126b8f;
    margin-bottom: 10px;
}

.database-section .cards {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    min-height: 170px;
}

.stat-number {
    color: #1592b8;
    display: block;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 14px;
}

.price-list {
    background: #ffffff;
    border: 1px solid #dde8f0;
    border-radius: 8px;
    overflow: hidden;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
}

.price-row + .price-row {
    border-top: 1px solid #dde8f0;
}

.footer {
    background: #153243;
    color: #ffffff;
    padding: 26px 0;
}

.footer-content {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.login-page {
    background: linear-gradient(135deg, #e9f8ff 0%, #ffffff 58%, #eef8f2 100%);
    min-height: 100vh;
}

.login-wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 28px;
}

.login-panel {
    background: #ffffff;
    border: 1px solid #dde8f0;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(21, 50, 67, 0.1);
    max-width: 430px;
    padding: 32px;
    width: 100%;
}

.login-header {
    margin-bottom: 24px;
}

.login-header h1 {
    color: #153243;
    font-size: 30px;
    margin-bottom: 8px;
}

.login-header p,
.login-contact {
    color: #526475;
}

.login-form {
    display: grid;
    gap: 12px;
}

.login-form label {
    color: #243447;
    font-weight: 700;
}

.login-form input {
    border: 1px solid #bfd0dc;
    border-radius: 6px;
    color: #243447;
    font-size: 16px;
    padding: 12px 14px;
    width: 100%;
}

.login-form input:focus {
    border-color: #1592b8;
    outline: 3px solid rgba(21, 146, 184, 0.16);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 112px;
}

.password-toggle {
    background: transparent;
    border: 0;
    color: #126b8f;
    cursor: pointer;
    font-weight: 700;
    padding: 8px 10px;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.password-toggle:hover {
    color: #153243;
}

.login-button {
    border: 0;
    cursor: pointer;
    margin-top: 8px;
}

.alert-error {
    background: #fff1f1;
    border: 1px solid #f3b6b6;
    border-radius: 6px;
    color: #b42318;
    font-weight: 700;
    margin-bottom: 18px;
    padding: 12px 14px;
}

.login-contact {
    display: grid;
    gap: 4px;
    margin-top: 22px;
}

@media (max-width: 760px) {
    .nav-wrapper,
    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .hero-grid,
    .cards,
    .database-section .cards {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 56px 0;
    }
}
