/* =========================================
   LUNA Group Digital — Style Sheet
   Modern Minimal Design
   ========================================= */

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

:root {
  --bg: #fafafa;
  --bg-dark: #000000;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --text-inv: #f0f0f5;
  --primary: #c9a96e;
  --primary-dark: #b08d4f;
  --primary-light: #dfc28e;
  --accent: #c9a96e;
  --border: #e5e7eb;
  --border-dark: #1f2937;
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
  --font-logo: 'Josefin Sans', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: #000; }

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

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav.scrolled .logo-text { color: var(--accent); }
.nav.scrolled .nav-links a { color: var(--text-light); }
.nav.scrolled .nav-links a:hover { color: var(--accent); }
.nav.scrolled .lang-toggle { border-color: var(--border); color: var(--text-light); }
.nav.scrolled .nav-hamburger span { background: var(--text); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.logo-text {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 200;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
}
.logo-text-sm {
  font-family: var(--font-logo);
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.35em;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  gap: 4px;
  align-items: center;
  transition: var(--transition);
  color: var(--text-light);
}
.lang-toggle:hover { border-color: var(--accent); }
.lang-option { opacity: 0.4; transition: var(--transition); }
.lang-option.active { opacity: 1; color: var(--accent); }
.lang-divider { opacity: 0.3; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: var(--transition);
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-hamburger span:nth-child(3) { bottom: 0; }
.nav-hamburger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--bg);
  color: var(--text);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.07), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: heroGlow 6s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-logo-area {
  margin-bottom: 48px;
}
.hero-logo-text {
  font-family: var(--font-logo);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 200;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 16px;
  text-indent: 0.4em;
}
.hero-tagline {
  font-family: var(--font-logo);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-light);
}
.hero-keymsg {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.4;
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.9;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Particle dot */
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(201, 169, 110, 0.25);
  border-radius: 50%;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #000;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25);
}
.btn-gold {
  background: var(--accent);
  color: #000;
  font-weight: 600;
}
.btn-gold:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-outline-light:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-full { width: 100%; }

/* --- Sections --- */
.section {
  padding: 120px 0;
}
.section-dark {
  background: var(--bg-dark);
  color: var(--text-inv);
}
.section-dark .section-sub,
.section-dark .service-card p { color: rgba(240, 240, 245, 0.6); }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-dark .section-tag { color: var(--accent); }
.section-dark .section-title { color: #fff; }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 60px;
}

/* --- About --- */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* Pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pillar-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  color: var(--accent);
  margin-top: 2px;
}
.pillar strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
}
.pillar p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Moon image */
.about-card {
  aspect-ratio: 1;
  background: #000;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.moon-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.moon-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  display: none;
}
.moon-illustration { position: relative; width: 100%; height: 100%; }
.moon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f0e8, #e8dcc8);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 60px rgba(201, 169, 110, 0.3), 0 0 120px rgba(201, 169, 110, 0.1);
}
.moon-glow {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.15), transparent);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}
.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}
.star:nth-child(2) { animation-delay: 0.5s; }
.star:nth-child(3) { animation-delay: 1s; }
.star:nth-child(4) { animation-delay: 1.5s; }
.star:nth-child(5) { animation-delay: 2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --- Why AI: Inverted T Organization --- */
.org-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.org-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.org-card-after {
  border-color: rgba(201, 169, 110, 0.3);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.03), rgba(201, 169, 110, 0.08));
}
.org-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 24px;
}
.org-card-desc {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 20px;
  color: var(--text);
}
.org-card-detail {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
  line-height: 1.6;
}
.org-arrow {
  width: 48px;
  height: 48px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Pyramid */
.org-pyramid {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.pyramid-shape {
  position: relative;
  width: 160px;
  height: 140px;
}
.pyramid-level {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  border-radius: 2px;
}
.pyramid-top {
  width: 40px;
  height: 30px;
  top: 0;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.pyramid-mid {
  width: 100px;
  height: 40px;
  top: 34px;
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}
.pyramid-base {
  width: 160px;
  height: 50px;
  top: 78px;
  clip-path: polygon(6% 0%, 94% 0%, 100% 100%, 0% 100%);
}
.pyramid-glow {
  position: absolute;
  width: 130px;
  height: 80px;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 235, 150, 0.35), transparent 70%);
  border-radius: 50%;
}

/* Inverted T */
.org-inverted-t {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
}
.invt-leader {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.invt-person-main {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.invt-roles {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.invt-roles span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3px 10px;
}
.invt-stem {
  width: 2px;
  height: 28px;
  background: var(--text-light);
  margin: 8px 0;
}
.invt-base {
  display: flex;
  gap: 8px;
  background: linear-gradient(135deg, #b2e0f0, #89d4e8);
  padding: 10px 16px;
  border-radius: 8px;
}
.invt-bot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #1a7fa0;
}

/* --- AI Accelerator Program --- */
.program-method {
  text-align: center;
  margin: 40px 0 36px;
}
.program-method-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #e84393, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.program-duration {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 16px;
  letter-spacing: 0.03em;
}
.program-layers {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.program-layer {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.program-layer-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.program-label-strategy {
  background: linear-gradient(135deg, #6c5ce7, #a855f7);
}
.program-label-org {
  background: linear-gradient(135deg, #5b5ee7, #818cf8);
}
.program-label-ops {
  background: linear-gradient(135deg, #4f8df7, #60a5fa);
}
.program-layer-items {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  flex-wrap: wrap;
}
.program-layer-items span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- AI Management Map --- */
.map-framework {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.map-layer {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}
.map-layer-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
}
.map-layer-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  padding: 4px 14px;
  border-radius: 4px;
}
.map-layer-en {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* Strategy layer — deep warm dark */
.map-layer-strategy { background: #1a1a2e; }
.map-layer-strategy .map-layer-badge { background: rgba(201, 169, 110, 0.85); color: #1a1a2e; }

/* Execution layer — warm light */
.map-layer-execution { background: #f9f7f4; border: 1px solid rgba(201, 169, 110, 0.2); }
.map-layer-execution .map-layer-header { border-bottom: 1px solid rgba(201, 169, 110, 0.15); }
.map-layer-execution .map-layer-badge { background: var(--primary); color: #1a1a2e; }
.map-layer-execution .map-layer-en { color: var(--primary-light); }

/* Foundation layer — warm light */
.map-layer-foundation { background: #f9f7f4; border: 1px solid rgba(201, 169, 110, 0.2); }
.map-layer-foundation .map-layer-header { border-bottom: 1px solid rgba(201, 169, 110, 0.15); }
.map-layer-foundation .map-layer-badge { background: var(--primary); color: #1a1a2e; }
.map-layer-foundation .map-layer-en { color: var(--primary-light); }

.map-layer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 24px;
}
.map-layer-cards-sub {
  grid-template-columns: repeat(2, 1fr);
  padding-top: 0;
  max-width: 66.66%;
  margin: 0 auto;
  padding-bottom: 24px;
}

.map-card {
  padding: 20px;
  border-radius: 8px;
  transition: var(--transition);
}

/* Strategy cards — dark bg with light text */
.map-layer-strategy .map-card {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid rgba(201, 169, 110, 0.4);
}
.map-layer-strategy .map-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.map-layer-strategy .map-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 2px;
}

/* Execution & Foundation cards — light bg */
.map-layer-execution .map-card,
.map-layer-foundation .map-card {
  background: #fff;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-left: 3px solid var(--primary);
}
.map-layer-execution .map-card:hover,
.map-layer-foundation .map-card:hover {
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.1);
  transform: translateY(-2px);
}
.map-layer-execution .map-card h4,
.map-layer-foundation .map-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.map-layer-execution .map-card p,
.map-layer-foundation .map-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2px;
}

/* Arrow between layers */
.map-arrow {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  color: var(--primary);
}
.map-arrow svg {
  width: 24px;
  height: 24px;
  opacity: 0.4;
}

/* --- Diagnosis --- */
.diagnosis-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.diagnosis-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  transition: var(--transition);
}
.diagnosis-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.1);
  transform: translateY(-4px);
}
.diagnosis-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  color: var(--primary);
}
.diagnosis-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.diagnosis-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}
.diagnosis-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(201, 169, 110, 0.12);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.diagnosis-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
}
.diagnosis-full-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.diagnosis-full-link:hover {
  border-bottom-color: var(--primary);
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  transform: translateY(20px);
  transition: var(--transition);
  position: relative;
}
.modal-overlay.active .modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}
.modal-header {
  margin-bottom: 32px;
}
.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}
.progress-text {
  font-size: 0.8rem;
  color: var(--text-light);
}
.modal-body { min-height: 200px; }

/* Question Category Tag */
.question-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(201, 169, 110, 0.12);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.question-text {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Rating Scale (Management Diagnosis — 5-point) */
.rating-scale {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rating-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  padding: 10px 6px;
  border-radius: 10px;
  min-width: 72px;
}
.rating-item:hover {
  background: rgba(201, 169, 110, 0.06);
}
.rating-item.selected .rating-circle {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.35);
}
.rating-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
  background: var(--bg-card);
}
.rating-item:hover .rating-circle {
  border-color: var(--primary);
  color: var(--primary);
}
.rating-label-text {
  font-size: 0.7rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.rating-item.selected .rating-label-text {
  color: var(--primary);
  font-weight: 600;
}

/* Option List (Opportunity Diagnosis — 3-option) */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  line-height: 1.5;
}
.option-item:hover {
  border-color: var(--primary);
  background: rgba(201, 169, 110, 0.04);
}
.option-item.selected {
  border-color: var(--primary);
  background: rgba(201, 169, 110, 0.08);
  color: var(--primary);
  font-weight: 500;
}
.option-score {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.option-item.selected .option-score {
  background: var(--primary);
  color: #fff;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}

/* Result */
.result-section { text-align: center; }
.result-score {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 8px;
}
.result-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.result-summary {
  text-align: left;
  margin-top: 24px;
  background: rgba(201, 169, 110, 0.03);
  border-radius: 12px;
  padding: 20px;
}
.result-category {
  margin-bottom: 12px;
}
.result-category:last-child {
  margin-bottom: 0;
}
.result-category h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}
.result-category p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
}
.result-cta {
  margin-top: 32px;
  text-align: center;
}

/* --- Founder --- */
.founder-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}
.founder-photo {
  position: sticky;
  top: 120px;
}
.avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #b08d4f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 auto;
}
.avatar-placeholder.avatar-lg {
  width: 200px;
  height: 200px;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.founder-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid rgba(201, 169, 110, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  filter: grayscale(100%);
  transition: var(--transition);
}
.founder-img:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.2);
  filter: grayscale(0%);
  transform: scale(1.03);
}
.founder-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.founder-name-en {
  font-weight: 400;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 8px;
}
.founder-title {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  margin-bottom: 28px;
  transition: var(--transition);
}
.founder-linkedin:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Timeline */
.founder-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.timeline-block {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
}
.timeline-period {
  text-align: right;
  padding-right: 24px;
  border-right: 1px solid rgba(201, 169, 110, 0.25);
  position: relative;
}
.timeline-period::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.timeline-year {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}
.timeline-content ul {
  list-style: none;
  padding: 0;
}
.timeline-content li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.timeline-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.5);
}
.timeline-content li.sub-item {
  padding-left: 32px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.timeline-content li.sub-item::before {
  left: 16px;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
}

.founder-edu {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info p {
  color: var(--text-light);
  margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}
.contact-item a { color: var(--primary); font-weight: 500; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-light);
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
}
.footer-links a {
  color: var(--text-light);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 180px 1fr; gap: 40px; }
  .founder-img { width: 180px; height: 180px; }
  .timeline-block { grid-template-columns: 130px 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  /* --- Mobile Navigation --- */
  .nav { padding: 14px 0; }
  .nav.scrolled { padding: 10px 0; }
  .nav-inner { padding: 0 16px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: var(--text-light); }
  .nav-hamburger { display: block; }

  /* --- Mobile Hero --- */
  .hero { min-height: 100svh; padding: 90px 0 50px; }
  .hero-logo-area { margin-bottom: 32px; }
  .hero-logo-text { font-size: 2.4rem; letter-spacing: 0.3em; text-indent: 0.3em; }
  .hero-tagline { font-size: 0.75rem; }
  .hero-keymsg { font-size: 1.05rem; margin-bottom: 14px; }
  .hero-sub { font-size: 0.85rem; margin-bottom: 28px; line-height: 1.8; }
  .hero-cta { gap: 12px; margin-bottom: 40px; }
  .hero-cta .btn { padding: 12px 24px; font-size: 0.8rem; width: 100%; max-width: 280px; }
  .hero-stats { flex-direction: column; gap: 20px; padding-top: 28px; }
  .stat-num { font-size: 1.6rem; }
  .hero-glow { width: 300px; height: 300px; }
  .hero-scroll-hint { bottom: 16px; }

  /* --- Mobile Sections --- */
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.5rem; }
  .section-sub { font-size: 0.85rem; }
  .section-tag { font-size: 0.65rem; }

  /* --- Mobile About --- */
  .section-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-card { max-width: 100%; margin: 0 auto; }
  .about-pillars { gap: 20px; }

  /* --- Mobile Why AI --- */
  .org-comparison { grid-template-columns: 1fr; gap: 20px; }
  .org-arrow { transform: rotate(90deg); margin: 0 auto; }
  .org-card { padding: 28px 16px; }
  .pyramid-shape { width: 120px; height: 110px; }
  .pyramid-mid { width: 76px; height: 32px; }
  .pyramid-base { width: 120px; height: 40px; }

  /* --- Mobile Accelerator Program --- */
  .program-method-title { font-size: 1.6rem; }
  .program-layer { grid-template-columns: 1fr; }
  .program-layer-label { padding: 14px 16px; border-radius: 0; }
  .program-layer-items { padding: 16px; gap: 12px; }
  .program-layer-items span { font-size: 0.82rem; }

  /* --- Mobile Services --- */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 20px; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.82rem; }

  /* --- Mobile Framework Map --- */
  .map-layer { border-radius: var(--radius); }
  .map-layer-header { padding: 12px 16px; }
  .map-layer-header h3 { font-size: 0.95rem; }
  .map-layer-cards { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .map-layer-cards-sub { max-width: 100%; grid-template-columns: 1fr; }

  /* --- Mobile Diagnosis --- */
  .diagnosis-cards { grid-template-columns: 1fr; gap: 24px; }
  .diagnosis-card { padding: 32px 24px; }
  .diagnosis-card-icon { width: 56px; height: 56px; margin-bottom: 16px; }
  .diagnosis-card h3 { font-size: 1.1rem; }
  .diagnosis-card p { font-size: 0.82rem; margin-bottom: 20px; }

  /* --- Mobile Founder --- */
  .founder-grid { grid-template-columns: 1fr; gap: 28px; }
  .founder-photo { position: static; text-align: center; }
  .avatar-placeholder.avatar-lg { width: 120px; height: 120px; font-size: 1.8rem; }
  .founder-img { width: 160px; height: 160px; }
  .founder-name { font-size: 1.3rem; }
  .founder-name-en { display: block; margin-left: 0; margin-top: 4px; }
  .founder-title { font-size: 0.78rem; }
  .founder-linkedin { width: 32px; height: 32px; }
  .founder-linkedin svg { width: 16px; height: 16px; }
  .timeline-block { grid-template-columns: 1fr; gap: 8px; }
  .timeline-period { text-align: left; border-right: none; border-bottom: 1px solid rgba(201, 169, 110, 0.15); padding-right: 0; padding-bottom: 8px; font-size: 0.78rem; }
  .timeline-period::after { display: none; }
  .timeline-details li { font-size: 0.82rem; }

  /* --- Mobile Contact --- */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info h2 { font-size: 1.3rem; }
  .contact-form-wrap { padding: 0; }
  .form-group input,
  .form-group textarea { font-size: 16px; } /* Prevent iOS zoom on focus */
  .btn-full { padding: 14px; font-size: 0.9rem; }

  /* --- Mobile Modal --- */
  .modal { padding: 24px 16px; width: 96%; max-height: 90vh; }
  .modal-header h3 { font-size: 1.1rem; }
  .question-text { font-size: 0.95rem; }
  .question-category-tag { font-size: 0.7rem; margin-bottom: 10px; }
  .rating-scale { gap: 6px; }
  .rating-item { min-width: 56px; padding: 8px 4px; }
  .rating-circle { width: 38px; height: 38px; font-size: 0.9rem; }
  .rating-label-text { font-size: 0.62rem; }
  .option-item { padding: 14px 16px; font-size: 0.85rem; }
  .option-score { width: 32px; height: 32px; font-size: 0.7rem; }
  .modal-footer { gap: 10px; }
  .modal-footer .btn { padding: 12px 20px; font-size: 0.82rem; }
  .result-score { font-size: 3rem; }

  /* --- Mobile Footer --- */
  .footer-inner { flex-direction: column; text-align: center; gap: 24px; }
  .footer-links { justify-content: center; }
}

/* --- Extra Small Phones (iPhone SE etc.) --- */
@media (max-width: 380px) {
  .hero-logo-text { font-size: 2rem; letter-spacing: 0.25em; text-indent: 0.25em; }
  .hero-keymsg { font-size: 0.95rem; }
  .hero-sub { font-size: 0.8rem; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.4rem; }
  .section-title { font-size: 1.3rem; }
  .diagnosis-card { padding: 24px 16px; }
  .service-card { padding: 24px 16px; }
  .modal { padding: 20px 12px; }
  .rating-scale { gap: 4px; }
  .rating-item { min-width: 48px; padding: 6px 2px; }
  .rating-circle { width: 34px; height: 34px; font-size: 0.8rem; }
  .rating-label-text { font-size: 0.58rem; }
  .option-score { width: 28px; height: 28px; font-size: 0.65rem; }
}
