/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366F1;
  --primary-light: #A5B4FC;
  --bg: #FAFAFA;
  --text: #1A1A1A;
  --muted: #9CA3AF;
  --border: #E5E7EB;
  --font-display: 'Bricolage Grotesque', 'Noto Sans JP', sans-serif;
  --font-body: 'DM Sans', 'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== Animated Gradient Background ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse 80% 60% at 30% 40%,
    rgba(99, 102, 241, 0.04) 0%,
    transparent 50%
  ),
  radial-gradient(
    ellipse 60% 80% at 70% 60%,
    rgba(99, 102, 241, 0.03) 0%,
    transparent 50%
  );
  background-size: 200% 200%;
  animation: gradient-flow 20s ease infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes gradient-flow {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 100% 0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

/* ===== Header ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 64px;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -1px;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  gap: 16px;
}

.hero-logo {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -2px;
  animation: fade-in 1s ease 0.2s both;
}

.hero-dot {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.5;
  animation: fade-in 1s ease 0.4s both;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  animation: fade-in 1s ease 0.6s both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ===== Sections (shared) ===== */
.section {
  padding: 80px 64px;
  max-width: 1440px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 48px;
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== Concept ===== */
.concept {
  padding-top: 100px;
  text-align: center;
}

.concept-divider {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 40px;
}

.concept-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  line-height: 2.2;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Principles ===== */
.principles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.principle {
  text-align: center;
  max-width: 560px;
}

.principle-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.principle-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  line-height: 2;
}

.separator-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  margin: 0 auto;
}

/* ===== Screenshots ===== */
.screenshots-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.phone-mockup {
  width: 240px;
  height: 480px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 23px;
}

.phone-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ===== Use Cases ===== */
.uc-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.uc-card {
  width: 220px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.uc-place {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.uc-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

.uc-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== Who It's For ===== */
.fit-columns {
  display: flex;
  gap: 64px;
  justify-content: center;
}

.fit-column {
  width: 360px;
}

.fit-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.fit-label.yes {
  color: var(--primary);
}

.fit-label.no {
  color: var(--muted);
}

.fit-list {
  list-style: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.2;
}

.fit-list.yes {
  color: var(--text);
}

.fit-list.no {
  color: var(--muted);
}

.fit-list li::before {
  content: '・';
}

/* ===== Coming Soon ===== */
.coming-soon {
  text-align: center;
}

.coming-soon-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.badge {
  display: inline-block;
  width: 200px;
  text-align: center;
  padding: 14px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

/* ===== Footer ===== */
.footer {
  padding: 48px 64px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-content .legal-date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #4B5563;
}

.legal-content ul {
  padding-left: 24px;
  margin: 12px 0;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header {
    padding: 0 24px;
  }

  .hero-logo {
    font-size: 56px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .section {
    padding: 60px 24px;
  }

  .concept {
    padding-top: 60px;
  }

  .concept-text {
    font-size: 17px;
  }

  .section-title {
    font-size: 24px;
  }

  .principle-title {
    font-size: 24px;
  }

  .principles {
    gap: 60px;
  }

  .screenshots-row {
    gap: 20px;
  }

  .phone-mockup {
    width: 160px;
    height: 320px;
  }

  .uc-grid {
    flex-wrap: wrap;
  }

  .uc-card {
    width: calc(50% - 10px);
  }

  .fit-columns {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .fit-column {
    width: 100%;
    max-width: 360px;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }

  .footer {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .header-nav {
    gap: 16px;
  }

  .hero-logo {
    font-size: 48px;
  }

  .uc-grid {
    flex-direction: column;
    align-items: center;
  }

  .uc-card {
    width: 100%;
    max-width: 280px;
  }
}
