:root {
  --bg: #0a0a0f;
  --panel: #121218;
  --line: rgba(255, 255, 255, 0.09);
  --txt: #f5f2ec;
  --mut: rgba(245, 242, 236, 0.62);
  --org: #ff6b00;
  --org-soft: rgba(255, 107, 0, 0.14);
  --r: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(700px 380px at 12% -4%, rgba(255, 107, 0, 0.13), transparent 60%),
    radial-gradient(800px 500px at 88% 12%, rgba(229, 9, 20, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1120px, 92%); margin: 0 auto; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 15, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}
.brand { font-weight: 800; font-size: 18px; text-decoration: none; display: flex; align-items: center; gap: 9px; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--org); box-shadow: 0 0 14px var(--org); }
.links { display: flex; gap: 20px; margin-left: auto; }
.links a { text-decoration: none; color: var(--mut); font-size: 14.5px; }
.links a:hover { color: var(--txt); }
.burger { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: var(--txt); margin: 5px 0; border-radius: 2px; }

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--org);
  color: #fff;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--org);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 107, 0, 0.35); }
.btn-ghost { background: transparent; color: var(--txt); border-color: rgba(255, 255, 255, 0.25); }
.btn-ghost:hover { box-shadow: none; border-color: var(--org); }
.btn-small { padding: 9px 20px; font-size: 14px; }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  padding: 64px 0 30px;
}
.kicker {
  color: var(--org);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12.5px;
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.06; letter-spacing: -1px; }
.lede { color: var(--mut); margin: 18px 0 26px; max-width: 46ch; font-size: 17px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.meta-row { display: flex; gap: 10px; align-items: center; color: var(--mut); font-size: 13.5px; margin-top: 20px; }
.meta-row i { font-style: normal; opacity: 0.5; }

/* PHONES */
.hero-phones { position: relative; height: 560px; }
.phone {
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #000;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(255, 255, 255, 0.03);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #000;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
}
.phone.main { width: 250px; height: 540px; margin: 0 auto; z-index: 2; }
.phone.side { position: absolute; top: 60px; width: 190px; height: 420px; opacity: 0.92; z-index: 1; }
.phone.side.left { left: 0; transform: rotate(-5deg); }
.phone.side.right { right: 0; transform: rotate(5deg); }
.phone.single { width: 250px; height: 540px; }

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px auto 10px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  text-align: center;
}
.stat strong { display: block; font-size: 34px; color: var(--org); }
.stat span { color: var(--mut); font-size: 13.5px; }

/* SECTIONS */
.section { padding: 72px 0 8px; }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.5px; margin-bottom: 26px; }
.about-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.about-copy p { color: var(--mut); margin-bottom: 16px; }
.about-copy strong { color: var(--txt); }
.ticks { list-style: none; margin: 0 0 24px; }
.ticks li { padding: 7px 0 7px 30px; position: relative; color: var(--mut); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--org); font-weight: 800; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 22px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 107, 0, 0.5); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card h3::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--org); margin-right: 9px; }
.card p { color: var(--mut); font-size: 14.5px; }

/* SHOTS */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
}
.shot { scroll-snap-align: start; cursor: zoom-in; }
.shot img {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  aspect-ratio: 1080 / 2195;
  object-fit: cover;
  object-position: top;
  background: #000;
  transition: transform 0.15s ease;
}
.shot img:hover { transform: scale(1.03); }
.shot figcaption { text-align: center; color: var(--mut); font-size: 13px; margin-top: 8px; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; }
.step span {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: var(--org-soft);
  color: var(--org);
  font-weight: 800;
  font-size: 18px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--mut); font-size: 14.5px; }

/* DOWNLOAD */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dl-card {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.16), rgba(255, 107, 0, 0.04));
  border: 1px solid rgba(255, 107, 0, 0.45);
  border-radius: var(--r);
  padding: 28px 24px;
  text-decoration: none;
  display: block;
  transition: transform 0.15s ease;
}
.dl-card:hover { transform: translateY(-3px); }
.dl-card strong { display: block; font-size: 21px; }
.dl-card span { color: var(--mut); font-size: 14px; display: block; margin: 4px 0 10px; }
.dl-card em { font-style: normal; font-size: 12.5px; color: var(--org); }
.note { color: var(--mut); font-size: 13.5px; margin-top: 14px; }

/* CONTACT */
.contact-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* FOOTER */
footer { border-top: 1px solid var(--line); margin-top: 70px; }
.foot { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; color: var(--mut); font-size: 13.5px; }
.top {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--org); color: #fff;
  border-radius: 12px; text-decoration: none; font-size: 18px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 92vw; border-radius: 18px; }
.lightbox span { position: absolute; top: 18px; right: 24px; font-size: 26px; color: #fff; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* VERIFIED */
.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.verify-card {
  background: var(--panel);
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: var(--r);
  padding: 26px 22px;
}
.verify-card:first-child { display: flex; gap: 18px; align-items: flex-start; }
.shield {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  font-size: 26px; font-weight: 800;
  border-radius: 16px;
  border: 1px solid rgba(46, 204, 113, 0.5);
}
.verify-card h3 { margin-bottom: 6px; }
.verify-card p { color: var(--mut); font-size: 14.5px; margin: 8px 0 14px; }
.verify-card.hash code {
  display: block;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  color: #7df0a9;
  margin-bottom: 12px;
}

/* 3D PHONES + SHOTS */
.hero-phones { perspective: 1400px; transition: transform 0.3s ease; transform-style: preserve-3d; }
.phone { transition: transform 0.25s ease; transform-style: preserve-3d; }
.phone.main { animation: floaty 6s ease-in-out infinite; }
.phone.side.left { transform: rotateY(24deg) rotateX(2deg) rotate(-5deg); animation: floaty 7s ease-in-out infinite reverse; }
.phone.side.right { transform: rotateY(-24deg) rotateX(2deg) rotate(5deg); animation: floaty 8s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.shots { perspective: 1100px; }
.shot { perspective: 900px; }
.shot:nth-child(odd) img { transform: rotateY(-11deg) rotateX(2deg); }
.shot:nth-child(even) img { transform: rotateY(11deg) rotateX(2deg); }
.shot img { transition: transform 0.25s ease; box-shadow: -18px 24px 50px rgba(0, 0, 0, 0.55); }
.shot img:hover { transform: rotateY(0) rotateX(0) scale(1.04); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .verify-grid { grid-template-columns: 1fr; }
  .phone.side.left { transform: rotateY(14deg); }
  .phone.side.right { transform: rotateY(-14deg); }
  .shot:nth-child(odd) img, .shot:nth-child(even) img { transform: rotateY(-6deg); }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-phones { height: 480px; }
  .phone.main { width: 220px; height: 470px; }
  .phone.side { width: 150px; height: 340px; top: 70px; }
  .grid, .steps, .dl-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .phone { margin: 0 auto; }
  .links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.97);
    flex-direction: column;
    padding: 10px 4% 18px;
    border-bottom: 1px solid var(--line);
  }
  .links.open { display: flex; }
  .links a { padding: 8px 0; }
  .burger { display: block; }
  .nav .btn-small { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: 94%; }
  .section { padding: 52px 0 6px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: 36px; }
  .lede { font-size: 15.5px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 14px; }
  .stat strong { font-size: 26px; }
  .verify-card:first-child { flex-direction: column; }
  .hero-phones { height: 430px; }
  .phone.main { width: 200px; height: 425px; }
  .phone.side { display: none; }
  .shots { grid-auto-columns: 160px; }
  .contact-row .btn { flex: 1 1 100%; text-align: center; }
  .foot { flex-direction: column; gap: 12px; text-align: center; }
  .meta-row { flex-wrap: wrap; }
}
