/* ═══════════════════════════════════════════════
   PaceCore Website – Design System
   Colors: App Kinetic High-End Performance theme
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Round');

:root {
  /* App Design System Colors */
  --primary:        #00677D;
  --primary-light:  #00B4D8;
  --secondary:      #AB3500;
  --accent:         #FE6A34;
  --bg:             #FBF8FF;
  --surface-low:    #F3F2FF;
  --surface:        #FFFFFF;
  --surface-high:   #DDE1FF;
  --text:           #151A31;
  --text-body:      #3D494D;
  --text-muted:     #8EADB5;
  --border:         rgba(142,173,181,0.2);
  --mint:           #C8F5E7;
  --mint-text:      #00513A;

  /* Gradients */
  --grad:           linear-gradient(135deg, #00677D 0%, #00B4D8 100%);
  --grad-warm:      linear-gradient(135deg, #AB3500 0%, #FE6A34 100%);
  --grad-text:      linear-gradient(135deg, #00677D, #00B4D8);

  /* Shadows */
  --shadow-card:    0 12px 32px rgba(21,26,49,0.06);
  --shadow-btn:     0 6px 16px rgba(0,103,125,0.25);
  --shadow-float:   0 24px 48px rgba(0,103,125,0.15);

  /* Layout */
  --max-width:      1000px;
  --radius:         20px;
  --radius-sm:      12px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ══════════════════════════════
   Scroll Animation Base Classes
   ══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2), transform 0.65s cubic-bezier(.22,.68,0,1.2);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2), transform 0.65s cubic-bezier(.22,.68,0,1.2);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2), transform 0.65s cubic-bezier(.22,.68,0,1.2);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ══════════════════════════════
   Navigation
   ══════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  background: rgba(251,248,255,0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(21,26,49,0.06);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
/* PaceCore logo image in nav */
.logo-img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* Material Icons global sizing helpers */
.material-icons-round {
  font-size: inherit;
  vertical-align: middle;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Bento hero icon box */
.bento-hero-icon .material-icons-round { font-size: 1.45rem; }

/* Bento small icon box */
.bento-sm-icon-wrap .material-icons-round {
  font-size: 1.4rem;
  color: var(--primary);
}
.bento-sm-warm .material-icons-round  { color: var(--secondary); }
.bento-sm-purple .material-icons-round { color: #6450C8; }
.bento-sm-green .material-icons-round  { color: #007850; }

/* Button icons */
.btn .material-icons-round {
  font-size: 1rem;
  margin-right: 0.3rem;
}

/* Section heading icons */
.section-icon {
  font-size: 1.25rem;
  vertical-align: middle;
  margin-right: 0.4rem;
  color: var(--primary);
}

/* Inline text icons (support page) */
.inline-icon {
  font-size: 1rem;
  vertical-align: middle;
  color: var(--primary);
}

/* Mini chat calendar button icon */
.mini-calendar-btn .material-icons-round { font-size: 0.85rem; margin-right: 0.2rem; }

/* How-it-works mockup avatar icon */
.mockup-avatar .material-icons-round { font-size: 1.2rem; color: rgba(255,255,255,0.9); }

/* Hero badge icon */
.hero-badge .material-icons-round { font-size: 0.8rem; margin-right: 0.15rem; color: var(--primary); }

/* CTA chip icon */
.cta-chip .material-icons-round { font-size: 0.85rem; margin-right: 0.2rem; vertical-align: middle; }

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--grad);
  font-size: 1.1rem;
  -webkit-text-fill-color: initial;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: background 0.25s, color 0.25s;
}
.nav-links a:hover {
  background: var(--surface-low);
  color: var(--primary);
}

/* index.html: ダークヒーロー上ではリンクを白に */
#nav:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.82);
}
#nav:not(.scrolled) .nav-links a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* index.html: ダークヒーロー上ではロゴも白系に */
#nav:not(.scrolled) .nav-logo {
  background: linear-gradient(135deg, #fff 0%, #C8F5E7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ══════════════════════════════
   Hero
   ══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  overflow: hidden;
  background: var(--text);
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a1628 0%, #0d2035 40%, #00677D22 100%);
  z-index: 0;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #00B4D8, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #00677D, transparent 70%);
  bottom: -50px; right: -50px;
  animation-delay: -3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #FE6A34, transparent 70%);
  top: 40%; left: 60%;
  opacity: 0.18;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 20px) scale(0.97); }
}

/* Grid mesh overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.3);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00B4D8;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  font-size: 1rem !important;
  color: #00B4D8;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero h1 .grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.btn-group { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(0,103,125,0.4); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); box-shadow: none; }

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(21,26,49,0.12);
}
.btn-white:hover { box-shadow: 0 8px 24px rgba(21,26,49,0.2); }

/* Store Badges */
.store-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.store-badge-link {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
  border-radius: 10px;
  overflow: hidden;
}
.store-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}
.store-badge-link img {
  display: block;
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
}
.hero-stats-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-down 2s ease infinite;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.25);
  border-bottom: 2px solid rgba(255,255,255,0.25);
  transform: rotate(45deg);
}
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════
   Sections
   ══════════════════════════════ */
.section {
  padding: 6rem 1.5rem;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,103,125,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-title .grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  color: var(--text-body);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.8;
}
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ══════════════════════════════
   Features Section
   ══════════════════════════════ */
.features-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,103,125,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,103,125,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}
.features-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.features-orb-1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(0,180,216,0.07), transparent 70%);
  top: -150px; left: -200px;
}
.features-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(254,106,52,0.06), transparent 70%);
  bottom: -100px; right: -150px;
}

/* ── Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s;
  box-shadow: var(--shadow-card);
  position: relative;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
}

/* Hero cards (span 2 cols) */
.bento-hero {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 240px;
  padding: 0;
}
.bento-teal {
  background: linear-gradient(140deg, #0d2035 0%, #004d5e 100%);
  border-color: rgba(0,180,216,0.2);
}
.bento-warm {
  background: linear-gradient(140deg, #1f0d04 0%, #7a2500 100%);
  border-color: rgba(254,106,52,0.2);
}
.bento-hero-content {
  flex: 0 0 55%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bento-hero-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}
.bento-hero-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.bento-hero-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}
.bento-hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-left: 1px solid rgba(255,255,255,0.07);
}

/* Mini Chat UI */
.mini-chat {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.mini-bubble {
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  font-size: 0.76rem;
  line-height: 1.55;
  max-width: 90%;
}
.mini-bubble-user {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border-radius: 12px 12px 12px 3px;
  align-self: flex-start;
}
.mini-bubble-ai {
  background: rgba(0,180,216,0.22);
  border: 1px solid rgba(0,180,216,0.18);
  color: rgba(255,255,255,0.9);
  border-radius: 12px 12px 3px 12px;
  align-self: flex-end;
}
.mini-typing {
  display: flex;
  gap: 3px;
  padding: 0.45rem 0.7rem;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  width: fit-content;
  align-self: flex-start;
}
.mini-typing span {
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(0,180,216,0.7);
  animation: typing 1.2s ease infinite;
}
.mini-typing span:nth-child(2) { animation-delay: 0.2s; background: rgba(255,255,255,0.5); }
.mini-typing span:nth-child(3) { animation-delay: 0.4s; background: rgba(254,106,52,0.7); }

/* Mini Chart UI */
.mini-chart {
  width: 100%;
}
.mini-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
  margin-bottom: 0.4rem;
}
.mini-bar {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, rgba(254,106,52,0.9), rgba(254,106,52,0.35));
  border: 1px solid rgba(254,106,52,0.3);
}
.mini-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

/* Small bento cards */
.bento-sm {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}
.bento-sm-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.bento-sm-teal   { background: linear-gradient(135deg, rgba(0,103,125,0.12), rgba(0,180,216,0.15)); }
.bento-sm-purple { background: linear-gradient(135deg, rgba(100,80,200,0.1), rgba(140,120,240,0.15)); }
.bento-sm-warm   { background: linear-gradient(135deg, rgba(171,53,0,0.1), rgba(254,106,52,0.15)); }
.bento-sm-green  { background: linear-gradient(135deg, rgba(0,120,80,0.1), rgba(60,220,150,0.15)); }
.bento-sm h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.bento-sm p {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.7;
  flex: 1;
}
.bento-sm-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,103,125,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  width: fit-content;
}

/* Calendar registration button in mini chat */
.mini-calendar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  background: linear-gradient(135deg, rgba(0,103,125,0.75), rgba(0,180,216,0.65));
  border: 1px solid rgba(0,180,216,0.4);
  border-radius: 9px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  align-self: flex-end;
  margin-top: 0.25rem;
  letter-spacing: 0.01em;
}

/* Mini Evaluation UI */
.mini-eval {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mini-eval-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.mini-eval-label {
  font-size: 0.64rem;
  color: rgba(255,255,255,0.4);
  width: 34px;
  flex-shrink: 0;
  font-weight: 600;
}
.mini-eval-val {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  flex: 1;
}
.mini-eval-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.mini-eval-badge.plan {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
}
.mini-eval-badge.good {
  background: rgba(60,220,150,0.25);
  color: rgb(140,255,190);
}
.mini-eval-comment {
  font-size: 0.71rem;
  color: rgba(255,255,255,0.65);
  padding: 0.45rem 0.75rem;
  background: rgba(254,106,52,0.12);
  border: 1px solid rgba(254,106,52,0.18);
  border-radius: 10px;
  line-height: 1.55;
}

/* ── App Screenshots Section ── */
.screenshots-section {
  background: linear-gradient(180deg, var(--surface-low) 0%, var(--bg) 100%);
}
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: end;
  margin-top: 3rem;
}
.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.screenshot-item--center .phone-frame {
  transform: scale(1.07);
  box-shadow:
    0 0 0 1px rgba(0,180,216,0.25),
    0 40px 80px rgba(0,103,125,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.screenshot-caption {
  text-align: center;
  margin-top: 0.5rem;
}
.screenshot-caption p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  margin-top: 0.4rem;
  line-height: 1.4;
}
.screenshot-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(0,103,125,0.09);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .screenshot-item--center .phone-frame {
    transform: none;
  }
}

/* Legacy feature card styles (kept for compatibility) */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-card);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); border-color: rgba(0,103,125,0.15); }
.feature-card:hover::before { opacity: 1; }
.feature-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-body); line-height: 1.75; }

/* ══════════════════════════════
   How It Works – Steps
   ══════════════════════════════ */
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.steps-visual {
  position: relative;
  height: 500px;
  background: var(--text);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ── Phone Frame (app screenshot) ── */
.phone-frame {
  position: relative;
  z-index: 1;
  width: 195px;
  background: #0e0e0e;
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.13),
    0 32px 72px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.phone-frame-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 15px;
  background: #0e0e0e;
  border-radius: 999px;
  z-index: 3;
}
.phone-frame-inner {
  border-radius: 30px;
  overflow: hidden;
  line-height: 0;
}
.phone-frame img {
  width: 100%;
  display: block;
}

.steps-visual-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1f30, #00677D22);
}
.steps-visual-orb {
  position: absolute;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, #00B4D8 0%, transparent 70%);
  opacity: 0.25;
  animation: float 6s ease-in-out infinite;
}
.steps-mockup {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  width: 240px;
  color: white;
}
.mockup-msg {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.mockup-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.mockup-bubble {
  background: rgba(255,255,255,0.1);
  border-radius: 12px 12px 12px 2px;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  flex: 1;
}
.mockup-bubble.user {
  background: rgba(0,180,216,0.25);
  border-radius: 12px 12px 2px 12px;
}
.mockup-typing {
  display: flex;
  gap: 3px;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  width: fit-content;
  margin-top: 0.5rem;
}
.typing-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #00B4D8;
  animation: typing 1.2s ease infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; background: #FE6A34; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; background: #3DDC97; }
@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(-4px); opacity: 1; }
}

.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-float); }

.step-num {
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: white;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-btn);
}
.step-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.step-body p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ══════════════════════════════
   Download CTA Section
   ══════════════════════════════ */
.cta-section {
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
  background: var(--text);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #00677D33 100%);
}
.cta-orb-1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #00677D 0%, transparent 60%);
  opacity: 0.2;
  top: -200px; left: -100px;
  animation: float 10s ease-in-out infinite;
}
.cta-orb-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #FE6A34 0%, transparent 60%);
  opacity: 0.12;
  bottom: -100px; right: 100px;
  animation: float 8s ease-in-out infinite reverse;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.cta-inner p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(200,245,231,0.15);
  border: 1px solid rgba(200,245,231,0.25);
  color: #C8F5E7;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════
   Page Hero (inner pages)
   ══════════════════════════════ */
.page-hero {
  background: var(--text);
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 3.5rem;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #00677D22 100%);
}
.page-hero-orb {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #00B4D8, transparent 70%);
  opacity: 0.15;
  top: -100px; left: 50%;
  transform: translateX(-50%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

/* ══════════════════════════════
   Content (prose pages)
   ══════════════════════════════ */
.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.prose h3 { font-size: 0.95rem; font-weight: 700; margin: 1.5rem 0 0.4rem; }
.prose p { margin: 0.6rem 0; color: var(--text-body); line-height: 1.85; }
.prose ul, .prose ol { margin: 0.5rem 0 0.5rem 1.5rem; }
.prose li { margin: 0.3rem 0; color: var(--text-body); font-size: 0.95rem; }
.prose .meta { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 2rem; }
.prose a { color: var(--primary); text-decoration: none; font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* ══════════════════════════════
   FAQ
   ══════════════════════════════ */
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
details[open] { box-shadow: var(--shadow-card); }
summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
}
summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
details[open] summary::after { content: "−"; }
details .faq-body {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ══════════════════════════════
   Alert / Notice
   ══════════════════════════════ */
.alert {
  background: var(--mint);
  border: 1px solid rgba(0,81,58,0.15);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--mint-text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* ══════════════════════════════
   Contact Form
   ══════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }
label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
input[type=text], input[type=email], select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; }
.required { color: #e74c3c; }

/* ══════════════════════════════
   Release Notes
   ══════════════════════════════ */
.release {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}
.release:hover { transform: translateY(-2px); }
.release-header { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.release-version { font-size: 1.1rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.release-date { font-size: 0.8rem; color: var(--text-muted); }
.release-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-text);
}
.release-tag.fix { background: #fef9c3; color: #854d0e; }
.release ul { margin: 0 0 0 1.25rem; }
.release li { font-size: 0.9rem; color: var(--text-body); margin: 0.3rem 0; }

/* ══════════════════════════════
   Store Badges
   ══════════════════════════════ */
.badge-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--text);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
  border: 1px solid rgba(255,255,255,0.08);
}
.store-badge:hover { transform: translateY(-2px); opacity: 0.9; }
.store-badge .store-icon { font-size: 1.4rem; }

/* ══════════════════════════════
   Footer
   ══════════════════════════════ */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 3rem 1.5rem;
  font-size: 0.8rem;
}
footer a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
footer a:hover { color: rgba(255,255,255,0.9); }
.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.footer-logo {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════
   Responsive
   ══════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 7rem 1rem 5rem; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .steps-layout { grid-template-columns: 1fr; }
  .steps-visual { display: none; }
  .section { padding: 4rem 1rem; }
  .cta-section { padding: 4rem 1rem; }
  .features { grid-template-columns: 1fr; }

  /* Bento responsive */
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-hero {
    grid-column: span 2;
    flex-direction: column;
    min-height: auto;
  }
  .bento-hero-content { flex: none; padding: 1.5rem 1.5rem 1rem; }
  .bento-hero-visual {
    flex: none;
    padding: 0 1.5rem 1.5rem;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1rem; }
  .btn { padding: 0.7rem 1.25rem; font-size: 0.85rem; }

  /* Bento single column */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-hero { grid-column: span 1; }
}

/* ── Footnote ── */
.fn-mark {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  color: var(--text-muted);
}

.hero-footnote {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  max-width: 440px;
  opacity: 0.85;
}
