:root {
  --pink: #FF5FA2;
  --orange: #FF8A47;
  --yellow: #FFD23F;
  --mint: #3ECFB2;
  --purple: #9B72F2;
  --blue: #4EA8F7;
  --dark: #1A1432;
  --light: #FFF9F0;
  --card-bg: rgba(255,255,255,0.92);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(16px);
  background: rgba(255,249,240,0.8);
  border-bottom: 1px solid rgba(26,20,50,0.06);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(155,114,242,0.1); }
.nav-logo {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--dark); font-weight: 500; font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--pink); }
.nav-cta {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  padding: 8px 20px; border-radius: 50px; font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,95,162,0.3); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 120px 40px 80px;
  overflow: hidden;
  background: url('hero-bg-sm.jpg') center center / cover no-repeat;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: rgba(255,255,255,0.3);
}

/* Floating music notes */
.note {
  position: absolute; opacity: 0.15;
  animation: floatNote 8s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
.note svg { width: 32px; height: 32px; }
.note:nth-child(1) { top: 12%; left: 8%; animation-delay: 0s; color: var(--pink); }
.note:nth-child(1) svg { width: 40px; height: 40px; }
.note:nth-child(2) { top: 25%; right: 12%; animation-delay: 1.5s; color: var(--purple); }
.note:nth-child(3) { bottom: 20%; left: 15%; animation-delay: 3s; color: var(--mint); }
.note:nth-child(3) svg { width: 36px; height: 36px; }
.note:nth-child(4) { top: 60%; right: 8%; animation-delay: 4.5s; color: var(--orange); }
.note:nth-child(5) { top: 40%; left: 5%; animation-delay: 2s; color: var(--yellow); }
.note:nth-child(5) svg { width: 28px; height: 28px; }
.note:nth-child(6) { bottom: 35%; right: 20%; animation-delay: 5.5s; color: var(--blue); }

@keyframes floatNote {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-18px) rotate(8deg); }
  50% { transform: translateY(-8px) rotate(-5deg); }
  75% { transform: translateY(-22px) rotate(4deg); }
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(255,95,162,0.12), rgba(155,114,242,0.12));
  border: 1px solid rgba(255,95,162,0.2);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 700; color: var(--pink);
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease-out both;
}
.hero-badge svg { width: 18px; height: 18px; flex-shrink: 0; }

.app-title {
  font-family: Smooch;
  font-size: clamp(80px, 20vw, 200px);
  font-weight: normal;
  line-height: 1;
}

.hero-title {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.25;
  margin-bottom: 12px;
  animation: fadeUp 0.8s ease-out 0.15s both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--pink) 0%, var(--orange) 30%, var(--yellow) 55%, var(--mint) 80%, var(--purple) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
  white-space: nowrap;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(26,20,50,0.6);
  line-height: 2;
  margin-bottom: 40px;
  font-weight: 500;
  animation: fadeUp 0.8s ease-out 0.3s both;
}

.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.45s both;
}
.store-badge {
  transition: transform 0.25s, box-shadow 0.25s;
  border-radius: 12px;
}
.store-badge:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(26,20,50,0.12);
}
.store-badge img {
  height: 54px; display: block; border-radius: 12px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SHARED SECTION STYLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative; z-index: 1;
}
.section-tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 800; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--purple);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.35;
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(26,20,50,0.12);
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== FOR YOU ===== */
.foryou {
  padding: 100px 40px 80px;
  position: relative;
}

.foryou-track {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Vertical connecting line */
.foryou-line {
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--pink), var(--purple), var(--mint));
  border-radius: 2px;
  opacity: 0.18;
}

.foryou-item {
  position: relative;
  padding-left: 80px;
  padding-bottom: 48px;
  opacity: 0;
  transform: translateY(24px);
}
.foryou-item:last-child { padding-bottom: 0; }
.foryou-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Dot on timeline */
.foryou-dot {
  position: absolute;
  left: 19px;
  top: 36px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--pink);
  background: var(--light);
  z-index: 2;
  transition: transform 0.3s, border-color 0.3s;
}
.foryou-item:nth-child(3) .foryou-dot { border-color: var(--purple); }
.foryou-item:nth-child(4) .foryou-dot { border-color: var(--mint); }
.foryou-item:hover .foryou-dot {
  transform: scale(1.3);
}

/* Card */
.foryou-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 36px 36px 32px;
  border: 1px solid rgba(26,20,50,0.05);
  box-shadow: 0 4px 24px rgba(26,20,50,0.04);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s;
  overflow: hidden;
}
.foryou-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,20,50,0.08);
}

/* Accent border top — each card a different gradient */
.foryou-item:nth-child(2) .foryou-card { border-left: 3px solid var(--pink); }
.foryou-item:nth-child(3) .foryou-card { border-left: 3px solid var(--purple); }
.foryou-item:nth-child(4) .foryou-card { border-left: 3px solid var(--mint); }

/* Large background number */
.foryou-num {
  position: absolute;
  top: -8px;
  right: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 6rem;
  line-height: 1;
  letter-spacing: -4px;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}
.foryou-item:nth-child(2) .foryou-num { color: var(--pink); opacity: 0.08; }
.foryou-item:nth-child(3) .foryou-num { color: var(--purple); opacity: 0.08; }
.foryou-item:nth-child(4) .foryou-num { color: var(--mint); opacity: 0.08; }

/* Icon */
.foryou-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.foryou-icon svg { width: 22px; height: 22px; }
.foryou-item:nth-child(2) .foryou-icon {
  background: linear-gradient(135deg, rgba(255,95,162,0.12), rgba(255,138,71,0.12));
  color: var(--pink);
}
.foryou-item:nth-child(3) .foryou-icon {
  background: linear-gradient(135deg, rgba(155,114,242,0.12), rgba(78,168,247,0.12));
  color: var(--purple);
}
.foryou-item:nth-child(4) .foryou-icon {
  background: linear-gradient(135deg, rgba(62,207,178,0.12), rgba(78,168,247,0.12));
  color: var(--mint);
}

/* Typography */
.foryou-heading {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 10px;
  position: relative;
}

.foryou-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(26,20,50,0.5);
  font-weight: 500;
  position: relative;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 40px 120px;
  position: relative;
}
.features-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(78,168,247,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(255,210,63,0.08) 0%, transparent 70%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid rgba(26,20,50,0.06);
  box-shadow: 0 4px 24px rgba(26,20,50,0.04);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,20,50,0.1);
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: 24px 24px 0 0;
}
.feature-card:nth-child(1)::before { background: linear-gradient(90deg, var(--pink), var(--orange)); }
.feature-card:nth-child(2)::before { background: linear-gradient(90deg, var(--purple), var(--pink)); }
.feature-card:nth-child(3)::before { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.feature-card:nth-child(4)::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.feature-card:nth-child(5)::before { background: linear-gradient(90deg, var(--blue), var(--mint)); }
.feature-card:nth-child(6)::before { background: linear-gradient(90deg, var(--mint), var(--blue)); }

.feature-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, rgba(255,95,162,0.15), rgba(255,138,71,0.15)); color: var(--pink); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, rgba(155,114,242,0.15), rgba(255,95,162,0.15)); color: var(--purple); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, rgba(255,138,71,0.12), rgba(255,210,63,0.12)); color: var(--yellow); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, rgba(255,138,71,0.15), rgba(255,210,63,0.15)); color: var(--orange); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, rgba(78,168,247,0.15), rgba(62,207,178,0.15)); color: var(--blue); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, rgba(62,207,178,0.15), rgba(78,168,247,0.15)); color: var(--mint); }

.feature-name {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.feature-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(26,20,50,0.6);
  font-weight: 500;
}

/* Highlight card (spans 2 cols on wider screens) */
.feature-card.highlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(255,95,162,0.04), rgba(155,114,242,0.06));
}
.feature-card.highlight .feature-icon {
  width: 80px; height: 80px;
  margin-bottom: 0;
}
.feature-card.highlight .feature-icon svg { width: 36px; height: 36px; }
.feature-card.highlight .highlight-text { }
.feature-card.highlight .feature-name { font-size: 1.3rem; }

/* ===== CTA BOTTOM ===== */
.cta-section {
  padding: 80px 40px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(170deg, #b351ff 0%, #fce2ff 100%);
}

/* CTA floating music notes */
.cta-note {
  position: absolute;
  opacity: 0.12;
  animation: floatNote 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.cta-note svg { width: 28px; height: 28px; }
.cta-note:nth-child(3) { top: 15%; left: 6%; animation-delay: 0s; color: var(--pink); }
.cta-note:nth-child(3) svg { width: 34px; height: 34px; }
.cta-note:nth-child(4) { top: 20%; right: 10%; animation-delay: 1.8s; color: var(--purple); }
.cta-note:nth-child(5) { bottom: 18%; left: 12%; animation-delay: 3.2s; color: var(--orange); }
.cta-note:nth-child(5) svg { width: 24px; height: 24px; }
.cta-note:nth-child(6) { bottom: 25%; right: 8%; animation-delay: 4.8s; color: var(--mint); }
.cta-note:nth-child(6) svg { width: 32px; height: 32px; }
.cta-note:nth-child(7) { top: 55%; left: 3%; animation-delay: 2.5s; color: var(--yellow); }
.cta-note:nth-child(7) svg { width: 22px; height: 22px; }
.cta-box {
  position: relative; z-index: 1;
  max-width: 640px; margin: 0 auto;
  background: transparent;
  padding: 56px 48px;
}
.cta-box h2 {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-weight: 800;
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  margin-bottom: 70px;
  white-space: nowrap;
}
.cta-box p {
  color: rgba(26,20,50,0.55);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-stores {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: nowrap;
}
.cta-stores .store-badge img {
  height: clamp(40px, 7vw, 54px) !important;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 32px 40px 40px;
  font-size: 0.82rem;
  color: rgba(26,20,50,0.35);
  font-weight: 500;
}
footer .footer-logo {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.footer-sns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26,20,50,0.05);
  color: rgba(26,20,50,0.4);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.footer-sns a:hover {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  transform: translateY(-2px);
}
.footer-sns a svg {
  width: 18px;
  height: 18px;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-links a {
  text-decoration: none;
  color: rgba(26,20,50,0.45);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--pink);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 20px 60px; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .hero-title .gradient-text { white-space: normal; }
  .foryou { padding: 60px 20px 40px; }
  .foryou-track { gap: 0; }
  .foryou-line { left: 18px; }
  .foryou-dot { left: 9px; top: 32px; width: 16px; height: 16px; }
  .foryou-item { padding-left: 52px; padding-bottom: 32px; }
  .foryou-card { padding: 28px 24px 24px; }
  .foryou-num { font-size: 4rem; right: 12px; top: -4px; }
  .foryou-heading { font-size: 1.05rem; }
  .foryou-desc { font-size: 0.88rem; }
  .features { padding: 60px 20px 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.highlight {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-card.highlight .feature-icon { margin: 0 auto; }
  .cta-section { padding: 40px 20px 80px; }
  .cta-box { padding: 40px 16px; }
}

/* Hero background responsive */
@media (min-width: 769px) {
  .hero {
    background-image: url('hero-bg-md.jpg');
  }
}
@media (min-width: 1441px) {
  .hero {
    background-image: url('hero-bg-lg.jpg');
  }
}

/* ===== Decorative blobs ===== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.blob-1 { width: 400px; height: 400px; background: var(--pink); top: -100px; right: -100px; }
.blob-2 { width: 300px; height: 300px; background: var(--mint); bottom: -80px; left: -60px; }