/* ===== リセット & ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #ff3b3b;
  --red-dark: #cc0000;
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --text-muted: #888;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-muted); }
.btn-white {
  background: #fff;
  color: #111;
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 10px; }
.btn-full { width: 100%; text-align: center; display: block; }

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
}
.logo-icon { font-size: 22px; }
.logo-accent { color: var(--red); }
.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.header-cta { margin-left: 8px; font-size: 14px; padding: 10px 20px; }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,59,59,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,59,59,0.12);
  color: var(--red);
  border: 1px solid rgba(255,59,59,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, #ff3b3b, #ff7b7b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-browsers {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.browser-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 問題提起 ===== */
.problem { padding: 60px 0; background: var(--bg2); }
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.problem-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.problem-icon { font-size: 32px; margin-bottom: 12px; }
.problem-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.problem-card strong { color: var(--text); }
.problem-solution {
  text-align: center;
  padding: 24px;
  background: rgba(255,59,59,0.05);
  border: 1px solid rgba(255,59,59,0.2);
  border-radius: var(--radius);
}
.solution-text { font-size: 18px; color: var(--text); }
.solution-text strong { color: var(--red); }

/* ===== セクション共通 ===== */
.features, .browsers, .pricing, .install, .faq {
  padding: 100px 0;
}
.features { background: var(--bg); }
.browsers { background: var(--bg2); }
.pricing { background: var(--bg); }
.install { background: var(--bg2); }
.faq { background: var(--bg); }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 60px;
  font-size: 16px;
}

/* ===== 機能グリッド ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(255,59,59,0.4); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== ブラウザグリッド ===== */
.browsers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.browser-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.browser-logo { margin-bottom: 12px; line-height: 1; }
.browser-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.browser-card p { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}
.badge-available { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.badge-coming { background: rgba(251,191,36,0.15); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }

/* ===== 料金 ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 40px;
}
.pricing-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.pricing-card-featured {
  background: var(--red);
  border-color: var(--red);
}
.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
}
.pricing-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.pricing-card:not(.pricing-card-featured) .pricing-label { color: var(--text-muted); }
.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}
.price-amount {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}
.price-period {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.pricing-card:not(.pricing-card-featured) .price-period { color: var(--text-muted); }
.pricing-annual {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.pricing-card:not(.pricing-card-featured) .pricing-annual { color: var(--text-muted); }
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li { font-size: 14px; }
.pricing-note {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.pricing-card:not(.pricing-card-featured) .pricing-note { color: var(--text-muted); }
.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}
.pricing-guarantee span { font-size: 24px; }

/* ===== ステップ ===== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
}
.step-number {
  width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--text-muted); font-size: 14px; }
.step-arrow {
  font-size: 28px;
  color: var(--text-muted);
  padding-top: 14px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%;
  background: var(--bg2);
  color: var(--text);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg3); }
.faq-answer {
  display: none;
  padding: 16px 24px;
  background: var(--bg3);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #1a0000, #0a0a0a);
  border-top: 1px solid rgba(255,59,59,0.2);
  border-bottom: 1px solid rgba(255,59,59,0.2);
  padding: 100px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}
.cta-section p { color: var(--text-muted); margin-bottom: 36px; font-size: 16px; }

/* ===== フッター ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 18px; font-weight: 800; margin-bottom: 24px; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 12px; }

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .nav { display: none; }
  .step-arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .hero { padding: 80px 0 60px; }
  .pricing-grid { grid-template-columns: 1fr; }
}
