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

:root {
  --bg-primary: #06080f;
  --bg-secondary: #0c1220;
  --bg-tertiary: #111827;
  --text-primary: #e4e8f0;
  --text-secondary: #7a8599;
  --text-tertiary: #4a5568;
  --border-color: #1e2a3a;
  --border-hover: #2d3f56;
  --amber: #d4a053;
  --amber-glow: rgba(212, 160, 83, 0.15);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.15);
  --cyan: #06d6d6;
  --cyan-glow: rgba(6, 214, 214, 0.15);
  --gradient-bridge: linear-gradient(135deg, #d4a053, #3b82f6, #06d6d6);
  --gradient-warm: linear-gradient(135deg, #d4a053, #e8b960);
  --gradient-cool: linear-gradient(135deg, #3b82f6, #06d6d6);
  --radius: 8px;
  --radius-lg: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ===== Canvas Background ===== */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Utility ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-bridge);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 14px 0;
  background: rgba(6, 8, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-color);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  position: relative;
}

.nav-logo svg {
  width: 100%;
  height: 100%;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-brand-domain {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-bridge);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle svg {
  width: 22px;
  height: 22px;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-content {
  max-width: 820px;
  position: relative;
}

.hero-overline {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: var(--gradient-bridge);
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: floatY 3s ease-in-out infinite;
}

.hero-scroll-hint .scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-tertiary), transparent);
}

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

/* ===== Section Common ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 140px 0;
}

.section-label {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-label.amber { color: var(--amber); }
.section-label.blue { color: var(--blue); }
.section-label.cyan { color: var(--cyan); }

.section-heading {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.section-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 640px;
}

/* ===== Vision Section ===== */
.vision {
  border-top: 1px solid var(--border-color);
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vision-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 40% 40%,
    rgba(212, 160, 83, 0.2) 0%,
    rgba(59, 130, 246, 0.15) 40%,
    rgba(6, 214, 214, 0.1) 70%,
    transparent 100%
  );
  animation: orbPulse 6s ease-in-out infinite;
}

.vision-orb::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(212, 160, 83, 0.4), transparent, rgba(6, 214, 214, 0.4)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: orbRotate 10s linear infinite;
}

.vision-orb::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.2);
  animation: orbRotate 15s linear infinite reverse;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes orbRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vision-quote {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-top: 24px;
  padding-left: 20px;
  border-left: 2px solid var(--amber);
  color: var(--text-primary);
}

/* ===== Mission Section ===== */
.mission {
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 32, 0.5) 50%, transparent 100%);
}

.mission-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.mission-statement {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.mission-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.bridge-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  min-width: 160px;
  transition: all 0.4s var(--ease-out);
}

.bridge-node:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.bridge-node.physical:hover {
  box-shadow: 0 0 30px var(--amber-glow);
  border-color: rgba(212, 160, 83, 0.3);
}

.bridge-node.digital:hover {
  box-shadow: 0 0 30px var(--blue-glow);
  border-color: rgba(59, 130, 246, 0.3);
}

.bridge-node-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bridge-node.physical .bridge-node-icon {
  background: var(--amber-glow);
  border: 1px solid rgba(212, 160, 83, 0.2);
}

.bridge-node.digital .bridge-node-icon {
  background: var(--blue-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.bridge-node-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  fill: none;
}

.bridge-node.physical svg { stroke: var(--amber); }
.bridge-node.digital svg { stroke: var(--blue); }

.bridge-node-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.bridge-node.physical .bridge-node-label { color: var(--amber); }
.bridge-node.digital .bridge-node-label { color: var(--blue); }

.bridge-connector {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bridge-connector .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  animation: connectorPulse 1.5s ease-in-out infinite;
}

.bridge-connector .dot:nth-child(2) { animation-delay: 0.2s; }
.bridge-connector .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes connectorPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ===== Values Section ===== */
.values {
  border-top: 1px solid var(--border-color);
}

.values-header {
  text-align: center;
  margin-bottom: 80px;
}

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

.value-card {
  position: relative;
  padding: 48px 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  text-align: center;
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.value-card:nth-child(1)::before { background: linear-gradient(90deg, transparent, var(--amber), transparent); }
.value-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.value-card:nth-child(3)::before { background: linear-gradient(90deg, transparent, var(--blue), transparent); }

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.value-card:nth-child(1):hover { box-shadow: 0 8px 40px var(--amber-glow); }
.value-card:nth-child(2):hover { box-shadow: 0 8px 40px var(--cyan-glow); }
.value-card:nth-child(3):hover { box-shadow: 0 8px 40px var(--blue-glow); }

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: transform 0.5s var(--ease-out);
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
}

.value-card:nth-child(1) .value-icon {
  background: var(--amber-glow);
  border: 1px solid rgba(212, 160, 83, 0.2);
}

.value-card:nth-child(2) .value-icon {
  background: var(--cyan-glow);
  border: 1px solid rgba(6, 214, 214, 0.2);
}

.value-card:nth-child(3) .value-icon {
  background: var(--blue-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  fill: none;
}

.value-card:nth-child(1) .value-icon svg { stroke: var(--amber); }
.value-card:nth-child(2) .value-icon svg { stroke: var(--cyan); }
.value-card:nth-child(3) .value-icon svg { stroke: var(--blue); }

.value-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.value-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.footer-info {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

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

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .vision-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vision-visual {
    height: 280px;
    order: -1;
  }

  .vision-orb {
    width: 200px;
    height: 200px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 8, 15, 0.95);
    backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    gap: 16px;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
    min-height: 100svh;
  }

  .mission-bridge {
    flex-direction: column;
    gap: 16px;
  }

  .bridge-connector {
    transform: rotate(90deg);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .value-card {
    padding: 36px 24px;
  }

  .bridge-node {
    min-width: 140px;
    padding: 20px 24px;
  }
}
