/* ========================================
   Impact Japan NMN・MAX - Design System v2
   Modern, Clean, Pharmaceutical Grade
   ======================================== */

:root {
  --color-primary: #0A4F4F;
  --color-primary-light: #0D6B6B;
  --color-primary-dark: #073A3A;
  --color-secondary: #C9A962;
  --color-secondary-light: #D9BE7A;
  --color-secondary-dark: #B8984A;
  --color-accent: #E8F4F4;
  --color-snow: #F8F9FA;
  --color-background: #FAFBFC;
  --color-surface: #FFFFFF;
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #5A5A5A;
  --color-text-muted: #8A8A8A;
  --color-success: #2E7D32;
  --color-error: #B71C1C;
  --color-border: #E8E8E8;
  --color-border-light: #F2F2F2;

  --font-jp: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ko: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-zh: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.1);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-popover: 500;

  --header-height: 80px;
  --header-height-mobile: 68px;
  --container-max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-jp);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-background);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

html[lang="en"] body { font-family: var(--font-en); }
html[lang="ko"] body { font-family: var(--font-ko); }
html[lang="zh"] body { font-family: var(--font-zh); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--color-secondary);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo__mark {
  width: 42px; height: 42px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--text-lg);
}

.logo__text {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
}

.logo__text span { color: var(--color-primary); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown__link:hover,
.nav-dropdown__link.active {
  color: var(--color-primary);
  background: var(--color-accent);
}

/* Language Switcher */
/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
.lang-switcher {
  position: relative;
}

.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lang-switcher__toggle:hover {
  border-color: var(--color-primary);
}

.lang-switcher__flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  font-size: 14px;
  line-height: 1;
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + var(--space-xs));
  right: 0;
  min-width: 160px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

.lang-switcher.active .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lang-switcher__item:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.lang-switcher__item.active {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: var(--font-semibold);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(201,169,98,0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(10,79,79,0.6) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(201,169,98,0.08) 0%, transparent 60%);
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Hero Grid Layout - Using Flexbox for clarity */
.hero-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.hero__content {
  flex: 1;
  max-width: 55%;
}

.hero__image {
  flex: 0 0 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroImageReveal 1s ease-out 0.8s forwards;
  opacity: 0;
  transform: translateX(30px);
}

@keyframes heroImageReveal {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heroImageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .hero__content {
    max-width: 100%;
  }
  
  .hero__image {
    flex: 0 0 auto;
    width: 100%;
    margin-top: var(--space-lg);
  }
  
  .hero__image img { max-width: 200px; }
}

/* Floating Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(201,169,98,0.4);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 2s; animation-duration: 18s; width: 4px; height: 4px; }
.particle:nth-child(3) { left: 35%; top: 40%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(4) { left: 50%; top: 70%; animation-delay: 1s; animation-duration: 20s; width: 8px; height: 8px; }
.particle:nth-child(5) { left: 65%; top: 30%; animation-delay: 3s; animation-duration: 16s; width: 5px; height: 5px; }
.particle:nth-child(6) { left: 80%; top: 50%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 90%; top: 25%; animation-delay: 2.5s; animation-duration: 17s; width: 3px; height: 3px; }
.particle:nth-child(8) { left: 15%; top: 80%; animation-delay: 1.5s; animation-duration: 19s; width: 7px; height: 7px; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.4; }
  25% { transform: translateY(-30px) translateX(10px) scale(1.2); opacity: 0.6; }
  50% { transform: translateY(-15px) translateX(-15px) scale(0.8); opacity: 0.3; }
  75% { transform: translateY(-40px) translateX(5px) scale(1.1); opacity: 0.5; }
}

/* Hero Content Animation */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: #fff;
}

.hero__logo {
  margin-bottom: 1.5rem;
  animation: logoFadeIn 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.hero__logo img {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

@keyframes logoFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(201,169,98,0.15);
  border: 1px solid rgba(201,169,98,0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-secondary-light);
  margin-bottom: var(--space-md);
  animation: badgeSlideIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
  transform: translateX(-20px);
}

@keyframes badgeSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

.hero__title {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  animation: titleReveal 1s ease-out 0.5s forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes titleReveal {
  to { opacity: 1; transform: translateY(0); }
}

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

.hero__subtitle {
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  opacity: 0.92;
  max-width: 560px;
  animation: subtitleFadeIn 1s ease-out 0.8s forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes subtitleFadeIn {
  to { opacity: 0.92; transform: translateY(0); }
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: ctaFadeIn 1s ease-out 1.2s forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes ctaFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero CTA Button Hover Effects */
.hero__cta .btn {
  position: relative;
  overflow: hidden;
}

.hero__cta .btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.hero__cta .btn:hover::before {
  left: 100%;
}

/* Glow effect on hover */
.hero__cta .btn-primary {
  position: relative;
}

.hero__cta .btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--color-secondary), var(--color-secondary-light), var(--color-secondary));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.3s ease;
}

.hero__cta .btn-primary:hover::after {
  opacity: 0.6;
}

/* Page Hero (smaller) */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
}

.breadcrumb a:hover { color: var(--color-secondary); }
.breadcrumb-separator { opacity: 0.5; }
.breadcrumb-current { color: #fff; font-weight: 500; }

.page-hero__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-align: center;
}

.btn-primary {
  background: var(--color-secondary);
  color: #1a1a1a;
  border: 2px solid var(--color-secondary);
}

.btn-primary:hover {
  background: var(--color-secondary-light);
  border-color: var(--color-secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,169,98,0.25);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-lg { padding: var(--space-md) var(--space-xl); font-size: var(--text-lg); }

/* ========================================
   TRUST BANNER
   ======================================== */
.trust-banner {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

.trust-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  text-align: center;
}

.trust-badge__icon {
  width: 48px; height: 48px;
  color: var(--color-primary);
}

.trust-badge__text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.section-header__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.section-header__subtitle {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Special styling for product-2 page - Japanese title large */
.section-header__subtitle.japanese-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
}

/* Special styling for product-2 page - English title small */
.section-header__title.english-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.about-subtitle {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.section-header__specs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.section-header__spec {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
}

.section-header__spec svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
}

.bg-accent { background: var(--color-accent); }

/* ========================================
   CARDS
   ======================================== */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-secondary);
}

.feature-card__icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-md);
  background: var(--color-accent);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}

.feature-card__icon svg { width: 32px; height: 32px; }

.feature-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Product Showcase - with content (product-1) - left/right layout */
.product-showcase:has(.product-showcase__content) {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

/* Product Showcase - image only (product-2) - centered layout */
.product-showcase:not(:has(.product-showcase__content)) {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.product-showcase__content {
  flex: 1;
  max-width: 55%;
}

.product-showcase__name {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.product-showcase__dosage {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.product-showcase__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-showcase__spec {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.product-showcase__spec svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-showcase__image {
  width: 100%;
  max-width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Product image container with content (product-1) - fixed width */
.product-showcase:has(.product-showcase__content) .product-showcase__image {
  flex: 0 0 45%;
}

/* Product image container without content (product-2) - full width */
.product-showcase:not(:has(.product-showcase__content)) .product-showcase__image {
  max-width: 100%;
}

/* Product image with content (product-1) - smaller size */
.product-showcase:has(.product-showcase__content) .product-showcase__image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* Product image without content (product-2) - larger size */
.product-showcase:not(:has(.product-showcase__content)) .product-showcase__image img {
  max-width: 1000px;
  height: auto;
  border-radius: var(--radius-md);
}

.product-showcase__image .badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
}

.product-showcase .btn {
  align-self: center;
}

/* Product Cards - Keep for product.php and oem.php */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.product-image {
  text-align: center;
  display: flex;
  justify-content: center;
}

.product-image__img {
  max-width: 35%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.product-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  text-align: center;
  align-items: stretch;
}

.product-image-grid__left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-grid__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.product-image-grid__img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: white;
  padding: var(--space-sm);
}

.product-bin__img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.product-item {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.product-item__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.product-item__content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.product-item__image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-secondary);
}

.product-card__image {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-accent) 0%, #f5f5f5 100%);
  display: flex; align-items: center; justify-content: center;
}

.product-card__badge {
  position: absolute;
  top: var(--space-sm); right: var(--space-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary { background: var(--color-primary); color: #fff; }
.badge-secondary { background: var(--color-secondary); color: #1a1a1a; }
.badge-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-text-secondary); }

.product-card__content { padding: var(--space-lg); }

.product-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.product-card__dosage {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.product-card__spec {
  display: flex; align-items: center; gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.product-card__spec svg {
  width: 16px; height: 16px;
  color: var(--color-success);
}

@media (max-width: 768px) {
  .product-showcase {
    padding: var(--space-lg);
  }

  .product-showcase__image img {
    max-width: 100%;
  }

  .section-header__specs {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .product-image-grid {
    grid-template-columns: 1fr;
  }
  
  .product-image-grid__left,
  .product-image-grid__right {
    width: 100%;
  }
}

/* NMN Science Flow - New Layout */
.science-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.science-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-base);
}

.science-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.science-card--highlight {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-color: transparent;
  color: #fff;
  transition: all var(--transition-base);
}

.science-card--highlight:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.science-card--highlight .science-card__label {
  color: rgba(255,255,255,0.8);
}

.science-card--highlight .science-card__title {
  color: #fff;
}

.science-card--highlight .science-card__text {
  color: rgba(255,255,255,0.9);
}

.science-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,98,0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-secondary);
}

.science-card--highlight .science-card__icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.science-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.science-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.science-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.science-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.science-info {
  display: flex;
  justify-content: center;
}

.science-info__card {
  max-width: 800px;
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}

.science-info__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.science-info__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .science-flow {
    flex-direction: column;
    align-items: center;
  }
  
  .science-card {
    max-width: 100%;
    width: 100%;
  }
  
  .science-arrow {
    transform: rotate(90deg);
    margin: var(--space-sm) 0;
  }
}

/* Sinclair Research Section */
.sinclair-research {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.sinclair-research__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sinclair-research__image img {
  width: 100%;
  height: auto;
  display: block;
}

.sinclair-research__content {
  padding: var(--space-lg) 0;
}

.sinclair-research__text {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: var(--text-base);
}

@media (max-width: 768px) {
  .sinclair-research {
    grid-template-columns: 1fr;
  }
  
  .sinclair-research__image {
    order: -1;
  }
}

/* NMN Safety / Clinical Cards */
.clinical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.clinical-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.clinical-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.clinical-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.clinical-card__value {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.clinical-card__unit {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

@media (max-width: 576px) {
  .clinical-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   NAGANO SECTION
   ======================================== */
.nagano-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--color-bg);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.service-card__subtitle {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.service-card__description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card__list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.service-card__list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.service-card__list li:last-child {
  border-bottom: none;
}

/* Services Grid - Already defined but ensure consistency */
.service-card {
  background: var(--color-surface);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.service-card__text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card__list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.service-card__list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.service-card__list li:last-child {
  border-bottom: none;
}

.service-card__list li::before {
  content: "✓";
  margin-right: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* Sinclair Research Section - matching product-showcase style with smaller image */
.sinclair-showcase .product-showcase__image img,
.product-showcase__image img[src*="consultant"] {
  max-width: 300px;
  width: 100%;
}

/* Company Story */
.company-story {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.company-story__text {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.company-story__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.stat-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}

.stat-item__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.stat-item__label {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .company-story {
    grid-template-columns: 1fr;
  }
  
  .company-story__stats {
    flex-direction: row;
    justify-content: center;
  }
}

/* Process Steps */
.process-steps {
  background: var(--color-bg);
  border-radius: 1rem;
  padding: 2rem;
}

.process-steps__title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.process-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  text-align: center;
}

.process-step__number {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.process-step__text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Process Info */
.process-info {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.process-info__content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.process-info__image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.process-info__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.process-info__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Advisors Grid */
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.advisor-card {
  background: var(--color-surface);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advisor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.advisor-card__image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.advisor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-card__info {
  padding: 0;
}

.advisor-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.advisor-card__title {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.advisor-card__role {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Business Features */
.business-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.business-feature {
  background: var(--color-bg);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.business-feature__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.business-feature__icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.business-feature__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.business-feature__text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Business CTA */
.business-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  color: white;
}

.business-cta__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.business-cta__steps {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.business-cta__step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.business-cta__step-num {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.business-cta__step span:last-child {
  font-size: 0.875rem;
}

.business-cta .btn-primary {
  background: white;
  color: var(--color-primary);
}

.business-cta .btn-primary:hover {
  background: var(--color-bg);
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid,
  .advisors-grid,
  .business-features,
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-info__content {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 576px) {
  .services-grid,
  .advisors-grid,
  .business-features,
  .process-steps__grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  
  .business-cta__steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .process-info {
    padding: var(--space-lg);
  }
  
  .process-info__content {
    gap: var(--space-md);
  }
  
  .process-info__title {
    font-size: var(--text-lg);
  }
  
  .process-info__image {
    max-width: 100%;
  }
}

.nagano-visual {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  text-align: center;
}

.nagano-features {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.nagano-feature {
  text-align: center;
}

.nagano-feature__icon {
  width: 60px; height: 60px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-sm);
  color: #fff;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.cta-section__text {
  font-size: var(--text-lg);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
}

.about-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

/* Philosophy Grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.philosophy-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.philosophy-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-secondary);
}

.philosophy-item__number {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  background: rgba(201,169,98,0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-secondary);
}

.philosophy-item__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.philosophy-item__subtitle {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.philosophy-item__text {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* NMN Function Steps - New Layout */
.function-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.function-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.function-step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.function-step__number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,98,0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-secondary);
}

.function-step__content {
  flex: 1;
}

.function-step__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.function-step__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .function-steps {
    gap: var(--space-md);
  }
  
  .function-step {
    flex-direction: column;
    text-align: center;
    padding: var(--space-md);
  }
  
  .function-step__number {
    margin: 0 auto;
  }
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: var(--space-sm) 0;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.info-table th {
  width: 30%;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-sm);
  font-size: var(--text-base);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10,79,79,0.08);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input {
  width: 18px; height: 18px;
  accent-color: var(--color-primary);
  margin-top: 2px;
}

/* 表单错误提示 */
.form-error {
  display: none;
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-error);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: var(--color-error);
}

.form-input:focus.error,
.form-textarea:focus.error,
.form-select:focus.error {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

/* 提示消息 */
.alert {
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border-left: 4px solid;
}

.alert-success {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #15803d;
}

.alert-error {
  background: #fef2f2;
  border-color: #ef4444;
  color: #dc2626;
}

.contact-info {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
}

.contact-info__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.contact-info__item svg {
  width: 20px; height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ========================================
   FAQ PAGE
   ======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

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

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: left;
  transition: background var(--transition-fast);
}

.accordion-header:hover { background: var(--color-bg-hover, #f0f0f0); }

.accordion-header[aria-expanded="true"] { background: var(--color-surface); }
.accordion-header[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }

.accordion-icon {
  width: 20px; height: 20px;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  color: var(--color-primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-content.active {
  background-color: var(--color-bg-light, #f8f9fa);
}

.accordion-body {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding-top: var(--space-3xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand { max-width: 320px; }

.footer__logo {
  display: flex; align-items: center; gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__logo-mark {
  width: 40px; height: 40px;
  background: var(--color-secondary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #1a1a1a;
  font-weight: 700;
}

.footer__logo-text {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
}

.footer__tagline {
  font-size: var(--text-sm);
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.footer__contact {
  display: flex; flex-direction: column;
  gap: var(--space-sm);
}

.footer__contact-item {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  font-size: var(--text-sm);
}

.footer__contact-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.footer__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex; flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--text-sm);
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--color-secondary);
  padding-left: 4px;
}

.medical-disclaimer {
  background: rgba(183,28,28,0.08);
  border: 1px solid rgba(183,28,28,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-xl) 0;
}

.medical-disclaimer__title {
  display: flex; align-items: center; gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #ff8a80;
  margin-bottom: var(--space-xs);
}

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md) 0 var(--space-lg);
  font-size: var(--text-sm);
  opacity: 0.7;
}

.footer__legal {
  display: flex; gap: var(--space-md);
}

.footer__legal a:hover { opacity: 1; color: var(--color-secondary); }

/* ========================================
   ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 400ms; }

.reveal-stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .feature-grid,
  .product-grid,
  .clinical-grid,
  .nagano-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .product-showcase { padding: var(--space-lg); }
  .product-showcase__image img { max-width: 100%; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: 1fr; }
  .function-steps { grid-template-columns: 1fr; }
}

/* Mobile Menu Overlay */
body.menu-open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
    --text-5xl: 2.25rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --space-3xl: 4rem;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
  }

  .nav {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    width: 280px;
    max-width: 80%;
    height: calc(100vh - var(--header-height-mobile));
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    flex: 1;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: var(--space-md) var(--space-sm);
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border-light);
    text-decoration: none;
    transition: all var(--transition-fast);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--color-primary);
    background: var(--color-accent);
  }
.nav-link::after { display: none; }

.nav-dropdown__menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background: transparent;
  padding-left: var(--space-lg);
}

.nav-dropdown__link {
  padding: var(--space-xs) 0;
}


  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .lang-switcher {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    width: 100%;
  }

  .lang-switcher__toggle {
    width: 100%;
    justify-content: space-between;
  }

  .lang-switcher__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    transform: none;
    box-shadow: none;
    border: none;
    margin-top: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .lang-switcher.active .lang-switcher__dropdown {
    max-height: 300px;
    margin-top: var(--space-sm);
  }
  
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero-grid { flex-direction: column; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__image { width: 100%; margin-top: var(--space-lg); }
  .hero__image img { max-width: 180px; }
  
  .trust-banner__grid { grid-template-columns: repeat(2, 1fr); }
  .clinical-stats { grid-template-columns: 1fr; }
  .nagano-features { flex-direction: column; }
  
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}

@media (max-width: 480px) {
  .trust-banner__grid { grid-template-columns: 1fr; }
}
