* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, sans-serif; background: #0b1120; color: #e2e8f0; min-height: 100vh; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

header { padding: 20px 0; border-bottom: 1px solid #1e293b; }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.logo { font-size: 28px; font-weight: 800; }
.logo span { color: #38bdf8; }
nav a { color: #94a3b8; text-decoration: none; margin-left: 24px; font-size: 15px; }
nav a:hover, nav a.active { color: #38bdf8; }
.btn-outline { border: 1px solid #38bdf8; padding: 8px 20px; border-radius: 40px; color: #38bdf8; display: inline-block; }
.btn-outline:hover { background: #38bdf8; color: #0b1120; }

.hero { padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero h1 span { color: #38bdf8; }
.hero p { font-size: 18px; color: #94a3b8; max-width: 600px; margin: 0 auto 32px; }

.btn { display: inline-block; background: #38bdf8; color: #0b1120; padding: 14px 40px; border-radius: 40px; font-weight: 700; text-decoration: none; transition: 0.3s; border: none; cursor: pointer; font-size: 16px; }
.btn:hover { background: #7dd3fc; transform: scale(1.02); }
.btn-primary { background: #38bdf8; color: #0b1120; }
.btn-primary:hover { background: #7dd3fc; }

.features { padding: 60px 0; background: #0f172a; }
.features h2 { text-align: center; font-size: 32px; margin-bottom: 40px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.feature-item { text-align: center; padding: 24px 20px; background: #1e293b; border-radius: 16px; border: 1px solid #2d3a4f; }
.feature-item h3 { font-size: 18px; margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: #94a3b8; }

.plans { padding: 60px 0; }
.plans h2 { text-align: center; font-size: 32px; margin-bottom: 8px; }
.plans-sub { text-align: center; color: #94a3b8; margin-bottom: 40px; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.plan-card { background: #1e293b; padding: 30px 20px 25px; border-radius: 16px; text-align: center; border: 1px solid #2d3a4f; transition: 0.3s; display: flex; flex-direction: column; }
.plan-card:hover { border-color: #38bdf8; transform: translateY(-4px); }
.plan-card .price { font-size: 34px; font-weight: 700; color: #38bdf8; margin: 10px 0 4px; }
.plan-card .price-label { font-size: 14px; color: #94a3b8; margin-bottom: 16px; }
.plan-card .btn-pay { display: inline-block; background: #38bdf8; color: #0b1120; padding: 12px 20px; border-radius: 40px; font-weight: 700; text-decoration: none; font-size: 15px; transition: 0.3s; margin-top: auto; border: none; cursor: pointer; }
.plan-card .btn-pay:hover { background: #7dd3fc; transform: scale(1.03); }
.plan-card .crypto-hint { font-size: 12px; color: #64748b; margin: 8px 0 16px; }

.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.auth-container { background: #1e293b; padding: 40px; border-radius: 16px; border: 1px solid #2d3a4f; max-width: 400px; width: 100%; }
.auth-container h1 { text-align: center; margin-bottom: 30px; }
.auth-container .form-group { margin-bottom: 20px; }
.auth-container label { display: block; margin-bottom: 6px; color: #94a3b8; font-size: 14px; }
.auth-container input { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #2d3a4f; background: #0b1120; color: #e2e8f0; font-size: 16px; }
.auth-container .btn { width: 100%; padding: 14px; margin-top: 10px; }
.auth-container p { text-align: center; margin-top: 20px; color: #94a3b8; }
.auth-container a { color: #38bdf8; text-decoration: none; }

.cabinet { padding: 40px 0; }
.cabinet h1 { font-size: 32px; margin-bottom: 30px; }
.cabinet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cabinet-card { background: #1e293b; padding: 24px; border-radius: 16px; border: 1px solid #2d3a4f; }
.cabinet-card h3 { margin-bottom: 16px; font-size: 20px; }
.cabinet-card p { margin-bottom: 8px; color: #94a3b8; }
.cabinet-card .plan-info { margin: 12px 0; }
.cabinet-card .plan-info p { color: #e2e8f0; }
.active-plan { border-color: #38bdf8; }
.active-plan h3 { color: #38bdf8; }
.vpn-key { margin-top: 16px; padding: 16px; background: #0b1120; border-radius: 8px; }
.vpn-key code { display: block; font-size: 14px; word-break: break-all; color: #38bdf8; margin: 8px 0; }
.vpn-key button { background: #2d3a4f; color: #e2e8f0; border: none; padding: 6px 16px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.vpn-key button:hover { background: #3d4a5f; }

.payments-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; }
.payments-table th { text-align: left; color: #94a3b8; padding-bottom: 8px; border-bottom: 1px solid #2d3a4f; }
.payments-table td { padding: 8px 0; border-bottom: 1px solid #1e293b; }
.status-completed { color: #4ade80; }
.status-pending { color: #facc15; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; }
.alert.error { background: #7f1d1d; color: #fca5a5; border: 1px solid #991b1b; }

.support { padding: 40px 0; text-align: center; border-top: 1px solid #1e293b; }
.support a { color: #38bdf8; text-decoration: none; }
footer { padding: 20px 0; text-align: center; border-top: 1px solid #1e293b; color: #64748b; font-size: 14px; margin-top: auto; }

@media (max-width: 640px) { 
    .hero h1 { font-size: 32px; } 
    .header-inner { flex-direction: column; } 
    nav a { margin-left: 12px; font-size: 14px; }
    .cabinet-grid { grid-template-columns: 1fr; }
}
