:root {
  color-scheme: dark;
  --bg: #070a12;
  --surface: rgba(13, 25, 45, 0.78);
  --text: #f6f8ff;
  --muted: #aab8cf;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --gold: #e9c46a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 72% 16%, rgba(34, 211, 238, 0.22), transparent 35%),
    radial-gradient(circle at 25% 74%, rgba(233, 196, 106, 0.16), transparent 30%),
    linear-gradient(135deg, #050814 0%, #0a1324 48%, #020617 100%);
}

.app-shell {
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto;
  padding: 54px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 108px);
}

.phone-stack {
  position: relative;
  min-height: 710px;
}

.phone {
  position: absolute;
  width: 300px;
  min-height: 640px;
  padding: 38px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 46px;
  background: linear-gradient(180deg, rgba(18, 31, 55, 0.96), rgba(6, 13, 28, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}

.phone-a {
  left: 0;
  top: 30px;
  transform: rotate(-5deg);
}

.phone-b {
  left: 280px;
  top: 0;
  transform: rotate(5deg);
}

.island {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 98px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #020617;
}

.status {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  margin: 46px auto 18px;
  border: 2px solid rgba(34, 211, 238, 0.6);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), rgba(255, 255, 255, 0.06));
  color: #fff;
  font-size: 38px;
  font-weight: 900;
}

h1,
h2,
p {
  margin-top: 0;
}

.phone h2 {
  margin-bottom: 8px;
  text-align: center;
}

.phone p {
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

button,
.feature-list span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

button {
  padding: 13px 8px;
}

.profile-card,
.nfc-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  line-height: 1.6;
}

.qr {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 216px;
  height: 216px;
  margin: 58px auto 24px;
  padding: 16px;
  border-radius: 24px;
  background: #f8fafc;
}

.qr::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  background:
    linear-gradient(90deg, #111827 20%, transparent 20% 40%, #111827 40% 58%, transparent 58% 78%, #111827 78%),
    linear-gradient(#111827 16%, transparent 16% 34%, #111827 34% 54%, transparent 54% 74%, #111827 74%);
  background-size: 46px 46px;
}

.share-button {
  width: 100%;
  margin-bottom: 18px;
  border: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #02111c;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  font-size: clamp(48px, 8vw, 102px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.feature-list span {
  padding: 13px 15px;
}

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

.workflow article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: var(--surface);
}

.workflow span {
  color: var(--cyan);
  font-weight: 900;
}

.workflow strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 23px;
}

.workflow p {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .hero,
  .workflow {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    min-height: 850px;
  }

  .phone-a {
    left: 0;
  }

  .phone-b {
    left: min(230px, 34vw);
    top: 160px;
  }
}

@media (max-width: 620px) {
  .phone-stack {
    display: grid;
    gap: 22px;
    min-height: auto;
  }

  .phone {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
    transform: none;
  }
}
