@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #475569;
  --surface: #ffffff;
  --accent: #ff6a3d;
  --accent-dark: #d94b22;
  --glow: #ffd1c2;
  --line: rgba(15, 23, 42, 0.12);
  --bg: #f5f1eb;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(circle at top left, #fff0e6 0%, transparent 40%),
    radial-gradient(circle at top right, #eaf0ff 0%, transparent 45%),
    var(--bg);
  color: var(--ink);
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px clamp(20px, 4vw, 64px) 80px;
  gap: 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff4ec;
  font-weight: 700;
}

.brand-name {
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 20px rgba(255, 106, 61, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(255, 106, 61, 0.35);
}

.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.ghost.small {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.subhead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-metrics {
  display: flex;
  gap: 32px;
  color: var(--muted);
}

.metric {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-panel {
  background: var(--surface);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 20px;
  animation: floatIn 0.8s ease;
}

.panel-header,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-title {
  font-weight: 600;
}

.panel-sub {
  color: var(--muted);
  font-size: 0.85rem;
}

.status {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glow);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.qr-preview {
  background: linear-gradient(135deg, #fff6f1, #f1f5ff);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  place-items: center;
}

.qr-grid {
  width: 180px;
  height: 180px;
  background: repeating-linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.9) 0 8px,
      transparent 8px 16px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(15, 23, 42, 0.9) 0 8px,
      transparent 8px 16px
    );
  border-radius: 16px;
  box-shadow: inset 0 0 0 10px #fff;
}

.hint,
.label {
  color: var(--muted);
  font-size: 0.85rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature h3 {
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.chart-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 24px;
  align-items: end;
  height: 180px;
}

.chart span {
  display: block;
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(255, 106, 61, 0.25);
  animation: rise 0.8s ease;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff1e8, #e8efff);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    transform: scaleY(0.6);
  }
  to {
    transform: scaleY(1);
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 12px;
  }

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