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

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

:root {
  --bg: #0a0a1a;
  --bg-dark: #050510;
  --panel: rgba(20, 20, 40, 0.6);
  --panel-border: rgba(255, 255, 255, 0.08);
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent: #ec4899;
  --success: #10b981;
  --text: #e5e7eb;
  --text-dim: #9ca3af;
  --text-muted: #6b7280;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* === Background === */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(236, 72, 153, 0.12) 0%, transparent 60%);
  animation: bgShift 12s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(3deg); }
}
.floating-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  animation: float 20s ease-in-out infinite;
}
.orb:nth-child(1) { width: 300px; height: 300px; background: #6366f1; top: -100px; left: -50px; }
.orb:nth-child(2) { width: 400px; height: 400px; background: #ec4899; top: 50%; right: -100px; animation-delay: -5s; }
.orb:nth-child(3) { width: 250px; height: 250px; background: #0ea5e9; bottom: -50px; left: 50%; animation-delay: -10s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(50px, -30px); }
  66% { transform: translate(-30px, 50px); }
}

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--panel-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
}
.logo-icon { font-size: 1.6rem; }
.logo-text {
  background: linear-gradient(135deg, #818cf8, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: 2rem;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* === Buttons === */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}
.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--panel-border);
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--panel-border);
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  text-align: center;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* === Hero === */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #f9a8d4;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}
.hero-badge strong { color: #fcd34d; font-weight: 800; }

.seats-counter {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(236, 72, 153, 0.08));
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  margin: 1rem auto 2rem;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15);
}
/* カウンター強化版（プログレスバー付き） */
.seats-counter-enhanced {
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  min-width: 320px;
  max-width: 500px;
  padding: 1.5rem 2rem;
  position: relative;
}
.seats-counter-enhanced::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, rgba(245, 158, 11, 0.3), rgba(239, 68, 68, 0.3), rgba(245, 158, 11, 0.3));
  border-radius: 16px;
  z-index: -1;
  animation: pulse-border 3s ease-in-out infinite;
}
@keyframes pulse-border {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.seats-counter-enhanced .seats-left {
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  gap: 0.3rem;
}
.seats-counter-enhanced .seats-label {
  font-size: 0.85rem;
  margin-bottom: 0;
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
}
.seats-progress-wrap {
  width: 100%;
}
.seats-progress-bar-bg {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  position: relative;
}
.seats-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #f59e0b);
  border-radius: 6px;
  transition: width 1s ease-out, background 0.3s;
  position: relative;
  overflow: hidden;
}
.seats-progress-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 2s infinite;
}
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.seats-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.seats-progress-meta strong {
  color: #f97316;
  font-weight: 800;
}
.seats-live {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #10b981;
  font-weight: 700;
  font-size: 0.75rem;
}
.seats-live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { opacity: 0.7; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
.seats-counter-enhanced .seats-price {
  padding-left: 0;
  border-left: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  align-items: center;
}
.seats-left { display: flex; flex-direction: column; align-items: center; }
.seats-label {
  font-size: 0.75rem;
  color: #fcd34d;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.seats-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fcd34d, #f97316, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.seats-total {
  font-size: 1.2rem;
  color: var(--text-dim);
  font-weight: 700;
  margin-left: 0.2rem;
}
.seats-price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.price-strike {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.price-now {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}
.price-now strong {
  color: #fcd34d;
  font-size: 1.6rem;
  font-weight: 900;
  margin-left: 0.3rem;
}
.price-save {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

@media (max-width: 640px) {
  .seats-counter { flex-direction: column; gap: 1rem; padding: 1rem; }
  .seats-price { padding-left: 0; border-left: none; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.2); align-items: center; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(135deg, #818cf8, #ec4899, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-sub strong { color: var(--primary-light); font-weight: 700; }
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--panel-border);
}
.hero-stat { text-align: center; }
.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #818cf8, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-num span { font-size: 1.5rem; opacity: 0.8; }
.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* === Sections === */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem;
}
.section-dark { background: rgba(0, 0, 0, 0.3); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-narrow { max-width: 720px; }
.section-header { text-align: center; margin-bottom: 4rem; }
.eyebrow {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.section-desc {
  color: var(--text-dim);
  font-size: 1.1rem;
}

/* === Problem grid === */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.problem-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}
.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.problem-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === Features grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}
.feature-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature-card > p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.feature-card p strong { color: var(--accent); font-weight: 700; }
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* === Steps === */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.step {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 2rem;
  flex: 1;
  min-width: 240px;
  text-align: center;
}
.step-num {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 1.25rem;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--text-dim);
  font-size: 0.9rem;
}
.step-arrow {
  font-size: 2rem;
  color: var(--text-muted);
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}
.pricing-card.featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.08));
  border: 2px solid rgba(99, 102, 241, 0.4);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.plan-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.plan-price {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--panel-border);
}
.price-num {
  font-size: 2.5rem;
  font-weight: 900;
}
.price-unit {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-left: 0.3rem;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex: 1;
}
.plan-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text);
}
.plan-features li:has(❌), .plan-features li:nth-child(n) {
  color: var(--text);
}
.pricing-note {
  text-align: center;
  padding: 1.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  font-size: 0.95rem;
  color: #fcd34d;
}
.pricing-note strong { color: #fbbf24; font-weight: 800; }

/* === Testimonials === */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 2rem;
}
.t-stars { font-size: 1rem; margin-bottom: 1rem; }
.testimonial p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 44px;
  height: 44px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.t-name { font-weight: 700; font-size: 0.9rem; }
.t-role { color: var(--text-dim); font-size: 0.8rem; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.faq-item:hover { border-color: rgba(99, 102, 241, 0.3); }
.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: "＋"; font-size: 1.3rem; color: var(--text-dim); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* === CTA === */
.section-cta {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.05));
}
.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
}
.cta-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}
.trial-form {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.trial-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.trial-form input, .trial-form select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.trial-form input:focus, .trial-form select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.trial-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--panel);
  border: 1px solid var(--success);
  border-radius: 20px;
}
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.trial-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* === Footer === */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-dark);
  border-top: 1px solid var(--panel-border);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--panel-border);
}
.footer-logo { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.footer-tagline { color: var(--text-dim); font-size: 0.85rem; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-links a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .problem-grid, .features-grid, .pricing-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 4rem 1rem 3rem; }
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .section { padding: 4rem 1rem; }
  .section-header h2 { font-size: 1.8rem; }
  .problem-grid, .features-grid, .pricing-grid, .testimonials { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .trial-form .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}
