* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  height: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f0e8;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: white;
  border-bottom: 1px solid #e8e3da;
}
.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1a1a1a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: #e94560; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: #e94560; }
.nav-cta {
  background: #1a1a1a;
  color: white !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: #333 !important; color: white !important; }

/* Hero + Demo side by side */
.hero-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 0 80px;
  overflow: hidden;
}
.hero {
  flex: 0 1 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero h1 {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
  white-space: nowrap;
}
.hero h1 strong { font-weight: 700; color: #1a1a1a; }
.hero h1 em { font-style: italic; color: #b8a99a; }
.hero p {
  font-size: 1rem;
  color: #666;
  max-width: 420px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.platforms {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.platforms img, .platforms svg {
  height: 45px;
  width: auto;
  object-fit: contain;
}
.more-badge {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
}
.hero-cta {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.hero-sub {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #999;
}

/* Bottom marquee */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  flex-shrink: 0;
  min-height: 48px;
}
.marquee-layer {
  white-space: nowrap;
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}
.marquee-layer .track {
  display: inline-block;
  animation: marquee 120s linear infinite;
}
.marquee-left {
  clip-path: inset(0 50% 0 0);
  color: rgba(0,0,0,0.85);
}
.marquee-left .profane {
  color: #e94560;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.marquee-right {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  clip-path: inset(0 0 0 50%);
  color: rgba(0,0,0,0.25);
}
.marquee-right .profane {
  color: #e94560;
}
.wave-divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: #f5f0e8;
  padding: 4px 12px;
  border-radius: 10px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Demo video */
.demo-section {
  flex: 1.2;
  max-width: 700px;
}
.demo-video-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.demo-video-wrap video {
  width: 100%;
  display: block;
}
.video-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  z-index: 2;
  transition: opacity 0.3s;
}
.video-loader.hidden { opacity: 0; pointer-events: none; }
.video-loader .spinner {
  width: 32px; height: 32px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: #e94560;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.unmute-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.unmute-btn:hover { background: rgba(0,0,0,0.9); }
.unmute-btn.playing { background: rgba(233,69,96,0.8); border-color: transparent; }
.fullscreen-btn {
  position: absolute;
  bottom: 16px;
  right: 120px;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.7);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.fullscreen-btn:hover { background: rgba(0,0,0,0.9); }
.demo-credit {
  text-align: center;
  font-size: 0.75rem;
  color: #999;
  margin-top: 8px;
}
.demo-credit em { font-style: italic; }

/* Footer */
footer {
  padding: 12px 48px;
  font-size: 0.8rem;
  color: #999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer a { color: #999; text-decoration: underline; }
footer a:hover { color: #e94560; }

/* Responsive */
@media (max-width: 900px) {
  html, body { height: auto; min-height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .hero-row { flex-direction: column; gap: 32px; padding: 32px 24px; flex: none; overflow: visible; }
  .hero { text-align: center; align-items: center; flex: none; width: 100%; }
  .hero h1 { white-space: normal; }
  .platforms { justify-content: center; }
  .demo-section { max-width: 100%; width: 100%; }
}
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 0.95rem; margin-bottom: 28px; }
  .platforms { gap: 16px; margin-bottom: 28px; }
  .platforms img, .platforms svg { height: 45px; }
  .more-badge { font-size: 0.75rem; }
  .hero-cta { padding: 14px 28px; font-size: 0.9rem; }
  .marquee-layer { font-size: 1rem; }
  footer { padding: 12px 20px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.85rem; }
  .platforms { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .platforms img, .platforms svg { height: 45px; }
  .marquee-layer { font-size: 0.85rem; }
}
