:root {
  --space: #090b16;
  --space-2: #10172a;
  --panel: rgba(20, 28, 48, 0.86);
  --panel-2: rgba(35, 44, 68, 0.86);
  --text: #f8fafc;
  --muted: #a8b3cf;
  --orange: #ffb020;
  --orange-2: #f97316;
  --blue: #38bdf8;
  --green: #22c55e;
  --danger: #fb7185;
  --border: rgba(255,255,255,0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 22px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(56, 189, 248, 0.16), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(249, 115, 22, 0.16), transparent 26%),
    radial-gradient(circle at 50% 85%, rgba(34, 197, 94, 0.10), transparent 30%),
    linear-gradient(180deg, #070914 0%, #0a1022 48%, #070914 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.56) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.28) 1px, transparent 1px);
  background-size: 64px 64px, 109px 109px;
  background-position: 0 0, 24px 18px;
  opacity: 0.22;
  z-index: -2;
}

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

.top-strip {
  background: linear-gradient(90deg, rgba(255,176,32,0.18), rgba(56,189,248,0.18));
  color: #fff7ed;
  text-align: center;
  font-size: 0.92rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--border);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 20, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(150px, 22vw, 240px);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45));
}

.search {
  flex: 1;
  display: flex;
  min-width: 160px;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.search input {
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  padding: 0.8rem 1rem;
  font: inherit;
  min-width: 0;
}

.search input::placeholder { color: #7e8aaa; }

.search button {
  border: 0;
  padding: 0 1rem;
  background: var(--orange);
  color: #111827;
  font-weight: 900;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.cart {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  font-weight: 800;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  padding: 0.62rem 0.8rem;
  border-radius: 999px;
}

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  padding: 4.2rem 0 2.2rem;
  align-items: center;
}

.hero-icon-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.16);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.24);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

h1 {
  margin: 1.05rem 0 0.8rem;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.hero p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  max-width: 650px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #111827;
  box-shadow: 0 18px 48px rgba(249, 115, 22, 0.28);
}

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

.store-card {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  overflow: hidden;
}

.store-card::before {
  content: "LIMITED-TIME COSMIC DEALS";
  position: absolute;
  top: 22px;
  right: -60px;
  transform: rotate(34deg);
  background: var(--danger);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 1000;
  padding: 0.45rem 4rem;
  box-shadow: 0 12px 34px rgba(251, 113, 133, 0.24);
}

.warehouse-logo {
  position: absolute;
  left: 20px;
  top: 18px;
  width: min(46%, 230px);
  opacity: 0.26;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.55));
  transform: rotate(-3deg);
  z-index: 1;
}

.warehouse {
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.18), transparent 30%),
    linear-gradient(145deg, #1f2937, #0f172a);
  background-size: 44px 44px, 44px 44px, auto, auto;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.ship {
  position: absolute;
  z-index: 2;
  right: 28px;
  top: 48px;
  width: 190px;
  height: 118px;
  border-radius: 60% 34% 40% 60%;
  background: linear-gradient(135deg, #d1d5db, #64748b 55%, #334155);
  box-shadow: inset -18px -18px 0 rgba(0,0,0,0.18), 0 18px 40px rgba(0,0,0,0.24);
  border: 2px solid rgba(255,255,255,0.35);
  transform: rotate(-7deg);
}

.ship::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 32px;
  width: 56px;
  height: 36px;
  border-radius: 999px;
  background: rgba(56,189,248,0.62);
  border: 3px solid rgba(255,255,255,0.55);
}

.ship::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 42px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde68a, #fb923c 58%, transparent 62%);
  filter: blur(0.3px);
}

.grid-dock {
  position: absolute;
  z-index: 2;
  right: 64px;
  bottom: 54px;
  display: grid;
  grid-template-columns: repeat(3, 44px);
  grid-template-rows: repeat(2, 44px);
  gap: 7px;
  padding: 9px;
  border: 2px dashed rgba(255,255,255,0.34);
  background: rgba(2,6,23,0.38);
  border-radius: 16px;
}

.slot {
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.crate {
  position: absolute;
  z-index: 3;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  font-weight: 1000;
  color: rgba(15,23,42,0.9);
  box-shadow: inset 0 -8px 0 rgba(0,0,0,0.15), 0 14px 28px rgba(0,0,0,0.24);
  animation: float 4s ease-in-out infinite;
}

.crate:nth-of-type(3) { left: 44px; top: 86px; background: #fbbf24; animation-delay: 0s; }
.crate:nth-of-type(4) { left: 128px; top: 178px; background: #38bdf8; animation-delay: -1s; }
.crate:nth-of-type(5) { left: 260px; top: 116px; background: #fb7185; animation-delay: -2s; }
.crate:nth-of-type(6) { left: 72px; bottom: 62px; background: #22c55e; animation-delay: -1.5s; }

.robot {
  position: absolute;
  z-index: 4;
  left: 236px;
  bottom: 30px;
  width: 134px;
  height: 178px;
  border-radius: 44px 44px 22px 22px;
  background: linear-gradient(160deg, #94a3b8, #475569 62%, #1f2937);
  border: 2px solid rgba(255,255,255,0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.robot::before {
  content: "OVERTIME?";
  position: absolute;
  left: -18px;
  top: -48px;
  transform: rotate(-5deg);
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px 14px 14px 4px;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 1000;
  white-space: nowrap;
}

.eyes {
  position: absolute;
  left: 23px;
  top: 34px;
  display: flex;
  gap: 18px;
}

.eyes i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, #fca5a5 10%, #ef4444 35%, #450a0a 70%);
  box-shadow: 0 0 20px #ef4444;
}

.badge {
  position: absolute;
  left: 42px;
  bottom: 42px;
  background: var(--orange);
  color: #111827;
  font-weight: 1000;
  border-radius: 999px;
  padding: 0.3rem 0.5rem;
  font-size: 0.76rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

.ticker {
  display: flex;
  gap: 0.8rem;
  overflow: hidden;
  padding: 1rem 0;
}

.pill {
  flex: 0 0 auto;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  font-weight: 750;
}

.section-title {
  margin: 3.2rem 0 1.2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-title h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
  margin: 0;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 430px;
  line-height: 1.5;
}

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

.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
  transition: transform 160ms ease, border-color 160ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,176,32,0.5);
}

.product-img {
  height: 150px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 4rem;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.18), transparent 32%),
    linear-gradient(145deg, rgba(56,189,248,0.16), rgba(249,115,22,0.12));
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 0.85rem;
}

.product-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.03rem;
  line-height: 1.2;
}

.stars { color: #facc15; font-size: 0.9rem; letter-spacing: 0.04em; }

.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.6rem 0;
  font-weight: 1000;
}

.price strong { font-size: 1.55rem; }
.price span { color: var(--muted); text-decoration: line-through; font-weight: 700; }

.delivery {
  color: var(--green);
  font-weight: 850;
  font-size: 0.9rem;
}

.add {
  margin-top: 0.9rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: rgba(255,176,32,0.96);
  color: #111827;
  font-weight: 1000;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-top: 1rem;
}

.feature {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  overflow: hidden;
  position: relative;
}

.app-icon-feature {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 1rem;
}

.app-icon-feature img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.14);
}

.feature h3 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.big-number {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 1000;
  letter-spacing: -0.1em;
  color: rgba(255,176,32,0.22);
  position: absolute;
  right: 1rem;
  bottom: -1.6rem;
}

@media (max-width: 560px) {
  .app-icon-feature {
    grid-template-columns: 1fr;
  }
}

.quote {
  margin: 3rem 0;
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, rgba(249,115,22,0.18), rgba(56,189,248,0.14));
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.quote-avatar {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  background: rgba(15,23,42,0.62);
  border: 1px solid rgba(255,255,255,0.12);
}

.quote blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.quote cite {
  display: block;
  color: var(--muted);
  margin-top: 0.55rem;
  font-style: normal;
}

.newsletter {
  margin: 3rem 0 4rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(255,176,32,0.28);
  background:
    linear-gradient(90deg, rgba(255,176,32,0.13), rgba(255,255,255,0.04)),
    rgba(15,23,42,0.84);
}

.newsletter h2 { margin: 0 0 0.4rem; letter-spacing: -0.04em; }
.newsletter p { margin: 0; color: var(--muted); }

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.92rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(120px);
  background: #f8fafc;
  color: #0f172a;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: transform 220ms ease;
  z-index: 30;
  text-align: center;
  width: min(92vw, 500px);
}

.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 880px) {
  .nav { flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; }
  .nav-links { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 2.8rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  main, .nav { width: min(100% - 22px, 1180px); }
  .nav-links a:not(.cart) { display: none; }
  .hero-actions .btn { width: 100%; }
  .warehouse { min-height: 360px; }
  .ship { transform: scale(0.78) rotate(-7deg); transform-origin: top right; }
  .robot { transform: scale(0.75); transform-origin: bottom left; left: 180px; }
  .crate { transform: scale(0.85); }
  .cards { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .section-title { display: block; }
  .section-title p { margin-top: 0.5rem; }
}
