:root {
  --bg: #0b0a10;
  --panel: rgba(255, 222, 175, 0.05);
  --panel-strong: rgba(255, 222, 175, 0.09);
  --text: #fbf4e6;
  --muted: #cbbd9b;
  --accent-1: #f6d67a;
  --accent-2: #f2b650;
  --accent-3: #ffdca8;
  --border: rgba(255, 214, 138, 0.22);
  --card: rgba(16, 13, 6, 0.7);
  --shadow: 0 25px 120px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(246, 214, 122, 0.12), transparent 28%),
              radial-gradient(circle at 80% 22%, rgba(242, 182, 80, 0.12), transparent 30%),
              radial-gradient(circle at 55% 78%, rgba(255, 220, 168, 0.1), transparent 32%),
              var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
  padding: 28px clamp(16px, 4vw, 48px) 48px;
}

a { color: inherit; text-decoration: none; }

.bg-gradient,
.bg-noise,
.bg-rings {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

.bg-gradient {
  background: linear-gradient(135deg, rgba(246, 214, 122, 0.08), rgba(242, 182, 80, 0.08), rgba(255, 220, 168, 0.06));
  filter: blur(42px);
}

.bg-noise {
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 0, transparent 6px);
  mix-blend-mode: soft-light;
  z-index: -2;
}

.bg-rings {
  background: radial-gradient(circle at 30% 40%, rgba(255, 214, 138, 0.06), transparent 32%),
              radial-gradient(circle at 70% 60%, rgba(242, 182, 80, 0.05), transparent 35%);
  z-index: -1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  box-shadow: 0 15px 35px rgba(242, 182, 80, 0.28);
  overflow: hidden;
}

.brand-mark img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

h1 { font-size: clamp(20px, 3vw, 26px); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.hero h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 18px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.download-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 22px;
  border-radius: 18px;
  color: #2a1a07;
  background: linear-gradient(130deg, #f8e9c0 0%, #f3cb74 28%, #c88d32 58%, #f7d98d 85%, #fff2cc 100%);
  background-size: 200% 200%;
  animation: gradientShift 9s ease infinite;
  box-shadow: 0 14px 38px rgba(200, 141, 50, 0.45), 0 10px 26px rgba(247, 217, 141, 0.32);
  font-weight: 700;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.download-btn small { opacity: 0.7; font-weight: 600; }

.download-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transform: translateX(-80%) skewX(-18deg);
  animation: shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

.download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(200, 141, 50, 0.5), 0 14px 32px rgba(247, 217, 141, 0.34);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  padding: 16px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.card.subtle {
  background: linear-gradient(145deg, rgba(246, 214, 122, 0.12), rgba(242, 182, 80, 0.08));
}

.card-body { color: var(--muted); margin-bottom: 8px; }

.secondary-link {
  color: var(--accent-1);
  font-weight: 700;
}

.device-preview {
  position: relative;
  display: grid;
  place-items: center;
}

.device-glow {
  position: absolute;
  width: 92%;
  height: 92%;
  background: radial-gradient(circle, rgba(242, 182, 80, 0.14), transparent 55%);
  filter: blur(20px);
  z-index: 0;
}

.device-frame {
  position: relative;
  width: min(360px, 88vw);
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255,214,138,0.26), rgba(255,214,138,0.04));
  border: 1px solid rgba(255, 214, 138, 0.26);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1;
}

.device-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 8px;
  background: rgba(0,0,0,0.36);
  border-radius: 0 0 12px 12px;
}

.device-screen {
  background: #0e0b08;
  border-radius: 20px;
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.logo-wrap {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(246, 214, 122, 0.18), rgba(242, 182, 80, 0.18));
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,214,138,0.2);
  box-shadow: 0 15px 35px rgba(242, 182, 80, 0.32);
  margin-bottom: 14px;
}

.logo-wrap img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.screen-title { font-size: 22px; font-weight: 700; }

.screen-sub {
  color: var(--muted);
  margin-bottom: 12px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
}

.chip.green { color: #f3cf7a; border-color: rgba(246, 214, 122, 0.5); }
.chip.blue { color: #f0b460; border-color: rgba(242, 182, 80, 0.5); }

.screen-block {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255,214,138,0.08), rgba(255,214,138,0.05));
  border: 1px solid rgba(255,214,138,0.16);
  box-shadow: inset 0 1px 0 rgba(255,214,138,0.16);
}

.block-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.screen-block ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 214, 138, 0.05), rgba(255,255,255,0));
  mix-blend-mode: screen;
  animation: shimmer 9s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(120deg, #f7e6b9 0%, #f3c868 35%, #fff4cf 70%, #f7e6b9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  animation: textShine 5s ease-in-out infinite;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.footer {
  margin-top: 32px;
  padding: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

.footer-text { color: var(--muted); }

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shine {
  0% { opacity: 0; transform: translateX(-80%) skewX(-18deg); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%) skewX(-18deg); }
}

@keyframes shimmer {
  0% { opacity: 0.12; transform: translateX(-6%) skewX(-6deg); }
  50% { opacity: 0.2; transform: translateX(6%) skewX(6deg); }
  100% { opacity: 0.12; transform: translateX(-6%) skewX(-6deg); }
}

@keyframes textShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .device-preview { order: -1; }
  .topbar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { padding-inline: 18px; }
  .hero h2 { font-size: 28px; }
  .device-frame { width: 100%; }
  .download-btn { width: 100%; align-items: flex-start; }
  .actions { gap: 10px; }
}
