:root {
    --brand: #0a2540;
    --brand-accent: #1e88e5;
    --text: #1a1a1a;
    --muted: #6b7280;
    --bg: #ffffff;
    --bg-soft: #f7f8fa;
    --border: #e5e7eb;
    --danger: #dc2626;
    --success: #16a34a;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-header { border-bottom: 1px solid var(--border); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.brand-logo { height: 36px; width: auto; }
.brand-name { font-weight: 700; font-size: 18px; }
.nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-link:hover { color: var(--brand); }
.site-main { min-height: 70vh; padding: 30px 0 60px; }
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); text-align: center; font-size: 14px; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: 0.15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #14385f; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-block { display: block; width: 100%; text-align: center; }

.hero { background: linear-gradient(135deg, #0a2540, #1e3a5f); color: #fff; padding: 60px 0; }
.hero-inner { text-align: center; }
.hero h1 { font-size: 34px; margin: 0 0 12px; }
.hero-sub { font-size: 16px; color: #cbd5e1; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.1); }

.section { padding: 40px 0; }
.section-title { font-size: 24px; margin: 0 0 20px; color: var(--brand); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .hero h1 { font-size: 24px; } }

.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.card h3 { margin: 0 0 10px; color: var(--brand); }

.pkg-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; text-align: center; }
.pkg-card.popular { border: 2px solid var(--brand-accent); box-shadow: 0 6px 20px rgba(30,136,229,0.15); }
.pkg-card .badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--brand-accent); color: #fff; padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.pkg-card h3 { margin: 0 0 10px; color: var(--brand); }
.pkg-card .price { font-size: 26px; font-weight: 700; color: var(--brand); }
.pkg-card .cycle { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.pkg-features { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.pkg-features li { padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.pkg-features li:last-child { border-bottom: none; }

.auth-wrap { display: flex; justify-content: center; padding: 20px 0; }
.auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.auth-card h1 { margin: 0 0 6px; font-size: 24px; }
.auth-card .muted { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--brand-accent); text-decoration: none; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 15px; outline: none; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-accent); }
.field .error { color: var(--danger); font-size: 12px; display: block; margin-top: 4px; }
.field input[type=file] { padding: 8px; }

.messages { margin-top: 16px; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 10px; font-size: 14px; }
.alert-success { background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

.table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.table th { background: var(--bg-soft); font-weight: 600; }

.filter-row { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.muted { color: var(--muted); }