* { box-sizing: border-box; }
body { font-family: 'Poppins', system-ui, -apple-system, sans-serif; margin: 0; color: #1a1a2e; background: #f5f7fb; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.container { max-width: 960px; margin: 0 auto; padding: 1rem; }

/* Header */
.site-header { background: #0d1f35; color: #fff; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.site-header .logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-logo-img { height: 48px; max-width: 220px; width: auto; display: block; object-fit: contain; }
.sidebar-logo-img { height: 42px; max-width: 200px; width: auto; display: block; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.auth-logo-img { height: 64px; max-width: 280px; width: auto; display: block; object-fit: contain; margin-bottom: .75rem; }
.logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, #2563eb, #1d4ed8); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 2px 10px rgba(37,99,235,.35); }
.logo-text strong { display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.logo-text small { display: block; font-size: .58rem; color: rgba(255,255,255,.55); font-weight: 500; letter-spacing: .02em; margin-top: .1rem; }
.site-header nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; flex-wrap: wrap; }
.site-header nav a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .82rem; font-weight: 600; padding: .45rem .75rem; border-radius: 6px; transition: color .15s; position: relative; }
.site-header nav a:hover { color: #fff; }
.site-header nav a.active { color: #fff; }
.site-header nav a.active::after { content: ''; position: absolute; bottom: 0; left: .75rem; right: .75rem; height: 2px; background: #3b82f6; border-radius: 2px; }
.nav-cart { display: inline-flex; align-items: center; gap: .35rem; }
.cart-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 .35rem; background: #2563eb; color: #fff; font-size: .68rem; font-weight: 800; border-radius: 50px; line-height: 1; }

.site-footer { margin-top: 3rem; padding: 1.5rem 0; color: #666; border-top: 1px solid #ddd; background: #fff; }
.site-footer .container { max-width: 1180px; }
.card { background: #fff; border-radius: 8px; padding: 1.5rem; margin-bottom: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
h1, h2 { margin-top: 0; }
.form-group { margin-bottom: 1rem; }
label { display: block; font-weight: 600; margin-bottom: .25rem; }
input, select { width: 100%; padding: .6rem .75rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .72rem 1.4rem; background: #2563eb; color: #fff; border: none; border-radius: 8px; font-size: .9rem; font-weight: 700; cursor: pointer; text-decoration: none; font-family: inherit; transition: background .15s, transform .12s; }
.btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: #2563eb; border: 1.5px solid #2563eb; }
.btn-secondary:hover { background: #eff6ff; }
.alert { padding: .75rem 1rem; border-radius: 4px; margin-bottom: 1rem; }
.alert-error { background: #fde8e8; color: #9b1c1c; }
.alert-success { background: #def7ec; color: #03543f; }
.alert-info { background: #e1effe; color: #1e429f; }
.cart-item { display: flex; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid #eee; }
.cart-total { font-size: 1.25rem; font-weight: 700; text-align: right; margin-top: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.status-step { padding: .5rem 0; }
.status-step.done { color: #03543f; }
.status-step.failed { color: #9b1c1c; }
.status-step.pending { color: #666; }
#domain-result { margin-top: .5rem; font-size: .9rem; }
#payment-element { margin: 1rem 0; }
.hidden { display: none; }
