/* ============================================================
   REGOLITH Inc. — Japan Color Scheme
   白地 × 赤 / White × Japan Red
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ---------- Japan Color Variables ---------- */
:root {
  /* Backgrounds */
  --bg:        #FFFFFF;
  --bg-2:      #FAF8F6;
  --bg-3:      #F3EDEB;
  --bg-hero:   #B5001F;

  /* Japan Red */
  --red:        #C0002C;   /* Japan flag red */
  --red-dark:   #8B0018;
  --red-mid:    #A80023;
  --red-light:  #D4003A;
  --red-pale:   #FFF0F3;
  --red-glow:   rgba(192, 0, 44, 0.18);

  /* Text */
  --text:       #1A1A1A;
  --text-muted: #6B6B6B;
  --text-sub:   #999999;

  /* Borders */
  --border:     rgba(0,0,0,0.08);
  --border-mid: rgba(0,0,0,0.14);
  --border-red: rgba(192,0,44,0.2);

  /* Cards */
  --card-bg:    #FFFFFF;
  --card-hover: #FFF5F7;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --shadow-red: 0 6px 28px rgba(192,0,44,0.28);

  /* Legacy aliases for HTML compatibility */
  --orange:       #C0002C;
  --orange-light: #D4003A;
  --orange-glow:  rgba(192,0,44,0.18);
  --blue-acc:     #C0002C;
  --blue-dim:     rgba(192,0,44,0.07);
  --white:        #FFFFFF;
  --navy:         #8B0018;
  --navy-mid:     #A80023;
  --navy-light:   #C0002C;
  --border-mid-var: rgba(0,0,0,0.14);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Noto Sans JP', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shinySweep {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
@keyframes floatY {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
@keyframes ripple {
  from { transform: scale(1); opacity: 0.6; }
  to   { transform: scale(2.5); opacity: 0; }
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 260ms; }
.reveal-delay-4 { transition-delay: 360ms; }

/* ---------- Shiny Text (Red on white bg) ---------- */
.shiny-text {
  background-image: linear-gradient(
    100deg,
    var(--red) 0%,
    var(--red) 35%,
    #FF6B88 50%,
    var(--red) 65%,
    var(--red) 100%
  );
  background-size: 200% auto;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shinySweep 3.5s linear infinite;
}

/* Shiny text on RED background (reversed: white sweep) */
.shiny-text-on-red {
  background-image: linear-gradient(
    100deg,
    #ffffff 0%,
    #ffffff 35%,
    #FFD0DA 50%,
    #ffffff 65%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shinySweep 3.5s linear infinite;
}

/* Legacy alias */
.orange-shiny {
  background-image: linear-gradient(
    100deg,
    var(--red) 0%,
    var(--red) 35%,
    #FF6B88 50%,
    var(--red) 65%,
    var(--red) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shinySweep 3.5s linear infinite;
}

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.9;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s ease infinite;
}

/* ---------- Grid Overlay (subtle) ---------- */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
/* Grid overlay on red hero */
.grid-overlay-white {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
/* At top: semi-transparent white */
.navbar.on-hero {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
/* Scrolled: solid white with shadow */
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07), var(--shadow-sm);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark-inner {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
}
/* Logo: always red on white */
.navbar.on-hero .navbar-logo  { color: var(--red); }
.navbar.scrolled .navbar-logo { color: var(--red); }
.navbar:not(.on-hero):not(.scrolled) .navbar-logo { color: var(--red); }

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.logo-sub {
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-top: -2px;
  opacity: 0.7;
}

/* Nav pill */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 999px;
  padding: 5px 6px;
  transition: background 0.35s, border 0.35s;
}
.navbar.on-hero .nav-links {
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.navbar.scrolled .nav-links {
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.nav-link {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.navbar.on-hero .nav-link         { color: var(--text-muted); }
.navbar.on-hero .nav-link:hover,
.navbar.on-hero .nav-link.active  { color: var(--text); background: rgba(0,0,0,0.05); }
.navbar.scrolled .nav-link        { color: var(--text-muted); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--text); background: rgba(0,0,0,0.05); }

/* CTA button */
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 9px 20px;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar.on-hero .nav-cta {
  color: #fff;
  background: var(--red);
  box-shadow: var(--shadow-red);
}
.navbar.on-hero .nav-cta:hover {
  background: #ffe8ed;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.navbar.scrolled .nav-cta {
  color: #fff;
  background: var(--red);
  box-shadow: var(--shadow-red);
}
.navbar.scrolled .nav-cta:hover {
  background: var(--red-light);
  box-shadow: 0 6px 24px rgba(192,0,44,0.35);
}
/* Default (page top, not hero) */
.navbar:not(.on-hero):not(.scrolled) .nav-cta {
  color: #fff;
  background: var(--red);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  transition: all 0.2s;
}
.navbar.on-hero .nav-toggle {
  border: 1px solid var(--border);
  color: var(--text);
}
.navbar.scrolled .nav-toggle {
  border: 1px solid var(--border);
  color: var(--text);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99;
  flex-direction: column;
  padding: 88px 32px 48px;
  overflow-y: auto;
  animation: fadeIn 0.2s ease forwards;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu.open { display: flex; }
.mobile-link {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--red); }
.mobile-cta {
  display: block;
  margin-top: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--red);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  font-size: 16px;
  color: #fff;
  background: var(--red);
  padding: 16px 32px;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 8px 36px rgba(192,0,44,0.38);
  transform: translateY(-2px);
}
/* Outline on white bg */
.btn-outline {
  font-size: 16px;
  color: var(--red);
  border: 1.5px solid rgba(192,0,44,0.35);
  padding: 15px 32px;
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--red);
  background: var(--red-pale);
  transform: translateY(-2px);
}
/* Outline on red hero */
.btn-outline-hero {
  font-size: 16px;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 15px 32px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.btn-outline-hero:hover {
  border-color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.btn-sm { font-size: 14px; padding: 10px 22px; }
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  border-color: var(--border-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
  animation: floatY 4s ease infinite;
}
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.card-body  { font-size: 14px; color: var(--text-muted); line-height: 1.9; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-item {
  background: var(--bg);
  padding: 40px 24px;
  text-align: center;
  transition: background 0.2s;
}
.stat-item:hover { background: var(--red-pale); }
.stat-value {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--red);
}
.stat-label { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  position: relative;
}
.step:not(:last-child) .step-line {
  position: absolute;
  left: 39px; top: 60px;
  width: 2px; bottom: -24px;
  background: linear-gradient(to bottom, var(--border-red), transparent);
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--red);
  background: var(--red-pale);
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.step-content { padding-bottom: 48px; }
.step-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 6px;
}
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.step-note  {
  display: inline-block; margin-top: 8px;
  font-size: 12px; color: var(--red);
  background: var(--red-pale);
  border-radius: 999px; padding: 3px 12px;
  border: 1px solid var(--border-red);
}

/* ---------- Check list ---------- */
.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-item {
  display: flex; align-items: flex-start;
  gap: 14px; font-size: 15px; line-height: 1.7;
  color: var(--text);
}
.check-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red-pale);
  border: 1.5px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.check-icon svg { width: 11px; height: 11px; stroke: var(--red); }

/* ---------- Table ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table th {
  width: 180px; padding: 18px 20px;
  text-align: left; font-size: 13px; font-weight: 600;
  color: var(--red);
  background: var(--red-pale);
  vertical-align: top;
}
.info-table td {
  padding: 18px 20px; font-size: 14px;
  color: var(--text); line-height: 1.8;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open { border-color: var(--border-red); box-shadow: var(--shadow-md); }
.faq-q {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 22px 24px;
  cursor: pointer; font-size: 15px; font-weight: 500;
  color: var(--text);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-2); }
.faq-q-text { flex: 1; }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s, border-color 0.2s, background 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.faq-a {
  display: none;
  padding: 0 24px 24px;
  font-size: 14px; color: var(--text-muted); line-height: 1.9;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.faq-a { padding-top: 16px; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 60%, var(--red-light) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 20px 60px rgba(192,0,44,0.3);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-banner-title {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative; z-index: 1;
  color: #fff;
}
.cta-banner-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  position: relative; z-index: 1;
  line-height: 1.85;
}
.cta-banner .section-label {
  color: rgba(255,255,255,0.8);
  position: relative; z-index: 1;
}
.cta-banner .section-label::before { background: rgba(255,255,255,0.7); }
.cta-buttons {
  display: flex; align-items: center;
  justify-content: center; gap: 16px;
  flex-wrap: wrap; position: relative; z-index: 1;
}
/* White btn inside red banner */
.cta-banner .btn-primary {
  background: #fff;
  color: var(--red);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-banner .btn-primary:hover {
  background: #ffe8ed;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.cta-banner .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.1);
}
.cta-banner .btn-outline:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.18);
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--red-pale);
  border: 1px solid var(--border-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.service-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.service-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; }
.service-link  {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--red);
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ---------- Reason Cards ---------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.reason-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.reason-card:hover {
  border-color: var(--border-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.reason-num  { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--red); margin-bottom: 14px; }
.reason-title { font-size: 17px; font-weight: 700; margin-bottom: 14px; line-height: 1.45; color: var(--text); }
.reason-body  { font-size: 14px; color: var(--text-muted); line-height: 1.9; }

/* ---------- Hero (White base, Japan Red accents) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  color: var(--text);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 92% 50%, rgba(192,0,44,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 8% 85%, rgba(192,0,44,0.04) 0%, transparent 55%);
}
.hero-veil { display: none; }

/* Japan flag circle — solid red, very subtle */
.hero-circle {
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.055;
  pointer-events: none;
}
.hero-circle::before {
  content: '';
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  border: 1.5px solid rgba(192,0,44,0.08);
}
.hero-circle::after {
  content: '';
  position: absolute;
  inset: -110px;
  border-radius: 50%;
  border: 1px solid rgba(192,0,44,0.05);
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-nav-row { padding-top: 32px; }
.hero-blurb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.hero-blurb {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 460px;
}
.hero-blurb-r {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  text-align: right;
}
.hero-center {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
  background: var(--red-pale);
  border: 1px solid var(--border-red);
  border-radius: 999px;
  padding: 6px 16px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s ease infinite;
}
.hero-h1 {
  font-size: clamp(44px, 8.5vw, 100px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-h1-line { display: block; }
.hero-sub {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: 40px;
}
.hero-cta-row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; justify-content: center;
}
.hero-meta {
  padding-bottom: 32px;
  display: flex; align-items: center;
  justify-content: space-between;
  font-size: 11px; color: var(--text-sub);
}
.hero-meta-mid { display: flex; align-items: center; gap: 24px; }

/* ---------- Page Hero (inner pages — white base) ---------- */
.page-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.page-hero .section-label { color: var(--red); }
.page-hero .section-label::before { background: var(--red); }
.page-hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}
.page-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.85;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-sub);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--red); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb-sep { opacity: 0.4; }

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: var(--red-pale);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}
.highlight-box strong { color: var(--red); }

.warning-box {
  background: #FFF8EE;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}
.warning-box strong { color: #B45309; }

/* ---------- Tag / Badge ---------- */
.tag {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 999px;
  background: var(--red-pale); color: var(--red);
  border: 1px solid var(--border-red);
}
.tag-orange { background: var(--red-pale); color: var(--red); border-color: var(--border-red); }

/* ---------- Divider ---------- */
.divider { height: 1px; background: var(--border); margin: 64px 0; }

/* ---------- Merit Grid ---------- */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.merit-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.merit-item:hover {
  border-color: var(--border-red);
  box-shadow: var(--shadow-md);
}
.merit-label { font-size: 12px; font-weight: 700; color: var(--red); margin-bottom: 8px; letter-spacing: 0.04em; }
.merit-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.merit-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.8; }

/* ---------- Sim Table ---------- */
.sim-table { width: 100%; border-collapse: collapse; }
.sim-table thead tr { background: var(--red-pale); }
.sim-table th {
  padding: 14px 20px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; color: var(--red);
  text-align: left; border-bottom: 2px solid var(--border-red);
}
.sim-table td {
  padding: 16px 20px; font-size: 14px;
  border-bottom: 1px solid var(--border); line-height: 1.6; color: var(--text);
}
.sim-table tr:last-child td { border-bottom: none; }
.sim-table tr:hover td { background: var(--bg-2); }
.sim-income { font-weight: 700; color: var(--red); font-size: 16px; }

/* ---------- Voice Cards ---------- */
.voice-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.voice-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--red-pale);
  border: 2px solid var(--border-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.voice-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.voice-role { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.voice-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  font-style: italic;
  border-left: 3px solid var(--red);
  padding-left: 18px;
}

/* ---------- Form ---------- */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.form-label .req { color: var(--red); margin-left: 4px; font-size: 11px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-size: 15px; color: var(--text); font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,0,44,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: #BBBBBB; }
.form-select { appearance: none; cursor: pointer; background-color: var(--bg); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-radio-group { display: flex; flex-direction: column; gap: 12px; }
.form-radio-label {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; font-size: 14px; color: var(--text);
}
.form-radio-label input { accent-color: var(--red); width: 16px; height: 16px; }
.form-check-label {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; font-size: 13px; color: var(--text-muted); line-height: 1.7;
}
.form-check-label input { accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.form-check-label a { color: var(--red); text-decoration: underline; }
.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; max-width: 360px; margin: 0 auto;
  font-size: 16px; font-weight: 700; color: #fff;
  background: var(--red); border: none; border-radius: 999px;
  padding: 18px 32px; cursor: pointer;
  transition: all 0.2s; box-shadow: var(--shadow-red);
}
.form-submit:hover {
  background: var(--red-light);
  box-shadow: 0 8px 36px rgba(192,0,44,0.4);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
footer {
  background: var(--text); /* Near black */
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand-name {
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.06em; color: #fff; margin-bottom: 4px;
}
.footer-brand-sub { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.9; }
.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-link:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: #fff; }

/* Footer logo */
footer .navbar-logo { align-items: flex-start; }
footer .logo-mark { color: rgba(255,255,255,0.75); margin-top: 2px; }
footer .logo-mark-inner { background: var(--red); }
footer .logo-text { color: #fff; }
footer .footer-brand-sub { color: rgba(255,255,255,0.4); }

/* ---------- Fixed LINE Button ---------- */
.line-float {
  position: fixed; right: 20px; bottom: 90px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #06C755;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(6,199,85,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.line-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(6,199,85,0.55); }
.line-float svg { width: 28px; height: 28px; fill: white; }

/* ---------- Mobile Bottom CTA ---------- */
.mobile-bottom-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-bottom-cta a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; font-size: 15px; font-weight: 700;
  color: #fff; background: var(--red); border-radius: 999px;
  padding: 16px; box-shadow: var(--shadow-red);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta    { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero-blurb-row { grid-template-columns: 1fr; }
  .hero-blurb-r   { text-align: left; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .reason-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .info-table th { width: 130px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 48px 24px; }
  .mobile-bottom-cta { display: block; }
  body { padding-bottom: 80px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr; gap: 1px; }
  .hero-cta-row { flex-direction: column; width: 100%; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .info-table { display: block; overflow-x: auto; }
}

/* ---------- Focus ring ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px; border-radius: 4px;
}

/* ---------- Selection ---------- */
::selection { background: rgba(192,0,44,0.15); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: rgba(192,0,44,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
