/* ======================================================
   シンプルスライドショー — Landing Page
   Design: Apple Photos inspired, minimal & modern
   ====================================================== */

:root {
  /* Colors */
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-mute: #f5f5f7;
  --bg-elevated: #ffffff;
  --fg: #1d1d1f;
  --fg-soft: #424245;
  --fg-mute: #6e6e73;
  --fg-faint: #86868b;
  --line: #e6e6eb;
  --line-soft: #f2f2f5;
  --accent: #0a84ff;
  --accent-hover: #0062cc;
  --red: #ff375f;
  --yellow: #ffcc00;
  --green: #34c759;
  --orange: #ff9500;

  /* Type */
  --font-ja: "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Display", "Helvetica Neue", var(--font-ja);
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", var(--font-ja);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.04);
  --sh-md: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --sh-lg: 0 20px 50px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --sh-phone: 0 50px 100px -20px rgba(0, 0, 0, 0.18), 0 24px 48px -12px rgba(0, 0, 0, 0.10);
  --sh-chip: 0 10px 30px -8px rgba(0, 0, 0, 0.12), 0 4px 12px -4px rgba(0, 0, 0, 0.08);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; transition: opacity .2s var(--ease); }
a:hover { opacity: 0.75; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

::selection { background: rgba(10, 132, 255, 0.18); }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}
.site-main { display: block; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.86);
}
.site-header-inner {
  max-width: 1160px;
  margin-inline: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand:hover { opacity: 1; }
.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.brand-text { font-size: 15px; color: var(--fg); }
.main-nav {
  display: flex;
  gap: 28px;
  margin-inline-start: auto;
  font-size: 14.5px;
  color: var(--fg-soft);
}
.main-nav a { position: relative; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease-spring);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--fg);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform .2s var(--ease-spring), background .2s var(--ease);
}
.header-cta svg { width: 14px; height: 14px; }
.header-cta:hover { opacity: 1; background: #000; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
  margin-inline-start: auto;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .3s var(--ease-spring), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.96);
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 16px;
  color: var(--fg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a.mobile-nav-cta {
  margin-top: 12px;
  text-align: center;
  background: var(--fg);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  border: 0;
}
.site-header.is-open .mobile-nav { display: flex; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 40px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 520px; height: 520px;
  top: -180px; left: -180px;
  background: radial-gradient(circle, rgba(255, 200, 230, 0.6), transparent 70%);
}
.hero::after {
  width: 600px; height: 600px;
  bottom: -240px; right: -200px;
  background: radial-gradient(circle, rgba(200, 220, 255, 0.65), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin-inline: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 680px;
}
.hero-copy {
  max-width: 580px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(10, 132, 255, 0.08);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  animation: floatIn 1s var(--ease-spring) both;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.6);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(10, 132, 255, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 28px;
  animation: floatIn 1s var(--ease-spring) 0.08s both;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #ff375f 50%, #ff9500 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--fg-soft);
  margin: 0 0 36px;
  animation: floatIn 1s var(--ease-spring) 0.16s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  animation: floatIn 1s var(--ease-spring) 0.24s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  animation: floatIn 1s var(--ease-spring) 0.32s both;
}
.hero-meta li {
  font-size: 13.5px;
  color: var(--fg-mute);
  letter-spacing: 0.01em;
}
.hero-meta strong { color: var(--fg); font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: transform .2s var(--ease-spring), box-shadow .25s var(--ease), background .25s var(--ease), opacity .2s var(--ease);
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { opacity: 1; }

.btn-primary {
  background: var(--fg);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover { background: #000; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2); }
.btn-ghost {
  background: rgba(0, 0, 0, 0.04);
  color: var(--fg);
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.07); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 30px; font-size: 17px; }

/* ============ HERO PHONE ============ */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatIn 1.2s var(--ease-spring) 0.15s both;
}

.phone {
  position: relative;
}
.phone-hero {
  width: 320px;
  padding: 9px;
  background: linear-gradient(160deg, #1d1d1f 0%, #2e2e30 100%);
  border-radius: 46px;
  position: relative;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.22),
    0 60px 120px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transform: perspective(900px) rotateY(-8deg) rotateX(10deg);
  transform-style: preserve-3d;
  transition: transform .7s var(--ease-spring);
}
.phone-hero::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  max-width: 92px;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}
.phone-hero:hover {
  transform: perspective(900px) rotateY(-4deg) rotateX(6deg) translateY(-6px);
}

.hero-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 717 / 1559;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
}
.phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.phone-slide.is-active { opacity: 1; }

.phone-shadow {
  position: absolute;
  bottom: -32px;
  left: 55%;
  transform: translateX(-50%) scaleX(1.1);
  width: 80%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.22) 0%, transparent 70%);
  filter: blur(12px);
  z-index: -1;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #fff;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  box-shadow: var(--sh-chip);
  animation: floatY 6s ease-in-out infinite;
}
.float-chip svg { width: 14px; height: 14px; color: var(--accent); }
.chip-1 {
  top: 10%;
  left: -8%;
  animation-delay: 0s;
  color: var(--accent);
}
.chip-1 svg { color: var(--accent); }
.chip-2 {
  bottom: 30%;
  right: -12%;
  animation-delay: -2s;
  color: var(--orange);
}
.chip-2 svg { color: var(--orange); }
.chip-3 {
  bottom: 8%;
  left: -4%;
  animation-delay: -4s;
  color: var(--red);
}
.chip-3 svg { color: var(--red); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--fg-faint);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.25em;
}
.hero-scroll .line {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--fg-faint), transparent);
  animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ SECTION COMMON ============ */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--fg-mute);
  margin: 0;
}

/* ============ PILLARS ============ */
.pillars {
  padding: 80px 0 40px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.pillar {
  padding: 36px 28px;
  border-radius: var(--r-xl);
  background: var(--bg-mute);
  transition: transform .4s var(--ease-spring), background .3s var(--ease);
}
.pillar:hover { transform: translateY(-6px); background: #f0f0f4; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}
.pillar h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.pillar p { color: var(--fg-mute); font-size: 15px; margin: 0; }

/* ============ FEATURES ============ */
.features {
  padding: 100px 0 80px;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(240px, auto);
}
.feature-card {
  grid-column: span 2;
  padding: 32px;
  border-radius: var(--r-xl);
  background: var(--bg-mute);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: transform .4s var(--ease-spring);
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-large { grid-column: span 4; grid-row: span 1; }
.feature-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.feature-large h3 { font-size: 28px; }
.feature-card p {
  font-size: 14.5px;
  color: var(--fg-mute);
  margin: 0;
  line-height: 1.75;
}
.feature-card-body { flex: 1; }

/* Feature: Date filter visual */
.feature-card-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.mini-chip {
  padding: 7px 12px;
  background: #fff;
  color: var(--fg-soft);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--line-soft);
}
.mini-chip.active { background: var(--fg); color: #fff; border-color: var(--fg); }
.pinned-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pinned-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #fff;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg);
  box-shadow: var(--sh-sm);
}
.pinned-item svg { width: 12px; height: 12px; color: var(--orange); }

/* Feature: Transition grid */
.transition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.transition-grid li {
  padding: 12px 8px;
  background: #fff;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  color: var(--fg-soft);
  border: 1px solid var(--line-soft);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.transition-grid li:hover {
  background: var(--fg);
  color: #fff;
  transform: scale(1.02);
}

/* Feature: Video */
.feature-mini-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.video-visual { gap: 14px; }
.video-thumb {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #0a84ff, #6a4ddc);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(10, 132, 255, 0.4);
}
.video-thumb svg { width: 28px; height: 28px; }
.video-bar {
  width: 100%;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.video-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  animation: videoBar 3s linear infinite;
}
@keyframes videoBar {
  from { width: 0%; }
  to { width: 100%; }
}

/* Feature: Favorite / Album */
.fav-visual { gap: 10px; }
.fav-card {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg);
  border: 1px solid var(--line-soft);
}
.fav-card svg { width: 18px; height: 18px; }
.fav-heart svg { color: var(--red); }
.fav-album svg { color: var(--accent); }

/* Feature: Interval */
.interval-visual { padding: 10px 0; }
.interval-scale {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-soft);
}
.interval-line {
  flex: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff375f 100%);
  border-radius: 4px;
  position: relative;
}
.interval-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 40%;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 3px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  animation: dot 4s ease-in-out infinite;
}
@keyframes dot {
  0%, 100% { left: 15%; border-color: var(--accent); }
  50% { left: 85%; border-color: var(--red); }
}

/* Feature: Offline */
.offline-visual { gap: 8px; color: var(--green); }
.offline-visual svg { width: 44px; height: 44px; }
.offline-visual p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.02em;
}

/* Feature: Caption */
.caption-visual { padding: 12px; }
.caption-mock {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #2a2a2c 0%, #4a4a4c 100%);
  border-radius: var(--r-md);
  position: relative;
}
.caption-date {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  font-family: var(--font-ja);
}

/* Feature: Timer */
.timer-visual svg { width: 46px; height: 46px; color: var(--accent); }
.timer-visual svg circle { animation: fadeCircle 3s ease-in-out infinite; }
@keyframes fadeCircle { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Feature: Background dot list */
.bg-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  padding: 4px 0 0;
  margin: 0;
}
.bg-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-soft);
}
.bg-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.sw-black { background: #000; }
.sw-darkgray { background: #262626; }
.sw-white { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.sw-blur {
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255, 200, 230, 0.9), transparent 60%),
    radial-gradient(70% 70% at 80% 80%, rgba(150, 200, 255, 0.95), transparent 65%),
    linear-gradient(135deg, #c5d8ec 0%, #d8c8e6 100%);
}
.sw-simple { background: #d4a87a; }
.sw-vivid { background: #e74c3c; }
.sw-gradient { background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%); }

/* Feature: Polaroid stack (filter + border + random angle) */
.polaroid-stack {
  position: relative;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.polaroid {
  position: absolute;
  width: 110px;
  background: #fff;
  padding: 7px 7px 28px;
  border-radius: 3px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 18px rgba(0, 0, 0, 0.10),
    0 16px 32px rgba(0, 0, 0, 0.06);
  transition: transform .55s var(--ease-spring);
}
.polaroid-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.polaroid-label {
  position: absolute;
  bottom: 7px;
  left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-ja);
  color: var(--fg);
  letter-spacing: 0.06em;
}

/* Photo treatments */
.polaroid-mono {
  background:
    radial-gradient(60% 70% at 30% 30%, #d8d8d8 0%, transparent 60%),
    radial-gradient(70% 60% at 75% 80%, #1f1f1f 0%, transparent 65%),
    linear-gradient(180deg, #ededed 0%, #4a4a4a 100%);
  filter: grayscale(1) contrast(1.05);
}
.polaroid-sepia {
  background:
    radial-gradient(60% 70% at 30% 30%, #f0d4a8 0%, transparent 60%),
    radial-gradient(70% 60% at 75% 80%, #6b3f1e 0%, transparent 65%),
    linear-gradient(180deg, #f5dcb0 0%, #6f4520 100%);
  filter: sepia(0.65) saturate(1.1);
}
.polaroid-color {
  background:
    radial-gradient(60% 60% at 30% 30%, #ffd29a 0%, transparent 60%),
    radial-gradient(70% 60% at 80% 70%, #ff5f7e 0%, transparent 60%),
    linear-gradient(200deg, #ffe4b5 0%, #ff7e9a 50%, #5b4a8a 100%);
}

/* Stack positions & random angles */
.polaroid-1 {
  transform: translateX(-58px) rotate(-9deg);
  z-index: 1;
}
.polaroid-2 {
  transform: translateY(-4px) rotate(3deg);
  z-index: 3;
}
.polaroid-3 {
  transform: translateX(58px) rotate(11deg);
  z-index: 2;
}

/* Hover: spread out a little */
.feature-card:hover .polaroid-1 { transform: translateX(-72px) translateY(-6px) rotate(-12deg); }
.feature-card:hover .polaroid-2 { transform: translateY(-12px) rotate(2deg); }
.feature-card:hover .polaroid-3 { transform: translateX(72px) translateY(-6px) rotate(14deg); }

/* Feature: Screenshot inside a feature card */
.feature-shot {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.feature-shot img {
  width: 100%;
  max-width: 140px;
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.12),
    0 28px 50px rgba(0, 0, 0, 0.08);
  transition: transform .5s var(--ease-spring);
}
.feature-card:hover .feature-shot img { transform: translateY(-4px); }

/* ============ SCREENS ============ */
.screens {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #f7f7f9 100%);
  position: relative;
  overflow: hidden;
}

/* Device tabs */
.device-tabs {
  display: flex;
  width: fit-content;
  margin: 0 auto 56px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}
.device-tab {
  padding: 10px 28px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--fg-mute);
  cursor: pointer;
  transition: color .25s ease, background .3s ease, box-shadow .3s ease;
}
.device-tab:hover { color: var(--fg); }
.device-tab.is-active {
  background: #fff;
  color: var(--fg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Panels */
.device-panels { position: relative; }
.device-panel { display: none; }
.device-panel.is-active {
  display: block;
  animation: panelFade .45s ease;
}
@keyframes panelFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Screenshot grid */
.screens-grid {
  display: grid;
  gap: 40px 32px;
  justify-items: center;
}
.screens-grid--iphone {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}
.screens-grid--ipad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

/* Screenshot card */
.screen-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.screen-shot figcaption {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-mute);
  letter-spacing: 0.02em;
}

/* Device frames */
.device-frame {
  position: relative;
  width: 100%;
  background: linear-gradient(160deg, #1d1d1f 0%, #2d2d2f 100%);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.14),
    0 36px 64px rgba(0, 0, 0, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform .5s var(--ease-spring), box-shadow .5s ease;
}
.device-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.screen-shot:hover .device-frame {
  transform: translateY(-6px);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.18),
    0 44px 76px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* iPhone frame: rounded bezel + Dynamic Island */
.device-frame--iphone {
  max-width: 280px;
  padding: 9px;
  border-radius: 44px;
}
.device-frame--iphone img {
  border-radius: 36px;
}
.device-frame--iphone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  max-width: 92px;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}

/* iPad frame: thin bezel, modest corners */
.device-frame--ipad {
  max-width: 520px;
  padding: 12px;
  border-radius: 24px;
}
.device-frame--ipad img {
  border-radius: 12px;
}

/* ============ PREMIUM ============ */
.premium {
  padding: 100px 0;
  background: var(--bg);
}
.premium-card {
  border-radius: var(--r-2xl);
  padding: 64px 56px;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(255, 200, 80, 0.18), transparent 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(10, 132, 255, 0.14), transparent 60%),
    linear-gradient(135deg, #0e0e12 0%, #1a1a22 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04), transparent 70%);
  pointer-events: none;
}
.premium-card .section-kicker { color: var(--yellow); }
.premium-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.premium-lead {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 36px;
}
.premium-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.premium-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.premium-features .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), #ff9500);
  color: #1a1a22;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.premium-features strong {
  display: block;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}
.premium-features p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.price-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  text-align: center;
  position: relative;
}
.price-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 16px;
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: #fff;
}
.price-sign { font-size: 32px; font-weight: 700; }
.price-num { font-size: 72px; line-height: 1; }
.price-sub {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}
.price-card .btn-primary {
  background: #fff;
  color: #1a1a22;
}
.price-card .btn-primary:hover { background: #f0f0f0; }
.price-note {
  margin: 16px 0 0;
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
}

/* ============ FAQ ============ */
.faq {
  padding: 100px 0;
  background: var(--bg-mute);
}
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.faq-item:hover { box-shadow: var(--sh-sm); }
.faq-item[open] { box-shadow: var(--sh-md); }
.faq-item summary {
  padding: 22px 24px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--fg-mute);
  border-radius: 2px;
  transition: transform .3s var(--ease-spring), background .2s var(--ease);
}
.faq-mark::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-mark::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-mark::before { background: var(--accent); }
.faq-item[open] .faq-mark::after { background: var(--accent); transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer {
  padding: 0 24px 22px;
  color: var(--fg-soft);
  font-size: 14.5px;
  line-height: 1.85;
  animation: faqIn .35s var(--ease-out);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 120px 0 100px;
  background: var(--bg);
  text-align: center;
}
.final-cta-inner {
  max-width: 720px;
  margin-inline: auto;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #1d1d1f 0%, #6e6e73 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.final-cta p {
  font-size: 17px;
  color: var(--fg-mute);
  margin: 0 0 40px;
  line-height: 1.8;
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 72px 0 32px;
  background: #0e0e12;
  color: rgba(255,255,255,0.65);
}
.site-footer-inner {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}
.site-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.site-footer-brand { display: flex; align-items: center; gap: 14px; }
.site-footer-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
}
.site-footer-name { margin: 0; color: #fff; font-weight: 700; font-size: 16px; }
.site-footer-by { margin: 0; font-size: 12.5px; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: center;
  font-size: 13.5px;
}
.site-footer-nav a { color: rgba(255,255,255,0.72); }
.site-footer-nav a:hover { color: #fff; opacity: 1; }

.site-footer-bottom { padding-top: 28px; }
.site-footer-copyright {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

/* ============ LEGAL PAGES ============ */
.legal {
  padding: 80px 0 100px;
  background: var(--bg);
}
.legal-inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 24px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.legal .legal-meta {
  color: var(--fg-mute);
  font-size: 14px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p {
  line-height: 1.95;
  color: var(--fg-soft);
  font-size: 15px;
  margin: 0 0 1em;
}
.legal ul {
  list-style: disc;
  padding-left: 1.4em;
  line-height: 1.95;
  color: var(--fg-soft);
  font-size: 15px;
  margin: 0 0 1em;
}
.legal ul li { margin-bottom: 0.35em; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 36px;
}
.legal-table th, .legal-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.7;
}
.legal-table th {
  width: 200px;
  color: var(--fg-mute);
  font-weight: 600;
  background: var(--bg-soft);
  white-space: nowrap;
}
.legal-table td { color: var(--fg); }
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.back-home:hover { opacity: 0.7; }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-spring);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.1s; }
.reveal-2 { transition-delay: 0.2s; }
.reveal-3 { transition-delay: 0.3s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    min-height: auto;
    padding-top: 40px;
  }
  .hero-copy { max-width: 100%; text-align: center; margin-inline: auto; }
  .hero-meta { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-visual { min-height: 500px; }
  .hero-scroll { display: none; }
  .float-chip { display: none; }

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

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { grid-column: span 1; }
  .feature-large { grid-column: span 2; }

  .screens-grid--iphone { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .screens-grid--ipad { grid-template-columns: 1fr; }

  .premium-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }

  .hero-visual { min-height: 440px; }
  .phone-hero { width: 280px; transform: none; }
  .phone-hero:hover { transform: translateY(-4px); }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-large { grid-column: span 1; }
  .feature-card { padding: 24px; }
  .feature-card h3 { font-size: 20px; }

  .premium-card { padding: 32px 22px; }
  .price-num { font-size: 58px; }

  .site-footer-top { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 60px; }
  .hero-title { margin-bottom: 20px; }
  .hero-lead { font-size: 16px; margin-bottom: 28px; }
  .btn { padding: 12px 20px; font-size: 14.5px; }
  .btn-lg { padding: 16px 26px; font-size: 16px; }

  .pillars { padding: 60px 0 20px; }
  .features, .screens, .premium, .faq { padding: 70px 0; }
  .final-cta { padding: 80px 0; }

  .screens-grid { gap: 28px 16px; }
  .device-frame--iphone { max-width: 240px; padding: 8px; border-radius: 38px; }
  .device-frame--iphone img { border-radius: 30px; }
  .device-frame--iphone::before { top: 15px; height: 18px; max-width: 76px; }
  .device-frame--ipad { max-width: 100%; padding: 10px; border-radius: 20px; }
  .device-frame--ipad img { border-radius: 10px; }
  .device-tab { padding: 9px 22px; font-size: 14px; }
  .device-tabs { margin-bottom: 36px; }

  .section-head { margin-bottom: 40px; }
}

/* ============ HOW-TO GUIDE ============ */
.guide {
  padding: 100px 0 80px;
  background: var(--bg);
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 56px;
  margin-top: 60px;
}
.guide-category-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 12px;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
}
.guide-table tr {
  border-bottom: 1px solid var(--line-soft);
}
.guide-table tr:last-child {
  border-bottom: none;
}
.guide-table th,
.guide-table td {
  padding: 11px 0;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.6;
}
.guide-table th {
  width: 40%;
  font-weight: 600;
  color: var(--fg);
  padding-right: 16px;
}
.guide-table td {
  color: var(--fg-mute);
}
.filter-desc {
  margin: 0;
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 0;
}
.filter-desc dt {
  font-weight: 600;
  color: var(--fg);
  padding: 5px 12px 5px 0;
  border-bottom: 1px solid var(--line-soft);
}
.filter-desc dd {
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.6;
}
.filter-desc dt:last-of-type,
.filter-desc dd:last-of-type {
  border-bottom: none;
}
@media (max-width: 600px) {
  .filter-desc { grid-template-columns: 4em 1fr; }
  .filter-desc dt,
  .filter-desc dd { font-size: 13px; }
}

@media (max-width: 960px) {
  .guide-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .guide-table th,
  .guide-table td { font-size: 13.5px; padding: 10px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
