
:root {
  --bg: #0b1320;
  --bg-soft: #111a2b;
  --surface: #ffffff;
  --text: #0f172a;
  --text-soft: #52607a;
  --line: #dbe3ef;
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.12);
  --green: #16a34a;
  --amber: #d97706;
  --purple: #7c3aed;
  --red: #dc2626;
  --shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f5f8fc;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 19, 32, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-row, .footer-row { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.nav-row { min-height: 76px; }
.brand { display:flex; align-items:center; gap:12px; color:#fff; }
.brand-badge {
  width:44px; height:44px; border-radius:14px; display:grid; place-items:center;
  background: linear-gradient(135deg, #3b82f6, #7c3aed); color:#fff; font-weight:800;
  box-shadow: 0 10px 24px rgba(59,130,246,.3);
}
.brand small { display:block; color: rgba(255,255,255,0.65); }
.nav-menu { display:flex; align-items:center; gap:18px; color:#e5eefc; flex-wrap: wrap; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:46px; padding:0 18px; border-radius:14px; border:none; cursor:pointer;
  background: var(--primary); color:#fff; font-weight:700; box-shadow: var(--shadow);
}
.btn-secondary { background:#fff; color:var(--text); }
.btn-outline { background: transparent; color:#fff; border: 1px solid rgba(255,255,255,0.22); box-shadow:none; }
.btn-sm { min-height: 38px; padding: 0 14px; border-radius: 12px; font-size: 14px; }
.hero-section {
  background: radial-gradient(circle at top left, rgba(59,130,246,.18), transparent 32%), linear-gradient(180deg, #0b1320 0%, #0f1b31 100%);
  color:#fff; padding: 72px 0 64px;
}
.hero-grid, .features-grid, .stats-row, .cta-grid, .service-grid, .tracking-grid, .dashboard-grid { display:grid; gap:24px; }
.hero-grid { grid-template-columns: 1.2fr .95fr; align-items:center; }
.hero-grid h1 { font-size: clamp(2.2rem, 3vw, 3.5rem); line-height:1.08; margin:14px 0 16px; }
.lead { color:#d4dded; font-size:1.05rem; line-height:1.8; max-width: 760px; }
.pill { display:inline-flex; padding:8px 14px; border-radius:999px; background: rgba(255,255,255,0.08); color:#dbeafe; font-size:14px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin:22px 0 28px; }
.stats-row { grid-template-columns: repeat(3, 1fr); }
.stat-card, .card {
  background: #fff; border:1px solid var(--line); border-radius:22px; box-shadow: var(--shadow);
}
.stat-card { padding:18px; color:var(--text); }
.stat-card strong { display:block; font-size:1.35rem; }
.soft-dark {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.08); color:#fff;
}
.hero-panel { padding:20px; }
.mini-window { border-radius:18px; overflow:hidden; background:#0f172a; }
.window-dots { padding:12px; display:flex; gap:8px; }
.window-dots span { width:10px; height:10px; border-radius:50%; background:#64748b; }
.preview-grid { display:grid; grid-template-columns: 180px 1fr; min-height:340px; }
.preview-sidebar { background:#0b1220; padding:18px; display:grid; gap:12px; }
.preview-sidebar a { color:#94a3b8; }
.preview-sidebar a.active { color:#fff; font-weight:700; }
.preview-logo { width:54px; height:54px; border-radius:16px; background:linear-gradient(135deg,#3b82f6,#7c3aed); display:grid; place-items:center; font-weight:800; }
.preview-main { background:#f8fafc; padding:18px; color:#0f172a; }
.preview-cards { display:grid; grid-template-columns: repeat(2, 1fr); gap:12px; }
.preview-card { background:#fff; border:1px solid #e2e8f0; border-radius:16px; padding:14px; }
.section { padding: 68px 0; }
.section-sm { padding: 28px 0; }
.section h2 { font-size: clamp(1.8rem, 2vw, 2.5rem); margin:0 0 10px; }
.section p.section-desc { color: var(--text-soft); max-width: 760px; line-height: 1.75; }
.features-grid { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.feature-card { padding: 22px; }
.feature-icon { width: 48px; height: 48px; border-radius: 16px; display:grid; place-items:center; background: var(--primary-soft); color: var(--primary); font-size: 22px; margin-bottom: 12px; }
.service-grid, .tracking-grid { grid-template-columns: 1fr 1fr; }
.info-list { display:grid; gap:12px; margin-top: 18px; }
.info-item { background:#f8fafc; border:1px solid var(--line); border-radius:16px; padding:14px 16px; }
.site-footer { background:#0b1320; color:#e5eefc; padding: 28px 0; margin-top: 48px; }
.footer-row small { color: rgba(255,255,255,0.65); }
.dashboard-shell { display:grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.sidebar { background:#0b1320; color:#fff; padding:24px 20px; position:sticky; top:0; height:100vh; }
.sidebar-brand { display:flex; align-items:center; gap:12px; margin-bottom: 28px; }
.sidebar-nav { display:grid; gap:10px; }
.sidebar-nav a { padding: 12px 14px; border-radius: 14px; color: #dbeafe; }
.sidebar-nav a.active, .sidebar-nav a:hover { background: rgba(255,255,255,0.08); }
.sidebar-note { margin-top: 24px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.dashboard-main { padding: 28px; }
.dashboard-topbar { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom: 24px; }
.dashboard-topbar h1 { margin:0 0 8px; }
.muted { color: var(--text-soft); }
.metric-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric-card { padding: 22px; }
.metric-card small { display:block; color: var(--text-soft); margin-bottom: 10px; }
.metric-card strong { display:block; font-size: 2rem; margin-bottom: 10px; }
.accent-blue { border-top: 5px solid var(--primary); }
.accent-green { border-top: 5px solid var(--green); }
.accent-amber { border-top: 5px solid var(--amber); }
.accent-purple { border-top: 5px solid var(--purple); }
.dashboard-grid { grid-template-columns: 1.45fr .95fr; }
.panel-large, .panel-side, .tracking-result, .form-card { padding: 22px; }
.panel-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom: 18px; }
.table-wrapper { overflow:auto; border:1px solid var(--line); border-radius:18px; }
.table { width:100%; border-collapse: collapse; min-width: 760px; }
.table th, .table td { padding:14px 16px; border-bottom:1px solid var(--line); text-align:left; vertical-align: top; }
.badge { display:inline-flex; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700; background:#e2e8f0; color:#0f172a; }
.badge.success { background: rgba(22,163,74,.12); color:#166534; }
.badge.warning { background: rgba(217,119,6,.12); color:#92400e; }
.badge.info { background: rgba(37,99,235,.12); color:#1d4ed8; }
.badge.danger { background: rgba(220,38,38,.12); color:#991b1b; }
.input, select, textarea {
  width:100%; min-height:46px; border:1px solid var(--line); border-radius:14px; padding:0 14px; font: inherit;
}
textarea { min-height: 120px; padding: 14px; }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display:flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.list { display:grid; gap: 12px; }
.list-item { border:1px solid var(--line); border-radius:16px; padding: 14px 16px; background:#fff; }
.kicker { font-size: 13px; color: var(--text-soft); text-transform: uppercase; letter-spacing: .08em; }
.codebox { background:#0f172a; color:#e2e8f0; border-radius:16px; padding:16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; overflow:auto; }
.notice { background:#eff6ff; border:1px solid #bfdbfe; color:#1d4ed8; border-radius:16px; padding:14px 16px; }
@media (max-width: 980px) {
  .hero-grid, .service-grid, .tracking-grid, .dashboard-grid, .metric-grid, .features-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .preview-grid { grid-template-columns: 1fr; }
}
