* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #070b16;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: auto;
}

.site-header {
    background: rgba(7, 11, 22, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 26px;
    font-weight: 800;
}

.logo span {
    color: #00d4ff;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

nav a {
    color: #dce7ff;
    font-size: 15px;
}

.btn-login,
.btn-register,
.btn-primary,
.btn-secondary {
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
}

.btn-login {
    border: 1px solid rgba(255,255,255,0.18);
}

.btn-register,
.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #7c3cff);
    color: #fff;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.22);
}

.hero {
    padding: 90px 0;
    background:
        radial-gradient(circle at top left, rgba(0,212,255,0.22), transparent 30%),
        radial-gradient(circle at bottom right, rgba(124,60,255,0.24), transparent 35%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 35px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 9px 14px;
    background: rgba(0,212,255,0.12);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 999px;
    color: #7be9ff;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero p {
    color: #b8c4dd;
    font-size: 18px;
    line-height: 1.7;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-card,
.feature-card,
.plan-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.hero-card h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.status-row strong {
    color: #00d4ff;
}

.features,
.plans,
.how {
    padding: 75px 0;
}

h2 {
    font-size: 36px;
    margin-bottom: 28px;
}

.feature-grid,
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.plan-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card h3,
.plan-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p,
.plan-card p {
    color: #b8c4dd;
    line-height: 1.6;
}

.price {
    font-size: 34px;
    font-weight: 900;
    color: #00d4ff;
    margin: 18px 0;
}

.popular {
    position: relative;
    border-color: rgba(0,212,255,0.55);
}

.popular-badge {
    position: absolute;
    top: -14px;
    right: 20px;
    background: #00d4ff;
    color: #06101c;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step {
    background: rgba(255,255,255,0.05);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.09);
}

.step span {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #00d4ff, #7c3cff);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
    margin-bottom: 15px;
}

.step p {
    color: #d7e2f7;
}

.site-footer {
    padding: 28px 0;
    text-align: center;
    background: #050812;
    color: #8995ad;
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 900px) {
    .hero-grid,
    .feature-grid,
    .plan-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 38px;
    }

    nav {
        display: none;
    }
}

.auth-page {
    min-height: calc(100vh - 140px);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(0,212,255,0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(124,60,255,0.22), transparent 35%);
}

.auth-box {
    width: 92%;
    max-width: 460px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header span {
    display: inline-block;
    color: #00d4ff;
    font-weight: 800;
    margin-bottom: 10px;
}

.auth-header h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.auth-header p {
    color: #b8c4dd;
    line-height: 1.6;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form label {
    color: #dce7ff;
    font-size: 14px;
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(5,8,18,0.75);
    color: #fff;
    outline: none;
}

.auth-form input:focus {
    border-color: #00d4ff;
}

.auth-form button {
    margin-top: 10px;
    padding: 15px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #00d4ff, #7c3cff);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.auth-footer {
    margin-top: 22px;
    text-align: center;
    color: #b8c4dd;
}

.auth-footer a {
    color: #00d4ff;
    font-weight: 800;
}


.dashboard-page {
    padding: 70px 0;
    min-height: calc(100vh - 140px);
    background:
        radial-gradient(circle at top left, rgba(0,212,255,0.15), transparent 28%),
        radial-gradient(circle at bottom right, rgba(124,60,255,0.18), transparent 32%);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.dashboard-header span {
    color: #00d4ff;
    font-weight: 800;
}

.dashboard-header h1 {
    font-size: 38px;
}

.dash-logout {
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.dash-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.28);
}

.dash-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

.time {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 10px;
}

.time.active {
    color: #00ff9d;
}

.time.passive {
    color: #ff4d6d;
}

.expire-box {
    margin-top: 22px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(0,0,0,0.25);
}

.expire-box span {
    display: block;
    color: #b8c4dd;
    margin-bottom: 6px;
}

.expire-box strong {
    color: #fff;
}

.code-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-form label {
    color: #dce7ff;
    font-weight: 800;
}

.code-form input {
    padding: 15px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(5,8,18,0.75);
    color: #fff;
    outline: none;
}

.code-form input:focus {
    border-color: #00d4ff;
}

.code-form button {
    padding: 15px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #00d4ff, #7c3cff);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.small-info {
    color: #b8c4dd;
    margin-top: 16px;
    line-height: 1.6;
}

.alert {
    padding: 15px 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-weight: 800;
}

.alert.error {
    background: rgba(255,77,109,0.15);
    border: 1px solid rgba(255,77,109,0.35);
    color: #ff8ca1;
}

.alert.success {
    background: rgba(0,255,157,0.13);
    border: 1px solid rgba(0,255,157,0.32);
    color: #71ffc8;
}

.history-card {
    margin-top: 10px;
}

.history-table {
    overflow-x: auto;
}

.history-table table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th,
.history-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
}

.history-table th {
    color: #00d4ff;
}

.history-table td {
    color: #dce7ff;
}

.empty-history {
    color: #b8c4dd;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}