@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap");

:root {
  --background: #121318;
  --surface: #121318;
  --surface-lowest: #0d0e13;
  --surface-low: #1a1b21;
  --surface-container: #1e1f25;
  --surface-high: #292a2f;
  --surface-highest: #34343a;
  --on-surface: #e3e1e9;
  --on-variant: #c5c5d3;
  --outline: #8f909d;
  --outline-variant: #444651;
  --primary: #b6c4ff;
  --primary-deep: #1e3a8a;
  --primary-ink: #05297a;
  --secondary: #4cd7f6;
  --secondary-deep: #03b5d3;
  --tertiary: #ffb691;
  --tertiary-deep: #6e2c00;
  --error: #ffb4ab;
  --success: #20e183;
  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--on-surface);
  background:
    radial-gradient(at 0% 0%, rgba(30, 58, 138, 0.18) 0, transparent 46%),
    radial-gradient(at 100% 8%, rgba(76, 215, 246, 0.14) 0, transparent 42%),
    var(--background);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  text-rendering: geometricPrecision;
}

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

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

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.gradient-text,
.brand {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kinetic-gradient,
.btn.primary,
.metric.scan {
  background: linear-gradient(135deg, var(--primary-deep), var(--secondary-deep));
}

.glass,
.panel,
.card {
  background: rgba(30, 31, 37, 0.68);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.panel,
.card {
  border-radius: var(--radius-lg);
}

.panel {
  padding: 28px;
}

.card {
  padding: 24px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 19, 24, 0.82);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 54, 64, 0.18);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 900;
}

.brand .material-symbols-outlined {
  font-size: 24px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, var(--primary-deep), var(--secondary-deep));
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a,
.nav button {
  border: 0;
  background: transparent;
  color: var(--on-variant);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 9px 10px;
  border-radius: 0.75rem;
}

.nav a:hover,
.nav button:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 72px;
  align-items: center;
  padding: 84px 0 100px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  color: var(--secondary);
  background: rgba(3, 181, 211, 0.12);
  border: 1px solid rgba(76, 215, 246, 0.22);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 900;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
}

h3 {
  font-size: 20px;
  font-weight: 800;
}

p {
  color: var(--on-variant);
  line-height: 1.65;
}

.lead {
  max-width: 620px;
  font-size: 18px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(41, 42, 47, 0.72);
  color: var(--on-surface);
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(182, 196, 255, 0.45);
}

.btn.primary {
  color: white;
  box-shadow: 0 0 24px rgba(30, 58, 138, 0.46);
}

.btn.primary:hover {
  box-shadow: 0 0 34px rgba(76, 215, 246, 0.3);
}

.btn.secondary {
  background: rgba(30, 31, 37, 0.66);
}

.btn.light {
  background: var(--primary);
  color: var(--primary-ink);
}

.btn.danger {
  color: var(--error);
  border-color: rgba(255, 180, 171, 0.3);
}

.section {
  padding: 86px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-wide {
  grid-column: span 2;
}

.feature-accent {
  background: linear-gradient(135deg, var(--primary-deep), var(--secondary-deep));
  color: white;
}

.icon-tile {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(182, 196, 255, 0.12);
  color: var(--primary);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -70px -70px auto auto;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  background: rgba(76, 215, 246, 0.14);
  filter: blur(80px);
}

.nfc-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 32px;
  padding: 8px;
}

.nfc-photo img {
  border-radius: 26px;
  aspect-ratio: 1.42;
  object-fit: cover;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

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

.step-dot {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--primary-deep), var(--secondary-deep));
}

.cta-banner {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: 64px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primary-deep), var(--secondary-deep));
  box-shadow: var(--shadow);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
  color: var(--on-variant);
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-layout {
  width: 100%;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  padding: 28px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 14, 19, 0.78);
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--on-variant);
  font-weight: 800;
}

.sidebar a:hover {
  color: var(--primary);
  background: rgba(182, 196, 255, 0.1);
}

.content {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 44px 0 72px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.metric {
  min-height: 178px;
  padding: 28px;
  display: grid;
  align-content: space-between;
  border-radius: 20px;
  color: white;
}

.metric.leads {
  background: linear-gradient(135deg, var(--tertiary-deep), #f39461);
}

.metric.cards {
  background: linear-gradient(135deg, #004e5c, var(--secondary-deep));
}

.metric.growth {
  background: linear-gradient(135deg, #264191, var(--primary));
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric strong {
  display: block;
  font-size: 54px;
  line-height: 1;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 17px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: middle;
}

.table th {
  color: var(--on-variant);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--on-variant);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status.active,
.status.done {
  color: var(--success);
  border-color: rgba(32, 225, 131, 0.28);
  background: rgba(32, 225, 131, 0.08);
}

.status.pending_review,
.status.new,
.status.in_progress {
  color: var(--primary);
  border-color: rgba(182, 196, 255, 0.25);
  background: rgba(182, 196, 255, 0.08);
}

.status.rejected,
.status.blocked {
  color: var(--error);
  border-color: rgba(255, 180, 171, 0.25);
  background: rgba(255, 180, 171, 0.08);
}

form {
  display: grid;
  gap: 16px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(52, 52, 58, 0.36);
  color: var(--on-surface);
  padding: 12px 14px;
  font: inherit;
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(76, 215, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(76, 215, 246, 0.12);
}

input[type="checkbox"] {
  width: auto;
}

input[type="color"] {
  height: 46px;
  padding: 5px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--on-surface);
  font-size: 14px;
  font-weight: 800;
}

.helptext,
.errorlist,
.muted {
  color: var(--on-variant);
}

.errorlist {
  color: var(--error);
  margin: 0;
}

.messages {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.message {
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(182, 196, 255, 0.12);
  border: 1px solid rgba(182, 196, 255, 0.18);
}

.public-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: start center;
  padding: 34px 20px 70px;
}

.mobile-card {
  width: min(420px, 100%);
  min-height: 720px;
  overflow: hidden;
  border-radius: 40px;
  background: var(--background);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.mobile-cover {
  position: relative;
  height: 210px;
  background: linear-gradient(135deg, var(--primary-deep), var(--secondary-deep));
}

.mobile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 35%, var(--background));
}

.mobile-content {
  position: relative;
  z-index: 1;
  margin-top: -78px;
  padding: 0 28px 34px;
}

.profile-photo,
.avatar-fallback {
  width: 132px;
  height: 132px;
  margin: 0 auto;
  border-radius: 999px;
  border: 4px solid var(--background);
  box-shadow: 0 0 35px rgba(182, 196, 255, 0.2);
}

.profile-photo {
  object-fit: cover;
}

.avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--primary-ink);
  background: var(--primary);
  font-size: 42px;
  font-weight: 900;
}

.company-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(182, 196, 255, 0.1);
  border: 1px solid rgba(182, 196, 255, 0.2);
  font-size: 14px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.contact-grid .btn {
  min-height: 58px;
  border-radius: 18px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
}

.contact-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.contact-row .icon-tile {
  width: 50px;
  height: 50px;
}

.qr-preview {
  width: 220px;
  height: 220px;
  padding: 10px;
  border-radius: 16px;
  background: white;
}

.mono {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .grid.two,
  .grid.three,
  .feature-grid,
  .timeline,
  .metric-row,
  .app-layout {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: span 1;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .content {
    width: min(100% - 32px, 1120px);
    padding-top: 28px;
  }

  .page-head {
    display: grid;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1280px);
  }

  .hero {
    padding-top: 44px;
    gap: 36px;
  }

  .panel,
  .card {
    padding: 20px;
  }

  .cta-banner {
    padding: 34px 22px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
