/* Exness 履歴分析 — landing page styles */

:root {
  --ex-primary: #1f6feb;
  --ex-primary-dark: #1a5fcc;
  --ex-text: #1f2937;
  --ex-muted: #6b7280;
  --ex-bg: #f8fafc;
  --ex-card: #ffffff;
  --ex-border: #e5e7eb;
  --ex-hero-from: #0b1220;
  --ex-hero-to: #1f3a8a;
  --ex-band-bg: #0b1220;
}

.landing-body {
  margin: 0;
  background: var(--ex-bg);
  color: var(--ex-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

.landing-body a { color: inherit; text-decoration: none; }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- header ---- */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--ex-border);
}
.landing-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.landing-header .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
}
.landing-header .logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--ex-primary); color: #fff;
  border-radius: 8px; font-size: 13px;
}
.landing-nav {
  display: flex; align-items: center; gap: 18px;
  font-size: 14px;
}
.landing-nav a { color: var(--ex-muted); }
.landing-nav a:hover { color: var(--ex-text); }
.landing-nav .btn { font-size: 14px; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ex-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--ex-primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ex-text);
  border-color: var(--ex-border);
}
.btn-ghost:hover { background: #f1f5f9; }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); }
.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

/* ---- hero ---- */
.hero {
  background: linear-gradient(135deg, var(--ex-hero-from), var(--ex-hero-to));
  color: #fff;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px 88px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 44px;
  line-height: 1.3;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-lead {
  margin: 0 auto 32px;
  max-width: 720px;
  font-size: 17px;
  color: rgba(255,255,255,0.86);
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-cta .btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,0.14); }
.hero-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ---- sections shared ---- */
.features, .how, .faq {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  font-size: 30px;
  margin: 0 0 48px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---- features grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--ex-card);
  border: 1px solid var(--ex-border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.feature-card h3 {
  margin: 12px 0 8px;
  font-size: 17px;
  font-weight: 700;
}
.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ex-muted);
}
.feature-icon { font-size: 28px; }

/* ---- how-to steps ---- */
.how { background: #fff; border-top: 1px solid var(--ex-border); border-bottom: 1px solid var(--ex-border); }
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.how-steps li {
  background: var(--ex-bg);
  border: 1px solid var(--ex-border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--ex-primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 12px;
}
.how-steps h3 {
  margin: 6px 0 6px;
  font-size: 17px;
  font-weight: 700;
}
.how-steps p {
  margin: 0;
  font-size: 14px;
  color: var(--ex-muted);
}
.how-cta {
  margin-top: 40px;
  text-align: center;
}

/* ---- faq ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-list dt {
  font-weight: 700;
  margin-top: 20px;
}
.faq-list dt:first-child { margin-top: 0; }
.faq-list dd {
  margin: 6px 0 0;
  color: var(--ex-muted);
}

/* ---- bottom CTA band ---- */
.cta-band {
  background: var(--ex-band-bg);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 24px;
  font-size: 26px;
  font-weight: 800;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- footer ---- */
.landing-footer {
  padding: 28px 0;
  border-top: 1px solid var(--ex-border);
  background: #fff;
  font-size: 13px;
  color: var(--ex-muted);
}
.landing-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.muted { color: var(--ex-muted); }

/* ---- responsive ---- */
@media (max-width: 640px) {
  .hero-inner { padding: 64px 20px 56px; }
  .hero-title { font-size: 30px; }
  .hero-lead { font-size: 15px; }
  .features, .how, .faq { padding: 56px 0; }
  .section-title { font-size: 24px; margin-bottom: 32px; }
  .landing-nav { gap: 10px; }
  .landing-nav a:not(.btn) { display: none; }
}
