:root {
  --bg: #05060a;
  --card: #150e1f;
  --text: #f1f2f6;
  --muted: #9ea6bd;
  --accent: #fca311;
  font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top right, rgba(252, 163, 17, 0.2), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(158, 69, 255, 0.15), transparent 40%),
    var(--bg);
  color: var(--text);
}
.page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.hero {
  margin-bottom: 32px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}
.hero h1 {
  margin: 0;
  font-size: 34px;
}
.hero .lead {
  margin: 12px 0 0;
  color: #d4d6e1;
  max-width: 640px;
}
.tabs-nav {
  display: flex;
  background: #15131a;
  border-radius: 14px;
  padding: 6px;
  margin: 0 auto 32px;
  max-width: 420px;
}
.tab-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  margin: 0 4px;
  padding: 10px 0;
  color: #666;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 20px rgba(252, 163, 17, 0.3);
}
.progress-shell {
  margin-bottom: 32px;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.progress-title {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--muted);
  text-transform: uppercase;
}
.progress-text {
  font-size: 14px;
}
.progress-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(252, 163, 17, 1), rgba(255, 123, 0, 0.9));
  transition: width 0.4s ease;
}
.tab-panel {
  display: none;
  gap: 16px;
}
.tab-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  perspective: 1000px;
  min-height: 220px;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.card.flipped .card-inner {
  transform: rotateY(180deg);
}
.card-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 32px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.card-front {
  background: rgba(255, 255, 255, 0.02);
}
.card-back {
  background: #1b1623;
  transform: rotateY(180deg);
}
.card-body h3 {
  margin: 14px 0 10px;
  font-size: 20px;
}
.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.step-dot {
  position: absolute;
  top: -16px;
  right: 16px;
  background: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #111;
  box-shadow: 0 0 18px rgba(252, 163, 17, 0.8);
}
.qr-button {
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(252, 163, 17, 1), rgba(255, 123, 0, 0.9));
  color: #111;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(252, 163, 17, 0.35);
}
.card.completed {
  box-shadow: 0 30px 60px rgba(252, 163, 17, 0.5);
}
.card.completed .card-face {
  border-color: rgba(252, 163, 17, 0.6);
}
.path-line {
  width: 100%;
  height: 60px;
  margin: 40px 0;
}
.path-line path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2px;
  stroke-dasharray: 8 8;
  stroke-linecap: round;
}
.status {
  margin-top: 24px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}
.status.warning {
  border-color: rgba(255, 103, 131, 0.6);
}
.status.hidden {
  display: none;
}
@media (max-width: 640px) {
  .page-shell {
    padding: 32px 16px 60px;
  }
}
