* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0b0d12;
    color: #f5f7fa;
}

a {
    color: inherit;
    text-decoration: none;
}

nav {
    height: 72px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #20232b;
}

.logo {
    font-size: 20px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    color: #aeb4c0;
}

.nav-links a:hover {
    color: white;
}

.nav-button {
    background: white;
    color: black !important;
    padding: 10px 17px;
    border-radius: 9px;
}

main {
    width: 86%;
    max-width: 1200px;
    margin: auto;
}

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    color: #8b93a3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

h1 {
    font-size: 60px;
    line-height: 1.05;
    margin: 15px 0;
}

.hero-text {
    color: #aeb4c0;
    font-size: 19px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-block;
    border: 0;
    background: white;
    color: #0b0d12;
    padding: 13px 20px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.button:hover {
    opacity: 0.88;
}

.button.secondary {
    background: #191c24;
    color: white;
}

.preview-card {
    background: #12151c;
    border: 1px solid #292d37;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    color: #dce0e7;
}

.online {
    color: #58d68d;
}

.offline {
    color: #ff6262;
}

.unknown {
    color: #aeb4c0;
}

.preview-number {
    font-size: 55px;
    font-weight: 800;
    margin-top: 50px;
}

.preview-card p {
    color: #9299a8;
}

.fake-chart {
    height: 100px;
    display: flex;
    align-items: end;
    gap: 8px;
    margin: 30px 0;
}

.fake-chart span {
    flex: 1;
    background: #58d68d;
    border-radius: 5px;
}

.fake-chart span:nth-child(1) { height: 60%; }
.fake-chart span:nth-child(2) { height: 75%; }
.fake-chart span:nth-child(3) { height: 65%; }
.fake-chart span:nth-child(4) { height: 90%; }
.fake-chart span:nth-child(5) { height: 80%; }
.fake-chart span:nth-child(6) { height: 95%; }
.fake-chart span:nth-child(7) { height: 88%; }
.fake-chart span:nth-child(8) { height: 97%; }
.fake-chart span:nth-child(9) { height: 92%; }

.preview-stats,
.monitor-stats,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.preview-stats div,
.monitor-stats div {
    background: #191c24;
    padding: 15px;
    border-radius: 10px;
}

.preview-stats strong,
.monitor-stats strong {
    display: block;
    font-size: 18px;
}

.preview-stats small,
.monitor-stats small {
    color: #858c9b;
}

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

.feature {
    background: #12151c;
    border: 1px solid #292d37;
    padding: 30px;
    border-radius: 15px;
}

.feature p {
    color: #9299a8;
    line-height: 1.6;
}

.auth-container {
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: #12151c;
    border: 1px solid #292d37;
    border-radius: 18px;
    padding: 35px;
}

.auth-card h1 {
    font-size: 35px;
}

.auth-card > p {
    color: #9299a8;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

input {
    width: 100%;
    background: #191c24;
    color: white;
    border: 1px solid #303540;
    padding: 13px;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

input:focus {
    border-color: #707888;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
}

.auth-footer a {
    color: white;
    text-decoration: underline;
}

.flash {
    background: #242832;
    border: 1px solid #383e4b;
    padding: 13px 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0 30px;
}

.dashboard-header h1 {
    font-size: 45px;
}

.dashboard-header p {
    color: #9299a8;
}

.plan {
    background: #242832;
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}

.plan.pro {
    background: white;
    color: black;
}

.add-card {
    background: #12151c;
    border: 1px solid #292d37;
    padding: 25px;
    border-radius: 15px;
}

.add-card form {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 25px 0 70px;
}

.monitor-card {
    background: #12151c;
    border: 1px solid #292d37;
    padding: 25px;
    border-radius: 15px;
}

.monitor-card:hover {
    border-color: #505765;
}

.monitor-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.monitor-top h2 {
    margin: 0;
}

.monitor-top p {
    color: #858c9b;
    word-break: break-all;
}

.status {
    white-space: nowrap;
    font-size: 14px;
}

.monitor-stats {
    margin-top: 25px;
}

.empty {
    grid-column: 1 / -1;
    padding: 70px;
    text-align: center;
    background: #12151c;
    border-radius: 15px;
    border: 1px solid #292d37;
}

.empty p {
    color: #9299a8;
}

.pricing {
    text-align: center;
    padding: 80px 0;
}

.pricing h1 {
    font-size: 50px;
}

.pricing-subtitle {
    color: #9299a8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 360px);
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.price-card {
    text-align: left;
    position: relative;
    background: #12151c;
    border: 1px solid #292d37;
    padding: 35px;
    border-radius: 18px;
}

.price-card.featured {
    border-color: #707888;
}

.popular {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 11px;
    font-weight: 800;
    background: white;
    color: black;
    padding: 6px 9px;
    border-radius: 10px;
}

.price {
    font-size: 45px;
    font-weight: 800;
    margin: 20px 0;
}

.price span {
    font-size: 14px;
    color: #858c9b;
}

.price-card ul {
    padding-left: 20px;
    color: #b8bec9;
    line-height: 2;
    margin-bottom: 30px;
}

.price-card form {
    display: block;
}

.monitor-detail {
    padding: 50px 0;
}

.back {
    color: #9299a8;
}

.detail-header {
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-header h1 {
    font-size: 45px;
}

.detail-header p {
    color: #9299a8;
}

.big-status {
    font-size: 20px;
    font-weight: 700;
}

.stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

.stat-card {
    background: #12151c;
    border: 1px solid #292d37;
    padding: 25px;
    border-radius: 15px;
}

.stat-card small {
    color: #858c9b;
    display: block;
    margin-bottom: 10px;
}

.stat-card strong {
    font-size: 30px;
}

.history {
    margin: 30px 0;
    background: #12151c;
    border: 1px solid #292d37;
    padding: 25px;
    border-radius: 15px;
}

.check-row {
    display: grid;
    grid-template-columns: 30px 1fr 100px 100px;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #242832;
    color: #b8bec9;
}

.dot {
    font-size: 12px;
}

.danger-button {
    background: #391b1b;
    color: #ff7777;
    border: 1px solid #5b2929;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 800px) {

    h1 {
        font-size: 42px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 70px 0;
    }

    .features,
    .monitor-grid {
        grid-template-columns: 1fr;
    }

    .add-card form {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .check-row {
        grid-template-columns: 25px 1fr;
    }

    .check-row span:nth-child(3),
    .check-row span:nth-child(4) {
        display: none;
    }

    .nav-links {
        gap: 10px;
    }
}
