/* HIGIS WORLD — Master Stylesheet */
:root {
  --black: #050505;
  --ink: #111214;
  --surface: #f7f8fa;
  --muted: #70757d;
  --line: rgba(17, 18, 20, 0.08);
  --glass: rgba(255, 255, 255, 0.75);
  --card-dark: #0b0c0e;
  --border-dark: rgba(255, 255, 255, 0.1);
  --accent-blue: #4f8df7;
  --accent-violet: #9d7bfc;
  --accent-cyan: #38bdf8;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ================= NAVIGATION ================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 14px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand:hover {
  opacity: 0.85;
}

.infinity-mark {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

#navbar.scrolled .brand {
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #ffffff;
}

#navbar.scrolled .nav-links a {
  color: var(--muted);
}

#navbar.scrolled .nav-links a:hover {
  color: var(--ink);
}

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

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s;
}

.icon-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

#navbar.scrolled .icon-btn {
  color: var(--muted);
}

#navbar.scrolled .icon-btn:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}

/* ================= PILL BUTTONS ================= */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.pill-btn.light {
  background: #ffffff;
  color: var(--black);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
}

.pill-btn.light:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.pill-btn.dark {
  background: var(--ink);
  color: #ffffff;
}

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

.pill-btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.pill-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.pill-btn.outline {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.pill-btn.outline:hover {
  background: #f7f8fa;
  border-color: rgba(0, 0, 0, 0.22);
}

.pill-btn.glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.pill-btn.glass:hover {
  background: rgba(255, 255, 255, 0.2);
}

.pill-btn.disabled {
  background: #f1f2f4;
  color: #9aa1a9;
  cursor: not-allowed;
}

.pill-btn.sm {
  padding: 7px 15px;
  font-size: 11px;
}

.pill-btn.lg {
  padding: 14px 28px;
  font-size: 14px;
}

.arrow {
  transition: transform 0.2s ease;
}

.pill-btn:hover .arrow {
  transform: translateX(2px);
}

/* Join btn in navbar */
#navbar .join-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

#navbar .join-btn:hover {
  background: #ffffff;
  color: var(--black);
}

#navbar.scrolled .join-btn {
  background: var(--ink);
  color: #ffffff;
  border-color: transparent;
}

#navbar.scrolled .join-btn:hover {
  background: var(--black);
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s;
}

#navbar.scrolled .mobile-menu-btn span {
  background: var(--ink);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 32px 48px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  transform: translateY(0);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-link {
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  height: 820px;
  background: #030609;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 130px;
  padding-bottom: 30px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 6, 9, 0.95) 0%, rgba(3, 6, 9, 0.85) 32%, rgba(3, 6, 9, 0.2) 60%, rgba(3, 6, 9, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  max-width: 1240px;
  width: 100%;
  margin: auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
}

.hero-title {
  font-size: clamp(52px, 6.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin-bottom: 24px;
}

.glow-text {
  background: linear-gradient(135deg, #ffffff 25%, #76a9fa 70%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(118, 169, 250, 0.4));
}

.hero-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 36px;
}

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

/* ================= HERO PORTAL SCROLL-DRIVEN ARC TICKER ================= */
.portal-arc-ticker-wrap {
  position: absolute;
  right: clamp(10px, 4vw, 60px);
  top: 50%;
  transform: translate(28px, calc(-51% - 15px));
  width: clamp(520px, 46vw, 660px);
  height: clamp(520px, 46vw, 660px);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  opacity: 0.88;
}

.portal-arc-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 16px rgba(79, 141, 247, 0.18));
}

.portal-guide-arch {
  fill: none;
  stroke: rgba(118, 169, 250, 0.13);
  stroke-width: 1;
  stroke-dasharray: 4 10;
}

.portal-guide-arch.outer {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-dasharray: 2 14;
}

.portal-dotmatrix-text {
  font-family: 'Silkscreen', 'VT323', ui-monospace, 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  fill: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  filter: drop-shadow(0 0 5px rgba(118, 169, 250, 0.45));
}

/* If page is resized from larger, make it disappear seamlessly */
@media (max-width: 1240px) {
  .portal-arc-ticker-wrap {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .portal-arc-ticker-wrap {
    display: none;
  }
}

.hero-footer-bar {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  position: relative;
  z-index: 2;
}

.micro-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot.blue { background: #60a5fa; }
.dot.violet { background: #a78bfa; }
.dot.cyan { background: #38bdf8; }

/* ================= SECTION COMMON ================= */
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow.dark {
  color: rgba(255, 255, 255, 0.5);
}

.section-title {
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  max-width: 580px;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

/* ================= WORLD INTRODUCTION ================= */
.intro-section {
  position: relative;
  min-height: 580px;
  background: #fbfbfe;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 110px 0;
}

.intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
  pointer-events: none;
}

.intro-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 38%, rgba(255, 255, 255, 0.2) 65%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.intro-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.intro-copy {
  max-width: 560px;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.play-icon {
  font-size: 10px;
  margin-right: 2px;
}

.sculpture-labels {
  align-self: flex-end;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  line-height: 1.6;
  color: rgba(112, 117, 125, 0.7);
  margin-bottom: 20px;
}

.dash {
  font-size: 14px;
}

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

/* ================= HIGI METHOD ================= */
.method-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.loop-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.infinity-char {
  font-size: 20px;
  line-height: 1;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.method-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 26px;
  border: 1px solid rgba(17, 18, 20, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 270px;
  transition: all 0.3s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(17, 18, 20, 0.15);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.stage-letter {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.stage-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #f1f3f5;
  color: var(--muted);
}

.card-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}

.card-foot {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
}

/* ================= OUR PILLARS ================= */
.pillars-section {
  padding: 120px 0;
  background: #ffffff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.pillar-card {
  padding: 36px 30px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  transition: transform 0.3s;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.08);
}

.pillar-ideas .pillar-icon {
  background: #eff6ff;
  color: #3b82f6;
}

.pillar-build .pillar-icon {
  background: #ecfeff;
  color: #06b6d4;
}

.pillar-open .pillar-icon {
  background: #f5f3ff;
  color: #8b5cf6;
}

.pillar-community .pillar-icon {
  background: #eef2ff;
  color: #6366f1;
}

.pillar-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}

/* ================= FEATURED PRODUCTS ================= */
.featured-section {
  padding: 110px 0;
  background: #ffffff;
}

.carousel-nav-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.view-all-link:hover {
  color: var(--accent-blue);
}

.arrow-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink);
  transition: all 0.2s;
}

.arrow-btn:hover {
  background: var(--surface);
  border-color: rgba(0, 0, 0, 0.2);
}

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

.featured-card {
  position: relative;
  background: #0a0a0c;
  color: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.card-info {
  max-width: 55%;
  position: relative;
  z-index: 3;
}

.prod-name {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.tag-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  font-weight: 600;
}

.tag-badge.dev {
  background: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tag-badge.prod {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tag-badge.infra {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.prod-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
}

.prod-artwork {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.prod-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  -webkit-mask-image: linear-gradient(to left, #000000 35%, rgba(0, 0, 0, 0.8) 65%, transparent 100%);
  mask-image: linear-gradient(to left, #000000 35%, rgba(0, 0, 0, 0.8) 65%, transparent 100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.prod-artwork::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0a0a0c 0%, rgba(10, 10, 12, 0.35) 45%, transparent 90%);
  z-index: 2;
  pointer-events: none;
}

.featured-card:hover .prod-artwork img {
  transform: scale(1.07);
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 24px;
  position: relative;
  z-index: 2;
  transition: color 0.2s;
}

.featured-card:hover .explore-link {
  color: #ffffff;
}

/* ================= INNOVATION TIMELINE ================= */
.timeline-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
}

.timeline-meta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.timeline-caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  text-align: right;
  font-weight: 300;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: #f1f3f5;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s;
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.active {
  background: #ffffff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.timeline-container {
  position: relative;
  margin-top: 80px;
}

.timeline-svg {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 60px;
  transform: translateX(-50%);
  width: 200px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 70px;
  transition: opacity 0.3s, transform 0.3s;
}

.timeline-row.hidden {
  display: none;
}

.timeline-side {
  display: flex;
  align-items: center;
}

.row-even .side-art {
  justify-content: flex-end;
  gap: 24px;
}

.row-even .side-info {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 420px;
}

.row-odd .side-info {
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  max-width: 420px;
  margin-left: auto;
}

.row-odd .side-art {
  justify-content: flex-start;
  gap: 24px;
}

.timeline-node {
  display: flex;
  justify-content: center;
  align-items: center;
}

.node-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.art-card {
  width: 270px;
  height: 170px;
  border-radius: 18px;
  background: transparent;
  border: none;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.art-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 18px;
  display: block;
}

.watermark-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 300;
  color: #d1d5db;
  user-select: none;
}

.info-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.category-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f1f3f5;
  color: var(--muted);
}

.status-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
}

.status-badge.available {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.status-badge.dev {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}

.status-badge.soon {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.timeline-title {
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 18px;
}

.timeline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-end {
  text-align: center;
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.end-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
}

.end-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ================= COMMUNITY / FUTURE ================= */
.community-section {
  position: relative;
  background: #050608;
  color: #ffffff;
  padding-top: 55px;
  padding-bottom: 0;
  overflow: hidden;
  text-align: center;
}

.community-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.community-title {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 12px;
}

.community-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  margin-bottom: 24px;
}

.community-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.horizon-wrapper {
  position: relative;
  width: 100%;
  max-height: clamp(170px, 19vw, 240px);
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  overflow: hidden;
  line-height: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 100%);
}

.horizon-img {
  width: 100%;
  max-width: 1400px;
  height: clamp(280px, 32vw, 380px);
  display: block;
  object-fit: cover;
  object-position: bottom center;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-col .brand {
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 30px;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(112, 117, 125, 0.7);
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(112, 117, 125, 0.8);
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: var(--muted);
  transition: color 0.2s;
}

.legal-links a:hover {
  color: var(--ink);
}

/* ================= MODALS ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.search-input-wrap input {
  flex: 1;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  margin-left: 12px;
  outline: none;
  color: var(--ink);
}

.close-btn {
  font-size: 14px;
  color: var(--muted);
  padding: 4px;
}

.close-btn.absolute {
  position: absolute;
  top: 20px;
  right: 20px;
}

.search-results {
  padding: 16px 20px;
  max-height: 320px;
  overflow-y: auto;
}

.result-group-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 10px;
}

.search-item {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.search-item strong {
  color: var(--ink);
}

.search-item:hover {
  background: var(--surface);
  color: var(--ink);
}

.story-box {
  background: var(--card-dark);
  color: #ffffff;
  padding: 40px;
  position: relative;
  border: 1px solid var(--border-dark);
}

.story-box .modal-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
}

.story-content {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-portal-wrap {
    order: -1;
  }
  .portal-frame {
    max-width: 380px;
  }
  .tech-labels {
    display: none;
  }
  .intro-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .method-grid, .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .timeline-meta-box {
    align-items: flex-start;
  }
  .timeline-caption {
    text-align: left;
  }
  .timeline-svg {
    left: 20px;
  }
  .timeline-row {
    grid-template-columns: 40px 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }
  .timeline-node {
    grid-column: 1;
    grid-row: 1;
    align-self: flex-start;
    margin-top: 10px;
  }
  .row-even .side-art, .row-odd .side-art {
    display: none;
  }
  .row-even .side-info, .row-odd .side-info {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-start;
    text-align: left;
    margin: 0;
  }
  .watermark-num {
    display: none;
  }
  .method-grid, .pillars-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav-cols {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .hero-footer-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ================= BLOG / EDITORIAL SECTION ================= */
.blog-section {
  padding: 120px 0 100px;
  background: #ffffff;
  position: relative;
  border-top: 1px solid var(--line);
}

.blog-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.blog-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.blog-header-left {
  max-width: 620px;
}

.blog-filter-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f5f7;
  padding: 5px;
  border-radius: 9999px;
  border: 1px solid rgba(17, 18, 20, 0.06);
  flex-wrap: wrap;
}

.blog-filter-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: #70757d;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.blog-filter-btn:hover:not(.active) {
  color: #111214;
  background: rgba(17, 18, 20, 0.05);
}

.blog-filter-btn.active {
  background: #111214;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid rgba(17, 18, 20, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 18, 20, 0.16);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.blog-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0a0b0e;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 5, 8, 0.55) 100%);
  pointer-events: none;
}

.blog-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(17, 18, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-transform: uppercase;
}

.blog-card-content {
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #70757d;
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #111214;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-title {
  color: #4f8df7;
}

.blog-card-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: #525866;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 18, 20, 0.06);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111214;
  color: #ffffff;
  font-weight: 600;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-author-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.blog-author-name {
  font-size: 12px;
  font-weight: 600;
  color: #111214;
}

.blog-author-role {
  font-size: 10px;
  color: #70757d;
  font-family: var(--font-mono);
}

.blog-card-read-more {
  font-size: 12px;
  font-weight: 600;
  color: #111214;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.blog-card:hover .blog-card-read-more {
  color: #4f8df7;
}

.blog-card:hover .blog-card-read-more .arrow {
  transform: translateX(4px);
}

.blog-empty {
  text-align: center;
  padding: 60px 20px;
  background: #f9fafb;
  border-radius: 16px;
  border: 1px dashed rgba(17, 18, 20, 0.12);
  color: #70757d;
  font-size: 14px;
}

/* ================= ARTICLE READER MODAL ================= */
.article-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.article-modal-overlay.active {
  display: flex;
}

.article-reader-box {
  background: #ffffff;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  border: 1px solid rgba(17, 18, 20, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  padding: 44px 52px 56px;
  position: relative;
  animation: modalFadeUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeUp {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reader-article {
  display: flex;
  flex-direction: column;
}

.reader-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #70757d;
  margin-bottom: 14px;
}

.reader-category {
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #4f8df7;
  text-transform: uppercase;
}

.reader-dot {
  opacity: 0.4;
}

.reader-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #111214;
  margin-bottom: 20px;
}

.reader-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(17, 18, 20, 0.08);
}

.reader-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111214;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.reader-author-info {
  display: flex;
  flex-direction: column;
}

.reader-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #111214;
}

.reader-author-role {
  font-size: 11px;
  color: #70757d;
  font-family: var(--font-mono);
}

.reader-hero-image-wrap {
  width: 100%;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0b0e;
  margin-bottom: 32px;
}

.reader-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reader-body {
  font-size: 16px;
  line-height: 1.85;
  color: #27272a;
}

.reader-body p {
  margin-bottom: 20px;
}

.reader-body h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111214;
  margin: 36px 0 16px;
}

.reader-body h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111214;
  margin: 28px 0 12px;
}

.reader-body blockquote {
  border-left: 3px solid #111214;
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  color: #525866;
  font-style: italic;
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
}

.reader-body ul, .reader-body ol {
  margin: 16px 0 24px 24px;
}

.reader-body li {
  margin-bottom: 8px;
}

.reader-body pre {
  background: #0d0e12;
  color: #e2e8f0;
  padding: 18px 22px;
  border-radius: 12px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reader-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 18, 20, 0.08);
}

.reader-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .article-reader-box {
    padding: 30px 20px 40px;
  }
  .reader-title {
    font-size: 24px;
  }
  .reader-hero-image-wrap {
    height: 200px;
  }
}

