/* ==========================================================================
   KENZO FX — Elegant Copy-Trade Landing Page
   ========================================================================== */

:root {
  --black: #07070a;
  --black-soft: #0c0c11;
  --panel: #101014;
  --panel-2: #141419;
  --ink: #eae6dd;
  --ink-dim: #b9b3a6;
  --ink-faint: #7d786e;
  --gold: #c9a35f;
  --gold-light: #e6cd93;
  --gold-deep: #9c7b3d;
  --line: rgba(201, 163, 95, 0.22);
  --green: #2f7d5b;
  --red: #b5473a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.sp-only { display: none; }

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 7, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-en {
  font-family: "Cinzel", serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 600;
}
.brand-en.small { font-size: 17px; }
.brand-accent { color: var(--gold); }

.main-nav {
  display: flex;
  gap: 40px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--gold-deep);
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--gold); color: #100c04; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 1px;
  background: var(--gold-light);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 16px 38px;
  font-size: 14px;
  letter-spacing: 0.1em;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #17110a;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(201, 163, 95, 0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(201, 163, 95, 0.35); }
.btn-ghost {
  border-color: rgba(234, 230, 221, 0.35);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: 84px;
  background: var(--black);
  overflow: hidden;
}
.hero-banner {
  position: relative;
  width: 100%;
  line-height: 0;
}
.hero-banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,10,0) 55%, rgba(7,7,10,0.65) 88%, #07070a 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 28px 96px;
  width: 100%;
  text-align: center;
}
.hero-content .hero-lead { margin-left: auto; margin-right: auto; }
.hero-content .hero-actions { justify-content: center; }
.eyebrow {
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.32em;
  margin: 0 0 22px;
  font-family: "Cinzel", serif;
}
.hero h1 {
  font-size: clamp(14px, 4.3vw, 52px);
  line-height: 1.55;
  font-weight: 600;
  margin: 0 0 26px;
  width: max-content;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  color: #f5f1e8;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.hero-lead {
  font-size: 16px;
  color: var(--ink-dim);
  max-width: 520px;
  margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Section basics ---------- */

.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-kicker {
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin: 0 0 14px;
}
.section-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600;
  margin: 0;
  color: #f5f1e8;
}
.section-title.light { color: #f5f1e8; }
.section-sub { color: var(--ink-faint); font-size: 14px; margin-top: 16px; }
.section-sub.light { color: rgba(234,230,221,0.55); }

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px auto 0;
  width: 220px;
}
.divider span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold-deep)); }
.divider span:last-child { background: linear-gradient(90deg, var(--gold-deep), transparent); }
.divider i { color: var(--gold); font-size: 12px; font-style: normal; }

/* ---------- About / Highlight ---------- */

.section-about { background: var(--black-soft); }

.highlight-card {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
  padding: 56px 40px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201,163,95,0.06), transparent 60%);
  position: relative;
}
.highlight-card::before,
.highlight-card::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
}
.highlight-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.highlight-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.highlight-kicker {
  font-family: "Cinzel", serif;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--gold);
  margin: 0 0 18px;
}
.highlight-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: #f5f1e8;
  margin: 0 0 20px;
  line-height: 1.7;
}
.gold-num {
  color: var(--gold-light);
  font-family: "Cinzel", serif;
  font-size: 1.2em;
}
.highlight-desc { color: var(--ink-dim); font-size: 15px; margin: 0; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.spec-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s;
}
.spec-item:hover { background: rgba(201,163,95,0.04); }
.spec-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.spec-value {
  font-size: 15px;
  color: var(--ink);
}
.spec-value small { display: block; color: var(--ink-faint); font-size: 12px; margin-top: 4px; }

.spec-note {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- MAM ---------- */

.mam-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.mam-item {
  flex: 1 1 33.3333%;
  min-width: 260px;
  background: var(--black);
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, transform 0.3s;
}
.mam-item:hover { background: var(--panel); transform: translateY(-4px); }
.mam-num {
  font-family: "Cinzel", serif;
  color: var(--gold-deep);
  font-size: 26px;
  margin-bottom: 16px;
}
.mam-item h3 {
  font-size: 17px;
  color: #f5f1e8;
  margin: 0 0 12px;
  font-weight: 600;
}
.mam-item p { font-size: 14px; color: var(--ink-dim); margin: 0; }

/* ---------- Tables ---------- */

.section-track { background: var(--black-soft); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}
.elegant-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 14.5px;
}
.elegant-table thead th {
  background: linear-gradient(135deg, #17130a, #0e0c07);
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 16px 22px;
  border-bottom: 1px solid var(--gold-deep);
  white-space: nowrap;
}
.elegant-table tbody td {
  padding: 15px 22px;
  border-bottom: 1px solid rgba(201,163,95,0.12);
  color: var(--ink);
  white-space: nowrap;
}
.elegant-table tbody tr.row-alt { background: rgba(255,255,255,0.015); }
.elegant-table tbody tr:hover { background: rgba(201,163,95,0.06); }
.rowspan-cell {
  color: var(--gold-light);
  font-weight: 600;
  vertical-align: middle;
  background: rgba(201,163,95,0.04);
}
.num-plus { color: #7bb99a; font-variant-numeric: tabular-nums; }
.num-minus { color: #d98878; font-variant-numeric: tabular-nums; }

.table-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}

.year-block { margin-bottom: 56px; }
.year-block:last-of-type { margin-bottom: 0; }
.year-title {
  font-family: "Cinzel", serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.footnote-mark {
  color: var(--gold-light);
  font-size: 11px;
  vertical-align: super;
  margin-left: 2px;
}

.drawdown-note {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 18px 24px;
  border-left: 2px solid var(--gold);
  background: rgba(201,163,95,0.05);
  text-align: left;
}
.drawdown-note p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-dim);
}
.drawdown-note .footnote-mark {
  color: var(--gold);
  font-size: 12px;
  vertical-align: baseline;
  margin-left: 0;
  margin-right: 2px;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  padding: 0 24px;
  transition: background 0.3s;
}
.faq-item[open] { background: rgba(201,163,95,0.05); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 34px 22px 0;
  font-size: 15px;
  font-weight: 600;
  color: #f5f1e8;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 20px;
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.9;
}

/* ---------- Contact ---------- */

.section-contact {
  position: relative;
  background: #07070a;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,163,95,0.10), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(201,163,95,0.08), transparent 45%);
}
.contact-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--line);
  padding: 56px 44px;
  background: rgba(16,16,20,0.6);
  backdrop-filter: blur(6px);
}
.contact-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0 0 18px;
}
.line-link {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: #f5f1e8;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  margin-bottom: 12px;
  transition: color 0.3s, border-color 0.3s;
}
.line-link:hover { color: var(--gold-light); border-color: var(--gold-light); }
.contact-reassure {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 18px;
}
.contact-note { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 28px; }

.after-flow {
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(201,163,95,0.04);
  padding: 20px 24px;
  margin: 0 0 32px;
}
.after-flow-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 14px;
}
.after-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.after-flow-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.step-num {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--gold-light);
  font-family: "Cinzel", serif;
  margin-top: 1px;
}

.qr-frame {
  width: 180px;
  margin: 0 auto 32px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--gold-deep);
}
.qr-image { width: 100%; }

.contact-help { font-size: 13px; color: var(--ink-dim); margin: 0 0 10px; }
.mail-link { font-size: 14px; color: var(--gold-light); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.mail-link:hover { border-color: var(--gold-light); }

/* ---------- Footer ---------- */

.site-footer {
  background: #050506;
  padding: 40px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { color: var(--ink-faint); font-size: 12px; margin: 0; }
.footer-disclaimer {
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 0 28px;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(125,120,110,0.7);
}

/* ---------- Floating CTA ---------- */

.fab-cta {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 400;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #17110a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 26px;
  box-shadow: 0 12px 30px rgba(201,163,95,0.3);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.fab-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(7,7,10,0.98);
    border-left: 1px solid var(--line);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 0 44px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 600;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 16px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 601; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle span { transition: transform 0.3s, opacity 0.3s; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .mam-item { flex-basis: 50%; }
}

@media (max-width: 600px) {
  .sp-only { display: inline; }
  .header-inner { padding: 16px 20px; }
  .brand-en { font-size: 18px; }
  .section { padding: 80px 0; }
  .highlight-card { padding: 40px 22px; }
  .spec-grid { grid-template-columns: 1fr; }
  .mam-item { flex-basis: 100%; }
  .contact-card { padding: 40px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
