/* ===================================================
   SHOT EYE LP — 共通スタイル
   ダーク + 芝グリーンアクセント + 計測機器的タイポグラフィ
   =================================================== */

/* ---- CSS Variables ---- */
:root {
  --bg: #0a0d10;
  --bg-2: #0e1116;
  --surface: #161b22;
  --surface-2: #1f242c;
  --surface-3: #252d37;
  --border: #2d333b;
  --border-faint: #1e2530;

  --green: #4caf6e;
  --green-dim: #3a8a56;
  --green-glow: rgba(76, 175, 110, 0.18);
  --green-faint: rgba(76, 175, 110, 0.06);

  --text-1: #e6edf3;
  --text-2: #9ea7b3;
  --text-3: #636e7b;
  --text-green: #6ecf8a;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(76, 175, 110, 0.12);

  --font-sans: "SF Pro Display", "Avenir Next", "Hiragino Sans",
    "Yu Gothic UI", "Noto Sans JP", sans-serif;
  --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  /* 芝グリッド背景 */
  background-image:
    linear-gradient(rgba(76, 175, 110, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 175, 110, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; }

/* ---- Layout Utilities ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(10, 13, 16, 0.82);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--border-faint);
}

.nav__inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.nav__logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.15s;
}

.nav__link:hover { color: var(--text-1); }

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* 地平線的なグロー */
.hero__bg::before {
  content: "";
  position: absolute;
  bottom: 25%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
  opacity: 0.6;
}

.hero__bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at 50% 100%, rgba(76, 175, 110, 0.08) 0%, transparent 70%);
}

.hero__trajectory {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-green);
  margin-bottom: 28px;
  padding: 6px 12px;
  border: 1px solid rgba(76, 175, 110, 0.3);
  border-radius: 999px;
  background: rgba(76, 175, 110, 0.06);
}

.hero__eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero__title {
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-1);
  margin-bottom: 24px;
}

.hero__title span {
  color: var(--text-green);
}

.hero__sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 44px;
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 32px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border-faint);
}

.hero__stat-val {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--text-green);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: filter 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  font-family: var(--font-sans);
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(1.12);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
}

.btn--ghost:hover {
  background: var(--surface-2);
  color: var(--text-1);
  border-color: var(--border);
}

.btn--lg {
  height: 52px;
  padding: 0 32px;
  font-size: 15px;
}

/* ---- SECTION HEADER ---- */
.section-header {
  margin-bottom: 60px;
}

.section-header--center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-green);
  margin-bottom: 16px;
}

.section-tag::before {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: var(--green);
}

.section-header--center .section-tag::before { display: none; }
.section-header--center .section-tag::after {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: var(--green);
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-1);
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 12px;
  line-height: 1.65;
}

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--border);
}

.feature-card {
  background: var(--surface);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--surface-2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

/* ---- STEPS ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(33.333% - 0px);
  right: calc(33.333% - 0px);
  height: 1px;
  background: linear-gradient(90deg, var(--green-dim) 0%, var(--green-dim) 100%);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  position: relative;
}

.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--green-dim);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(76, 175, 110, 0.15);
}

.step__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-family: var(--font-mono);
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.pricing-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 36px;
  background: var(--surface);
  position: relative;
  transition: border-color 0.2s;
}

.pricing-card:hover {
  border-color: var(--border);
}

.pricing-card--featured {
  border-color: var(--green-dim);
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: 0 0 40px rgba(76, 175, 110, 0.1), var(--shadow-card);
}

.pricing-card--featured:hover {
  border-color: var(--green);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}

.pricing-price {
  margin-bottom: 6px;
}

.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
  line-height: 1;
}

.pricing-amount--free {
  font-size: 32px;
  color: var(--text-2);
}

.pricing-period {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

.pricing-features li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234caf6e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.pricing-note {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  margin-top: 16px;
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

details.faq-item {
  background: var(--surface);
  border-bottom: 1px solid var(--border-faint);
}

details.faq-item:last-child {
  border-bottom: none;
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  transition: background 0.15s;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary:hover {
  background: var(--surface-2);
}

details.faq-item summary::after {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236e7d8b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.2s;
}

details.faq-item[open] summary::after {
  transform: rotate(180deg);
}

details.faq-item[open] summary {
  color: var(--text-green);
}

.faq-body {
  padding: 0 32px 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  border-top: 1px solid var(--border-faint);
  padding-top: 20px;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border-faint);
  padding: 40px 0;
  background: var(--bg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-2);
}

.footer__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__link {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.15s;
}

.footer__link:hover { color: var(--text-2); }

/* ---- INNER PAGE (tokushoho, privacy) ---- */
.inner-page {
  padding: 120px 0 80px;
}

.inner-page h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
  margin-bottom: 8px;
}

.inner-page .meta {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-faint);
}

.inner-page h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border-faint);
}

.inner-page h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.inner-page p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-2);
  margin-bottom: 16px;
}

.inner-page strong {
  color: var(--text-1);
  font-weight: 600;
}

.inner-page ul {
  padding-left: 1.4em;
  margin-bottom: 16px;
}

.inner-page ul li {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-2);
  margin-bottom: 6px;
}

/* 特商法テーブル */
.tokushoho-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
  font-size: 14px;
}

.tokushoho-table th,
.tokushoho-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-faint);
}

.tokushoho-table th {
  background: var(--surface);
  color: var(--text-3);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  width: 200px;
}

.tokushoho-table td {
  background: var(--bg-2);
  color: var(--text-2);
  line-height: 1.7;
}

.tokushoho-table tr:last-child th,
.tokushoho-table tr:last-child td {
  border-bottom: none;
}

/* TODO placeholder styling */
.todo {
  background: rgba(227, 179, 65, 0.12);
  border: 1px dashed rgba(227, 179, 65, 0.4);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: #e3b341;
  display: inline-block;
}

/* ---- SCROLL FADE IN ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero__stats {
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 48px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps::before { display: none; }

  .step {
    padding: 0;
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    gap: 20px;
  }

  .step__num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .nav__links {
    display: none;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer__links {
    justify-content: center;
  }

  .tokushoho-table th {
    width: 120px;
  }

  .inner-page {
    padding: 100px 0 60px;
  }

  details.faq-item summary {
    padding: 20px 20px;
  }

  .faq-body {
    padding: 0 20px 20px;
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .tokushoho-table {
    display: block;
    overflow-x: auto;
  }
}
