/* ============================================
   XiX Landing Page - Pattern 01
   Dark Mode x Data Visualization
   ============================================ */

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

:root {
  --bg: #0a0a0f;
  --bg-card: #111118;
  --bg-card-hover: #16161f;
  --bg-elevated: #1a1a25;
  --border: #1e1e2e;
  --border-light: #2a2a3a;
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --accent-1: #6366f1;
  --accent-2: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.hide-sp { display: inline; }
.hide-pc { display: none; }

@media (max-width: 768px) {
  .hide-sp { display: none; }
  .hide-pc { display: inline; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-jp);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--accent-1);
  background: rgba(99, 102, 241, 0.08);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 12px;
}

/* ---------- Section Common ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-1);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.3s ease;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
}

.nav-logo-text {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--text-primary);
}

.nav-link-cta {
  background: var(--accent-gradient);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.nav-link-cta:hover {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 0 24px;
  gap: 4px;
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile-link {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.nav-mobile-link:last-child {
  border-bottom: none;
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(99, 102, 241, 0.12);
  top: -200px;
  left: -100px;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.08);
  bottom: -100px;
  right: -50px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-1);
  margin-bottom: 28px;
  font-family: var(--font-en);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-1);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(99, 102, 241, 0); }
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title-accent {
  font-family: var(--font-en);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-en);
  color: #fff;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.hero-trust-avatar:first-child { margin-left: 0; }

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

/* Hero Chart */
.hero-chart {
  position: relative;
}

.hero-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.hero-chart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.5;
}

.hero-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hero-chart-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-chart-badge {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-chart-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

.hero-chart-svg {
  width: 100%;
  height: 180px;
  margin-bottom: 16px;
}

.hero-chart-stats {
  display: flex;
  gap: 32px;
}

.hero-chart-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-chart-stat-value {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-chart-stat-up {
  color: var(--success);
}

.hero-chart-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Floating Cards */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  animation: float-card 6s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-float-card-1 {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-card-2 {
  bottom: -10px;
  left: -20px;
  animation-delay: -3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-card-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.float-card-desc {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-chart { max-width: 520px; margin: 0 auto; }
  .hero-float-card-1 { right: 0; top: -20px; }
  .hero-float-card-2 { left: 0; bottom: -20px; }
}

@media (max-width: 480px) {
  .hero-float-card { display: none; }
}

/* ============================================
   TICKER
   ============================================ */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(17, 17, 24, 0.5);
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-1);
  padding: 0 24px;
  white-space: nowrap;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}

.ticker-track {
  overflow: hidden;
  flex: 1;
}

.ticker-content {
  display: flex;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}

.ticker-rank {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-2);
  min-width: 20px;
}

.ticker-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.ticker-count {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 120px 0;
  position: relative;
}

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-card-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover .feature-card-glow {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.feature-stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Feature Visual - Bar Chart */
.feature-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
}

.feature-bar {
  flex: 1;
  height: var(--bar-height);
  background: var(--accent-gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.6;
  position: relative;
  animation: bar-grow 1s var(--ease-out) forwards;
  animation-delay: var(--bar-delay);
  transform-origin: bottom;
  transform: scaleY(0);
}

@keyframes bar-grow {
  to { transform: scaleY(1); }
}

.feature-bar span {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Feature Visual - Rank List */
.feature-rank-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-badge {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  width: 28px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}
.rank-ss { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.rank-s { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.rank-a { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
.rank-b { background: rgba(136, 136, 160, 0.15); color: #8888a0; }

.rank-name {
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 80px;
}

.rank-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  overflow: hidden;
}
.rank-bar span {
  display: block;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: rank-bar-fill 1.2s var(--ease-out) forwards;
}

@keyframes rank-bar-fill {
  to { transform: scaleX(1); }
}

/* Feature Visual - Map Dots */
.feature-map-dots {
  position: relative;
  height: 120px;
  background: rgba(99, 102, 241, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.05);
}

.map-dot {
  position: absolute;
  left: var(--dot-x);
  top: var(--dot-y);
  width: var(--dot-size);
  height: var(--dot-size);
  background: var(--accent-1);
  border-radius: 50%;
  opacity: 0;
  animation: dot-appear 0.5s var(--ease-out) forwards, dot-pulse 3s ease-in-out infinite;
  animation-delay: var(--dot-delay), calc(var(--dot-delay) + 0.5s);
}

@keyframes dot-appear {
  to { opacity: 0.6; }
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 0.3; }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ============================================
   COMPARISON (Before / After)
   ============================================ */
.comparison {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(17, 17, 24, 0.5), transparent);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
}

.comparison-before {
  border-color: rgba(239, 68, 68, 0.15);
}
.comparison-after {
  border-color: rgba(16, 185, 129, 0.15);
}

.comparison-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-list li {
  display: flex;
  gap: 14px;
}

.comparison-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-top: 2px;
}

.comparison-icon-bad {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  font-weight: 700;
}

.comparison-icon-good {
  background: rgba(16, 185, 129, 0.1);
}

.comparison-list strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.comparison-list p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.comparison-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.comparison-divider-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, var(--border-light), transparent);
}

.comparison-divider-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-divider {
    flex-direction: row;
    padding: 8px 0;
  }
  .comparison-divider-line {
    width: auto;
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
  }
}

/* ============================================
   NUMBERS
   ============================================ */
.numbers {
  padding: 120px 0;
}

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

.number-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.number-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}
.number-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
}
.number-card:hover::after {
  opacity: 1;
}

.number-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--accent-1);
  opacity: 0.6;
}
.number-icon svg {
  width: 100%;
  height: 100%;
}

.number-value {
  margin-bottom: 8px;
}

.number-count {
  font-family: var(--font-en);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.number-suffix {
  font-size: 16px;
  color: var(--text-secondary);
  margin-left: 4px;
}

.number-label {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}

.number-bar {
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
}

.number-bar-fill {
  height: 100%;
  width: 0;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 1.5s var(--ease-out);
}

.number-card.counted .number-bar-fill {
  width: var(--bar-width);
}

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

@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 800px;
  height: 400px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1), transparent 60%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  margin-top: 20px;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.8;
}

.cta-countdown {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 48px;
}

.cta-countdown-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.cta-countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
}

.cta-countdown-num {
  font-family: var(--font-en);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.cta-countdown-text {
  font-size: 11px;
  color: var(--text-muted);
}

.cta-countdown-sep {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: -16px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: rgba(10, 10, 15, 0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo span {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-address {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================
   ANIMATIONS & SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Selection styling */
::selection {
  background: rgba(99, 102, 241, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================
   NEW SECTIONS for 2026-04-25 先行受付 edition
   ============================================ */

/* ---------- Problem ---------- */
.problem {
  padding: 100px 0 60px;
}
.problem-list {
  list-style: none;
  max-width: 760px;
  margin: 48px auto 0;
  display: grid;
  gap: 16px;
}
.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-primary);
  transition: all 0.3s var(--ease-out);
}
.problem-list li:hover {
  border-color: var(--accent-1);
  background: var(--bg-card-hover);
}
.problem-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Features 6-grid additions ---------- */
.features-grid-6 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .features-grid-6 {
    grid-template-columns: 1fr;
  }
}
.feature-card {
  position: relative;
}
.feature-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 40px;
  color: var(--border-light);
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
}
.feature-card-featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--accent-gradient) border-box;
}
.feature-badge-hot,
.feature-badge-soon {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 99px;
  letter-spacing: 0.1em;
  z-index: 1;
}
.feature-badge-hot {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
}
.feature-badge-soon {
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.feature-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.feature-roi {
  margin-top: 20px;
  padding: 20px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feature-roi-label {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.feature-roi-value {
  font-size: 22px;
  font-weight: 800;
  color: #6ee7b7;
}
.feature-roi-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ---------- Numbers 2-grid ---------- */
.numbers-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) {
  .numbers-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Trust ---------- */
.trust {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.04), transparent);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 800px) {
  .trust-grid { grid-template-columns: 1fr; }
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.3s var(--ease-out);
}
.trust-card:hover {
  border-color: var(--accent-1);
  transform: translateY(-4px);
}
.trust-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}
.trust-icon svg { width: 100%; height: 100%; }
.trust-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.trust-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- Roadmap ---------- */
.roadmap {
  padding: 80px 0;
}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .roadmap-grid { grid-template-columns: 1fr; }
}
.roadmap-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.roadmap-item-highlight {
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--accent-gradient) border-box;
  border: 1px solid transparent;
}
.roadmap-item:hover { transform: translateY(-4px); }
.roadmap-phase {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-1);
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 99px;
  margin-bottom: 16px;
}
.roadmap-date {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}
.roadmap-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.roadmap-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 80px 0;
}
.faq-list {
  max-width: 820px;
  margin: 48px auto 0;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.faq-item[open] {
  border-color: var(--accent-1);
  background: var(--bg-card-hover);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--accent-1);
  font-weight: 300;
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- CTA note ---------- */
.cta-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Hero trust text (simplified) ---------- */
.hero-trust .hero-trust-text b {
  color: var(--accent-1);
  font-weight: 700;
}

/* ============================================
   SCREENSHOT INTEGRATION (2026-04-25 edition)
   ============================================ */

/* Feature card 実スクショ/モック figure */
.feature-shot {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.feature-shot img {
  width: 100%;
  display: block;
}
.feature-shot figcaption {
  padding: 8px 12px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Trust スライダー（スクショ3〜4枚） */
.trust-slider {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-slider figure {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease-out);
}
.trust-slider figure:hover {
  transform: translateY(-4px);
}
.trust-slider img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}
.trust-slider figcaption {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  text-align: center;
}
@media (max-width: 900px) {
  .trust-slider { grid-template-columns: 1fr; }
}

/* Feature 01 ミニカレンダー（スクショ未到着時のフォールバック） */
.mini-calendar {
  margin-top: 20px;
  padding: 14px;
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.mini-cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 11px;
}
.mini-cal-month {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 12px;
}
.mini-cal-meta {
  color: var(--text-secondary);
}
.mini-cal-meta b {
  color: var(--accent-1);
  font-weight: 700;
}
.mini-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  font-size: 9px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4px;
}
.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.mini-cal-cell {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 4px;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mini-cal-cell.is-today {
  border-color: var(--accent-1);
  background: rgba(99, 102, 241, 0.12);
}
.mini-cal-date {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 700;
}
.mini-cal-ev {
  font-size: 8px;
  padding: 2px 3px;
  border-radius: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.mini-cal-ev.ev-own {
  background: rgba(99, 102, 241, 0.22);
  color: #a5b4fc;
}
.mini-cal-ev.ev-rival {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}
.mini-cal-ev.ev-highlight {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 700;
}

.trust-slider-lead {
  margin-top: 60px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.feature-note {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--warning);
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.feature-note b {
  color: #fcd34d;
  font-weight: 700;
}

/* ============================================
   Feature 02: 時間の再配分（BEFORE/AFTER）
   ============================================ */
.time-shift {
  margin-top: 20px;
  padding: 18px 16px;
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.time-shift-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.time-shift-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  min-width: 56px;
}
.time-shift-row.time-shift-after .time-shift-label {
  color: var(--accent-1);
}
.time-shift-bar {
  flex: 1;
  height: 32px;
  background: var(--bg-elevated);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  gap: 1px;
}
.tsb-seg {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 4px;
}
.tsb-seg-waste {
  background: repeating-linear-gradient(45deg, rgba(239,68,68,0.55), rgba(239,68,68,0.55) 6px, rgba(239,68,68,0.35) 6px, rgba(239,68,68,0.35) 12px);
  color: #fecaca;
}
.tsb-seg-teach { background: linear-gradient(135deg, #10b981, #059669); }
.tsb-seg-serve { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.tsb-seg-plan  { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.time-shift-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 2px 0;
}

/* ============================================
   Feature 06: ベンチマーク可視化
   ============================================ */
.benchmark-viz {
  margin-top: 20px;
  padding: 16px;
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
}
.benchmark-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.benchmark-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
.benchmark-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.benchmark-rows {
  display: grid;
  gap: 8px;
}
.benchmark-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 10px;
  align-items: center;
}
.bm-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}
.bm-bar {
  position: relative;
  height: 20px;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: visible;
}
.bm-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px;
}
.bm-bar-self {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}
.bm-bar-avg {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: #fcd34d;
  box-shadow: 0 0 6px rgba(252, 211, 77, 0.8);
}
.bm-value {
  font-size: 13px;
  font-weight: 800;
  color: #6ee7b7;
  font-family: var(--font-en);
  min-width: 50px;
  text-align: right;
}
.bm-value small { font-size: 10px; font-weight: 600; margin-left: 2px; }
.bm-value.bm-value-low { color: #fca5a5; }
.benchmark-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 10px;
  color: var(--text-muted);
}
.bm-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bm-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.bm-dot-self { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.bm-dot-avg { background: #fcd34d; width: 2px; height: 14px; }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 96vw;
  max-height: 96vh;
  width: 96vw;
  height: 96vh;
}
.lightbox::backdrop {
  background: rgba(5, 5, 15, 0.92);
  backdrop-filter: blur(6px);
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(96vh - 80px);
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}
.lightbox-caption {
  color: #e2e8f0;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
  padding: 0 20px;
  max-width: 860px;
  line-height: 1.6;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgba(226, 232, 240, 0.8);
  font-size: 13px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 2;
}

@media (max-width: 700px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 10px; width: 36px; height: 36px; font-size: 22px; }
  .lightbox-counter { font-size: 11px; top: 14px; left: 10px; }
  .lightbox-img { max-height: calc(96vh - 70px); }
  .lightbox-caption { font-size: 12px; }
}

/* ============================================
   SIGNUP FORM
   ============================================ */
.signup-form {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: left;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.sf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.sf-field { display: flex; flex-direction: column; gap: 6px; }
.sf-field.sf-full { grid-column: 1 / -1; }
.sf-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.sf-required .sf-label::after {
  content: '*';
  margin-left: 4px;
  color: #f87171;
  font-weight: 900;
}
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"],
.signup-form select,
.signup-form textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.signup-form input::placeholder,
.signup-form textarea::placeholder { color: var(--text-muted); }
.signup-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%238888a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.signup-form textarea { resize: vertical; min-height: 90px; }
.sf-privacy {
  margin: 18px 0 8px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
}
.sf-privacy a { color: var(--accent-1); text-decoration: underline; }

.sf-submit-wrap {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.sf-submit {
  min-width: 240px;
}
.sf-submit.is-sending {
  opacity: 0.8;
  cursor: wait;
  pointer-events: none;
}

/* Thanks state */
.signup-thanks {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  padding: 48px 32px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
}
.signup-thanks .thanks-icon { margin-bottom: 20px; }
.signup-thanks h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.signup-thanks p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 8px;
}
.signup-thanks .thanks-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}
.signup-thanks .thanks-note a { color: var(--accent-1); }

@media (max-width: 600px) {
  .signup-form { padding: 22px 16px; }
  .sf-grid { grid-template-columns: 1fr; }
  .sf-submit { width: 100%; }
  .signup-thanks { padding: 36px 20px; }
}

/* ============================================
   CAPACITY / 先行受付 申込状況
   ============================================ */
.capacity {
  max-width: 560px;
  margin: 0 auto 28px;
  padding: 20px 24px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 14px;
  text-align: left;
}
.capacity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}
.capacity-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-family: var(--font-en);
}
.capacity-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
  white-space: nowrap;
}
.capacity-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.capacity-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}
.cap-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.cap-bar {
  height: 10px;
  background: var(--bg-elevated);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.cap-bar-fill {
  display: block;
  height: 100%;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 99px;
  transition: width 1s var(--ease-out);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}
.cap-value {
  font-size: 13px;
  color: var(--text-primary);
  font-family: var(--font-en);
  font-weight: 600;
  white-space: nowrap;
  min-width: 96px;
  text-align: right;
}
.cap-value b {
  font-size: 17px;
  font-weight: 900;
  color: #a5b4fc;
  font-family: var(--font-en);
  margin-right: 2px;
}
.cap-value small {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: 3px;
  font-family: var(--font-jp);
}
.capacity-note {
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}
.capacity-note b {
  color: #fca5a5;
  font-weight: 700;
}
@media (max-width: 600px) {
  .capacity { padding: 16px 16px; }
  .capacity-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .capacity-row { grid-template-columns: 56px 1fr auto; gap: 8px; }
  .cap-value { min-width: 80px; font-size: 12px; }
  .cap-value b { font-size: 15px; }
}

/* ============================================
   LIVE STATE (受付中表示 — カウントダウン切替後)
   ============================================ */
.cta-live {
  max-width: 560px;
  margin: 0 auto 28px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
}
.cta-live-pulse {
  flex-shrink: 0;
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: cta-live-pulse 1.8s ease-out infinite;
}
@keyframes cta-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70%  { box-shadow: 0 0 0 16px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.cta-live-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  flex: 1;
}
.cta-live-title {
  font-size: 20px;
  font-weight: 800;
  color: #6ee7b7;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.cta-live-sub {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Hero badge 受付中 状態（緑に切替） */
.hero-badge.hero-badge-live {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}
.hero-badge.hero-badge-live .hero-badge-dot {
  background: #10b981;
  animation: cta-live-pulse 1.8s ease-out infinite;
}

@media (max-width: 600px) {
  .cta-live { padding: 18px 20px; gap: 14px; }
  .cta-live-title { font-size: 17px; }
  .cta-live-sub { font-size: 11px; }
}

/* ============================================
   増枠中バナー & ウェイティングリスト
   ============================================ */
.capacity-expanded-banner {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 99px;
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(99,102,241,0.18));
  border: 1px solid rgba(245,158,11,0.5);
  font-size: 13px;
  font-weight: 700;
  color: #fcd34d;
  letter-spacing: 0.02em;
}
.ce-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245,158,11,0.6);
  animation: cta-live-pulse 1.6s ease-out infinite;
}

/* Waitlist intro block */
.waitlist-intro {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 36px 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.10), rgba(139,92,246,0.10));
  border: 1px solid rgba(99,102,241,0.4);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(99,102,241,0.18);
}
.waitlist-intro .wl-trophy {
  font-size: 44px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 16px rgba(245,158,11,0.5));
}
.waitlist-intro h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.waitlist-intro p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
}
.waitlist-intro p b { color: #a5b4fc; }
.waitlist-intro .btn {
  min-width: 280px;
}

@media (max-width: 600px) {
  .waitlist-intro { padding: 28px 18px; }
  .waitlist-intro h3 { font-size: 18px; }
  .waitlist-intro p { font-size: 13px; }
  .waitlist-intro .btn { width: 100%; min-width: 0; }
}

/* ============================================
   P-Brain Intro Block
   ============================================ */
.pbrain-intro {
  padding: 60px 0 40px;
}
.pbrain-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.05));
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.pbrain-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 70%);
  pointer-events: none;
}
.pbrain-tag {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent-1);
  margin-bottom: 12px;
}
.pbrain-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.3;
}
.pbrain-title b {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}
.pbrain-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.7;
}
.pbrain-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.pbrain-features li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.7;
}
.pbrain-features li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gradient);
}
.pbrain-features b {
  color: #a5b4fc;
  font-weight: 700;
}
.pbrain-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.pbrain-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pbrain-provider {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.pbrain-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pbrain-visual svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

@media (max-width: 800px) {
  .pbrain-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .pbrain-visual { display: none; }
  .pbrain-title { font-size: 22px; }
  .pbrain-cta { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Honeypot — 人間には完全に見えない */
.sf-honeypot {
  position: absolute;
  left: -99999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
