:root {
  --bg: #ffffff;
  --bg2: #f7f8fb;
  --bg3: #f0f2f7;
  --surface: #ffffff;
  --surface2: #f5f6fa;
  --border: #e2e5ef;
  --border2: #cdd2e0;
  --text: #1a1d2e;
  --text-dim: #5c6178;
  --text-muted: #8e93a8;
  --accent: #2563eb;
  --accent-l: #3b7aff;
  --accent-ll: #93b4ff;
  --accent-bg: rgba(37,99,235,.06);
  --accent-bg2: rgba(37,99,235,.1);
  --green: #059669;
  --green-bg: rgba(5,150,105,.08);
  --amber: #d97706;
  --amber-bg: rgba(217,119,6,.08);
  --red: #dc2626;
  --cyan: #0891b2;
  --pink: #db2777;
  --grad1: linear-gradient(135deg, #2563eb, #0891b2);
  --grad2: linear-gradient(135deg, #2563eb, #db2777);
  --r: 16px;
  --r-sm: 10px;
  --sh: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
  overflow-x: hidden;
}

/* ─── Utilities ─── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 100px 0; }
.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent-l); background: var(--accent-bg);
  border: 1px solid rgba(37,99,235,.2); border-radius: 24px;
  padding: 6px 16px; margin-bottom: 20px;
}
.sec-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.3;
  color: var(--text); margin-bottom: 14px;
}
.sec-desc { font-size: 15px; color: var(--text-dim); max-width: 640px; line-height: 1.8; }

/* ─── Nav ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-in {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--text);
  text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.nav-logo .logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad1); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 500;
  letter-spacing: .03em; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: var(--accent); color: #fff; text-decoration: none;
  transition: all .2s; border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--accent-l); transform: translateY(-1px); }

/* ─── Hero ─── */
.hero {
  padding: 160px 0 120px;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,.06), transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 20%, rgba(8,145,178,.04), transparent),
              var(--bg);
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .5;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-bg); border: 1px solid rgba(5,150,105,.2);
  border-radius: 24px; padding: 5px 14px; font-size: 12px; font-weight: 600;
  color: var(--green); margin-bottom: 24px;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 {
  font-family: 'Space Grotesk', 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.2;
  color: var(--text); margin-bottom: 20px;
}
.hero h1 .gradient {
  background: var(--grad1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 16px; color: var(--text-dim); line-height: 1.85;
  margin-bottom: 36px; max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 12px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: all .25s; border: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(37,99,235,.25);
}
.btn-primary:hover { background: var(--accent-l); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235,.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 12px;
  background: transparent; color: var(--text);
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border2); transition: all .25s; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--accent); color: #fff; background: var(--accent-bg); }
.hero-meta {
  display: flex; gap: 32px; margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: left; }
.hero-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px; font-weight: 700; color: var(--text);
}
.hero-stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-app-frame {
  width: 100%; max-width: 480px; aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 0 0 1px var(--border);
  overflow: hidden; position: relative;
}
.hero-app-titlebar {
  height: 36px; background: var(--bg3);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 14px; gap: 8px;
}
.hero-app-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-app-dot:nth-child(1) { background: #ff5f57; }
.hero-app-dot:nth-child(2) { background: #ffbd2e; }
.hero-app-dot:nth-child(3) { background: #28ca41; }
.hero-app-titlebar span {
  margin-left: auto; font-size: 11px; color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.hero-app-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.hero-app-waveform {
  height: 60px; display: flex; align-items: center; justify-content: center; gap: 3px;
}
.hero-app-waveform span {
  width: 4px; border-radius: 4px; background: var(--accent);
  animation: wave 1.2s ease-in-out infinite;
}
.hero-app-waveform span:nth-child(1) { height: 20px; animation-delay: 0s; }
.hero-app-waveform span:nth-child(2) { height: 35px; animation-delay: .1s; }
.hero-app-waveform span:nth-child(3) { height: 50px; animation-delay: .2s; }
.hero-app-waveform span:nth-child(4) { height: 30px; animation-delay: .3s; }
.hero-app-waveform span:nth-child(5) { height: 45px; animation-delay: .15s; }
.hero-app-waveform span:nth-child(6) { height: 55px; animation-delay: .25s; }
.hero-app-waveform span:nth-child(7) { height: 38px; animation-delay: .35s; }
.hero-app-waveform span:nth-child(8) { height: 22px; animation-delay: .05s; }
.hero-app-waveform span:nth-child(9) { height: 48px; animation-delay: .2s; }
.hero-app-waveform span:nth-child(10) { height: 32px; animation-delay: .3s; }
.hero-app-waveform span:nth-child(11) { height: 42px; animation-delay: .1s; }
.hero-app-waveform span:nth-child(12) { height: 28px; animation-delay: .25s; }
@keyframes wave {
  0%, 100% { transform: scaleY(.6); opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}
.hero-app-model-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
}
.hero-app-model-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--grad2); display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.hero-app-model-name { font-size: 13px; font-weight: 600; color: var(--text); }
.hero-app-model-src { font-size: 11px; color: var(--text-muted); }
.hero-app-model-status {
  margin-left: auto; font-size: 11px; font-weight: 600;
  color: var(--green); display: flex; align-items: center; gap: 4px;
}
.hero-app-model-status::before { content: '●'; font-size: 8px; }
.hero-app-latency {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 16px;
}
.hero-app-latency-label { font-size: 11px; color: var(--text-muted); }
.hero-app-latency-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; font-weight: 600; color: var(--green);
}
.hero-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.08), transparent 70%);
  top: -50px; right: -50px; pointer-events: none;
}

/* ─── Trust bar ─── */
.trust {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 32px 0; background: var(--bg2);
}
.trust-inner {
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-dim); font-weight: 500;
}
.trust-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.trust-icon.win { background: rgba(0,120,215,.15); }
.trust-icon.gpu { background: rgba(118,185,0,.15); }
.trust-icon.booth { background: rgba(252,101,101,.15); }

/* ─── Problems ─── */
.problems { background: var(--bg); }
.problems-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px;
  position: relative; overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.problem-card.bad::before { background: var(--red); }
.problem-card.good::before { background: var(--green); }
.problem-icon { font-size: 28px; margin-bottom: 14px; }
.problem-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.problem-desc { font-size: 13px; color: var(--text-dim); line-height: 1.75; }

/* ─── Features ─── */
.features { background: var(--bg2); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 30px;
  transition: all .3s;
}
.feat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(37,99,235,.08);
  transform: translateY(-4px);
}
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.feat-icon.i1 { background: rgba(37,99,235,.08); }
.feat-icon.i2 { background: rgba(5,150,105,.08); }
.feat-icon.i3 { background: rgba(219,39,119,.08); }
.feat-icon.i4 { background: rgba(8,145,178,.08); }
.feat-icon.i5 { background: rgba(217,119,6,.08); }
.feat-icon.i6 { background: rgba(37,99,235,.08); }
.feat-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feat-desc { font-size: 13px; color: var(--text-dim); line-height: 1.75; }

/* ─── Steps ─── */
.steps { background: var(--bg); }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px;
}
.step { text-align: center; position: relative; }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px; font-weight: 700;
  background: var(--grad1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; margin-bottom: 18px;
  opacity: .3;
}
.step-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px 24px;
}
.step-icon { font-size: 32px; margin-bottom: 14px; }
.step-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-dim); line-height: 1.75; }

/* ─── Pricing ─── */
.pricing {
  background: var(--bg2);
  position: relative;
}
.pricing::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(37,99,235,.04), transparent);
  pointer-events: none;
}
.pricing .wrap { position: relative; z-index: 1; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 24px;
  position: relative;
  display: flex; flex-direction: column;
  transition: all .3s;
}
.plan-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
}
.plan-card.recommended {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(37,99,235,.1), 0 0 0 1px var(--accent);
  transform: scale(1.03);
}
.plan-card.recommended:hover { transform: scale(1.03) translateY(-4px); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}
.plan-name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.plan-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.plan-price-row { margin-bottom: 6px; }
.plan-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 700; color: var(--text);
  line-height: 1;
}
.plan-price .yen { font-size: 18px; vertical-align: top; }
.plan-price .per { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.plan-note {
  font-size: 12px; font-weight: 600; line-height: 1.6; margin-bottom: 20px; min-height: 20px;
}
.plan-note.free { color: var(--green); }
.plan-note.monthly { color: var(--text-muted); }
.plan-note.annual { color: var(--cyan); }
.plan-note.lifetime { color: var(--pink); }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 18px; }
.plan-features { list-style: none; flex: 1; margin-bottom: 24px; }
.plan-features li {
  font-size: 13px; color: var(--text-dim);
  padding: 5px 0; display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.6;
}
.plan-features li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.plan-features li.warn::before { content: '⚠'; color: var(--amber); }
.plan-features li.no::before { content: '✗'; color: var(--red); }
.plan-btn {
  display: block; text-align: center; padding: 12px;
  border-radius: 10px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all .25s; cursor: pointer;
  border: none; width: 100%;
}
.plan-btn.outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
}
.plan-btn.outline:hover { border-color: var(--accent); color: #fff; }
.plan-btn.fill {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,.25);
}
.plan-btn.fill:hover { background: var(--accent-l); }
.plan-btn.grad {
  background: var(--grad1); color: #fff;
}
.plan-btn.grad:hover { opacity: .9; }

.pricing-note {
  margin-top: 32px; text-align: center;
  font-size: 13px; color: var(--text-muted); line-height: 1.8;
  background: var(--accent-bg); border: 1px solid rgba(91,91,255,.15);
  border-radius: var(--r-sm); padding: 18px 24px;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.pricing-note strong { color: var(--accent); }

/* ─── FAQ ─── */
.faq { background: var(--bg); }
.faq-list { max-width: 740px; margin: 40px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  font-size: 15px; font-weight: 600; text-align: left;
  padding: 20px 40px 20px 0; cursor: pointer;
  position: relative; font-family: inherit; line-height: 1.6;
}
.faq-q::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--accent-l); font-weight: 300;
  transition: transform .3s;
}
.faq-q.open::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s;
  font-size: 14px; color: var(--text-dim); line-height: 1.8;
}
.faq-a.open { max-height: 500px; padding-bottom: 20px; }

/* ─── CTA ─── */
.cta-final {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(37,99,235,.05), transparent 70%),
              var(--bg2);
}
.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  color: var(--text); margin-bottom: 16px;
}
.cta-desc { font-size: 15px; color: var(--text-dim); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ─── Footer ─── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .plan-card.recommended { transform: none; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: 16px; }
  .nav-links { display: none; }
}
