/* =====================
   MARTMART ??Readable Editorial · Purple Accent
   Large Korean Font · 50+ Age Readability
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --white: #ffffff;
  --concrete: #F3F4F6;
  --purple: #6B21A8;
  --purple-dark: #4C1D95;
  --purple-light: #F3E8FF;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-700: #404040;
  --gray-900: #1a1a1a;
  --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --border-width: 2px;
  --brutalist-shadow: 4px 4px 0px var(--black);
  --brutalist-shadow-hover: 6px 6px 0px var(--black);
}

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--font-main);
  background: var(--concrete);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--purple); color: var(--white); }
::-webkit-scrollbar { width: 0; }

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

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: var(--border-width) solid var(--black);
  backdrop-filter: blur(12px);
  transition: all 0.2s;
}
.navbar.scrolled { box-shadow: var(--brutalist-shadow); }

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
  padding-right: 24px;
}
.logo-symbol {
  height: 40px; /* 가독성을 위해 더 크게 확대 */
  margin-right: 2px; /* 아주 미세한 간격만 유지 */
  object-fit: contain;
}
.logo-icon { display: none; }
.logo-mart {
  font-size: 24px;
  font-weight: 950; /* 볼드 강조 */
  color: var(--black);
  letter-spacing: -1.5px; /* 글자 간 공백 제거 */
  text-transform: uppercase;
  line-height: 1;
}
.logo-mart2 {
  font-size: 24px;
  font-weight: 950; /* 볼드 강조 */
  color: var(--black);
  letter-spacing: -1.5px; /* 글자 간 공백 제거 */
  text-transform: uppercase;
  line-height: 1;
}
.logo-accent {
  color: var(--purple);
  font-weight: 950; /* Extra bold */
}
.logo-arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 6px; /* 마지막 T와 화살표 사이 가독성 확보 */
  margin-top: 0; /* 상하 가운데 정렬을 위해 0으로 조정 */
  color: var(--purple);
  font-size: 18px;
  transition: transform 0.2s;
}
.logo-arrow svg path {
  stroke-width: 3.5 !important; /* 화살표 굵기 강화 */
}
.nav-logo:hover .logo-arrow { transform: translateX(3px); }

.logo-badge { display: none; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}
.nav-menu li {
  display: flex;
  align-items: center;
}
.nav-menu a {
  color: var(--gray-700);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  transition: all 0.15s;
  border-radius: 6px;
}
.nav-menu a::after { display: none; }
.nav-menu a:hover,
.nav-menu a.active-link {
  color: var(--purple);
  background: var(--purple-50);
}

.nav-emphasis {
  position: relative;
  color: var(--purple) !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em;
}

.badge-mini {
  background: var(--purple);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1;
  border: 1px solid var(--black);
  box-shadow: 1px 1px 0px var(--black);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.btn-nav-outline {
  padding: 10px 20px;
  border: 2px solid var(--gray-200);
  background: transparent;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  transition: all 0.15s;
  border-radius: 6px;
}
.btn-nav-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-nav-primary {
  padding: 10px 24px;
  background: var(--purple);
  color: var(--white);
  border: var(--border-width) solid var(--black);
  box-shadow: 4px 4px 0px var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: all 0.1s;
  border-radius: 4px;
}
.btn-nav-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--black);
}
.btn-nav-primary:active {
  transform: translate(0px, 0px);
  box-shadow: 2px 2px 0px var(--black);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 1001;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--black);
  color: var(--white);
  border-bottom: var(--border-width) solid var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid { display: none; }
.hero-glow { display: none; }

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&q=80') center/cover no-repeat;
  opacity: 0.15;
}

.hero-tag {
  display: inline-block;
  font-size: 14px;
  color: var(--black);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  background: var(--white);
  padding: 8px 20px;
  border: var(--border-width) solid var(--black);
  box-shadow: 4px 4px 0px var(--black);
  text-transform: uppercase;
}
.tag-dot { display: none; }

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--white);
  max-width: 700px;
}
.gradient-text,
.gradient-text-2 {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--white);
  text-decoration: none;
  font-style: normal;
}

.hero-desc {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-desc strong { color: var(--white); font-weight: 700; }

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 40px;
  background: var(--white);
  border: var(--border-width) solid var(--black);
  box-shadow: 8px 8px 0px var(--black);
  max-width: 850px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  gap: 6px;
  padding: 24px 22px;
  border-right: var(--border-width) solid var(--black);
  color: var(--black);
}
.stat-item:last-child { border-right: none; }
.stat-item.primary {
  background: var(--purple-light);
}
.stat-item.primary .stat-num {
  color: var(--purple);
}
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.05em;
}
.stat-plus { font-size: 18px; font-weight: 800; color: var(--purple); }
.stat-label { font-size: 12px; color: var(--gray-700); font-weight: 700; text-transform: uppercase; }
.stat-divider { display: none; }

.hero-buttons { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 36px;
  background: var(--purple);
  border: var(--border-width) solid var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.1s;
  box-shadow: 4px 4px 0px var(--black);
}
.btn-primary-hero:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0px var(--black); }
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 36px;
  background: var(--white);
  border: var(--border-width) solid var(--black);
  color: var(--black);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.1s;
  box-shadow: 4px 4px 0px var(--black);
}
.btn-secondary-hero:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0px var(--black); }

.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust-label { font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 500; }
.trust-logos { display: flex; align-items: center; gap: 10px; }
.trust-item { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 500; }
.trust-dot { color: rgba(255,255,255,0.2); }

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.matching-demo {
  display: flex;
  flex-direction: column;
  width: 320px;
  background: var(--white);
  border: var(--border-width) solid var(--black);
  box-shadow: 12px 12px 0px var(--black);
}
.demo-card {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
}
.demo-card.manufacturer, .demo-card.distributor { animation: none; }
.demo-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.demo-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: var(--purple);
  color: var(--white);
  border-radius: 8px;
}
.demo-icon.mfr { background: var(--purple); color: var(--white); }
.demo-icon.dist { background: rgba(255,255,255,0.15); color: var(--white); }
.demo-company { font-size: 15px; font-weight: 700; color: var(--black); }
.demo-type { font-size: 13px; color: var(--gray-700); font-weight: 400; }
.demo-score { margin-left: auto; font-size: 24px; font-weight: 900; color: var(--purple); }
.demo-score span { font-size: 12px; font-weight: 500; color: var(--gray-500); }
.demo-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 4px 10px;
  font-size: 12px;
  color: var(--gray-700);
  font-weight: 500;
  border-radius: 4px;
}
.matching-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: var(--purple);
}
.arrow-line { display: none; }
.arrow-pulse {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-result {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #34d399;
}
.demo-result i { color: #34d399; font-size: 14px; }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  font-weight: 500;
}
.scroll-arrow { font-size: 12px; }

/* ===================== SECTIONS ===================== */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-tag {
  display: inline-block;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--black);
}
.section-desc {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.text-red { color: var(--purple); font-weight: 900; }

/* Section Image */
.section-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: var(--border-width) solid var(--black);
  box-shadow: var(--brutalist-shadow);
  margin-bottom: 48px;
}

/* ===================== PAIN POINTS ===================== */
.pain-points {
  padding: 100px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pain-card {
  background: var(--white);
  border: var(--border-width) solid var(--black);
  padding: 36px 28px;
  transition: all 0.1s;
  box-shadow: 4px 4px 0px var(--black);
}
.pain-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0px var(--black); }
.pain-card.highlight-red {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.pain-card.highlight-red .pain-icon { background: var(--white); color: var(--purple); }
.pain-card.highlight-red .pain-stat { color: var(--white); }
.pain-card.highlight-red .pain-title { color: var(--white); }
.pain-card.highlight-red p { color: rgba(255,255,255,0.75); }
.pain-icon {
  width: 48px; height: 48px;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--purple);
  margin-bottom: 24px;
  border-radius: 12px;
}
.pain-stat {
  font-size: 28px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.pain-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gray-700);
}
.pain-card p { font-size: 16px; color: var(--gray-500); line-height: 1.7; }

/* ===================== VALUE PROP ===================== */
.value-prop {
  padding: 100px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
}
.value-tabs {
  display: inline-flex;
  gap: 0;
  margin-bottom: 48px;
  border: var(--border-width) solid var(--black);
  background: var(--white);
  box-shadow: 4px 4px 0px var(--black);
}
.tab-btn {
  padding: 14px 32px;
  border: none;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.1s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  text-transform: uppercase;
}
.tab-btn:first-child { border-right: var(--border-width) solid var(--black); }
.tab-btn:last-child { border-right: none; }
.tab-btn.active { background: var(--purple); color: var(--white); }
.tab-btn i { font-size: 14px; }
.tab-content { display: none; }
.tab-content.active { display: block; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-feature {
  background: var(--white);
  border: var(--border-width) solid var(--black);
  padding: 36px 28px;
  transition: all 0.1s;
  box-shadow: 4px 4px 0px var(--black);
}
.value-feature:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0px var(--black); }
.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
  background: var(--purple-light);
  color: var(--purple);
  border-radius: 12px;
}
.feature-icon.blue { background: #DBEAFE; color: #2563EB; }
.feature-icon.purple { background: var(--purple-light); color: var(--purple); }
.feature-icon.green { background: #D1FAE5; color: #059669; }
.feature-icon.orange { background: #FEF3C7; color: #D97706; }
.value-feature h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--black);
  letter-spacing: -0.01em;
}
.value-feature p { font-size: 16px; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }
.feature-metric {
  font-size: 15px;
  color: var(--purple);
  border-top: 2px solid var(--gray-100);
  padding-top: 14px;
  display: inline-block;
  font-weight: 700;
}
.feature-metric strong { font-weight: 900; }

/* ===================== AI SECTION ===================== */
.ai-section {
  padding: 100px 0;
  background: var(--gray-900);
  color: var(--white);
}
.ai-section .section-tag { color: var(--purple-100); }
.ai-section .section-title { color: var(--white); }
.ai-section .section-desc { color: rgba(255,255,255,0.6); }
.ai-section .gradient-text { -webkit-text-fill-color: var(--white); }

.ai-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.scenario-card {
  background: var(--white);
  border: var(--border-width) solid var(--black);
  padding: 36px 28px;
  transition: all 0.1s;
  box-shadow: 4px 4px 0px var(--black);
  cursor: pointer;
  color: var(--black);
}
.scenario-card:hover, .scenario-card.active {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--purple);
}
.scenario-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.scenario-badge {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 700;
}
.scenario-badge.purple { color: var(--purple-100); }
.scenario-badge.green { color: #6EE7B7; }
.scenario-icon {
  width: 40px; height: 40px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
  border-radius: 10px;
}
.scenario-icon.purple { background: var(--purple); }
.scenario-icon.green { background: #059669; }
.scenario-card h3 { font-size: 21px; font-weight: 900; margin-bottom: 14px; color: var(--black); letter-spacing: -0.01em; }
.scenario-card p { font-size: 16px; color: var(--gray-700); line-height: 1.7; margin-bottom: 24px; }

.scenario-flow { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.flow-step {
  background: var(--gray-100);
  border: var(--border-width) solid var(--black);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--black);
}
.flow-arrow { color: rgba(255,255,255,0.25); font-size: 11px; }
.scenario-result {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple-100);
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 12px 12px;
}
.scenario-result.purple { color: var(--purple-100); }
.scenario-result.green { color: #6EE7B7; }
.scenario-result span { font-weight: 900; }

/* Pipeline */
.data-pipeline {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 48px 0 0;
}
.pipeline-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.5);
}
.pipeline-layers {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}
.pipeline-layer {
  flex: 1;
  min-width: 180px;
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  padding: 24px;
  border-radius: 0;
}
.pipeline-layer:first-of-type { border-radius: 12px 0 0 12px; }
.pipeline-layer:last-of-type { border-right: 1px solid rgba(255,255,255,0.1); border-radius: 0 12px 12px 0; }
.layer-badge {
  display: inline-block;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.layer-badge.purple { color: var(--purple-100); }
.layer-badge.green { color: #6EE7B7; }
.layer-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--white); }
.layer-items { display: flex; flex-wrap: wrap; gap: 6px; }
.layer-items span {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  border-radius: 4px;
}
.pipeline-arrow {
  font-size: 16px;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.pipeline-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--purple);
  padding: 24px 32px;
  flex-shrink: 0;
  border-radius: 12px;
}
.result-icon { font-size: 24px; color: var(--white); }
.result-text { font-size: 15px; font-weight: 800; color: var(--white); text-align: center; line-height: 1.4; }

/* ===================== REVENUE ===================== */
.revenue-section {
  padding: 100px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.revenue-phases {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 48px;
}
.phase-card {
  flex: 1;
  background: var(--white);
  border: var(--border-width) solid var(--black);
  padding: 36px 28px;
  position: relative;
  transition: all 0.1s;
  box-shadow: 4px 4px 0px var(--black);
}
.phase-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0px var(--black); }
.phase-card.active {
  background: var(--purple);
  color: var(--white);
  border: var(--border-width) solid var(--black);
  box-shadow: 8px 8px 0px var(--black);
}
.phase-card.active .phase-number { color: rgba(255,255,255,0.12); -webkit-text-fill-color: rgba(255,255,255,0.12); }
.phase-card.active .phase-period { color: rgba(255,255,255,0.65); }
.phase-card.active .phase-title { color: var(--white); }
.phase-card.active .model-item { color: rgba(255,255,255,0.6); }
.phase-card.active .model-item i { color: rgba(255,255,255,0.4); }
.phase-card.active .model-item.revenue-target { color: var(--white); }
.phase-card.active .phase-kpi { background: rgba(255,255,255,0.12); }
.phase-card.active .kpi-label { color: rgba(255,255,255,0.5); }
.phase-card.active .kpi-value { color: var(--white); }
.phase-card.active .phase-gmv { color: rgba(255,255,255,0.6); }
.phase-card.active .phase-gmv strong { color: var(--white); }

.phase-arrow { display: none; }
.phase-number {
  font-size: 52px;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.phase-period { font-size: 14px; color: var(--gray-400); font-weight: 600; margin-bottom: 16px; }
.phase-title { font-size: 21px; font-weight: 800; margin-bottom: 24px; color: var(--black); letter-spacing: -0.01em; }
.phase-model { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.model-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-500);
}
.model-item i { width: 18px; text-align: center; color: var(--gray-400); font-size: 13px; }
.model-item.revenue-target { color: var(--black); font-weight: 700; }
.phase-kpi {
  background: var(--white);
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 10px;
}
.kpi-label { font-size: 12px; color: var(--gray-400); font-weight: 600; }
.kpi-value { font-size: 15px; font-weight: 700; color: var(--black); }
.phase-gmv { font-size: 15px; color: var(--gray-500); }
.phase-gmv strong { font-size: 24px; font-weight: 900; color: var(--purple); }

/* ===================== NUMBERS ===================== */
.numbers-section {
  padding: 100px 0;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.chart-wrapper {
  background: var(--white);
  border: var(--border-width) solid var(--black);
  box-shadow: 8px 8px 0px var(--black);
  padding: 36px;
  margin-bottom: 0;
}
.financials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.financial-card {
  background: var(--white);
  border: var(--border-width) solid var(--black);
  padding: 36px 28px;
  transition: all 0.1s;
  box-shadow: 4px 4px 0px var(--black);
}
.financial-card.highlight {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.financial-card.highlight .fin-year { color: rgba(255,255,255,0.6); }
.financial-card.highlight .fin-gmv { color: var(--white); }
.financial-card.highlight .fin-revenue { color: rgba(255,255,255,0.75); }
.financial-card.highlight .fin-loss { color: rgba(255,255,255,0.5); }
.financial-card.highlight .fin-round { color: rgba(255,255,255,0.5); }
.financial-card.highlight .fin-round span { color: var(--white); }

.fin-year { font-size: 14px; font-weight: 700; color: var(--gray-400); margin-bottom: 14px; }
.fin-gmv { font-size: 32px; font-weight: 900; margin-bottom: 8px; color: var(--black); letter-spacing: -0.02em; }
.fin-revenue { font-size: 18px; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.fin-loss.loss { font-size: 16px; color: #EF4444; font-weight: 600; margin-bottom: 18px; }
.fin-profit.profit { font-size: 16px; color: var(--purple); font-weight: 800; margin-bottom: 18px; }
.fin-round { font-size: 15px; color: var(--gray-400); }
.fin-round span { color: var(--black); font-weight: 700; }

.take-rate-bar {
  background: var(--white);
  border: var(--border-width) solid var(--black);
  box-shadow: 8px 8px 0px var(--black);
  padding: 36px;
  margin-top: 20px;
}
.take-label { font-size: 16px; font-weight: 800; margin-bottom: 28px; color: var(--black); }
.take-bars { display: flex; flex-direction: column; gap: 18px; }
.take-item { display: flex; align-items: center; gap: 16px; }
.take-name { font-size: 15px; font-weight: 700; color: var(--gray-500); min-width: 64px; }
.take-bar-wrap {
  flex: 1;
  height: 36px;
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}
.take-bar-fill {
  height: 100%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 8px;
}
.take-bar-fill span { font-size: 14px; font-weight: 700; color: var(--white); }

/* ===================== ROADMAP ===================== */
.roadmap-section {
  padding: 120px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.roadmap-timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 20px 0;
}

/* Central vertical line */
.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 3px solid var(--purple);
  border-radius: 50%;
  z-index: 10;
  transform: translateX(-50%);
}

.marker-dot.active {
  position: absolute;
  inset: 2px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--purple);
}

.timeline-card {
  width: calc(50% - 60px);
  background: var(--white);
  border: var(--border-width) solid var(--black);
  padding: 40px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 8px 8px 0px var(--black);
  position: relative;
  z-index: 5;
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.right {
  justify-content: flex-end;
}

.timeline-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--purple);
  border-color: var(--purple);
}

.timeline-period {
  display: inline-block;
  padding: 4px 14px;
  background: var(--purple-100, #f0e9ff);
  color: var(--purple);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
  border: 1px solid var(--purple);
}

.timeline-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--black);
  letter-spacing: -0.02em;
}

.timeline-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.timeline-card li {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.timeline-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  color: var(--purple);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline-kpi {
  padding: 14px 20px;
  background: var(--off-white);
  border-radius: 12px;
  border-left: 4px solid var(--purple);
  font-size: 14px;
  color: var(--black);
  font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .roadmap-timeline::before {
    left: 20px;
    transform: none;
  }

  .timeline-marker {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-item {
    justify-content: flex-start;
    padding-left: 60px;
    box-sizing: border-box;
  }

  .timeline-card {
    width: 100%;
    padding: 30px 20px;
  }

  .timeline-item.left, .timeline-item.right {
    text-align: left;
  }
}

/* ===================== COMPETITIVE ===================== */
.competitive-section {
  padding: 100px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
}
.moat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.moat-card {
  background: var(--white);
  border: var(--border-width) solid var(--black);
  padding: 36px 28px;
  transition: all 0.1s;
  box-shadow: 4px 4px 0px var(--black);
}
.moat-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0px var(--black); }
.moat-card.primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.moat-card.primary .moat-icon { background: rgba(255,255,255,0.2); color: var(--white); }
.moat-card.primary h3 { color: var(--white); }
.moat-card.primary p { color: rgba(255,255,255,0.7); }
.moat-card.primary .moat-tag { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }
.moat-icon {
  width: 48px; height: 48px;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--purple);
  margin-bottom: 24px;
  border-radius: 12px;
}
.moat-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; color: var(--black); letter-spacing: -0.01em; }
.moat-card p { font-size: 16px; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }
.moat-tag {
  display: inline-block;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  border-top: 2px solid var(--gray-100);
  padding-top: 14px;
}

.comparison-table-wrap { margin-top: 48px; }
.compare-table th {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-500);
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 14px;
  background: var(--gray-100);
}
.compare-table td:first-child { text-align: left; font-weight: 700; color: var(--black); }
.compare-table th.highlight-col,
.compare-table td.highlight-col {
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
}
.compare-table th.highlight-col { background: var(--purple-dark); color: var(--white); }
.compare-table tr:hover td { background: rgba(0, 0, 0, 0.05); }
.compare-table tr:hover td.highlight-col { background: var(--purple); }
.check { color: var(--purple); font-size: 16px; }
.cross { color: var(--gray-400); font-size: 16px; opacity: 0.4; }
.partial { color: var(--gray-400); font-size: 16px; }

/* ===================== CTA ===================== */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--purple);
  color: var(--white);
  border-top: var(--border-width) solid var(--black);
  border-bottom: var(--border-width) solid var(--black);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-glow {
  position: absolute;
  width: 800px; height: 600px;
  background: var(--purple);
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.15;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-content { position: relative; z-index: 1; }
.cta-tag {
  display: inline-block;
  color: var(--purple-100);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
}
.cta-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -0.03em;
}
.cta-section .gradient-text { -webkit-text-fill-color: var(--white); }
.cta-desc { font-size: 19px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 48px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 44px;
  background: var(--black);
  border: var(--border-width) solid var(--black);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.1s;
  font-family: inherit;
  box-shadow: 6px 6px 0px var(--white);
  text-transform: uppercase;
}
.btn-cta-primary:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0px var(--white); }
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 44px;
  background: var(--white);
  border: var(--border-width) solid var(--black);
  color: var(--black);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.1s;
  font-family: inherit;
  box-shadow: 6px 6px 0px var(--black);
  text-transform: uppercase;
}
.btn-cta-secondary:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0px var(--black); }
.cta-trust { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; }
.trust-item-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.trust-item-cta i { color: var(--purple-100); font-size: 14px; }

/* ===================== CONTACT ===================== */
.contact-section {
  padding: 100px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

/* Password Gate Overlay */
.password-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
  text-align: center;
}
.password-gate .gate-icon {
  width: 72px; height: 72px;
  background: var(--purple-light);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 50%;
  margin-bottom: 28px;
}
.password-gate h3 {
  font-size: 26px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 12px;
}
.password-gate p {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.6;
}
.password-input-wrap {
  display: flex;
  gap: 12px;
  max-width: 360px;
  width: 100%;
}
.password-input-wrap input {
  flex: 1;
  padding: 14px 18px;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  text-align: center;
  font-family: inherit;
  letter-spacing: 8px;
  outline: none;
  transition: border-color 0.15s;
}
.password-input-wrap input:focus {
  border-color: var(--purple);
}
.password-input-wrap button {
  padding: 14px 28px;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.password-input-wrap button:hover {
  background: var(--purple-dark);
}
.password-error {
  color: #EF4444;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  min-height: 20px;
}

.investor-content {
  display: none;
}
.investor-content.unlocked {
  display: block;
}

/* Investor Protected Sections */
.investor-protected {
  display: none;
}
.investor-protected.unlocked {
  display: block;
}

/* Investor Gate Page */
.investor-gate-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #1a1a2e 50%, #16213e 100%);
  padding: 120px 32px 80px;
}
.gate-container {
  text-align: center;
  max-width: 480px;
  width: 100%;
}
.gate-icon-large {
  width: 96px; height: 96px;
  background: rgba(124,58,237,0.2);
  border: 2px solid rgba(124,58,237,0.3);
  color: var(--purple-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border-radius: 50%;
  margin: 0 auto 36px;
}
.gate-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.gate-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}
.investor-gate-page .password-input-wrap {
  max-width: 360px;
  margin: 0 auto;
}
.investor-gate-page .password-input-wrap input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.investor-gate-page .password-input-wrap input::placeholder {
  color: rgba(255,255,255,0.3);
}
.investor-gate-page .password-input-wrap input:focus {
  border-color: var(--purple);
  background: rgba(255,255,255,0.1);
}
.investor-gate-page .password-error {
  color: #FCA5A5;
  font-size: 14px;
  margin-top: 12px;
  min-height: 20px;
}
.gate-contact {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.gate-contact-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}
.gate-contact-value {
  font-size: 18px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.05em;
}
.gate-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: rgba(255,255,255,0.4);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.gate-back-link:hover { color: var(--purple-100); }

/* Investor All Content (hidden by default) */
.investor-all-content {
  display: none;
}
.investor-all-content.unlocked {
  display: block;
}

/* Investor page snap scrolling (mirrors main page behavior) */
@media (max-width: 900px) {
  .investor-all-content.unlocked .revenue-section,
  .investor-all-content.unlocked .numbers-section,
  .investor-all-content.unlocked .roadmap-section,
  .investor-all-content.unlocked .contact-section {
    min-height: 100svh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }
  /* Numbers/Roadmap can be tall ??allow natural height */
  .investor-all-content.unlocked .numbers-section,
  .investor-all-content.unlocked .roadmap-section {
    min-height: auto;
    scroll-snap-align: start;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border: var(--border-width) solid var(--black);
  box-shadow: 12px 12px 0px var(--black);
  margin-top: 48px;
}
.contact-info {
  padding: 48px;
  border-right: var(--border-width) solid var(--black);
  background: var(--white);
}
.contact-info h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 18px;
  margin-top: 8px;
  color: var(--black);
  letter-spacing: -0.05em;
}
.contact-info p { font-size: 17px; color: var(--gray-700); line-height: 1.7; margin-bottom: 36px; }
.investment-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.invest-item {
  background: var(--off-white);
  border: var(--border-width) solid var(--black);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 4px 4px 0px var(--black);
}
.invest-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--purple);
  border-color: var(--purple);
}
.invest-label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.invest-value {
  font-size: 18px;
  font-weight: 900;
  color: var(--black);
  line-height: 1.3;
}

.contact-form {
  background: var(--purple-light);
  padding: 48px;
}
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 15px; font-weight: 800; color: var(--black); margin-bottom: 8px; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: var(--border-width) solid var(--black);
  padding: 14px 16px;
  color: var(--black);
  font-size: 16px;
  font-family: inherit;
  font-weight: 700;
  transition: all 0.1s;
  outline: none;
  box-shadow: 4px 4px 0px var(--black);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { 
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--black);
}
.form-group select option { background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-form-submit {
  width: 100%;
  padding: 18px;
  background: var(--black);
  border: var(--border-width) solid var(--black);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.1s;
  font-family: inherit;
  box-shadow: 4px 4px 0px var(--purple);
  text-transform: uppercase;
}
.btn-form-submit:hover { 
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--purple);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 56px 0 36px;
  border-top: var(--border-width) solid var(--black);
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo .logo-mart { color: var(--white); font-size: 20px; }
.footer-logo .logo-mart2 { color: var(--purple-100); font-size: 20px; font-weight: 900; }
.footer-brand p { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 14px; }
.footer-domain { font-size: 15px; color: var(--purple-100); display: flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 15px; font-weight: 800; margin-bottom: 18px; color: var(--white); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--purple-100); }
.footer-col a.investor-link { cursor: pointer; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  text-align: center;
}
.footer-bottom p { font-size: 14px; color: rgba(255,255,255,0.35); font-weight: 500; }
.footer-disclaimer { display: none; }

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 44px;
  max-width: 480px;
  width: 90%;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gray-100);
  border: none;
  color: var(--gray-500);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--gray-200); color: var(--black); }
.modal-content h3 { font-size: 26px; font-weight: 900; margin-bottom: 10px; color: var(--black); letter-spacing: -0.02em; }
.modal-content p { font-size: 16px; color: var(--gray-500); margin-bottom: 28px; line-height: 1.7; }
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-input {
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  padding: 14px 16px;
  color: var(--black);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  width: 100%;
  transition: border-color 0.15s;
  border-radius: 10px;
}
.modal-input:focus { border-color: var(--purple); }
.modal-submit {
  padding: 16px;
  background: var(--purple);
  border: none;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
  border-radius: 10px;
}
.modal-submit:hover { background: var(--purple-dark); }

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--purple);
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  z-index: 3000;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(124,58,237,0.3);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===================== ANIMATIONS ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===================== INVESTOR PAGE ===================== */
.investor-gate-page {
  padding: 160px 0 100px;
  background: #1a1a2e;
  background: radial-gradient(circle at top center, #16213e, #0f172a);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.gate-container { max-width: 500px; margin: 0 auto; text-align: center; }
.gate-icon-large { width: 80px; height: 80px; background: rgba(124, 58, 237, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: #a78bfa; margin: 0 auto 30px; border: 1px solid rgba(124, 58, 237, 0.3); }
.gate-title { font-size: 36px; font-weight: 800; margin-bottom: 16px; color: white; }
.gate-desc { color: #94a3b8; line-height: 1.6; margin-bottom: 40px; }
.password-input-wrap { display: flex; gap: 12px; justify-content: center; align-items: stretch; }
.password-input-wrap input { width: 240px; background: #1e293b; border: 1px solid #334155; color: white; padding: 14px 20px; font-size: 20px; outline: none; border-radius: 8px; letter-spacing: 4px; text-align: center; }
.password-input-wrap button { width: 60px; background: #7c3aed; color: white; border: none; padding: 10px; border-radius: 8px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1.2; word-break: break-all; }
.gate-back-link { display: inline-block; margin-top: 40px; color: #64748b; text-decoration: none; font-size: 14px; transition: 0.3s; }
.gate-back-link:hover { color: #a78bfa; }
.revenue-section { padding: 100px 0; background: white; }
.investor-all-content .section-title { color: #0f172a; font-size: 44px; margin-bottom: 30px; }
.investor-all-content .section-desc { color: rgba(15, 23, 42, 0.6); }
.investor-all-content .section-tag { color: #7c3aed; font-weight: 700; font-size: 14px; margin-bottom: 15px; display: block; border: none; background: transparent; padding: 0; }

.revenue-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.phase-card { background: #f8fafc; border: 1px solid #f1f5f9; padding: 40px; border-radius: 24px; transition: 0.3s; position: relative; }
.phase-card.active { border-color: #7c3aed; background: #7c3aed; transform: translateY(-10px); color: white; box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2); }
.phase-number { font-size: 56px; font-weight: 900; color: #e2e8f0; line-height: 1; margin-bottom: 15px; }
.phase-card.active .phase-number { color: rgba(255,255,255,0.2); }
.phase-period { color: #7c3aed; font-weight: 700; font-size: 15px; margin-bottom: 15px; text-transform: uppercase; }
.phase-card.active .phase-period { color: rgba(255,255,255,0.8); }
.phase-title { font-size: 26px; font-weight: 800; color: #0f172a; margin-bottom: 30px; }
.phase-card.active .phase-title { color: white; }
.model-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #64748b; font-size: 15px; }
.phase-card.active .model-item { color: rgba(255,255,255,0.8); }
.model-item i { color: #7c3aed; width: 22px; font-size: 16px; }
.phase-card.active .model-item i { color: white; }
.model-item.revenue-target { color: #0f172a; font-weight: 800; margin-top: 20px; padding-top: 15px; border-top: 1px solid #e2e8f0; }
.phase-card.active .model-item.revenue-target { color: white; border-top-color: rgba(255,255,255,0.1); }
.phase-kpi { margin-top: 30px; padding: 20px; background: white; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.phase-card.active .phase-kpi { background: rgba(255,255,255,0.1); box-shadow: none; }
.kpi-label { font-size: 12px; color: #94a3b8; font-weight: 600; }
.phase-card.active .kpi-label { color: rgba(255,255,255,0.6); }
.kpi-value { font-size: 14px; color: #0f172a; font-weight: 800; }
.phase-card.active .kpi-value { color: white; }
.phase-gmv { margin-top: 24px; font-size: 16px; color: #64748b; text-align: left; }
.phase-card.active .phase-gmv { color: rgba(255,255,255,0.8); }
.phase-gmv strong { color: #7c3aed; font-size: 20px; margin-left: 4px; }
.phase-card.active .phase-gmv strong { color: white; }

.numbers-section { padding: 120px 0; background: #f8fafc; }
.chart-wrapper { margin: 60px auto; max-width: 900px; background: #ffffff; padding: 40px; border-radius: 24px; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.financials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.financial-card { padding: 40px 30px; background: #ffffff; border: 1px solid #f1f5f9; border-radius: 24px; text-align: left; transition: 0.3s; }
.financial-card.highlight { background: #7c3aed; border-color: #7c3aed; color: white; box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2); }
.fin-year { font-size: 14px; color: #64748b; margin-bottom: 10px; }
.fin-gmv { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 5px; }
.fin-revenue { font-size: 15px; color: #94a3b8; margin-bottom: 15px; }
.fin-profit.profit { color: #10b981; font-weight: 700; }
.fin-loss.loss { color: #ef4444; font-weight: 700; }
.fin-round { margin-top: 20px; padding-top: 15px; border-top: 1px solid #e2e8f0; font-size: 13px; color: #64748b; }
.fin-round span { color: #7c3aed; display: block; margin-top: 5px; font-weight: 600; }


.contact-section { padding: 120px 0; background: #f8fafc; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 30px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-info { padding: 60px; border-right: 1px solid #f1f5f9; }
.contact-info h2 { font-size: 42px; font-weight: 800; color: #0f172a; margin-bottom: 20px; }
.contact-info p { color: #64748b; font-size: 18px; line-height: 1.6; margin-bottom: 40px; }
.contact-form { padding: 60px; background: #ffffff; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #64748b; margin-bottom: 10px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; padding: 15px; border-radius: 12px; color: #0f172a; font-size: 16px; outline: none; transition: 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #7c3aed; background: #f0e9ff; }
.btn-form-submit { width: 100%; padding: 18px; background: #7c3aed; color: white; border: none; border-radius: 12px; font-size: 17px; font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.btn-form-submit:hover { background: #6d28d9; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3); }

/* --- Investor Unlock Logic --- */
.investor-all-content {
  display: none;
  background: white;
  color: #0f172a;
}
.investor-all-content.unlocked { display: block !important; }

/* Take Rate Bars */
.take-rate-bar { margin-top: 80px; padding: 48px; background: white; border-radius: 24px; border: 1px solid #f1f5f9; box-shadow: 0 10px 40px rgba(0,0,0,0.02); }
.take-label { font-size: 16px; font-weight: 800; color: #0f172a; margin-bottom: 36px; text-align: left; letter-spacing: -0.01em; }
.take-bars { display: flex; flex-direction: column; gap: 20px; }
.take-item { display: flex; align-items: center; gap: 24px; }
.take-name { min-width: 60px; font-size: 14px; font-weight: 700; color: #64748b; }
.take-bar-wrap { flex: 1; height: 36px; background: #f8fafc; border-radius: 8px; overflow: hidden; position: relative; }
.take-bar-fill { height: 100%; background: #7c3aed; border-radius: 8px; transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1); display: flex; align-items: center; justify-content: center; }
.take-bar-fill span { font-size: 13px; font-weight: 800; color: white; opacity: 0.9; }


/* ===================== RESOURCES PAGE ===================== */
.resources-page { background: #0a0518; min-height: 100vh; }
.resources-hero { padding: 160px 0 120px; text-align: center; background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 600px); }
.empty-state { margin-top: 80px; padding: 60px; background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.1); border-radius: 24px; color: #64748b; }
.empty-state i { font-size: 48px; margin-bottom: 20px; opacity: 0.3; }
.empty-state p { font-size: 16px; }


/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .hero-visual { display: none; }
  .pain-grid, .value-grid, .moat-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-scenarios { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  html { 
    font-size: 16px; 
    height: auto;
    scroll-padding-top: 56px;
  }
  body { 
    overflow-x: hidden; 
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* --- DYNAMIC SECTION LAYOUT mobile --- */
  .hero,
  .pain-points,
  .value-prop,
  .ai-section,
  .competitive-section,
  .cta-section,
  .revenue-section,
  .numbers-section,
  .roadmap-section,
  .contact-section,
  .investor-gate-page {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0; /* Consistent vertical padding for mobile */
  }

  .footer {
  }

  /* --- NAVBAR mobile --- */
  .nav-menu, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-container { padding: 0 16px; justify-content: space-between; height: 56px; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--black);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-menu.open li {
    border: none;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-menu.open li:first-child { border-left: none; }
  .nav-menu.open a {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    padding: 16px 20px;
    border-radius: 0;
  }

  /* --- Global section padding --- */
  .section-container { padding: 0 16px; width: 100%; max-width: 100%; box-sizing: border-box; }
  .section-title { font-size: 28px; margin-bottom: 12px; }
  .section-desc { font-size: 15px; margin-bottom: 24px; }
  .section-tag { font-size: 12px; margin-bottom: 10px; }

  /* --- HERO mobile fullscreen --- */
  .hero { padding: 70px 0 24px; }
  .hero-container { padding: 0 16px; }
  .hero-title { font-size: clamp(28px, 8vw, 42px); margin-bottom: 16px; }
  .hero-desc { font-size: 15px; margin-bottom: 20px; line-height: 1.6; }
  .hero-tag { font-size: 12px; padding: 6px 12px; margin-bottom: 16px; }
  .hero-stats {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 24px;
    gap: 16px;
  }
  .stat-item {
    width: 100%;
    flex: 1 1 100%;
    padding: 20px 24px;
    background: var(--white);
    border: var(--border-width) solid var(--black);
    box-shadow: 4px 4px 0px var(--black);
    border-radius: 8px;
    gap: 4px;
    box-sizing: border-box;
  }
  .stat-item:last-child { border-right: var(--border-width) solid var(--black); }
  .stat-item.primary {
    background: var(--purple-light);
    border-color: var(--black);
  }
  .stat-item.primary .stat-num {
    color: var(--purple);
  }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 13px; color: var(--gray-700); }
  .stat-divider { display: none; }

  /* Hero buttons ??FULL WIDTH, no overflow */
  .hero-buttons {
    margin-bottom: 16px;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .btn-primary-hero,
  .btn-secondary-hero {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 14px 16px;
    box-sizing: border-box;
    white-space: nowrap;
    border-radius: 8px;
  }

  .hero-trust { display: none; }
  .scroll-indicator { display: none; }

  /* --- PAIN POINTS mobile --- */
  .pain-points { padding: 56px 0 24px; }
  .section-hero-img { height: 140px; margin-bottom: 20px; border-radius: 10px; }
  .pain-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .pain-card { padding: 18px 14px; border-radius: 12px; }
  .pain-icon { width: 36px; height: 36px; font-size: 16px; margin-bottom: 12px; border-radius: 8px; }
  .pain-stat { font-size: 20px; margin-bottom: 4px; }
  .pain-title { font-size: 13px; margin-bottom: 6px; }
  .pain-card p { font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  /* --- VALUE PROP mobile --- */
  .value-prop { padding: 56px 0 24px; }
  .value-tabs { margin-bottom: 20px; border-radius: 8px; }
  .tab-btn { padding: 10px 20px; font-size: 14px; }
  .value-grid { grid-template-columns: 1fr; gap: 10px; }
  .value-feature { padding: 20px 16px; border-radius: 12px; }
  .feature-icon { width: 36px; height: 36px; font-size: 16px; margin-bottom: 12px; border-radius: 8px; }
  .value-feature h3 { font-size: 16px; margin-bottom: 6px; }
  .value-feature p { font-size: 13px; margin-bottom: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .feature-metric { font-size: 13px; padding-top: 10px; }

  /* --- AI SECTION mobile --- */
  /* AI section is content-heavy */
  .ai-section { padding: 56px 0 24px; min-height: auto; }
  .ai-scenarios { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .scenario-card { padding: 20px 16px; border-radius: 12px; }
  .scenario-card h3 { font-size: 17px; margin-bottom: 8px; }
  .scenario-card p { font-size: 13px; margin-bottom: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .scenario-flow { gap: 4px; margin-bottom: 12px; }
  .flow-step { padding: 4px 10px; font-size: 11px; }
  .flow-arrow { color: rgba(255,255,255,0.25); font-size: 11px; }
  .scenario-result { font-size: 14px; padding: 10px 14px; }

  .data-pipeline { padding: 20px 0 0; }
  .pipeline-title { font-size: 14px; margin-bottom: 16px; }
  .pipeline-layers { flex-direction: column; gap: 0; }
  .pipeline-arrow { transform: rotate(90deg); padding: 6px 0; font-size: 14px; }
  .pipeline-layer { padding: 16px; border-right: 1px solid rgba(255,255,255,0.1); }
  .pipeline-layer:first-of-type, .pipeline-layer:last-of-type { border-radius: 10px; }
  .layer-title { font-size: 14px; margin-bottom: 8px; }
  .layer-items span { font-size: 11px; padding: 3px 8px; }
  .pipeline-result { padding: 16px 24px; border-radius: 10px; }

  /* --- REVENUE mobile (investor page) --- */
  .revenue-section { padding: 56px 0 24px; }
  .revenue-phases { flex-direction: column; gap: 10px; margin-top: 20px; }
  .phase-card { padding: 24px 18px; border-radius: 12px; }
  .phase-number { font-size: 36px; }
  .phase-period { font-size: 12px; margin-bottom: 10px; }
  .phase-title { font-size: 18px; margin-bottom: 14px; }
  .model-item { font-size: 13px; gap: 8px; }
  .model-item i { font-size: 12px; }
  .phase-kpi { padding: 12px 14px; border-radius: 8px; }
  .roadmap-timeline { margin-top: 20px; }
  .moat-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
  .moat-card { padding: 20px 14px; border-radius: 12px; }
  .moat-icon { width: 36px; height: 36px; font-size: 16px; margin-bottom: 12px; border-radius: 8px; }
  .moat-card h3 { font-size: 15px; margin-bottom: 6px; }
  .moat-card p { font-size: 12px; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .moat-tag { font-size: 11px; padding-top: 10px; }

  .compare-title { font-size: 16px; margin-bottom: 16px; }
  .compare-table { border-radius: 10px; }
  .compare-table th, .compare-table td { padding: 10px 8px; font-size: 11px; }

  /* --- CTA mobile fullscreen --- */
  .cta-section { padding: 56px 0 24px; }
  .cta-title { font-size: clamp(26px, 7vw, 40px); margin-bottom: 16px; }
  .cta-desc { font-size: 15px; margin-bottom: 28px; }
  .cta-buttons {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    width: 100%;
  }
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 16px;
    font-size: 15px;
    box-sizing: border-box;
    border-radius: 8px;
  }
  .btn-cta-secondary { border-left: none; }
  .cta-trust { gap: 16px; }
  .trust-item-cta { font-size: 12px; }

  /* --- CONTACT mobile --- */
  .contact-section { padding: 56px 0 24px; }
  .contact-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .contact-info { border-right: none; border-bottom: 2px solid var(--gray-200); padding: 24px 18px; }
  .contact-info h2 { font-size: 24px; }
  .contact-info p { font-size: 14px; margin-bottom: 20px; }
  .investment-details { grid-template-columns: 1fr; gap: 12px; }
  .invest-item { padding: 20px; }
  .contact-form { padding: 24px 18px; }
  .form-group { margin-bottom: 14px; }
  .form-group label { font-size: 13px; margin-bottom: 6px; }
  .form-group input, .form-group select, .form-group textarea { padding: 12px 14px; font-size: 15px; border-radius: 8px; }
  .btn-form-submit { padding: 14px; font-size: 15px; border-radius: 8px; }

  /* --- FOOTER mobile --- */
  .footer { padding: 32px 0 20px; }
  .footer-container { padding: 0 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .footer-col h4 { font-size: 13px; margin-bottom: 12px; }
  .footer-col a { font-size: 13px; }
  .footer-brand p { font-size: 13px; }
  .footer-bottom { padding-top: 16px; }
  .footer-bottom p { font-size: 12px; }

  /* --- PASSWORD GATE FULLSCREEN mobile --- */
  .investor-gate-page { padding: 80px 16px 40px; }
  .gate-icon-large { width: 72px; height: 72px; font-size: 32px; margin-bottom: 24px; }
  .gate-title { font-size: 28px; margin-bottom: 12px; }
  .gate-desc { font-size: 14px; margin-bottom: 28px; }
  .password-input-wrap { max-width: 100%; }
  .password-input-wrap input { padding: 12px 14px; font-size: 18px; }
  .password-input-wrap button { padding: 12px 24px; font-size: 15px; }
  .gate-back-link { margin-top: 24px; font-size: 14px; }
}

  /* --- MODAL mobile --- */
  .modal { padding: 28px 20px; border-radius: 14px; }
  .modal-content h3 { font-size: 22px; }
  .modal-content p { font-size: 14px; margin-bottom: 20px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .hero-visual { display: none; }
  .pain-grid, .value-grid, .moat-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-scenarios { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  html { font-size: 16px; }
  body { overflow-x: hidden; }

  /* --- NAVBAR mobile --- */
  .nav-menu, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-container { padding: 0 16px; justify-content: space-between; height: 56px; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--black);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-menu.open li { border-bottom: 1px solid var(--gray-200); }
  .nav-menu.open a { font-size: 16px; padding: 16px 20px; }

  /* --- Global section padding --- */
  .section-container { padding: 0 16px; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 15px; }

  /* --- HERO mobile --- */
  .hero { padding: 80px 0 40px; min-height: auto; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .hero-stats { flex-direction: column; max-width: 100%; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-primary-hero, .btn-secondary-hero { width: 100%; justify-content: center; }

  /* --- GRID mobile --- */
  .pain-grid, .value-grid, .moat-grid { grid-template-columns: 1fr; gap: 12px; }
  .pain-card, .value-feature, .moat-card { padding: 24px 20px; }

  /* --- FOOTER mobile --- */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 400px) {
  .section-container { padding: 0 12px; }
  .hero-container { padding: 0 12px; }
  .hero-title { font-size: 26px; }
  .hero-desc { font-size: 14px; }
  .section-title { font-size: 24px; }
  .pain-grid { grid-template-columns: 1fr; gap: 8px; }
  .moat-grid { grid-template-columns: 1fr; gap: 8px; }
  .financials-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ===================== DB INFO BADGE ===================== */
.query-info {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(107, 33, 168, 0.9);
  backdrop-filter: blur(12px);
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  touch-action: manipulation; /* 모바일 더블탭 줌 방지 및 터치 즉시 반응 */
  -webkit-tap-highlight-color: transparent; /* 모바일 탭 하이라이트 제거 */
  user-select: none; /* 텍스트 선택 방지 */
}
.query-info span {
  width: 0;
  opacity: 0;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-left: 0;
}
.query-info.active {
  width: auto;
  padding: 0 20px;
  border-radius: 40px;
}
.query-info.active span {
  width: auto;
  opacity: 1;
  margin-left: 10px;
}
.query-info i {
  font-size: 16px;
  flex-shrink: 0;
}
.query-info:hover {
  background: rgba(107, 33, 168, 1);
  transform: scale(1.05);
}

/* ===================== COMPANIES PAGE ===================== */
/* ===================== COMPANIES PAGE ===================== */
.companies-page { background: #0a0518; min-height: 100vh; color: var(--white); }
.companies-hero { padding: 180px 0 80px; background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 800px); border-bottom: 1px solid rgba(255,255,255,0.05); }

.section-tag-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 40px;
  color: var(--purple-100);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.text-purple { color: var(--purple-100); }
.companies-page .section-title .text-purple { 
  color: var(--white) !important; 
}


/* Category Filters Container */
.category-filters-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
  animation: fadeIn 0.8s ease-out;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.group-label {
  min-width: 90px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  position: relative;
}
.group-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  padding: 8px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}
.tag-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: white;
}
.tag-item.active {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* Grid Header */
.grid-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.total-count { font-size: 16px; color: #94a3b8; }
.total-count strong { color: white; font-weight: 800; }
.sort-options { color: #64748b; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Instagram-style Tile Grid */
.companies-grid-section { padding: 60px 0 120px; }
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px; /* Tight gap like Instagram */
  margin-top: 30px;
}

.company-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
  
  /* Scroll Animation */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.company-tile.visible {
  opacity: 1;
  transform: translateY(0);
}

.tile-img {
  width: 100%;
  height: 100%;
  position: relative;
}

.tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.company-tile:hover .tile-img img {
  transform: scale(1.05);
}

.tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  padding: 20px;
  text-align: center;
}

.company-tile:hover .tile-overlay {
  opacity: 1;
}

.tile-info {
  color: white;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.company-tile:hover .tile-info {
  transform: translateY(0);
}

.tile-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.tile-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.tile-score { color: #fbbf24; }
.tile-tag { 
  background: rgba(255, 255, 255, 0.2); 
  padding: 2px 8px; 
  border-radius: 4px; 
  font-size: 12px; 
}

/* Responsive Grid Adjustments */
@media (max-width: 900px) {
  .company-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px; /* Even tighter for mobile */
  }
  
  .tile-name { font-size: 14px; }
  .tile-stats { font-size: 11px; gap: 8px; }
  .tile-overlay { padding: 10px; }
}

@media (min-width: 1200px) {
  .company-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.company-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.company-card:hover .company-card-img img { transform: scale(1.08); }

.card-status-badge {
  position: absolute;
  top: 15px; left: 15px;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 24, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}
.company-card:hover .card-overlay { opacity: 1; }
.view-detail {
  padding: 10px 24px;
  border: 1px solid white;
  color: white;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.company-card-content { padding: 28px; flex-grow: 1; display: flex; flex-direction: column; }

.company-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.company-name { font-size: 20px; font-weight: 800; color: white; margin-bottom: 0; }
.trust-score {
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple-100);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(124, 58, 237, 0.3);
  font-weight: 900; font-size: 14px;
}

.company-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 24px;
  height: 4.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
-webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.company-tags-display {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.mini-tag {
  font-size: 12px;
  color: #a78bfa;
  font-weight: 700;
  background: rgba(124, 58, 237, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
}

.company-footer-meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
}
.meta-info { font-size: 12px; color: #64748b; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.meta-info i { color: #5b21b6; }

/* No Results */
.no-results {
  text-align: center;
  padding: 120px 0;
  background: rgba(255,255,255,0.02);
  border-radius: 30px;
  border: 1px dashed rgba(255,255,255,0.1);
}
.no-results-icon { font-size: 60px; color: rgba(124, 58, 237, 0.3); margin-bottom: 24px; }
.no-results h3 { font-size: 24px; font-weight: 800; color: white; margin-bottom: 12px; }
.no-results p { color: #64748b; margin-bottom: 30px; }
.btn-reset-filter {
  display: inline-block;
  padding: 12px 30px;
  background: #7c3aed;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}
.btn-reset-filter:hover { background: #6d28d9; transform: translateY(-2px); }


/* Hero Stats Bar */
.hero-stats-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  max-width: 900px;
  backdrop-filter: blur(10px);
}

.hero-stat-item {
  flex: 1;
  text-align: center;
}

.hero-stat-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 40px;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
  .hero-stats-bar {
    flex-wrap: wrap;
    padding: 24px;
    gap: 20px;
  }
  .hero-stat-divider { display: none; }
  .hero-stat-item { flex: 1 1 100%; text-align: left; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .hero-stat-item:last-child { border-bottom: none; }
  .hero-stat-value { font-size: 28px; }
}

@media (max-width: 768px) {
  .companies-hero { padding: 100px 0 40px; }
  .filter-group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .group-label { min-width: auto; font-size: 12px; }
  /* 인스타그램처럼 2열 유지 - 1열로 떨어지지 않도록 수정 */
  .company-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .grid-header-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Comparison Matrix */
.comparison-table-wrap {
  margin-top: 80px;
  background: var(--dark-lighter, #121212);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.compare-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--white, #ffffff);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -0.03em;
}

.compare-table {
  overflow-x: auto;
  border-radius: 12px;
}

.compare-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 800px;
}

.compare-table th, 
.compare-table td {
  padding: 24px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 15px;
}

.compare-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--white, #ffffff);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}

.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
  padding-left: 30px;
  color: var(--white, #ffffff);
  font-weight: 700;
  width: 200px;
}

/* Highlight Column (MARTMART) */
.compare-table .highlight-col {
  background: rgba(124, 58, 237, 0.1);
  color: var(--white, #ffffff);
  font-weight: 800;
}

.compare-table th.highlight-col {
  background: #7c3aed;
  color: white;
  border-radius: 12px 12px 0 0;
}

.compare-table tr:last-child td.highlight-col {
  border-radius: 0 0 12px 12px;
}

/* Fix hover visibility for dark mode matrix */
.comparison-table-wrap tr:hover td {
  background: rgba(255, 255, 255, 0.08) !important;
}
.comparison-table-wrap tr:hover td.highlight-col {
  background: var(--purple) !important;
}

/* Status Icons */
.compare-table .check {
  color: #10b981;
  font-size: 20px;
}

.compare-table .partial {
  color: #f59e0b;
  font-size: 18px;
}

.compare-table .cross {
  color: #ef4444;
  font-size: 18px;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .comparison-table-wrap {
    padding: 24px 16px;
    margin-top: 40px;
  }
  .compare-title { font-size: 22px; }
  .compare-table th, .compare-table td { padding: 16px 12px; font-size: 13px; }
  .compare-table td:first-child { width: 120px; padding-left: 15px; }
}
