:root {
  --bg: #1E1B4B;
  --bg-soft: #252262;
  --surface: #2d2970;
  --ink: #f0eeff;
  --muted: #b8b0e8;
  --line: #3d3892;
  --accent: #6366F1;
  --accent-2: #06B6D4;
  --primary: #4338CA;
  --primary-light: #6366F1;
  --violet: #7C3AED;
  --line-green: #06C755;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 10% -5%, rgba(99, 102, 241, 0.2), transparent 55%),
    radial-gradient(800px 500px at 90% 0%, rgba(6, 182, 212, 0.15), transparent 58%),
    var(--bg);
  line-height: 1.7;
}

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

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

.section { padding: 92px 0; }

.dark {
  background: linear-gradient(180deg, #151240, #120f38);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(30, 27, 75, 0.85);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(16px, 2.2vw, 20px);
  white-space: nowrap;
}

.logo-sub {
  font-weight: 500;
  font-size: 0.65em;
  color: var(--muted);
  margin-left: 4px;
}

.nav { display: flex; gap: 18px; }

.nav a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.15s;
}

.nav a:hover { color: #fff; }

/* Typography */
.kicker, .eyebrow {
  margin: 0 0 8px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.25; }

h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 36px;
}

/* Hero */
.hero { padding-top: 120px; }
.hero-content { max-width: 800px; }

.hero-copy {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  margin: 0 0 10px;
}

.hero-sub {
  color: var(--muted);
  margin: 0 0 28px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-2);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-size: 15px;
}

.btn:hover { transform: translateY(-2px); }

.btn-mini {
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
}

.btn-primary {
  padding: 14px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  box-shadow: 0 4px 20px rgba(67, 56, 202, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(67, 56, 202, 0.5);
}

.btn-outline {
  padding: 14px 28px;
  color: var(--ink);
  border-color: var(--line);
  background: rgba(45, 41, 112, 0.5);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.15);
}

.btn-line {
  padding: 14px 28px;
  color: #fff;
  background: var(--line-green);
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.3);
}

.btn-line:hover {
  box-shadow: 0 6px 24px rgba(6, 199, 85, 0.45);
}

/* Cards */
.cards-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.issue-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.issue-card h3 { font-size: 16px; margin-bottom: 8px; }
.issue-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.feature-grid h3 { font-size: 18px; margin-bottom: 8px; }
.feature-grid p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* Flow */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.flow-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.flow-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* Pricing */
.pricing-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
}

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), var(--surface));
}

.card-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card h3 { font-size: 18px; margin-bottom: 12px; }

.price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-2);
  margin: 0 0 4px;
}

.price-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
}

.price-card li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(61, 56, 146, 0.4);
}

.price-card li:last-child { border-bottom: none; }

.card-btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
}

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 800px; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Contact */
.contact {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.9), rgba(21, 18, 64, 0.95));
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
}

.contact-box h2 { margin-bottom: 12px; }
.contact-box p { color: var(--muted); margin: 0 0 24px; }

/* Footer */
.footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
  background: #120f30;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.foot-logo {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}

.foot-org { margin-top: 8px; font-size: 13px; }
.foot-title { color: #fff; font-weight: 700; margin-bottom: 8px; }

.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 6px; }

.footer a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.15s;
}

.footer a:hover { color: #fff; }
.footer p { color: var(--muted); font-size: 14px; margin-top: 0; }

.copy {
  text-align: center;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .header { position: static; }
  .nav { display: none; }

  .cards-5,
  .feature-grid,
  .flow-grid,
  .pricing-grid.three,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-stats {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
  }

  h1 { font-size: clamp(30px, 10vw, 44px); }
  h2 { font-size: clamp(24px, 8vw, 36px); }

  .contact-box { padding: 32px 20px; }
}