:root {
  --bg: #0b1220;
  --card: #121a2b;
  --card-2: #182338;
  --text: #edf2ff;
  --muted: #9fb0d1;
  --accent: #3b82f6;
  --accent-2: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --border: rgba(255,255,255,.08);
  --white: #fff;
  --shadow: 0 20px 50px rgba(0,0,0,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #08101d 0%, #0f172a 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,16,29,.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 16px 0;
}
.logo { font-size: 22px; font-weight: 800; letter-spacing: .2px; }
.logo span { color: #60a5fa; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 12px;
  padding: 12px 18px; font-weight: 700; cursor: pointer; transition: .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #60a5fa); color: white; }
.btn-secondary { background: rgba(255,255,255,.05); color: white; border-color: var(--border); }
.btn-success { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; }
.btn-danger { background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; }
.btn-full { width: 100%; }
.hero { padding: 72px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.hero-card, .feature-card, .pricing-card, .panel, .stat, .table-wrap, .form-card, .dashboard-card {
  background: rgba(18,26,43,.95); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow);
}
.hero-copy h1 { font-size: clamp(34px, 5vw, 60px); margin: 0 0 16px; line-height: 1.05; }
.hero-copy p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0; }
.point {
  background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 16px; padding: 14px;
  color: var(--muted); font-size: 14px;
}
.hero-card { padding: 24px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.stat { padding: 18px; }
.stat h3 { margin: 0; font-size: 28px; }
.stat p { margin: 8px 0 0; color: var(--muted); }
.section { padding: 40px 0; }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: 34px; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; line-height: 1.7; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card, .pricing-card, .form-card, .dashboard-card { padding: 22px; }
.feature-card h3, .pricing-card h3, .dashboard-card h3 { margin-top: 0; }
.feature-card p, .pricing-card p, .dashboard-card p { color: var(--muted); line-height: 1.7; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.list li:last-child { border-bottom: 0; }
.pricing-card.highlight { border-color: rgba(59,130,246,.55); transform: translateY(-4px); }
.price { font-size: 42px; font-weight: 800; margin: 12px 0; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.input, select, textarea {
  width: 100%; background: rgba(255,255,255,.04); color: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px; outline: none;
}
textarea { min-height: 130px; resize: vertical; }
label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group { margin-bottom: 16px; }
.footer {
  padding: 30px 0 60px; color: var(--muted); text-align: center;
}
.notice {
  padding: 14px 16px; border-radius: 14px; margin-bottom: 16px; border: 1px solid var(--border);
}
.notice-success { background: rgba(34,197,94,.12); color: #c7f9d8; }
.notice-danger { background: rgba(239,68,68,.12); color: #ffd0d0; }
.notice-warning { background: rgba(245,158,11,.12); color: #ffe8b3; }
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar {
  background: #0a1322; border-right: 1px solid var(--border); padding: 24px 16px; position: sticky; top: 0; height: 100vh;
}
.sidebar .brand { font-size: 22px; font-weight: 800; margin-bottom: 24px; }
.side-links { display: grid; gap: 8px; }
.side-links a {
  padding: 12px 14px; border-radius: 12px; color: var(--muted); border: 1px solid transparent;
}
.side-links a:hover, .side-links a.active { background: rgba(255,255,255,.05); color: white; border-color: var(--border); }
.content { padding: 28px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.table-wrap { overflow: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { color: #cbd5e1; font-size: 14px; }
.table td { color: var(--muted); }
.badge { display: inline-block; padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-success { background: rgba(34,197,94,.18); color: #baf3cf; }
.badge-warning { background: rgba(245,158,11,.18); color: #ffd78c; }
.badge-danger { background: rgba(239,68,68,.18); color: #ffc2c2; }
.badge-muted { background: rgba(148,163,184,.18); color: #dbe4f0; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(480px, 100%); padding: 28px; }
.muted { color: var(--muted); }
.inline-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #25D366); display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.25); z-index: 80; font-size: 28px;
}
@media (max-width: 1100px) {
  .grid-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
}
@media (max-width: 700px) {
  .grid-3, .grid-2, .form-row, .cards-4, .hero-points, .metric-grid { grid-template-columns: 1fr; }
  .nav { flex-direction: column; align-items: flex-start; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .content { padding: 18px; }
}
