:root {
  --bg: #120806;
  --bg-soft: #1c0f0b;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --text: #fff8f1;
  --muted: #d6bdad;
  --accent: #dfbd8d;
  --accent-2: #9f351f;
  --accent-3: #fff0d7;
  --danger: #ff6b8a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max-width: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(159, 53, 31, 0.36), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(223, 189, 141, 0.2), transparent 30rem),
    linear-gradient(180deg, #120806 0%, #1c0f0b 52%, #120806 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 80%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section-pad {
  padding: 72px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 8, 6, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max-width));
  min-height: var(--header-height);
  margin-inline: auto;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 3px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  font-weight: 800;
  background: #fff8f1;
  box-shadow: 0 14px 36px rgba(159, 53, 31, 0.28);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links,
.nav-actions {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-links.is-open {
  position: absolute;
  top: calc(var(--header-height) + 8px);
  right: 16px;
  left: 16px;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(28, 15, 11, 0.96);
  box-shadow: var(--shadow);
}

.nav-links a {
  padding: 12px;
  border-radius: var(--radius);
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent-2), #c15a35);
  box-shadow: 0 18px 42px rgba(159, 53, 31, 0.34);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(223, 189, 141, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.btn-small {
  min-height: 40px;
  padding-inline: 16px;
}

.phone-link {
  color: var(--muted);
  font-weight: 700;
}

.phone-link:hover {
  color: var(--text);
}

.hero {
  position: relative;
  padding-top: 58px;
}

.hero-grid {
  display: grid;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 2.7rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

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

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

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

.hero-actions .btn {
  flex: 1 1 210px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-strip span,
.pill-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 20% 25%, rgba(223, 189, 141, 0.26), transparent 13rem),
    radial-gradient(circle at 80% 62%, rgba(159, 53, 31, 0.28), transparent 15rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  content: "";
}

.hero-brand-card {
  position: absolute;
  top: 24px;
  left: 22px;
  z-index: 2;
  width: min(52%, 280px);
  padding: 10px 14px;
  border: 1px solid rgba(223, 189, 141, 0.38);
  border-radius: 14px;
  background: rgba(255, 248, 241, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.hero-brand-card img {
  display: block;
  width: 100%;
  height: auto;
}

.nfc-card-mockup {
  position: absolute;
  top: 128px;
  left: 20px;
  width: min(72%, 360px);
  aspect-ratio: 1.62;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #2a120c, #4b1b10 48%, #170907);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  transform: rotate(-8deg);
}

.card-glow {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 98px;
  height: 98px;
  border-radius: 999px;
  background: rgba(223, 189, 141, 0.26);
  filter: blur(28px);
}

.card-logo {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 12px;
  background: #9f351f;
  object-fit: contain;
}

.card-contactless {
  position: absolute;
  top: 22px;
  right: 24px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.card-contactless span {
  display: block;
  width: 7px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.nfc-card-mockup p {
  margin: 42px 0 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.nfc-card-mockup h2 {
  margin: 0;
  font-size: 1.18rem;
}

.card-bottom {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.78);
}

.card-bottom strong {
  color: var(--accent);
}

.phone-mockup {
  position: absolute;
  right: 18px;
  bottom: 28px;
  width: min(54%, 250px);
  min-width: 188px;
  padding: 18px 14px 16px;
  border: 8px solid #25100a;
  border-radius: 32px;
  background: linear-gradient(180deg, #fff8f1, #ead4bc);
  color: #25100a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

.phone-speaker {
  width: 54px;
  height: 5px;
  margin: 0 auto 13px;
  border-radius: 999px;
  background: #25100a;
}

.profile-cover {
  height: 78px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(159, 53, 31, 0.94), rgba(223, 189, 141, 0.88)),
    linear-gradient(90deg, #25100a, #4b1b10);
}

.profile-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  margin: -28px auto 10px;
  place-items: center;
  border: 4px solid #fff8f1;
  border-radius: 18px;
  font-weight: 800;
  background: #9f351f;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.phone-mockup h3 {
  margin-bottom: 3px;
  text-align: center;
  font-size: 0.96rem;
}

.phone-mockup p {
  margin-bottom: 14px;
  color: #526071;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.3;
}

.profile-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.profile-actions span {
  display: grid;
  min-height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #25100a;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(223, 189, 141, 0.58);
}

.profile-list {
  display: grid;
  gap: 8px;
}

.profile-list span {
  height: 12px;
  border-radius: 999px;
  background: #d8c0aa;
}

.profile-list span:nth-child(2) {
  width: 82%;
}

.profile-list span:nth-child(3) {
  width: 68%;
}

.scan-badge {
  position: absolute;
  right: 32px;
  top: 42px;
  display: grid;
  gap: 8px;
  width: 116px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.qr-grid span {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.88);
}

.qr-grid span:nth-child(3n),
.qr-grid span:nth-child(5),
.qr-grid span:nth-child(14) {
  background: var(--accent);
}

.scan-badge strong {
  font-size: 0.76rem;
  text-align: center;
}

.split-layout,
.faq-grid {
  display: grid;
  gap: 34px;
}

.split-layout > div:first-child,
.faq-grid > div:first-child {
  max-width: 520px;
}

.glass-grid,
.feature-grid,
.pricing-grid,
.steps {
  display: grid;
  gap: 16px;
}

.glass-card,
.step-card,
.price-card,
.solution-panel,
.table-wrap,
.cta-panel,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.glass-card {
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.glass-card:hover,
.price-card:hover,
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 189, 141, 0.52);
}

.icon-box,
.feature-icon {
  display: inline-grid;
  min-width: 42px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(223, 189, 141, 0.34);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(223, 189, 141, 0.1);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.solution-panel {
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 100% 0%, rgba(159, 53, 31, 0.2), transparent 20rem);
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(18, 8, 6, 0.34);
}

.solution-item span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(223, 189, 141, 0.12);
}

.feature-card {
  min-height: 220px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.steps {
  counter-reset: step;
}

.step-card {
  position: relative;
  min-height: 160px;
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.step-card::after {
  position: absolute;
  right: 18px;
  bottom: -18px;
  color: rgba(255, 255, 255, 0.06);
  font-size: 5.8rem;
  font-weight: 800;
  counter-increment: step;
  content: "0" counter(step);
}

.step-card span,
.popular {
  display: inline-flex;
  min-height: 30px;
  margin-bottom: 20px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  color: #25100a;
  font-size: 0.76rem;
  font-weight: 800;
  background: var(--accent-3);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.07);
}

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

td:first-child {
  color: var(--text);
  font-weight: 800;
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.featured-price {
  border-color: rgba(223, 189, 141, 0.54);
  background:
    linear-gradient(145deg, rgba(159, 53, 31, 0.22), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.08);
}

.price {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
}

.price-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.price-card .btn {
  margin-top: auto;
}

.faq-grid {
  align-items: start;
}

.accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 0;
  color: var(--text);
  font-weight: 800;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.faq-item button span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-item button span::before,
.faq-item button span::after {
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.faq-item button span::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-item button[aria-expanded="true"] span::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-item:has(button[aria-expanded="true"]) .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  padding: 0 18px 18px;
  overflow: hidden;
}

.cta-panel {
  padding: 34px 22px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(159, 53, 31, 0.28), rgba(223, 189, 141, 0.16)),
    rgba(255, 255, 255, 0.06);
}

.cta-panel .hero-actions {
  justify-content: center;
}

.cta-panel .btn {
  flex: 0 1 240px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: grid;
  gap: 12px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--accent);
  font-weight: 800;
}

@media (min-width: 640px) {
  .container,
  .nav-shell {
    width: min(100% - 48px, var(--max-width));
  }

  .hero-actions .btn {
    flex: 0 1 auto;
  }

  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-subtitle {
    font-size: 1.14rem;
  }

  .nfc-card-mockup h2 {
    font-size: 1.52rem;
  }

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

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

  .solution-item.wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .section-pad {
    padding: 96px 0;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links,
  .nav-actions {
    display: flex;
    align-items: center;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
  }

  .nav-actions {
    gap: 16px;
  }

  .hero {
    padding-top: 88px;
  }

  h1 {
    font-size: 4.85rem;
  }

  h2 {
    font-size: 3.1rem;
  }

  .hero-subtitle {
    font-size: 1.22rem;
  }

  .nfc-card-mockup h2 {
    font-size: 1.8rem;
  }

  .hero-grid,
  .split-layout,
  .faq-grid {
    grid-template-columns: 1fr 1.05fr;
  }

  .split-layout.reverse {
    grid-template-columns: 0.9fr 1fr;
  }

  .split-layout.reverse .usecase-copy {
    order: 2;
  }

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

  .hero-brand-card {
    top: 34px;
    left: 34px;
    width: 300px;
  }

  .nfc-card-mockup {
    left: 36px;
    top: 166px;
  }

  .phone-mockup {
    right: 42px;
    bottom: 44px;
  }

  .scan-badge {
    right: 54px;
    top: 62px;
  }

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

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

  .pricing-grid.simple-pricing {
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
  }

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

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 430px) {
  .container,
  .nav-shell {
    width: min(100% - 24px, var(--max-width));
  }

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

  .hero-brand-card {
    top: 20px;
    left: 16px;
    width: 202px;
    padding: 8px 10px;
  }

  .nfc-card-mockup {
    top: 116px;
    left: 12px;
    width: 78%;
    padding: 18px;
  }

  .phone-mockup {
    right: 12px;
    bottom: 24px;
    min-width: 174px;
  }

  .scan-badge {
    top: 28px;
    right: 18px;
    width: 96px;
  }

  .trust-strip span,
  .pill-grid span {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
