/* Home page: base, nav, hero and demo card. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  color: var(--black);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2.5px solid var(--black);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 900; }
.nav-logo-dot { width: 28px; height: 28px; background: var(--lime); border: 2.5px solid var(--black); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: 2px 2px 0 var(--black); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--black); font-size: 14px; font-weight: 600; }
.nav-links a:hover { text-decoration: underline; }
.btn-nav {
  background: var(--lime); border: 2.5px solid var(--black); border-radius: 7px;
  padding: 8px 20px; font-size: 13px; font-weight: 800; cursor: pointer;
  box-shadow: 2.5px 2.5px 0 var(--black); text-decoration: none; color: var(--black);
  transition: all 0.08s;
}
.btn-nav:hover { transform: translate(-1px,-1px); box-shadow: 3.5px 3.5px 0 var(--black); text-decoration: none; }
.nav-account { display: flex; align-items: center; gap: 16px; margin-left: 24px; }
.nav-signin { color: var(--black); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-signin:hover { text-decoration: underline; }
.btn-nav-ghost { background: var(--white); white-space: nowrap; }
.btn-nav-ghost:hover { background: var(--lime-light); }
nav .nav-links { margin-left: auto; }

/* ── HERO ── */
.hero {
  max-width: 900px; margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
}
.hero-badge-link {
  text-decoration: none;
  color: var(--black);
  display: inline-block;
  margin-bottom: 28px;
}
.hero-badge-link:hover .hero-badge {
  transform: translate(-1px, -1px);
  box-shadow: 2.5px 2.5px 0 var(--black);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fef08a; border: 2px solid var(--black);
  border-radius: 100px; padding: 4px 12px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 1.5px 1.5px 0 var(--black);
  transition: all 0.08s ease;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #ea580c;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.pulse-dot::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #ea580c;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 span { background: var(--lime); padding: 0 8px; border-radius: 4px; }
.hero p {
  font-size: 20px; color: var(--muted); font-weight: 500;
  max-width: 580px; margin: 0 auto 40px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: var(--white);
  border: 3px solid var(--black); border-radius: 10px;
  padding: 16px 32px; font-size: 16px; font-weight: 800;
  cursor: pointer; text-decoration: none;
  box-shadow: 4px 4px 0 #555; transition: all 0.08s;
}
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #555; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--black);
  border: 3px solid var(--black); border-radius: 10px;
  padding: 16px 32px; font-size: 16px; font-weight: 800;
  cursor: pointer; text-decoration: none;
  box-shadow: 4px 4px 0 var(--black); transition: all 0.08s;
}
.btn-secondary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--black); }
.btn-account { background: var(--lime); }
.btn-account:hover { background: var(--lime-light); }
.hero .hero-signin { margin: 20px auto 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero-signin a { color: var(--black); font-weight: 800; }
.hero .hero-extension {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px;
  max-width: 820px; margin: 28px auto 0; padding: 10px 18px;
  font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--muted);
  background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.hero-extension img { width: 18px; height: 18px; flex: none; }
@media (max-width: 600px) { .hero .hero-extension { margin: 24px 16px 0; text-align: center; } }
.hero-extension strong { color: var(--black); }
.hero-extension a { color: var(--black); font-weight: 800; white-space: nowrap; }
.nav-account .wb-account-btn { width: 36px; height: 36px; }

/* ── DEMO CARD ── */
.demo-wrapper {
  max-width: 780px; margin: 0 auto 80px;
  padding: 0 24px;
}
.demo-card {
  background: var(--card);
  border: 3px solid var(--black);
  border-radius: 14px;
  box-shadow: 8px 8px 0 var(--black);
  overflow: hidden;
}
.demo-bar {
  background: #f5f5f0; border-bottom: 2px solid var(--black);
  padding: 12px 18px; display: flex; gap: 8px; align-items: center;
}
.demo-dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--black); }
.demo-dot:nth-child(1) { background: #ef4444; }
.demo-dot:nth-child(2) { background: #f59e0b; }
.demo-dot:nth-child(3) { background: var(--lime); }
.demo-title { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 8px; }
.demo-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}
.demo-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
