/* ImportRadar - Human Design */
:root {
  --bg-primary: #faf9f7;
  --bg-secondary: #f0eeeb;
  --bg-card: #ffffff;
  --bg-card-hover: #f7f6f3;
  --accent: #e07035;
  --accent-hover: #c85e28;
  --accent-dim: #e0703510;
  --green: #2e8b57;
  --green-bg: #2e8b5712;
  --yellow: #d4880f;
  --yellow-bg: #d4880f12;
  --red: #c0392b;
  --red-bg: #c0392b10;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-dim: #999;
  --border: #e0ddd8;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', -apple-system, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
}
.nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-size: 20px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.3px; }
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.15s; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-green { background: var(--green); color: #fff; }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card:hover { box-shadow: var(--shadow-md); }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 30px; }
.stat-card { text-align: center; padding: 24px 16px; }
.stat-number { font-size: 32px; font-weight: 700; color: var(--text-primary); }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* Tables */
.table-wrap { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--bg-secondary); color: var(--text-secondary); padding: 10px; text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
td { padding: 10px; border-bottom: 1px solid var(--border); font-size: 13px; }
tr:hover td { background: var(--bg-card-hover); }
.text-right { text-align: right; }
.text-center { text-align: center; }

/* Tags */
.tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.tag-green { background: var(--green-bg); color: var(--green); }
.tag-yellow { background: var(--yellow-bg); color: var(--yellow); }
.tag-red { background: var(--red-bg); color: var(--red); }

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 36px; font-weight: 700; line-height: 1.35; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero h1 .highlight { color: var(--accent); }
.hero-badge {
  display: inline-block; background: var(--green-bg); color: var(--green);
  padding: 5px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-sub { font-size: 16px; color: var(--text-secondary); max-width: 520px; margin: 0 auto 32px; line-height: 1.9; }
.hero-sub strong { color: var(--text-primary); }
.hero-cta { display: flex; gap: 12px; justify-content: center; }
.hero-note { margin-top: 14px; font-size: 12px; color: var(--text-dim); }

/* Pain Section */
.pain-section { padding: 64px 0; background: var(--bg-secondary); }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }
.pain-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; text-align: center; font-size: 14px; line-height: 1.8;
  box-shadow: var(--shadow);
}
.pain-emoji { font-size: 32px; margin-bottom: 10px; }
.pain-card strong { color: var(--accent); }
.pain-answer { text-align: center; font-size: 18px; font-weight: 700; color: var(--accent); }

/* Steps */
.how-section { padding: 64px 0; }
.steps-grid { display: flex; align-items: flex-start; justify-content: center; gap: 12px; flex-wrap: wrap; }
.step-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; flex: 1; min-width: 200px; max-width: 280px;
  position: relative; box-shadow: var(--shadow);
}
.step-number {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; width: 28px; height: 28px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.step-icon { font-size: 36px; margin: 12px 0; }
.step-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.step-arrow { font-size: 24px; color: var(--text-dim); align-self: center; padding-top: 20px; }

/* Features */
.features { padding: 64px 0; background: var(--bg-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card-new { padding: 24px; background: #fff; }
.feature-icon-large { font-size: 32px; margin-bottom: 12px; }
.feature-card-new h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card-new p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.feature-card-new strong { color: var(--text-primary); }

/* Social Proof */
.social-proof { padding: 64px 0; }

/* FAQ */
.faq-section { padding: 64px 0; background: var(--bg-secondary); }
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; box-shadow: var(--shadow);
}
.faq-item summary {
  padding: 16px 20px; cursor: pointer; font-size: 14px; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 18px; color: var(--accent); }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { padding: 0 20px 16px; font-size: 13px; color: var(--text-secondary); line-height: 1.8; }

/* Pricing */
.pricing { padding: 64px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 700px; margin: 0 auto; }
.pricing-card { text-align: center; padding: 36px 28px; }
.pricing-card.featured { border-color: var(--accent); border-width: 2px; position: relative; }
.pricing-card.featured::before {
  content: "おすすめ"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 3px 16px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
}
.price { font-size: 40px; font-weight: 700; color: var(--text-primary); margin: 12px 0; }
.price span { font-size: 14px; color: var(--text-secondary); font-weight: 400; }
.pricing-features { list-style: none; margin: 20px 0; text-align: left; }
.pricing-features li { padding: 6px 0; font-size: 13px; color: var(--text-secondary); }
.pricing-features li::before { content: "✓ "; color: var(--green); font-weight: bold; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.section-header p { color: var(--text-secondary); font-size: 14px; }

/* Final CTA */
.final-cta {
  padding: 80px 0; text-align: center;
  background: #fff; border-top: 1px solid var(--border);
}
.final-cta h2 { font-size: 26px; margin-bottom: 12px; line-height: 1.5; }
.final-cta p { color: var(--text-secondary); margin-bottom: 28px; font-size: 15px; }

/* Dashboard */
.dashboard { padding: 30px 0; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.dashboard-header h1 { font-size: 24px; }
.section { margin-bottom: 28px; }
.section-title { font-size: 18px; font-weight: 600; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 5px; font-weight: 500; }
.form-group input, .form-group select {
  width: 100%; padding: 10px 12px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 14px;
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-dim); }
.calc-result { padding: 20px; text-align: center; }
.calc-result .big-number { font-size: 40px; font-weight: 700; }
.calc-result .label { font-size: 13px; color: var(--text-secondary); }

/* Auth */
.auth-page { display: flex; justify-content: center; align-items: center; min-height: 80vh; }
.auth-card { width: 100%; max-width: 400px; padding: 36px; }
.auth-card h2 { text-align: center; margin-bottom: 24px; font-size: 22px; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.error-msg { background: var(--red-bg); color: var(--red); padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 13px; }

/* Trial Banner */
.trial-banner {
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; font-size: 14px;
}

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-dim); font-size: 12px; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .hero-sub { font-size: 14px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .calc-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .final-cta h2 { font-size: 20px; }
  .section-header h2 { font-size: 22px; }
}
