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

:root {
  --bg: #1a0d20;
  --bg-2: #2a1530;
  --text: #fff5f8;
  --muted: #c9a9c4;
  --accent: #ff8ec7;        /* sakura pink */
  --accent-2: #b794f4;      /* lavender */
  --accent-3: #7ec8ff;      /* sky blue */
  --card: #2a1530;
  --border: rgba(255, 142, 199, 0.15);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 142, 199, 0.28), transparent 60%),
    radial-gradient(45% 45% at 85% 25%, rgba(183, 148, 244, 0.22), transparent 70%),
    radial-gradient(50% 50% at 15% 70%, rgba(126, 200, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #1a0d20 0%, #2a1530 60%, #1a0d20 100%);
}

/* Sakura petals */
.sakura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -40px;
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle at 30% 30%, #ffd1e3 0%, #ff8ec7 50%, #ff5fa8 100%);
  border-radius: 100% 0 100% 0;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(255, 142, 199, 0.5));
  animation: petal-fall linear infinite;
}
.petal:nth-child(1)  { left: 5%;  width: 14px; height: 14px; animation-duration: 14s; animation-delay: -2s; }
.petal:nth-child(2)  { left: 13%; width: 22px; height: 22px; animation-duration: 18s; animation-delay: -7s; }
.petal:nth-child(3)  { left: 22%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: -1s; }
.petal:nth-child(4)  { left: 31%; width: 20px; height: 20px; animation-duration: 16s; animation-delay: -9s; }
.petal:nth-child(5)  { left: 42%; width: 14px; height: 14px; animation-duration: 13s; animation-delay: -4s; }
.petal:nth-child(6)  { left: 51%; width: 24px; height: 24px; animation-duration: 19s; animation-delay: -11s; }
.petal:nth-child(7)  { left: 60%; width: 16px; height: 16px; animation-duration: 15s; animation-delay: -6s; }
.petal:nth-child(8)  { left: 69%; width: 20px; height: 20px; animation-duration: 17s; animation-delay: -3s; }
.petal:nth-child(9)  { left: 78%; width: 14px; height: 14px; animation-duration: 12s; animation-delay: -8s; }
.petal:nth-child(10) { left: 86%; width: 22px; height: 22px; animation-duration: 18s; animation-delay: -10s; }
.petal:nth-child(11) { left: 92%; width: 16px; height: 16px; animation-duration: 14s; animation-delay: -5s; }
.petal:nth-child(12) { left: 97%; width: 18px; height: 18px; animation-duration: 16s; animation-delay: -12s; }

@keyframes petal-fall {
  0%   { transform: translate3d(0, -40px, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.85; }
  50%  { transform: translate3d(40px, 50vh, 0) rotate(220deg); }
  100% { transform: translate3d(-40px, 110vh, 0) rotate(540deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .petal { animation: none; display: none; }
}

.header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 142, 199, 0.5));
  animation: logo-bloom 4s ease-in-out infinite;
}
@keyframes logo-bloom {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  50%      { transform: rotate(6deg) scale(1.08); }
}
.logo-accent {
  color: var(--accent);
  margin-left: 4px;
  text-shadow: 0 0 18px rgba(255, 142, 199, 0.7);
}

.header-pills { display: flex; gap: 10px; }
.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  backdrop-filter: blur(12px);
  font-family: inherit;
}
.pill-lang { cursor: pointer; font-weight: 700; letter-spacing: 0.04em; }
.pill-lang:hover {
  background: rgba(255, 142, 199, 0.12);
  border-color: rgba(255, 142, 199, 0.5);
}
.pill-site {
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
  box-shadow:
    0 8px 24px rgba(255, 142, 199, 0.5),
    0 0 30px rgba(183, 148, 244, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pill-site:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(255, 142, 199, 0.7),
    0 0 40px rgba(183, 148, 244, 0.5);
}

.pill-user .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent), 0 0 24px var(--accent-2);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.7; }
}

.main {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 48px 80px;
}

.hero { max-width: 1100px; margin-bottom: 28px; }
.hero-title {
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}
.accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 142, 199, 0.4));
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 820px;
  margin: 0;
}
.hero-sub b { color: var(--text); font-weight: 700; }

.examples {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 32px;
  align-items: stretch;
}

.card {
  position: relative;
  aspect-ratio: 9 / 14;
  max-height: 58vh;
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 142, 199, 0.08) inset;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 142, 199, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 142, 199, 0.5);
  box-shadow:
    0 30px 80px rgba(255, 142, 199, 0.35),
    0 0 40px rgba(183, 148, 244, 0.25);
}
.card:hover::after { opacity: 1; }
.card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow:
    0 6px 20px rgba(255, 142, 199, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.badge::before { content: "\273F  "; }

.cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin: 64px 0;
  flex-wrap: wrap;
}

.btn-mega {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 22px 32px 22px 36px;
  min-width: 420px;
  border-radius: 28px;
  text-decoration: none;
  color: #fff;
  background:
    linear-gradient(135deg, #ff8ec7 0%, #b794f4 50%, #7ec8ff 100%);
  background-size: 200% 200%;
  animation: kawaii-shift 8s ease-in-out infinite;
  box-shadow:
    0 20px 50px rgba(255, 142, 199, 0.55),
    0 4px 14px rgba(183, 148, 244, 0.45),
    0 0 60px rgba(126, 200, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  isolation: isolate;
  font-family: inherit;
}
@keyframes kawaii-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.btn-mega::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.7));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}
.btn-mega::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 30% 0%, rgba(255,255,255,0.4), transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.btn-mega-shine { display: none; }
.btn-mega-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  z-index: 3;
}
.btn-mega-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.95;
}
.btn-mega-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}
.btn-mega-arrow {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  margin-left: auto;
  transition: transform 0.25s ease;
}
.btn-mega:hover .btn-mega-arrow { transform: translateX(4px); }

.btn-mega-alt {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(183, 148, 244, 0.35);
  box-shadow:
    0 0 30px rgba(183, 148, 244, 0.15),
    inset 0 0 0 1px rgba(183, 148, 244, 0.08);
  animation: none;
}
.btn-mega-alt::before,
.btn-mega-alt::after { display: none; }
.btn-mega-alt .btn-mega-label { color: var(--accent); }
.btn-mega-alt .btn-mega-arrow {
  background: rgba(183, 148, 244, 0.15);
  border: 1px solid rgba(183, 148, 244, 0.3);
  color: var(--text);
}
.btn-mega-alt:hover {
  border-color: rgba(183, 148, 244, 0.7);
  box-shadow:
    0 10px 40px rgba(183, 148, 244, 0.35),
    inset 0 0 0 1px rgba(183, 148, 244, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 142, 199, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 142, 199, 0.65);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 142, 199, 0.1);
  transform: translateY(-2px);
}

.leaks-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  margin: 0 0 56px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 142, 199, 0.18), rgba(183, 148, 244, 0.12), rgba(126, 200, 255, 0.08)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 142, 199, 0.3);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}
.leaks-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 50%, rgba(255, 142, 199, 0.3), transparent 60%);
  pointer-events: none;
  opacity: 0.7;
}
.leaks-banner:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 142, 199, 0.7);
  box-shadow:
    0 20px 50px rgba(255, 142, 199, 0.3),
    0 0 40px rgba(183, 148, 244, 0.2);
}
.leaks-icon {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow:
    0 8px 24px rgba(255, 142, 199, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.leaks-text { flex: 1; min-width: 0; position: relative; }
.leaks-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}
.leaks-sub { font-size: 14px; color: var(--muted); }
.leaks-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 0 12px rgba(255, 142, 199, 0.5);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.feature {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 142, 199, 0.04), rgba(183, 148, 244, 0.04));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 142, 199, 0.15), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature:hover {
  border-color: rgba(255, 142, 199, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(255, 142, 199, 0.18);
}
.feature:hover::before { opacity: 1; }
.feature-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 142, 199, 0.1);
  border: 1px solid rgba(255, 142, 199, 0.25);
}
.feature h2, .feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { margin-top: 64px; max-width: 900px; }
.faq h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}
.faq h2::before {
  content: "桜 ";
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Noto Sans JP', sans-serif;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(255, 142, 199, 0.03), rgba(183, 148, 244, 0.03));
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq details[open] {
  border-color: rgba(255, 142, 199, 0.5);
  box-shadow: 0 8px 30px rgba(255, 142, 199, 0.15);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, transparent, rgba(255, 142, 199, 0.04));
}
.footer::before {
  content: "✿  ✿  ✿";
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.4em;
}

@media (max-width: 1100px) {
  .examples { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header { padding: 14px 20px; }
  .main { padding: 14px 20px 60px; }
  .hero { margin-bottom: 18px; }
  .hero-title { font-size: 28px; margin-bottom: 10px; }
  .hero-sub { font-size: 14px; }
  .examples {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 11vw;
    gap: 12px;
    padding: 4px 11vw 16px;
    margin: 0 -20px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .examples::-webkit-scrollbar { display: none; }
  .examples .card {
    flex: 0 0 78vw;
    max-height: 70vh;
    scroll-snap-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .examples.is-carousel .card { opacity: 0.45; transform: scale(0.94); }
  .examples.is-carousel .card.is-active { opacity: 1; transform: scale(1); }
  .hero-sub { font-size: 16px; }
  .btn { width: 100%; justify-content: center; }
  .btn-mega { min-width: 0; width: 100%; padding: 18px 20px; gap: 14px; border-radius: 22px; }
  .btn-mega-title { font-size: 20px; }
  .btn-mega-label { font-size: 11px; }
  .btn-mega-arrow { width: 44px; height: 44px; }
  .pill-site { display: none; }
  .leaks-banner { flex-wrap: wrap; }
  .leaks-cta { width: 100%; justify-content: flex-end; }
  .logo-jp { font-size: 24px; }
}