@charset "UTF-8";

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a25;
  --bg-card: #1e1e2e;
  --bg-elevated: #252538;
  --border-default: #27273a;
  --border-hover: #3f3f5a;
  --primary-400: #a78bfa;
  --primary-500: #8b5cf6;
  --primary-600: #7c3aed;
  --primary-700: #6d28d9;
  --primary-900: #4c1d95;
  --primary-950: #2e1065;
  --accent-pink: #ec4899;
  --accent-rose: #f43f5e;
  --accent-orange: #f97316;
  --accent-amber: #eab308;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-muted: #52525b;
  --radius-sm: 4px;
  --radius-base: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 4px rgba(124, 58, 237, 0.1);
  --shadow-md: 0 4px 8px rgba(124, 58, 237, 0.15);
  --shadow-lg: 0 8px 16px rgba(124, 58, 237, 0.2);
  --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.5);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans JP', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-500);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-600), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-default);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-links a.active {
  color: var(--primary-400);
  background: rgba(139, 92, 246, 0.1);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border-default);
}

.lang-switch a {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  letter-spacing: 0.5px;
}

.lang-switch a.active {
  color: var(--primary-400);
  background: rgba(139, 92, 246, 0.1);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  animation: float-slow 20s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
  animation: float-slow 25s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 24px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  border-radius: 28px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.25), 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-icon img {
  width: 72px;
  height: 72px;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.25), 0 8px 32px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 0 60px rgba(139, 92, 246, 0.35), 0 8px 32px rgba(0, 0, 0, 0.4); }
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--primary-500);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-label svg {
  width: 16px;
  height: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.features {
  background: var(--bg-secondary);
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header .section-desc {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-600);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-icon.purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--primary-500);
}

.feature-icon.pink {
  background: rgba(236, 72, 153, 0.12);
  color: var(--accent-pink);
}

.feature-icon.orange {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-orange);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.moods {
  background: var(--bg-primary);
}

.moods-header {
  text-align: center;
  margin-bottom: 64px;
}

.moods-header .section-desc {
  margin: 0 auto;
}

.moods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mood-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mood-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mood-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mood-card:hover::before {
  opacity: 1;
}

.mood-card:hover {
  border-color: var(--mood-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mood-emoji {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.mood-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.mood-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.mood-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mood-color);
  margin: 10px auto 0;
}

.howto {
  background: var(--bg-secondary);
}

.howto-header {
  text-align: center;
  margin-bottom: 64px;
}

.howto-header .section-desc {
  margin: 0 auto;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.howto-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(33.33% / 2 + 16px);
  right: calc(33.33% / 2 + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-600), var(--accent-pink));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-400);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-icon {
  margin-bottom: 16px;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  color: var(--text-tertiary);
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.cta {
  background: var(--bg-primary);
  text-align: center;
  padding: 128px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta .section-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta .section-desc {
  margin: 0 auto 40px;
  text-align: center;
}

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-default);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-tertiary);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.privacy-page {
  padding-top: 128px;
  padding-bottom: 96px;
  min-height: 80vh;
}

.privacy-page h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.privacy-page .privacy-updated {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 48px;
}

.privacy-content {
  max-width: 760px;
}

.privacy-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-default);
}

.privacy-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
}

.privacy-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy-content ul, .privacy-content ol {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.privacy-content li {
  margin-bottom: 8px;
}

.privacy-content a {
  color: var(--primary-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-content a:hover {
  color: var(--primary-500);
}

.privacy-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.privacy-content .privacy-callout {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--primary-600);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.privacy-content .privacy-callout p {
  margin-bottom: 0;
  font-size: 14px;
}

.privacy-content .privacy-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.privacy-content .privacy-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.privacy-content .privacy-service-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.privacy-content .privacy-service-card p {
  font-size: 13px;
  margin-bottom: 12px;
}

.privacy-content .privacy-service-card a {
  font-size: 13px;
}

@media (max-width: 768px) {
  .privacy-content .privacy-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 16px;
    height: 56px;
  }

  .nav-links {
    display: none;
  }

  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .hero-icon img {
    width: 56px;
    height: 56px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  section {
    padding: 64px 0;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .moods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .howto-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .howto-steps::before {
    display: none;
  }

  .cta .section-title {
    font-size: 28px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .moods-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
