/* ===================== Tech / Dynamic Enhancements ===================== */
@keyframes ambient-float-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-30px, 40px, 0) scale(1.08); }
}
@keyframes ambient-float-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(40px, -30px, 0) scale(1.12); }
}
@keyframes ambient-float-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-20px, -40px, 0) scale(0.94); }
}
@keyframes grid-pan {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 72px 72px, 72px 72px; }
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
@keyframes ring-spin-rev {
  to { transform: rotate(-360deg); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(110, 240, 173, 0.55), 0 0 18px rgba(110, 240, 173, 0.68); }
  50%      { box-shadow: 0 0 0 10px rgba(110, 240, 173, 0), 0 0 24px rgba(110, 240, 173, 0.9); }
}
@keyframes card-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-6px); }
}
@keyframes sheen {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(220%)  skewX(-18deg); }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes scanline {
  0%   { transform: translateY(-120%); opacity: 0; }
  30%  { opacity: 0.9; }
  100% { transform: translateY(520%);  opacity: 0; }
}
@keyframes seat-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(104, 184, 255, 0); border-color: rgba(118, 186, 230, 0.14); }
  50%      { box-shadow: 0 0 18px rgba(104, 184, 255, 0.35); border-color: rgba(138, 210, 255, 0.6); }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes border-sweep {
  to { --angle: 360deg; }
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #07111d;
  --bg-deep: #030914;
  --bg-soft: #0b1523;
  --panel: rgba(8, 18, 30, 0.84);
  --panel-strong: rgba(6, 15, 26, 0.96);
  --line: rgba(118, 176, 219, 0.14);
  --line-strong: rgba(123, 203, 255, 0.3);
  --text: #f4f8fc;
  --muted: #95a8bb;
  --muted-strong: #b8c7d4;
  --blue: #68b8ff;
  --blue-strong: #2994ff;
  --teal: #18bca1;
  --green: #6ef0ad;
  --shadow-xl: 0 40px 120px rgba(1, 6, 16, 0.72);
  --shadow-card: 0 18px 44px rgba(3, 10, 20, 0.42);
  --container: min(1220px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(18, 101, 92, 0.3), transparent 32%),
    radial-gradient(circle at 84% 22%, rgba(31, 120, 160, 0.18), transparent 28%),
    radial-gradient(circle at 48% 74%, rgba(20, 150, 126, 0.12), transparent 26%),
    linear-gradient(180deg, #07111d 0%, #08101b 48%, #040b15 100%);
  font-family: "Bahnschrift", "Segoe UI Variable Display", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(116, 170, 214, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 170, 214, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 36%, transparent 84%);
  opacity: 0.32;
  pointer-events: none;
  animation: grid-pan 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx, 50%) var(--my, 40%),
      rgba(104, 184, 255, 0.10), transparent 60%);
  transition: background 200ms ease;
  z-index: 0;
}

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

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

img {
  display: block;
  max-width: 100%;
}

button,
a,
img,
svg,
path,
circle,
ellipse,
rect {
  transition: all 180ms ease;
}

.page-shell {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 48px;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(88px);
  opacity: 0.42;
  pointer-events: none;
}

.ambient-a {
  top: 120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: rgba(63, 159, 235, 0.18);
  animation: ambient-float-a 14s ease-in-out infinite;
}

.ambient-b {
  top: 520px;
  left: -140px;
  width: 360px;
  height: 360px;
  background: rgba(24, 177, 143, 0.18);
  animation: ambient-float-b 18s ease-in-out infinite;
}

.ambient-c {
  right: 12%;
  bottom: 120px;
  width: 280px;
  height: 280px;
  background: rgba(25, 146, 121, 0.14);
  animation: ambient-float-c 16s ease-in-out infinite;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 16px;
  backdrop-filter: blur(14px);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 8px -14px auto;
  height: calc(100% - 8px);
  border: 1px solid rgba(104, 164, 214, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(5, 12, 20, 0.84), rgba(5, 12, 20, 0.2));
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  border: 1px solid rgba(121, 191, 233, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(103, 173, 237, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(10, 64, 104, 0.22);
}

.brand-mark img {
  width: 28px;
  height: 28px;
}

.brand-lockup {
  display: grid;
  gap: 2px;
}

.brand-lockup strong {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  isolation: isolate;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
  z-index: 1;
}

.button:hover::after,
.button:focus-visible::after {
  animation: sheen 900ms ease;
}

.button.primary {
  color: #07111d;
  background: linear-gradient(135deg, #b6fbff 0%, #69baff 42%, #66f0ad 100%);
  background-size: 180% 180%;
  animation: gradient-shift 6s ease-in-out infinite;
}

.button.primary:hover,
.button.primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(52, 174, 201, 0.3);
}

.button.ghost {
  color: var(--text);
  border-color: rgba(112, 180, 222, 0.22);
  background: rgba(11, 24, 39, 0.46);
  backdrop-filter: blur(10px);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: rgba(135, 204, 245, 0.44);
  background: rgba(12, 28, 44, 0.74);
}

.button.compact {
  min-height: 40px;
  padding: 0 16px;
}

.hero,
.capabilities,
.showcase,
.cta {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  padding: 72px 0 32px;
}

.hero-copy {
  width: min(100%, 1040px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow,
.proof-label,
.panel-kicker {
  display: inline-block;
  color: #8ed9ff;
  font-family: "Consolas", "JetBrains Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 14px;
  letter-spacing: 0.28em;
}

.hero h1 {
  font-size: clamp(3.8rem, 9vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #b6fbff 0%, #69baff 35%, #66f0ad 70%, #b6fbff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(118, 198, 255, 0.18);
  animation: gradient-shift 8s ease-in-out infinite;
}

.hero h2 {
  max-width: 11ch;
  margin-top: 10px;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.02;
}

.hero-description {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-tags,
.visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 24px;
  justify-content: center;
}

.hero-tags span,
.visual-tags span,
.device-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(128, 186, 224, 0.18);
  background: rgba(12, 24, 39, 0.58);
  color: #dff4ff;
  font-size: 0.88rem;
  backdrop-filter: blur(8px);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.hero-tags span:hover,
.visual-tags span:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 210, 255, 0.55);
  background: rgba(20, 40, 64, 0.78);
  box-shadow: 0 10px 28px rgba(54, 140, 210, 0.28);
}

.proof-grid,
.capability-grid,
.about-grid,
.security-grid {
  display: grid;
  gap: 18px;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  width: min(100%, 1040px);
}
.capability-grid,
.security-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-card,
.capability-card,
.security-card,
.device-card,
.notes-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(8, 17, 29, 0.88), rgba(7, 16, 27, 0.94));
  box-shadow: var(--shadow-card);
  transition: transform 420ms cubic-bezier(.2,.7,.2,1),
              border-color 420ms ease,
              box-shadow 420ms ease;
  will-change: transform;
}

.proof-card:hover,
.capability-card:hover,
.security-card:hover,
.notes-card:hover,
.device-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 210, 255, 0.38);
  box-shadow:
    0 28px 60px rgba(3, 10, 22, 0.55),
    0 0 0 1px rgba(138, 210, 255, 0.18) inset;
}


.proof-card,
.capability-card,
.security-card {
  padding: 24px;
}

.proof-card strong,
.capability-card h3,
.security-card h3,
.note-item h3 {
  display: block;
  margin-top: 12px;
  font-size: 1.12rem;
}

.proof-card p,
.capability-card p,
.security-card p,
.note-item p {
  margin-top: 10px;
  color: var(--muted);
}

.panel-glow {
  position: relative;
  overflow: hidden;
}

.panel-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(103, 190, 255, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(21, 186, 156, 0.12), transparent 24%),
    radial-gradient(260px circle at var(--px, 50%) var(--py, -10%),
      rgba(138, 210, 255, 0.22), transparent 55%);
  pointer-events: none;
  transition: background 200ms ease;
}

.panel-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(120, 201, 255, 0.34), rgba(22, 135, 118, 0.08), rgba(255, 255, 255, 0.02));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.72;
}

.visual-topbar,
.device-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(122, 177, 212, 0.1);
}

.frame-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d8f2ff;
  font-size: 0.95rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(110, 240, 173, 0.68);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.hero-screen,
.phone-screen {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(18, 174, 146, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(6, 17, 28, 0.78), rgba(6, 17, 28, 0.26) 20%, rgba(6, 17, 28, 0.8));
}

.hero-screen {
  min-height: 650px;
  margin: 22px;
  border-radius: 28px;
  border: 1px solid rgba(124, 184, 228, 0.12);
}

.screen-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(117, 173, 219, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 173, 219, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.52;
}

.screen-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(103, 190, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(122, 204, 255, 0.06);
}

.ring-a {
  inset: 12% 12%;
  border-color: rgba(103, 190, 255, 0.22);
  border-top-color: rgba(138, 210, 255, 0.6);
  animation: ring-spin 14s linear infinite;
}

.ring-b {
  inset: 18% 18%;
  border-color: rgba(110, 240, 173, 0.18);
  border-bottom-color: rgba(110, 240, 173, 0.55);
  animation: ring-spin-rev 20s linear infinite;
}

.phone-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 24%;
  background: linear-gradient(180deg, transparent, rgba(138, 210, 255, 0.18), transparent);
  pointer-events: none;
  animation: scanline 5.5s ease-in-out infinite;
  z-index: 1;
}

.screen-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(118, 186, 230, 0.14);
  background: rgba(10, 24, 36, 0.72);
  color: #dff4ff;
  font-size: 0.84rem;
  backdrop-filter: blur(12px);
}

.badge-a {
  top: 56px;
  left: 52px;
}

.badge-b {
  top: 88px;
  right: 60px;
}

.badge-c {
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
}

.prompt-card {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 43%;
  width: min(84%, 390px);
  padding: 18px 20px;
  border-radius: 24px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(214, 244, 224, 0.8), rgba(197, 235, 213, 0.74));
  color: #16311f;
  border: 1px solid rgba(98, 164, 132, 0.18);
  box-shadow:
    0 20px 48px rgba(5, 16, 24, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.prompt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(22, 49, 31, 0.74);
}

.prompt-top span {
  font-weight: 700;
}

.prompt-card p {
  margin-top: 8px;
  color: rgba(22, 49, 31, 0.94);
  font-weight: 700;
}

.prompt-card p span {
  display: inline-block;
  min-width: 72px;
  color: rgba(22, 49, 31, 0.66);
}

.screen-meta {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: auto;
}

.screen-meta div {
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(118, 186, 230, 0.12);
  background: rgba(10, 24, 36, 0.68);
  backdrop-filter: blur(10px);
}

.screen-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.screen-meta strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading.aligned {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: end;
  gap: 22px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
}

.capabilities,
.showcase,
.showcase {
  padding: 72px 0 0;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(121, 191, 233, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(103, 190, 255, 0.06));
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #a7e4ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.device-card,
.notes-card {
  overflow: hidden;
}

.device-card {
  padding-bottom: 22px;
}

.phone-frame {
  position: relative;
  width: min(100%, 420px);
  margin: 22px auto 0;
  padding: 16px 12px 14px;
  border-radius: 40px;
  border: 1px solid rgba(150, 176, 204, 0.14);
  background:
    linear-gradient(180deg, rgba(28, 40, 52, 0.95), rgba(10, 16, 24, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 46px rgba(4, 10, 18, 0.45);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 4;
  width: 132px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #02060c;
}

.phone-screen {
  aspect-ratio: 9 / 19;
  border-radius: 30px;
  border: 1px solid rgba(124, 184, 228, 0.12);
}

.mobile-prompt {
  top: 48%;
  width: min(76%, 248px);
  padding: 12px 14px;
  border-radius: 18px;
  animation: card-float 4.2s ease-in-out infinite;
}

.mobile-prompt .prompt-top {
  font-size: 0.72rem;
}

.mobile-prompt p {
  font-size: 0.78rem;
}

.mobile-prompt p span {
  min-width: 48px;
}

.table-seats {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.table-seat {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(118, 186, 230, 0.14);
  background: rgba(10, 24, 36, 0.76);
  color: #dff4ff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
  animation: seat-glow 4s ease-in-out infinite;
}

.seat-utg   { animation-delay: 0s; }
.seat-utg1  { animation-delay: 0.4s; }
.seat-lj    { animation-delay: 0.8s; }
.seat-hj    { animation-delay: 1.2s; }
.seat-co    { animation-delay: 1.6s; }
.seat-sb    { animation-delay: 2.0s; }
.seat-bb    { animation-delay: 2.4s; }

.seat-utg {
  top: 41%;
  left: 8%;
}

.seat-utg1 {
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
}

.seat-lj {
  top: 21%;
  right: 15%;
}

.seat-hj {
  top: 41%;
  right: 8%;
}

.seat-co {
  top: 61%;
  right: 9%;
}

.seat-sb {
  bottom: 21%;
  left: 17%;
}

.seat-bb {
  top: 61%;
  left: 9%;
}

.pocket-hand {
  position: absolute;
  left: 50%;
  bottom: 184px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.playing-card {
  position: relative;
  width: 62px;
  height: 84px;
  border-radius: 16px;
  border: 1px solid rgba(190, 233, 219, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(214, 244, 224, 0.9), rgba(187, 231, 207, 0.82));
  color: #16311f;
  box-shadow:
    0 16px 34px rgba(5, 16, 24, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.suited-card:first-child {
  transform: rotate(-6deg);
}

.suited-card:last-child {
  transform: rotate(6deg);
}

.card-rank {
  position: absolute;
  top: 10px;
  left: 11px;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.card-suit {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 1.25rem;
  line-height: 1;
}

.notes-card {
  padding: 22px;
}

.panel-inline-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

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

.note-item {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(118, 176, 219, 0.12);
  background: rgba(10, 21, 34, 0.56);
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.note-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #68b8ff, #66f0ad, transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 400ms ease;
}

.note-item:hover {
  transform: translateX(4px);
  border-color: rgba(138, 210, 255, 0.38);
  background: rgba(14, 28, 44, 0.72);
}

.note-item:hover::before {
  transform: scaleY(1);
}

.position-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.position-item {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(118, 176, 219, 0.12);
  background: rgba(9, 19, 31, 0.82);
}

.position-item strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.position-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.hand-chip-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.hand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c7f7ee 0%, #9fe3d5 100%);
  color: #0a151f;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hand-caption {
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.cta {
  position: relative;
  margin-top: 72px;
  padding: 34px;
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(18, 138, 122, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(8, 18, 30, 0.94), rgba(5, 13, 23, 0.96));
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg),
    rgba(104, 184, 255, 0) 0deg,
    rgba(104, 184, 255, 0.6) 60deg,
    rgba(110, 240, 173, 0.5) 120deg,
    rgba(104, 184, 255, 0) 220deg);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  animation: border-sweep 8s linear infinite;
  opacity: 0.75;
}

.cta h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.08;
}

.cta p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted-strong);
}

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

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 0;
  color: rgba(157, 176, 194, 0.75);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1), filter 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}

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

  .proof-grid,
  .capability-grid,
  .about-grid,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid .proof-card:first-child {
    grid-column: 1 / -1;
  }

  .showcase-layout,
  .section-heading.aligned {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100vw - 28px, 100%);
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 16px;
  }

  .nav {
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
  }

  .hero {
    padding-top: 34px;
  }

  .proof-grid,
  .capability-grid,
  .about-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .hero-screen {
    min-height: 560px;
  }

  .screen-meta {
    position: static;
    grid-template-columns: 1fr;
    width: auto;
    margin: 22px;
  }

  .visual-topbar,
  .device-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
  }

  .topbar::before {
    inset-inline: -4px;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4rem);
  }

  .hero h2 {
    max-width: 10ch;
    font-size: clamp(1.7rem, 10vw, 2.7rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions .button,
  .topbar > .button {
    width: 100%;
  }

  .hero-screen {
    min-height: 460px;
    margin: 16px;
  }

  .visual-topbar,
  .device-head,
  .notes-card,
  .cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .prompt-card {
    width: calc(100% - 24px);
    padding: 16px;
  }

  .prompt-card {
    top: 40%;
  }

  .prompt-top,
  .prompt-card p {
    font-size: 0.82rem;
  }

  .prompt-card p span {
    min-width: 58px;
  }

  .badge-a {
    top: 34px;
    left: 12px;
  }

  .badge-b {
    top: 34px;
    right: 12px;
  }

  .badge-c {
    bottom: 108px;
  }

  .phone-frame {
    padding: 14px 10px 12px;
    border-radius: 34px;
  }

  .phone-notch {
    width: 108px;
    height: 24px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  .pocket-hand {
    bottom: 156px;
  }

  .table-seat {
    min-height: 28px;
    padding: 0 8px;
    font-size: 0.58rem;
  }

  .playing-card {
    width: 54px;
    height: 74px;
    border-radius: 14px;
  }

  .card-rank {
    top: 9px;
    left: 10px;
    font-size: 1.28rem;
  }

  .card-suit {
    right: 9px;
    bottom: 8px;
    font-size: 1.05rem;
  }

  .hero-tags,
  .visual-tags {
    width: 100%;
  }

  .hero-tags span,
  .visual-tags span {
    justify-content: center;
  }

  .footer {
    flex-direction: column;
    padding-bottom: 20px;
    text-align: center;
  }
}
