:root {
  --purple: #7a2da4;
  --pink: #e44d7a;
  --orange: #ff6a3d;
  --bg: #f5f6fb;
  --text: #1f2430;
  --muted: #667085;
  --card: #ffffff;
  --line: #e9edf4;
  --success: #2e7d32;
  --error: #c62828;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 94%); margin: 0 auto; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.topbar {
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--orange));
  color: #fff;
  box-shadow: 0 4px 18px rgba(122, 45, 164, 0.22);
}
.topbar .container { padding: 14px 0; }
.logo { font-weight: 800; font-size: 24px; letter-spacing: .3px; }
.nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nav a { font-weight: 600; opacity: 0.95; }
.blink-badge {
  display: inline-block;
  min-width: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  margin-left: 4px;
  animation: blinkPulse 1s infinite;
}
@keyframes blinkPulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
.main { padding: 26px 0 40px; }
.btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: #6a1b9a;
}
.btn.alt { background: #374151; }
.btn.green { background: #2e7d32; }
.btn.cyan { background: #00acc1; }
.card {
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
  border: 1px solid var(--line);
  padding: 18px;
}
.flash { border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; font-weight: 600; }
.flash.success { background: #e9f8ec; color: var(--success); }
.flash.error { background: #ffedf0; color: var(--error); }
input, select {
  width: 100%;
  padding: 10px 12px;
  margin: 6px 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 10px;
  background: #fff;
}
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { font-size: 14px; padding: 10px; border-bottom: 1px solid #eef2f7; text-align: left; }
.footer { text-align: center; color: #7a8294; padding: 20px 0 34px; font-size: 13px; }

.hero-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}
.hero-main {
  background: linear-gradient(135deg, #ffffff 0%, #f6f0ff 100%);
}
.hero-main h1 { margin: 0 0 8px; font-size: 40px; line-height: 1.1; }
.hero-main p { color: var(--muted); max-width: 92%; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 9px 0; border-bottom: 1px dashed #e8deff; color: #4b5563; }
.feature-list li:last-child { border-bottom: none; }
.packages-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 14px; }
.package-card h3 { margin: 0 0 8px; color: #6a1b9a; }
.price { font-size: 28px; font-weight: 800; margin: 8px 0; }

.panel-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 16px;
}
.sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(16, 24, 40, .06);
  overflow: hidden;
}
.sidebar-head {
  background: linear-gradient(135deg, #8130ac, #ee4b6e);
  color: #fff;
  padding: 16px;
  font-weight: 700;
}
.sidebar .menu a {
  display: block;
  padding: 11px 14px;
  border-bottom: 1px solid #f0f3f8;
  color: #344054;
  font-weight: 600;
}
.sidebar .menu a:hover { background: #faf7ff; }
.content-area .top-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.stat-box {
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}
.bg1 { background: linear-gradient(135deg, #e05f00, #f39233); }
.bg2 { background: linear-gradient(135deg, #2057d4, #4d90ff); }
.bg3 { background: linear-gradient(135deg, #9922b4, #cf4de2); }
.bg4 { background: linear-gradient(135deg, #00a08c, #00c9a7); }
.shortener { display: grid; grid-template-columns: 1fr 140px; gap: 10px; align-items: end; }
.short-link { color: #6a1b9a; font-weight: 700; }

@media (max-width: 980px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .panel-shell { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
