:root {
  --primary: #DC2626;
  --primary-dark: #B91C1C;
  --primary-light: #FEE2E2;
  --accent: #2563EB;
  --accent-light: #DBEAFE;
  --text: #1E293B;
  --muted: #64748B;
  --light: #94A3B8;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); font-size: 16px; color: var(--text); background: var(--bg); line-height: 1.6; }

/* Language toggle */
.lang-jp .en { display: none !important; }
.lang-en .jp { display: none !important; }
body { --active-lang: jp; }

/* Nav */
nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 5%; max-width: 1200px; margin: 0 auto; }
.nav-logo { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: white !important; padding: 8px 18px; border-radius: 8px; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); }
.lang-switch { display: flex; gap: 4px; margin-left: 8px; }
.lang-btn { padding: 4px 10px; font-size: 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--card); cursor: pointer; color: var(--muted); }
.lang-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* Hero */
.hero { text-align: center; padding: 80px 5% 60px; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 42px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px; }
.hero .accent { color: var(--primary); }
.hero p { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto 28px; }
.hero-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 24px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); }

/* Stats */
.stats { display: flex; justify-content: center; gap: 48px; padding: 40px 5%; max-width: 800px; margin: 0 auto; }
.stat { text-align: center; }
.stat-value { font-size: 36px; font-weight: 700; color: var(--primary); letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Sections */
.section { padding: 60px 5%; max-width: 1000px; margin: 0 auto; }
.section h2 { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 40px; letter-spacing: -0.01em; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; box-shadow: var(--shadow); }
.step-num { width: 36px; height: 36px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Comparison */
.compare { max-width: 700px; margin: 0 auto; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.compare-header { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 14px 20px; background: var(--text); color: white; font-size: 13px; font-weight: 600; }
.compare-row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare-row:last-child { border-bottom: none; }
.compare-row span:nth-child(2) { color: var(--muted); }
.compare-row span:nth-child(3) { color: var(--primary); font-weight: 600; }

/* Download */
.download { text-align: center; padding: 60px 5%; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.download h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.download p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.download-badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.store-badge { height: 48px; border-radius: 8px; }
.download-sub { font-size: 13px; color: var(--light); margin-top: 16px; }

/* CTA */
.cta { text-align: center; padding: 80px 5%; background: linear-gradient(135deg, #DC2626 0%, #2563EB 100%); color: white; }
.cta h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btn { display: inline-block; background: white; color: var(--primary); padding: 14px 32px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 16px; transition: transform 0.2s; }
.cta-btn:hover { transform: translateY(-2px); }

/* Footer */
footer { padding: 32px 5%; text-align: center; font-size: 13px; color: var(--muted); }
footer a { color: var(--primary); text-decoration: none; margin: 0 12px; }
footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .stats { gap: 24px; }
  .stat-value { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .compare-header, .compare-row { grid-template-columns: 1.5fr 1fr 1fr; font-size: 12px; padding: 10px 12px; }
  .nav-links { display: none; }
}
