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

:root {
  --navy:       #0A1628;
  --navy-mid:   #1E3A5F;
  --gold:       #C9A84C;
  --gold-hv:    #B8943E;
  --bg:         #F7F8FA;
  --bg-card:    #FFFFFF;
  --bg-muted:   #ECEEF2;
  --border:     rgba(10, 22, 40, 0.10);
  --text:       #1A1A2E;
  --text-muted: #6B7280;
  --primary:    #C9A84C;
  --primary-hv: #B8943E;
  --critical:   #dc2626;
  --high:       #c2410c;
  --elevated:   #b45309;
  --medium:     #a16207;
  --low:        #15803d;
  --radius:     10px;
  --shadow:     0 1px 3px rgba(10, 22, 40, 0.08), 0 1px 2px rgba(10, 22, 40, 0.05);
  --shadow-md:  0 4px 14px rgba(10, 22, 40, 0.12), 0 2px 4px rgba(10, 22, 40, 0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont,
    'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Bilingual ===== */
[data-lang="en"] .ja { display: none; }
[data-lang="ja"] .en { display: none; }

/* ===== Logo ===== */
.logo-pard { color: var(--navy); }
.logo-ai   { color: var(--gold); }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.nav.nav-scrolled {
  background: rgba(247, 248, 250, 0.97);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }
.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.lang-toggle:not(:disabled):hover {
  background: transparent !important;
  color: var(--text);
  border-color: rgba(10, 22, 40, 0.25);
}
.btn-signin {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: background 0.15s, border-color 0.15s;
}
.btn-signin:hover {
  background: rgba(10, 22, 40, 0.04);
  border-color: rgba(10, 22, 40, 0.2);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover {
  background: var(--gold-hv);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-narrow {
  max-width: 640px;
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}
.section-dark {
  background: var(--bg-card);
}
.section-muted {
  background: var(--bg-muted);
}
.section-cta {
  background: linear-gradient(160deg, rgba(10, 22, 40, 0.05) 0%, rgba(30, 58, 95, 0.04) 50%, var(--bg) 100%);
  border-top: 1px solid rgba(10, 22, 40, 0.08);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.7;
  flex-shrink: 0;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: #FFFFFF;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 9rem 2rem 6rem;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.30);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both 0.05s;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 780px;
  color: #FFFFFF;
  animation: fadeUp 0.6s ease both 0.15s;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  animation: fadeUp 0.6s ease both 0.25s;
}
.hero .btn-primary {
  animation: fadeUp 0.6s ease both 0.35s;
}
.hero-glow {
  position: absolute;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -0.25rem;
  text-decoration: none;
  transition: opacity 0.4s ease;
  animation: fadeUp 0.6s ease both 0.6s;
  z-index: 2;
}

.hero-scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll-chevron {
  display: block;
  animation: chevronPulse 1.6s ease-in-out infinite;
}

.hero-scroll-chevron--1 {
  color: rgba(255, 255, 255, 0.55);
  animation-delay: 0s;
  margin-bottom: -6px;
}

.hero-scroll-chevron--2 {
  color: rgba(255, 255, 255, 0.25);
  animation-delay: 0.2s;
}

@keyframes chevronPulse {
  0%, 100% { transform: translateY(0);   opacity: 1; }
  50%       { transform: translateY(5px); opacity: 0.5; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Problem ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.problem-card:hover {
  border-color: rgba(201, 168, 76, 0.40);
  box-shadow: var(--shadow-md);
}
.problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(201, 168, 76, 0.10);
  border-radius: 10px;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.problem-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Pipeline ===== */
.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
}
.pipeline-node {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.pipeline-arrow {
  flex: 0 0 2.5rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--gold);
  padding-top: 1.9rem;
  opacity: 0.6;
}
.pipeline-num {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.pipeline-node h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}
.pipeline-node p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Report preview ===== */
.report-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3rem;
}

/* Mock report card */
.mock-report {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.mock-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.mock-score-block {
  text-align: right;
}
.mock-score {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.mock-score.high     { color: var(--high); }
.mock-score.critical { color: var(--critical); }
.mock-score.medium   { color: var(--medium); }
.mock-score.low      { color: var(--low); }
.mock-score-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--high);
  margin-top: 0.15rem;
}
.mock-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.mock-lenses {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.mock-lens {
  display: grid;
  grid-template-columns: 8.5rem 1fr 4rem;
  gap: 0.5rem;
  align-items: center;
}
.mock-lens-name {
  font-size: 0.73rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-lens-bar {
  background: rgba(10, 22, 40, 0.07);
  border-radius: 2px;
  height: 5px;
  overflow: hidden;
}
.mock-lens-fill {
  height: 100%;
  border-radius: 2px;
}
.mock-lens-fill.high     { background: var(--high); }
.mock-lens-fill.elevated { background: var(--elevated); }
.mock-lens-fill.medium   { background: var(--medium); }
.mock-lens-fill.low      { background: var(--low); }
.mock-lens-sev {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: right;
}
.high-text     { color: var(--high); }
.elevated-text { color: var(--elevated); }
.medium-text   { color: var(--medium); }
.low-text      { color: var(--low); }
.mock-sections {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mock-section-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  background: rgba(10, 22, 40, 0.04);
}

/* Feature list */
.report-features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  flex: 0 0 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.feature-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Phases ===== */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid rgba(201, 168, 76, 0.50);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phase-card:hover {
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: var(--shadow-md);
}
.phase-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.phase-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.phase-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Security ===== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  margin-top: 2.5rem;
}
.security-item {
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
}
.security-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.security-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Request access form ===== */
.request-access-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input::placeholder {
  color: var(--text-muted);
}
.form-input:focus {
  border-color: rgba(201, 168, 76, 0.6);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
textarea.form-input {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.form-footer {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  min-width: 180px;
  padding-top: 0.2rem;
}
.cf-turnstile {
  margin-top: 0.25rem;
}
.form-error {
  font-size: 0.82rem;
  color: var(--critical);
  margin-top: -0.25rem;
}

/* Request access success state */
.request-access-success {
  text-align: center;
  padding: 3rem 0;
}
.request-access-success h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.request-access-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.success-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(21, 128, 61, 0.1);
  border: 2px solid rgba(21, 128, 61, 0.3);
  color: var(--low);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ===== Pipeline note (AI comparison) ===== */
.pipeline-note {
  text-align: center;
  max-width: 680px;
  margin: 2.5rem auto 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== Methodology note ===== */
.methodology-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
}
.pricing-card-featured {
  border-top-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}
.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.pricing-amount {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.pricing-unit {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.pricing-note {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}
.pricing-note a {
  color: var(--gold);
  text-decoration: none;
}
.pricing-note a:hover {
  text-decoration: underline;
}

/* ===== About ===== */
.about-para {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.footer .logo-pard { color: #FFFFFF; }
.footer .logo-ai   { color: var(--gold); }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pipeline {
    flex-direction: column;
    gap: 0;
  }
  .pipeline-arrow {
    align-self: center;
    padding: 0;
    transform: rotate(90deg);
    height: 2rem;
    display: flex;
    align-items: center;
  }
  .report-preview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phases-grid .phase-card:last-child {
    grid-column: 1 / -1;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }
  .section h2 {
    font-size: 1.5rem;
  }
  .hero-inner {
    padding: 8rem 1.5rem 5rem;
  }
  .container {
    padding: 0 1.5rem;
  }
  .security-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-footer {
    flex-direction: column;
    gap: 0.75rem;
  }
  .phases-grid {
    grid-template-columns: 1fr;
  }
  .phases-grid .phase-card:last-child {
    grid-column: auto;
  }
  .mock-lens {
    grid-template-columns: 7rem 1fr 3.5rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    gap: 1rem;
  }
}
