﻿:root {
  --bg: #07111d;
  --bg-soft: #0d1a2a;
  --panel: rgba(14, 25, 39, 0.95);
  --panel-strong: #101d2f;
  --primary: #3aa6ff;
  --primary-strong: #0e7ae5;
  --accent: #ff8a3d;
  --secondary: #f2f7ff;
  --muted: #a8bdd6;
  --text: #edf5ff;
  --border: rgba(168, 189, 214, 0.14);
  --shadow: 0 24px 60px rgba(2, 6, 17, 0.55);
  --success: #31d0aa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 32px));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 17, 29, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168, 189, 214, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--secondary);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3aa6ff, #0a62d8);
  color: #fff;
  box-shadow: 0 8px 20px rgba(58, 166, 255, 0.4);
}

.brand-text {
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover,
.link-btn:hover,
.site-footer a:hover {
  color: var(--primary);
}

.nav-actions,
.cta-group,
.cta-inline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-btn {
  color: var(--muted);
  font-weight: 600;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 16px 28px rgba(58, 166, 255, 0.3);
  border: 1px solid transparent;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.primary-btn.large,
.secondary-btn.large {
  padding: 16px 28px;
  min-width: 160px;
}

.primary-btn {
  padding: 14px 22px;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.03);
  color: var(--secondary);
  border: 1px solid rgba(168, 189, 214, 0.18);
  padding: 14px 22px;
}

.dark-hero {
  padding: 72px 0 42px;
  background:
    radial-gradient(circle at top left, rgba(58, 166, 255, 0.25), transparent 35%),
    radial-gradient(circle at bottom right, rgba(236, 96, 16, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(7, 17, 29, 0.95), rgba(9, 19, 34, 1));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
}

.eyebrow,
.section-tag {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-copy h1,
.features h2,
.showcase h2,
.steps h2,
.reasons h2,
.testimonials h2,
.final-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--secondary);
}

.lead,
.content-block p,
.feature-card p,
.reason-card p,
.step-card p,
.quote-card p,
.site-footer p {
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 26px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  list-style: none;
  padding: 0;
  margin: 26px 0;
  color: var(--secondary);
  font-weight: 600;
}

.hero-points li::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: var(--primary);
  font-weight: 800;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.trust-bar div {
  display: flex;
  flex-direction: column;
  min-width: 130px;
}

.trust-bar strong {
  font-size: 1.7rem;
  color: var(--secondary);
  letter-spacing: -0.04em;
}

.trust-bar span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 620px;
}

.dashboard-window {
  position: relative;
  width: min(520px, 92%);
  background: rgba(18, 29, 43, 0.9);
  border: 1px solid rgba(168, 189, 214, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.window-header {
  display: flex;
  gap: 8px;
  padding: 8px 10px 18px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red { background: #ff6b6b; }
.dot.amber { background: #fbbf24; }
.dot.green { background: #34d399; }

.window-body {
  background: linear-gradient(180deg, rgba(13, 26, 42, 1), rgba(16, 29, 47, 1));
  border-radius: 18px;
  padding: 22px;
}

.mini-panel,
.list-card,
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.top-row small,
.mini-card p,
.list-head,
.stat-card span,
.site-footer h4 {
  color: var(--muted);
}

.top-row strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--secondary);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(49, 208, 170, 0.12);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 18px 14px;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.4rem;
  color: var(--secondary);
}

.stat-card.accent {
  background: linear-gradient(135deg, rgba(58, 166, 255, 0.15), rgba(17, 100, 191, 0.05));
}

.list-card {
  padding: 18px 18px 10px;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.muted {
  color: var(--muted);
}

.list-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(168, 189, 214, 0.08);
  font-size: 0.9rem;
}

.list-card li:first-child {
  border-top: none;
}

.list-card b {
  color: var(--secondary);
}

.features,
.steps,
.testimonials,
.reasons {
  padding: 90px 0;
  background: #0b1627;
}

.center-text {
  text-align: center;
}

.features-grid,
.reasons-grid,
.testimonial-grid,
.steps-grid {
  display: grid;
  gap: 24px;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.feature-card,
.reason-card,
.step-card,
.quote-card {
  background: rgba(15, 29, 43, 0.82);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 26px 22px;
}

.feature-card h3,
.reason-card h3,
.step-card h3 {
  margin: 18px 0 12px;
  color: var(--secondary);
  font-size: 1.38rem;
  letter-spacing: -0.03em;
}

.feature-icon,
.reason-icon,
.step-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-icon.lime { background: rgba(163, 230, 53, 0.12); }
.feature-icon.blue { background: rgba(58, 166, 255, 0.12); }
.feature-icon.purple { background: rgba(168, 85, 247, 0.12); }
.feature-icon.orange { background: rgba(255, 138, 61, 0.12); }
.feature-icon.cyan { background: rgba(34, 211, 238, 0.12); }
.feature-icon.rose { background: rgba(244, 114, 182, 0.12); }

.showcase {
  padding: 20px 0 60px;
  background: #091821;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.content-block {
  max-width: 560px;
}

.content-block h2 {
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--secondary);
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  margin-right: 12px;
  background: rgba(58, 166, 255, 0.1);
  color: var(--primary);
}

.cta-inline {
  margin-top: 28px;
}

.visual-panel {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(360px, 84%);
  background: linear-gradient(180deg, #0b1726 0%, #111827 100%);
  color: var(--white);
  border-radius: 34px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.84);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
}

.phone-content {
  display: grid;
  gap: 12px;
}

.mini-card {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-card.blue {
  background: linear-gradient(135deg, rgba(58, 166, 255, 0.8), rgba(14, 165, 233, 0.9));
}

.mini-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.3rem;
}

.stage-card {
  width: min(420px, 90%);
  background: linear-gradient(180deg, rgba(15, 29, 43, 0.8) 0%, rgba(12, 23, 35, 1));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--secondary);
}

.bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 180px;
  padding: 12px 10px 0;
}

.bars span {
  flex: 1;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.step-card {
  padding: 28px 24px 26px;
  position: relative;
}

.step-number {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(58, 166, 255, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.step-icon {
  background: rgba(58, 166, 255, 0.08);
  font-size: 1.8rem;
}

.reasons-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.reason-card {
  padding: 26px 22px;
}

.reason-icon {
  background: rgba(58, 166, 255, 0.08);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.quote-card {
  padding: 28px 22px 20px;
}

.quote-card p {
  font-size: 1.02rem;
  margin-top: 0;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  color: var(--secondary);
}

.avatar.alt {
  background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
}

.person strong,
.person small {
  display: block;
}

.person small {
  color: var(--muted);
}

.final-cta {
  padding: 26px 0 90px;
  background: #091821;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 42px 34px;
  background: linear-gradient(135deg, #0d213a 0%, #0c1d2d 100%);
  border: 1px solid rgba(168, 189, 214, 0.1);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.section-tag.light {
  color: #a5d4ff;
}

.cta-box h2 {
  margin: 0;
  color: var(--white);
  letter-spacing: -0.05em;
}

.right-align {
  justify-content: flex-end;
}

.site-footer {
  padding: 0 0 34px;
  background: #07111d;
  color: var(--secondary);
}

.policy-page {
  background: linear-gradient(180deg, #07111d 0%, #0b1627 100%);
  color: var(--text);
}

.policy-shell {
  width: min(980px, calc(100% - 32px));
  margin: 60px auto;
  padding: 42px 34px;
  border-radius: 28px;
  border: 1px solid rgba(168, 189, 214, 0.1);
  background: rgba(13, 26, 42, 0.9);
  box-shadow: var(--shadow);
}

.policy-content {
  color: var(--secondary);
}

.policy-content h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.policy-content h2 {
  margin: 28px 0 12px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--secondary);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.policy-content ul {
  padding-left: 22px;
  margin: 14px 0;
}

.policy-content strong {
  color: var(--secondary);
}

.policy-content .meta {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 28px 0 18px;
  border-top: 1px solid rgba(168, 189, 214, 0.08);
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer h4 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(168, 189, 214, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 60px 20px;
  background:
    radial-gradient(circle at top left, rgba(58, 166, 255, 0.2), transparent 35%),
    linear-gradient(180deg, #07111d 0%, #0b1627 100%);
}

.auth-shell {
  width: min(1040px, 100%);
  background: rgba(13, 26, 42, 0.9);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
}

.auth-visual {
  padding: 52px 42px;
  background: linear-gradient(135deg, #0b1a2d 0%, #122d4d 100%);
}

.auth-visual h1 {
  margin: 16px 0 18px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--secondary);
}

.auth-visual p {
  color: rgba(255, 255, 255, 0.76);
}

.auth-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.auth-metric {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 189, 214, 0.12);
}

.auth-metric strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: var(--secondary);
}

.auth-form-wrap {
  padding: 42px 36px;
}

.auth-form-wrap h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  color: var(--secondary);
  letter-spacing: -0.04em;
}

.auth-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
}

.suggestion-cluster {
  display: flex;
  gap: 12px;
  margin: 0 0 24px;
}

.suggestion-pill {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(58, 166, 255, 0.2);
  border-radius: 50%;
  background: rgba(58, 166, 255, 0.08);
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 12px 22px rgba(58, 166, 255, 0.25);
}

.auth-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
}

.field input,
.field select {
  width: 100%;
  border: 1px solid rgba(168, 189, 214, 0.15);
  border-radius: 14px;
  height: 52px;
  padding: 0 16px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--secondary);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: rgba(58, 166, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(58, 166, 255, 0.08);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.auth-form .primary-btn {
  width: 100%;
  height: 54px;
  border: none;
  cursor: pointer;
}

.auth-footer {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.auth-footer a {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .features-grid,
  .reasons-grid,
  .testimonial-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .split-layout,
  .footer-grid,
  .auth-shell {
    display: grid;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 52px;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .cta-group,
  .nav-actions,
  .cta-inline,
  .cta-box,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box {
    padding: 30px 22px;
  }

  .features-grid,
  .reasons-grid,
  .testimonial-grid,
  .steps-grid,
  .footer-grid,
  .split-layout,
  .hero-grid,
  .auth-shell,
  .form-row,
  .auth-metrics {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .dashboard-window {
    width: min(100%, 420px);
  }

  .trust-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .right-align {
    justify-content: flex-start;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .auth-form-wrap,
  .auth-visual {
    padding: 28px 20px;
  }
}

.dashboard-page {
  min-height: 100vh;
  background: #f4f7fb;
  color: #15243a;
}

.dashboard-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 22px;
  background: #091827;
  color: #dce9f7;
}

.dashboard-brand {
  padding: 0 12px;
  margin-bottom: 54px;
}

.dashboard-nav {
  display: grid;
  gap: 8px;
}

.dashboard-nav a,
.dashboard-logout {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  color: #8da6c0;
  font-size: 0.92rem;
  font-weight: 600;
}

.dashboard-nav a span {
  width: 20px;
  text-align: center;
  font-size: 1.05rem;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background: #14395d;
  color: #fff;
}

.sidebar-help {
  margin: auto 10px 22px;
  padding: 18px 16px;
  border: 1px solid rgba(141, 166, 192, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-help strong {
  color: #fff;
  font-size: 0.9rem;
}

.sidebar-help p {
  margin: 8px 0 14px;
  color: #8da6c0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.sidebar-help a {
  color: #55b5ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-logout {
  margin-top: 0;
  border-top: 1px solid rgba(141, 166, 192, 0.12);
  border-radius: 0;
  padding-top: 20px;
  color: #8da6c0;
}

.dashboard-main {
  min-width: 0;
  padding: 36px clamp(20px, 4vw, 58px) 56px;
}

.dashboard-header,
.device-strip,
.dashboard-panel-header,
.location-footer,
.chart-legend,
.dashboard-user,
.device-strip-copy,
.device-strip-meta {
  display: flex;
  align-items: center;
}

.dashboard-header {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.dashboard-kicker {
  margin: 0 0 8px;
  color: #1b8de0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-header h1 {
  margin: 0;
  color: #14243a;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.045em;
}

.dashboard-muted,
.dashboard-panel-header p,
.dashboard-stat-note {
  color: #8192a8;
  font-size: 0.86rem;
}

.dashboard-muted {
  margin: 8px 0 0;
}

.dashboard-user {
  gap: 12px;
  color: #53677f;
  font-size: 0.88rem;
  font-weight: 700;
}

.notification-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 50%;
  background: #fff;
  color: #1a8de0;
  box-shadow: 0 4px 12px rgba(30, 73, 113, 0.1);
  font-size: 0.7rem;
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d3ebff;
  color: #1476b8;
  font-size: 0.76rem;
}

.user-chevron {
  color: #8ea2b8;
  font-size: 1.1rem;
}

.device-strip {
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 22px;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 65, 99, 0.04);
}

.device-strip-copy,
.device-strip-meta {
  gap: 12px;
}

.device-strip-copy strong,
.device-strip-copy span,
.location-footer strong,
.location-footer span {
  display: block;
}

.device-strip-copy strong {
  color: #1b2f48;
  font-size: 0.9rem;
}

.device-strip-copy div span {
  margin-top: 3px;
  color: #8a9bae;
  font-size: 0.76rem;
}

.device-online {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ec49c;
  box-shadow: 0 0 0 4px rgba(46, 196, 156, 0.12);
}

.device-offline {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b7c2cc;
  box-shadow: 0 0 0 4px rgba(183, 194, 204, 0.14);
}

.device-strip-meta {
  color: #778ba1;
  font-size: 0.8rem;
}

.battery-icon {
  color: #2dbf98;
}

.dashboard-outline-btn {
  height: 34px;
  padding: 0 14px;
  border: 1px solid #d9e3ed;
  border-radius: 7px;
  background: #fff;
  color: #327caf;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.dashboard-stat-card,
.dashboard-panel {
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 65, 99, 0.04);
}

.dashboard-stat-card {
  min-height: 156px;
  padding: 18px;
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dashboard-stat-icon,
.event-icon {
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-weight: 800;
}

.dashboard-stat-icon {
  width: 34px;
  height: 34px;
  font-size: 1rem;
}

.dashboard-stat-icon.blue,
.event-icon.blue { background: #e5f3ff; color: #1b91dc; }
.dashboard-stat-icon.purple,
.event-icon.purple { background: #f0eaff; color: #8961d2; }
.dashboard-stat-icon.orange,
.event-icon.orange { background: #fff0e7; color: #e48243; }
.dashboard-stat-icon.red,
.event-icon.red { background: #ffe9e9; color: #df6b6b; }

.trend {
  font-size: 0.7rem;
  font-weight: 700;
}

.trend.positive { color: #2aaf8c; }
.trend.neutral { color: #8497ac; }
.trend.warning { color: #db7272; }

.dashboard-stat-label {
  display: block;
  color: #74889f;
  font-size: 0.78rem;
}

.dashboard-stat-card > strong {
  display: block;
  margin: 3px 0 2px;
  color: #172c45;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.dashboard-stat-note {
  display: block;
  font-size: 0.7rem;
}

.alert-stat {
  border-color: #f0dddd;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 22px;
  margin-bottom: 22px;
}

.dashboard-panel {
  min-width: 0;
  padding: 22px;
}

.dashboard-panel-header {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-panel-header h2 {
  margin: 0;
  color: #19304a;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.dashboard-panel-header p {
  margin: 5px 0 0;
  font-size: 0.76rem;
}

.dashboard-panel-header select {
  border: 1px solid #dce5ee;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  color: #60748a;
  font: inherit;
  font-size: 0.72rem;
}

.activity-chart {
  display: flex;
  height: 206px;
  gap: 12px;
}

.chart-y-labels,
.chart-x-labels {
  display: flex;
  color: #9aaaba;
  font-size: 0.66rem;
}

.chart-y-labels {
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 22px;
}

.chart-area {
  position: relative;
  flex: 1;
  min-width: 0;
}

.chart-lines {
  position: absolute;
  inset: 0 0 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-lines span {
  display: block;
  border-top: 1px dashed #e4eaf0;
}

.chart-bars {
  position: absolute;
  inset: 0 2% 22px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 8%;
}

.chart-bars i {
  width: 9%;
  min-width: 10px;
  border-radius: 5px 5px 0 0;
  background: #b8e1fb;
}

.chart-bars i.active-bar {
  background: #258ed1;
}

.chart-x-labels {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  justify-content: space-around;
}

.chart-legend {
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #edf1f5;
  color: #8395a9;
  font-size: 0.72rem;
}

.chart-legend span:not(.chart-total) {
  display: flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-blue { background: #258ed1; }
.legend-orange { background: #f0a26c; }

.chart-total {
  margin-left: auto;
}

.chart-total strong {
  margin-left: 5px;
  color: #243c56;
}

.map-preview {
  position: relative;
  height: 198px;
  overflow: hidden;
  border-radius: 9px;
  background: #e6f0ec;
}

.map-preview::before,
.map-preview::after {
  content: "";
  position: absolute;
  inset: -25% 35% 20% -15%;
  border: 18px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  transform: rotate(25deg);
}

.map-preview::after {
  inset: 5% -20% -30% 45%;
  border-width: 13px;
  transform: rotate(-35deg);
}

.map-water {
  position: absolute;
  right: -10%;
  bottom: -22%;
  width: 66%;
  height: 58%;
  border-radius: 55% 0 0 0;
  background: rgba(165, 216, 237, 0.72);
  transform: rotate(-18deg);
}

.map-road {
  position: absolute;
  z-index: 1;
  display: block;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(-28deg);
}

.road-one { top: 40%; left: -5%; width: 110%; }
.road-two { top: 64%; left: 8%; width: 90%; transform: rotate(24deg); }
.road-three { top: -5%; left: 58%; width: 12px; height: 120%; transform: rotate(16deg); }

.map-pin {
  position: absolute;
  z-index: 3;
  top: 40%;
  left: 48%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50% 50% 50% 0;
  background: #e9894f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(70, 101, 110, 0.3);
  transform: rotate(-45deg);
}

.map-pin::first-letter {
  transform: rotate(45deg);
}

.map-label {
  position: absolute;
  z-index: 4;
  top: 31%;
  left: 56%;
  padding: 5px 8px;
  border-radius: 4px;
  background: #fff;
  color: #567087;
  font-size: 0.68rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(70, 101, 110, 0.12);
}

.map-empty-label {
  position: absolute;
  z-index: 4;
  top: 44%;
  right: 0;
  left: 0;
  color: #718a9b;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.location-footer {
  justify-content: space-between;
  gap: 12px;
  padding-top: 15px;
}

.location-footer strong {
  color: #243c56;
  font-size: 0.82rem;
}

.location-footer span {
  margin-top: 3px;
  color: #8497aa;
  font-size: 0.7rem;
}

.location-footer .location-time {
  color: #258ed1;
  font-weight: 700;
}

.lower-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
}

.dashboard-link {
  color: #258ed1;
  font-size: 0.74rem;
  font-weight: 700;
}

.recent-list,
.quick-actions {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.recent-empty {
  padding: 32px 12px 18px;
  color: #8b9bab;
  font-size: 0.78rem;
  text-align: center;
}

.recent-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #edf1f5;
}

.event-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
}

.recent-list li div {
  min-width: 0;
  flex: 1;
}

.recent-list strong,
.recent-list li div span {
  display: block;
}

.recent-list strong {
  overflow: hidden;
  color: #2c435d;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-list li div span,
.recent-list time {
  margin-top: 3px;
  color: #899bad;
  font-size: 0.7rem;
}

.quick-actions a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #edf1f5;
}

.quick-actions a > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e8f5ff;
  color: #258ed1;
  font-weight: 800;
}

.quick-actions a div {
  flex: 1;
}

.quick-actions strong,
.quick-actions small {
  display: block;
}

.quick-actions strong {
  color: #2c435d;
  font-size: 0.78rem;
}

.quick-actions small {
  margin-top: 3px;
  color: #899bad;
  font-size: 0.68rem;
}

.quick-actions b {
  color: #9aabbb;
  font-size: 1.2rem;
}

.icon-button {
  border: 0;
  background: transparent;
  color: #91a2b4;
  letter-spacing: 2px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .dashboard-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .dashboard-layout {
    display: block;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }

  .dashboard-brand {
    margin-bottom: 16px;
  }

  .dashboard-nav {
    display: flex;
    overflow-x: auto;
    gap: 6px;
  }

  .dashboard-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 12px;
  }

  .dashboard-nav a span {
    display: none;
  }

  .sidebar-help,
  .dashboard-logout {
    display: none;
  }

  .dashboard-main {
    padding: 28px 16px 42px;
  }

  .dashboard-content-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dashboard-header {
    display: block;
  }

  .dashboard-user {
    margin-top: 18px;
  }

  .device-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .device-strip-meta {
    width: 100%;
    justify-content: space-between;
  }

  .dashboard-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .dashboard-stat-card {
    min-height: 144px;
    padding: 14px;
  }

  .dashboard-panel {
    padding: 16px;
  }

  .dashboard-panel-header {
    align-items: flex-start;
  }

  .chart-legend {
    flex-wrap: wrap;
  }

  .chart-total {
    width: 100%;
    margin-left: 0;
  }
}

.access-page {
  min-height: 100vh;
}

.access-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid #e0e8f0;
  background: #fff;
}

.access-back {
  color: #5f7890;
  font-size: 0.82rem;
  font-weight: 700;
}

.access-back:hover,
.access-breadcrumb a:hover {
  color: #1b8de0;
}

.access-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.access-breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 38px;
  color: #91a1b2;
  font-size: 0.78rem;
}

.access-breadcrumb strong {
  color: #536b82;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}

.access-step {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 99px;
  background: #e4f3ff;
  color: #2187c9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.access-copy h1 {
  max-width: 560px;
  margin: 18px 0 18px;
  color: #152c46;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.access-lead {
  max-width: 570px;
  margin: 0;
  color: #70849a;
  font-size: 1rem;
  line-height: 1.75;
}

.consent-note {
  display: flex;
  gap: 13px;
  max-width: 550px;
  margin: 30px 0;
  padding: 17px;
  border: 1px solid #cce7f9;
  border-radius: 10px;
  background: #f0f9ff;
}

.consent-icon,
.success-check {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #28b48f;
  color: #fff;
  font-weight: 800;
}

.consent-note strong {
  color: #1e587b;
  font-size: 0.86rem;
}

.consent-note p {
  margin: 4px 0 0;
  color: #63829a;
  font-size: 0.78rem;
  line-height: 1.5;
}

.access-steps {
  display: grid;
  gap: 18px;
}

.access-step-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.access-step-row > span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid #cfe3f2;
  border-radius: 50%;
  color: #2389ca;
  font-size: 0.75rem;
  font-weight: 800;
}

.access-step-row strong {
  display: block;
  color: #2d455d;
  font-size: 0.85rem;
}

.access-step-row p {
  margin: 4px 0 0;
  color: #8496a8;
  font-size: 0.76rem;
}

.access-card {
  padding: 34px;
  border: 1px solid #dfe8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(29, 65, 99, 0.1);
}

.access-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: #e6f4ff;
  color: #218bd0;
  font-size: 1.6rem;
  font-weight: 800;
}

.access-card h2 {
  margin: 0 0 8px;
  color: #19324c;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.access-card > p {
  margin: 0 0 24px;
  color: #8092a4;
  font-size: 0.82rem;
}

.access-form {
  display: grid;
  gap: 17px;
}

.access-form .field input {
  background: #fff;
  color: #213952;
}

.access-form .field input::placeholder {
  color: #a1afbd;
}

.access-checkbox {
  margin: 2px 0;
  font-size: 0.76rem;
}

.access-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.access-security {
  display: block;
  margin-top: 22px;
  color: #91a0ae;
  font-size: 0.68rem;
  text-align: center;
}

.access-success {
  padding: 20px;
  border: 1px solid #cdece1;
  border-radius: 10px;
  background: #f0fbf7;
  text-align: center;
}

.access-success .success-check {
  margin: 0 auto 12px;
}

.access-success strong {
  display: block;
  color: #24785f;
  font-size: 0.9rem;
}

.access-success p {
  margin: 6px 0 16px;
  color: #648d7f;
  font-size: 0.76rem;
}

.access-success .dashboard-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 780px) {
  .access-header {
    min-height: 68px;
  }

  .access-layout {
    grid-template-columns: 1fr;
  }

  .access-main {
    padding-top: 26px;
  }

  .access-breadcrumb {
    margin-bottom: 26px;
  }
}

@media (max-width: 480px) {
  .access-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .access-card {
    padding: 24px 18px;
  }
}
