:root {
  --bg: #080a12;
  --bg-soft: #0e1420;
  --panel: rgba(14, 18, 31, 0.78);
  --panel-strong: rgba(24, 31, 49, 0.9);
  --panel-light: rgba(255, 255, 255, 0.92);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.72);
  --accent: #d7dadf;
  --accent-soft: rgba(215, 218, 223, 0.18);
  --dark-text: #181a1f;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body,
.samk-body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(135deg, #05060b 0%, #090d16 42%, #05060c 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

body {
  overflow-x: hidden;
}

.samk-preview {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.samk-grid,
.samk-dots,
.samk-orbit {
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: transform 220ms ease-out;
}

.samk-grid {
  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: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 92%);
}

.samk-dots {
  inset: 4rem auto auto 50%;
  width: min(42vw, 540px);
  height: 180px;
  transform: translateX(-10%);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.34;
  filter: blur(0.3px);
}

.samk-orbit {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.samk-orbit-one {
  width: min(72vw, 880px);
  height: min(72vw, 880px);
  left: -16vw;
  bottom: -38vw;
}

.samk-orbit-two {
  width: min(36vw, 420px);
  height: min(36vw, 420px);
  right: 8vw;
  top: 8vh;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 32px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal-up 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.market-strip.reveal-up {
  animation-delay: 120ms;
}

.feature-card.reveal-up:nth-child(1) {
  animation-delay: 180ms;
}

.feature-card.reveal-up:nth-child(2) {
  animation-delay: 260ms;
}

.feature-card.reveal-up:nth-child(3) {
  animation-delay: 340ms;
}

.hero-panel.reveal-up {
  animation-delay: 120ms;
}

.stack-card.reveal-up:nth-child(1) {
  animation-delay: 320ms;
}

.stack-card.reveal-up:nth-child(2) {
  animation-delay: 400ms;
}

.float-soft {
  animation: float-soft 6.5s ease-in-out infinite;
  will-change: transform;
}

.topbar,
.hero-panel,
.feature-card,
.stack-card,
.signup-shell {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 10, 18, 0.72);
  box-shadow: var(--shadow);
}

.brand-lockup {
  width: auto;
  height: 30px;
}

.status-pill {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  padding: 42px 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 6px 28px 4px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

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

.market-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  min-width: 132px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 28px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.market-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.market-logo,
.market-status {
  white-space: nowrap;
}

.market-logo {
  position: relative;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.market-status {
  color: rgba(245, 247, 251, 0.68);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.market-amazon .market-logo {
  padding-bottom: 4px;
}

.market-amazon .market-logo::after {
  content: "";
  position: absolute;
  left: 2px;
  right: -2px;
  bottom: 0;
  height: 8px;
  border-bottom: 2px solid #ff9900;
  border-radius: 0 0 999px 999px;
  transform: skewX(-18deg);
}

.market-ebay .market-logo {
  color: transparent;
  background: linear-gradient(
    90deg,
    #e53238 0 24%,
    #0064d2 24% 49%,
    #f5af02 49% 74%,
    #86b817 74% 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
}

.market-shopify .market-logo::before {
  content: "S";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 5px;
  background: #95bf47;
  color: #f5f7fb;
  font-size: 0.72rem;
  font-weight: 700;
}

.market-badge.coming-soon {
  background: linear-gradient(180deg, rgba(149, 191, 71, 0.18), rgba(255, 255, 255, 0.05));
}

.signup-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 580px);
  margin-top: 30px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.signup-shell input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.signup-shell input::placeholder {
  color: rgba(245, 247, 251, 0.48);
}

.signup-shell button {
  border: 0;
  border-radius: 18px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #f5f7fb 0%, #d9dde6 100%);
  color: #05060c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.signup-shell button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(255, 255, 255, 0.12);
}

.form-note {
  margin: 14px 0 0;
  color: rgba(245, 247, 251, 0.56);
  font-size: 0.92rem;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.feature-card,
.stack-card,
.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card,
.stack-card {
  padding: 18px;
  border-radius: 22px;
}

.feature-card span,
.stack-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card strong,
.stack-card strong {
  font-size: 1rem;
  line-height: 1.45;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%),
    linear-gradient(135deg, rgba(12, 16, 28, 0.95), rgba(18, 24, 39, 0.84));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-panel::before {
  width: 260px;
  height: 260px;
  top: -100px;
  right: -70px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-panel::after {
  width: 540px;
  height: 540px;
  left: -290px;
  bottom: -280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-intro {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: start;
}

.panel-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.panel-copy {
  margin-top: 2px;
}

.panel-copy p {
  margin: 0;
  color: rgba(245, 247, 251, 0.56);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.panel-copy h2 {
  margin: 16px 0 0;
  max-width: 12ch;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.product-frame {
  position: relative;
  margin-top: 26px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 243, 247, 0.88));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.product-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.42));
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 68%);
  opacity: 0.65;
  z-index: 1;
  animation: shimmer-sweep 7s linear infinite;
}

.product-hero {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.panel-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.stack-card {
  background: rgba(255, 255, 255, 0.07);
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 6px 0 0;
}

.site-footer p {
  margin: 0;
  color: rgba(245, 247, 251, 0.48);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes shimmer-sweep {
  0% {
    transform: translate3d(-12px, 0, 0);
  }
  50% {
    transform: translate3d(150px, 36px, 0);
  }
  100% {
    transform: translate3d(320px, 78px, 0);
  }
}

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

  .hero-copy {
    padding-top: 12px;
  }

  .hero-panel {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .hero-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 10px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .market-badge {
    min-width: 0;
  }

  .panel-intro {
    grid-template-columns: 1fr;
  }

  .signup-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .signup-shell button {
    width: 100%;
  }

  h1 {
    max-width: 12ch;
  }
}
