/* ===== CSS Variables & Reset ===== */
:root {
  --pink-100: #FFF5F5;
  --pink-200: #FFE8E8;
  --pink-300: #FFCECE;
  --pink-400: #FFB4B4;
  --pink-500: #FF8A8A;
  --pink-600: #FF6B6B;
  --coral: #FF7E7E;
  --peach: #FFB5A7;
  --lavender: #E8D5F5;
  --purple-light: #D8B4FE;
  --purple: #C084FC;
  --cream: #FFF8F0;
  --warm-white: #FFFAF6;
  --text-primary: #3D2C2C;
  --text-secondary: #6B5353;
  --text-muted: #9B8585;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-soft: 0 4px 24px rgba(255, 107, 107, 0.08);
  --shadow-card: 0 8px 32px rgba(255, 107, 107, 0.12);
  --shadow-elevated: 0 16px 48px rgba(255, 107, 107, 0.16);
  --font-heading: 'Zen Maru Gothic', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--warm-white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
}

.sp-only {
  display: none;
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 250, 246, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 107, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--pink-600);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--pink-600);
  background: var(--pink-100);
}

.nav-cta {
  background: linear-gradient(135deg, var(--pink-500), var(--coral));
  color: white !important;
  border-radius: 50px;
  padding: 8px 20px;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--pink-600), var(--pink-500));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background: linear-gradient(135deg, var(--pink-100), var(--cream), var(--lavender));
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--pink-300);
  top: -100px;
  right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--lavender);
  bottom: -50px;
  left: -100px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: var(--peach);
  top: 50%;
  left: 50%;
  animation: blobFloat 12s ease-in-out infinite 2s;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 24px;
  animation: logoShimmer 3s ease-in-out infinite;
}

@keyframes logoShimmer {

  0%,
  100% {
    filter: drop-shadow(0 0 0 transparent);
  }

  50% {
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.3));
  }
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title-main {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink-600), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 8px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 2;
}

.hero-description strong {
  color: var(--pink-600);
}

/* Store Badges */
.hero-badges,
.cta-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--text-primary);
  color: white;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 44, 44, 0.3);
}

.store-badge small {
  display: block;
  font-size: 0.6rem;
  opacity: 0.8;
  line-height: 1;
}

.store-badge span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.store-badge-large {
  padding: 14px 28px;
}

.store-badge-large span {
  font-size: 1.15rem;
}

.store-badge-coming {
  background: linear-gradient(135deg, #34a853, #1a73e8);
  cursor: default;
  animation: comingSoonPulse 2.5s ease-in-out infinite;
}

@keyframes comingSoonPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.3);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(52, 168, 83, 0);
  }
}

.store-badge-coming:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 168, 83, 0.3);
}

.store-badge-planned {
  background: #888;
  cursor: default;
  opacity: 0.7;
}

.store-badge-planned:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.8;
}

/* Hero Visual */
.hero-visual {
  flex: 0 0 auto;
  position: relative;
}

.hero-mascot-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
}

.hero-mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: mascotBounce 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(255, 107, 107, 0.2));
}

@keyframes mascotBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero-sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 5%;
  right: 5%;
  animation-delay: 1s;
}

.sparkle-3 {
  bottom: 20%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes sparkleFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== Problem Section ===== */
.problem-section {
  padding: 80px 0 100px;
  background: white;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
  color: var(--text-primary);
}

.section-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.problem-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--pink-100);
  border: 1px solid var(--pink-200);
  text-align: center;
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.problem-emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.problem-solution {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--pink-200), var(--lavender));
  border-radius: var(--radius-lg);
  padding: 40px;
}

.problem-mascot {
  width: 140px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

.solution-lead {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pink-600);
  margin-bottom: 8px;
}

.solution-sub {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ===== Features Section ===== */
.features-section {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--pink-100) 0%, var(--cream) 100%);
}

.features-wave-top,
.features-wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
}

.features-wave-top {
  top: -1px;
}

.features-wave-bottom {
  bottom: -1px;
}

.features-wave-top svg,
.features-wave-bottom svg {
  display: block;
  width: 100%;
  height: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-light));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--pink-100), var(--lavender));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon {
  font-size: 2.2rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== How it Works Section ===== */
.how-section {
  padding: 100px 0;
  background: white;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.step-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.step-number {
  position: absolute;
  top: 0;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--pink-200);
  line-height: 1;
  z-index: 0;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 2rem;
  color: var(--pink-400);
  padding-top: 60px;
}

/* ===== Screenshots Section ===== */
.screenshots-section {
  padding: 100px 0;
  background: var(--cream);
}

.screenshots-slider {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.screenshot-item {
  text-align: center;
  max-width: 280px;
}

.screenshot-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  transition: var(--transition);
}

.screenshot-img:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 24px 64px rgba(255, 107, 107, 0.2);
}

.screenshot-caption {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== Philosophy Section ===== */
.philosophy-section {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(135deg, #3D2C2C, #5C3D3D, #4A2F4A);
  color: white;
}

.philosophy-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
}

.philosophy-wave-top svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-title-light {
  color: white;
}

.philosophy-quote {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 40px;
  padding: 0 20px;
  border: none;
  background: linear-gradient(135deg, var(--pink-400), var(--peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.philosophy-body {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.philosophy-body p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  line-height: 2;
}

.philosophy-body strong {
  color: var(--peach);
}

.philosophy-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.value-item {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.value-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.value-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.6;
}

.philosophy-closing {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: white;
}

.cta-content {
  text-align: center;
}

.cta-mascot {
  width: 180px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 12px 32px rgba(255, 107, 107, 0.15));
  animation: mascotBounce 4s ease-in-out infinite;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-badges {
  justify-content: center;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  background: var(--pink-100);
  border-top: 1px solid var(--pink-200);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--pink-600);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 250, 246, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-link {
    display: block;
    text-align: center;
    padding: 12px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
    gap: 40px;
  }

  .hero-mascot-wrapper {
    width: 220px;
    height: 220px;
  }

  .hero-badges {
    justify-content: center;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-solution {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .problem-mascot {
    width: 110px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .screenshots-slider {
    flex-direction: column;
    align-items: center;
  }

  .screenshot-item {
    max-width: 320px;
  }

  .philosophy-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title-main {
    font-size: 2rem;
  }

  .store-badge {
    padding: 8px 14px;
  }

  .store-badge span {
    font-size: 0.85rem;
  }

  .philosophy-values {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .value-item {
    padding: 20px 12px;
  }
}