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

ol,
address {
  all: unset;
  display: block;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #020617;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --green: #10b981;
  --orange: #f59e0b;
  --purple: #8b5cf6;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
  border-color: rgba(226, 232, 240, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 24px;
}

.logo {
  flex: 1;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-svg {
  display: block;
  height: 24px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gray-900);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--gray-900);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  color: var(--gray-600);
  transition: all 0.2s;
  font-family: inherit;
}

.lang-toggle:hover {
  background: var(--gray-50);
  color: var(--gray-900);
  border-color: var(--gray-300);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  overflow: hidden;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--gray-700);
  cursor: pointer;
  transition: background 0.15s;
}

.lang-option:hover {
  background: var(--gray-50);
}

.lang-option.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-light);
}

/* Mobile Language Bar */
.mobile-lang-bar {
  display: flex;
  gap: 8px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--gray-100);
  margin-top: 8px;
}

.mobile-lang-btn {
  flex: 1;
  padding: 8px 4px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.mobile-lang-btn:hover {
  background: var(--gray-100);
}

.mobile-lang-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  font-weight: 600;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--gray-100);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
  background: radial-gradient(circle at 50% -20%, var(--accent-light) 0%, transparent 70%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--gray-950);
  margin-bottom: 24px;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 80px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gray-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--black);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.hero-metrics {
  display: flex;
  gap: 64px;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1px;
  line-height: 1;
}

.metric-plus,
.metric-unit {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-400);
}

.metric-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 8px;
  font-weight: 500;
}

.hero-bg-element {
  position: absolute;
  top: 0;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

/* ===== Section Common ===== */
.section-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--gray-950);
}

.section-desc {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 56px;
  max-width: 560px;
}

/* ===== About ===== */
.about {
  padding: 120px 0;
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-content strong {
  color: var(--gray-900);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.value-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Products ===== */
.products {
  padding: 120px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.product-featured {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.product-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
}

.product-next {
  border-style: dashed;
}

.product-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  width: fit-content;
}

.product-status.live {
  background: #e8faf0;
  color: #059652;
}

.product-status.upcoming {
  background: #fff3e0;
  color: #e65100;
}

.product-status.research {
  background: #f3e8ff;
  color: #7c3aed;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.product-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-features {
  margin-bottom: 28px;
  flex: 1;
}

.product-features li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
}

.product-featured .product-features li::before {
  background: var(--accent);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}

.product-link:hover {
  gap: 10px;
}

.product-link.muted {
  color: var(--gray-400);
  font-weight: 500;
}

/* ===== Vision ===== */
.vision {
  padding: 120px 0;
  background: var(--gray-950);
  color: var(--white);
}

.vision .section-label {
  color: var(--accent);
}

.vision-content h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 24px;
}

.vision-content p {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.9;
  margin-bottom: 64px;
}

.vision-content strong {
  color: var(--white);
}

.vision-roadmap {
  position: relative;
  padding-left: 32px;
}

.vision-roadmap::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gray-800);
}

.roadmap-item {
  position: relative;
  padding-bottom: 36px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-800);
  border: 3px solid var(--gray-950);
  z-index: 1;
}

.roadmap-item.done .roadmap-dot {
  background: var(--accent);
}

.roadmap-item.current .roadmap-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.3);
}

.roadmap-year {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.roadmap-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 4px 0;
  color: var(--white);
}

.roadmap-item:not(.done):not(.current) .roadmap-content h4 {
  color: var(--gray-500);
}

.roadmap-content p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ===== Contact ===== */
.contact {
  padding: 120px 0;
}

.contact-inner {
  max-width: 600px;
}

.contact h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact p {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
  width: fit-content;
}

.contact-item:hover {
  background: var(--white);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
}



/* ===== Footer ===== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gray-900);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-400);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-next {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav {
    width: calc(100% - 32px);
    border-radius: 20px;
    top: 12px;
  }

  .nav.has-menu .mobile-menu {
    border-radius: 0 0 20px 20px;
  }

  .nav-links,
  .nav-right {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .btn {
    justify-content: center;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 32px;
  }

  .hero-bg-element {
    width: 300px;
    height: 300px;
    top: 100px;
    right: -150px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-next {
    grid-column: span 1;
  }

  .vision-content h2 {
    font-size: 28px;
  }

  .vision-content p br {
    display: none;
  }

  .contact h2 br {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 48px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .product-card {
    padding: 28px;
  }

  .section-title {
    font-size: 28px;
  }
}

/* ===== CJK Font Support ===== */
html[lang="zh"] body {
  font-family: 'Noto Sans SC', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html[lang="ja"] body {
  font-family: 'Noto Sans JP', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}