:root {
  --bg: #050505;
  --bg-elevated: rgba(255, 255, 255, 0.08);
  --text-primary: #f9f9f2;
  --text-secondary: rgba(249, 249, 242, 0.7);
  --accent: #fdf8d7;
  --accent-strong: #fffbe6;
  --muted: rgba(255, 255, 255, 0.2);
  --shadow-glow: 0 0 45px rgba(253, 248, 215, 0.35);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(253, 248, 215, 0.06), transparent 35%), var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 64px);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  border-radius: 14px;
  box-shadow: var(--shadow-glow);
}

.nav__cta {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav__cta:hover {
  border-color: var(--accent-strong);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 10vw, 120px);
  padding: 0 clamp(20px, 6vw, 120px) clamp(80px, 12vw, 160px);
}

.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero__media {
  justify-self: center;
}

.hero__device {
  position: relative;
  width: clamp(260px, 60vw, 360px);
  aspect-ratio: 3 / 5;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(255,255,255,0.12), transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 48px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.hero__device::after {
  content: '';
  position: absolute;
  inset: -18%;
  border-radius: 42px;
  background: radial-gradient(circle, rgba(253, 248, 215, 0.25), transparent 65%);
  animation: heroPulse 3s ease-in-out infinite alternate;
  z-index: -1;
}

.hero__logo {
  width: clamp(120px, 40%, 160px);
  border-radius: 28px;
  box-shadow: var(--shadow-glow);
}

.hero__ticker {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.85);
  padding: 12px 0;
}

.hero__ticker-text {
  display: inline-block;
  white-space: nowrap;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 4px;
  animation: ticker 12s linear infinite;
  color: var(--accent);
  text-transform: uppercase;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes heroPulse {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 0.25; transform: scale(1.08); }
}

.hero__copy h1 {
  font-size: clamp(42px, 8vw, 68px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero__copy p {
  color: var(--text-secondary);
  font-size: clamp(18px, 2.4vw, 22px);
  margin: 0 0 28px;
}

.hero__tag {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: -12px;
  margin-bottom: 28px;
}

.hero__actions {
  display: inline-flex;
  gap: 16px;
}

.btn {
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #121212;
  box-shadow: var(--shadow-glow);
}

.btn--ghost {
  border: 1px solid var(--muted);
  color: var(--text-primary);
}

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

.highlights {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.highlight {
  background: rgba(255, 255, 255, 0.05);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.highlight h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
}

.highlight p {
  margin: 0;
  color: var(--text-secondary);
}

.download {
  display: flex;
  justify-content: center;
}

.download__card {
  max-width: 560px;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: clamp(32px, 6vw, 48px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}


.download__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0 18px;
}

.download__note {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer {
  text-align: center;
  padding: 32px 16px 48px;
  color: var(--text-secondary);
  font-size: 14px;
}

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

@media (max-width: 720px) {
  .nav {
    padding-top: 16px;
  }
  .hero__ticker-text {
    font-size: 18px;
  }
}

.app-store-badge {
  display: inline-block;
  height: 54px; /* Slightly larger for impact, standard is often 40-60 */
  width: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
