:root {
  --bg: #0B0B0E;
  --bg-soft: #121216;
  --text: #F5F2F0;
  --muted: #A8A29E;
  --accent: #F3ACA8;
  --accent-2: #FF8A7A;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.03);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #1A0E0C;
  box-shadow: 0 8px 30px rgba(243, 172, 168, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(243, 172, 168, 0.4);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }

.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  background: rgba(11, 11, 14, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo-mascot { width: 34px; height: 24px; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--muted);
}

.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.glow-a {
  width: 560px; height: 560px;
  background: rgba(243, 172, 168, 0.14);
  top: -120px; left: -160px;
}

.glow-b {
  width: 620px; height: 620px;
  background: rgba(255, 138, 122, 0.1);
  bottom: -200px; right: -180px;
}

.glow-c {
  width: 520px; height: 520px;
  background: rgba(243, 172, 168, 0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.tag {
  position: relative;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero-word {
  position: relative;
  font-size: clamp(44px, 9vw, 104px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  min-height: 1.1em;
}

.caret {
  display: inline-block;
  width: 4px;
  height: 0.85em;
  margin-left: 6px;
  vertical-align: -0.08em;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.sub {
  position: relative;
  margin-top: 24px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 640px;
}

.cta {
  position: relative;
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.meta {
  position: relative;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.hero-mascot {
  position: relative;
  width: min(340px, 74vw);
  height: auto;
  aspect-ratio: 68 / 48;
  margin-top: 64px;
  animation: bob 3.4s ease-in-out infinite;
  filter: drop-shadow(0 24px 60px rgba(243, 172, 168, 0.22));
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.section {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-sub {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-weight: 600;
  font-size: 15px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.chip:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); }

.dot { width: 12px; height: 12px; border-radius: 50%; }

.dot-gpt { background: linear-gradient(135deg, #74AA9C, #E7A66B); }
.dot-claude { background: linear-gradient(135deg, #F28A2B, #C15F3C); }
.dot-grok { background: linear-gradient(135deg, #E5E5E5, #6B6B6B); }
.dot-gemini { background: linear-gradient(135deg, #4E8DF5, #9B72F2); }
.dot-llama { background: linear-gradient(135deg, #2F6BFF, #0A3AA6); }
.dot-deepseek { background: linear-gradient(135deg, #4D6BFE, #1B2A8C); }

.chip-more {
  color: var(--accent);
  border-color: rgba(243, 172, 168, 0.35);
  background: rgba(243, 172, 168, 0.07);
}

.marquee {
  margin-top: 56px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  padding: 18px 0;
  width: max-content;
  animation: scroll 28s linear infinite;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

@keyframes scroll { to { transform: translateX(-50%); } }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 30px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 172, 168, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

.story {
  display: flex;
  align-items: center;
  gap: 64px;
}

.story-mascot svg { width: min(300px, 60vw); height: auto; aspect-ratio: 68 / 48; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 20px 50px rgba(243, 172, 168, 0.18)); }

.story-text { flex: 1; }
.story-text .section-title { text-align: left; }
.story-text p { margin-top: 18px; color: var(--muted); font-size: 16.5px; }

.download {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.download-mascot {
  width: min(300px, 66vw);
  height: auto;
  aspect-ratio: 68 / 48;
  margin-bottom: 36px;
  animation: bob 3.6s ease-in-out infinite;
  filter: drop-shadow(0 24px 60px rgba(243, 172, 168, 0.25));
}

.download-title {
  position: relative;
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.download .btn { margin-top: 36px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}

.footer .logo { justify-content: center; margin-bottom: 14px; font-size: 16px; }
.footer-copy { margin-top: 10px; font-size: 13px; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
  transition: opacity .5s ease, visibility .5s ease;
}

.intro.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.intro-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  max-width: 880px;
  width: 100%;
}

.intro-mascot {
  width: min(280px, 36vw);
  height: auto;
  aspect-ratio: 68 / 48;
  flex-shrink: 0;
  animation: bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 24px 60px rgba(243, 172, 168, 0.3));
  opacity: 0;
  transform: translateY(24px);
}

.intro.shown .intro-mascot {
  animation: bob 3.2s ease-in-out infinite, appear .7s ease forwards;
}

@keyframes appear { to { opacity: 1; transform: translateY(0); } }

.bubble {
  position: relative;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 28px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(24px);
}

.intro.shown .bubble { animation: appear .7s ease .15s forwards; }

.bubble::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 48px;
  width: 16px;
  height: 16px;
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

#bubbleText {
  font-size: 18px;
  line-height: 1.65;
  min-height: 96px;
}

#bubbleText::after {
  content: '▌';
  color: var(--accent);
  animation: blink 1s steps(1) infinite;
}

#bubbleText.done::after { content: ''; }

.bubble-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.bubble-skip {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color .15s ease;
}

.bubble-skip:hover { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .nav { padding: 12px 18px; }
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .story { flex-direction: column; text-align: center; gap: 36px; }
  .story-text .section-title { text-align: center; }
  .intro-inner { flex-direction: column; gap: 28px; }
  .intro-mascot { width: min(200px, 50vw); }
  .bubble::before { left: 48px; top: -9px; transform: rotate(135deg); }
}

@media (max-width: 480px) {
  .hero { min-height: 100vh; min-height: 100svh; padding: 116px 20px 64px; }
  .tag { letter-spacing: 0.14em; font-size: 11.5px; }
  .sub { font-size: 15.5px; }
  .meta { font-size: 12px; }
  .btn-lg { padding: 15px 26px; font-size: 16px; }
  .cta { gap: 12px; width: 100%; }
  .cta .btn { flex: 1 1 auto; min-width: 150px; }
  .hero-mascot { margin-top: 48px; }
  .section { padding: 72px 20px; }
  .card { padding: 24px; }
  .intro { padding: 18px; }
  .bubble { padding: 22px; min-height: 170px; }
  #bubbleText { font-size: 16px; }
}

html { -webkit-tap-highlight-color: transparent; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.hero { min-height: 100vh; min-height: 100svh; }

.nav { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.footer { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
.intro { padding-top: calc(24px + env(safe-area-inset-top, 0px)); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.btn, .nav-links a { touch-action: manipulation; }
