/* ======================================================
   World X Chain — Brand Presentation Stylesheet
   ====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --cyber-blue: #00B4D8;
  --cyber-blue-deep: #0077B6;
  --energy-green: #00F5A0;
  --energy-green-bright: #00FF94;
  --bg-primary: #07080E;
  --bg-secondary: #0D0F1A;
  --bg-card: rgba(15, 18, 35, 0.85);
  --text-primary: #F0F2FF;
  --text-secondary: rgba(240, 242, 255, 0.65);
  --text-dim: rgba(240, 242, 255, 0.4);
  --gradient-brand: linear-gradient(135deg, var(--cyber-blue), var(--energy-green));
  --gradient-brand-h: linear-gradient(90deg, var(--cyber-blue), var(--energy-green));
  --glow-blue: 0 0 30px rgba(0, 180, 216, 0.35);
  --glow-green: 0 0 30px rgba(0, 245, 160, 0.35);
  --font-en: 'Outfit', 'Inter', sans-serif;
  --font-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --slide-transition: 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; overflow: hidden; height: 100%; }
body {
  font-family: var(--font-en);
  background: var(--bg-primary);
  color: var(--text-primary);
  height: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.cn { font-family: var(--font-cn); }

/* ---------- Slide Engine ---------- */
.deck {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5vh 8vw;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity var(--slide-transition), transform var(--slide-transition), visibility 0s 0.7s;
  will-change: opacity, transform;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--slide-transition), transform var(--slide-transition), visibility 0s 0s;
}

/* ---------- Background Glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-glow::before,
.bg-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: floatGlow 12s ease-in-out infinite alternate;
}
.bg-glow::before {
  width: 600px; height: 600px;
  background: var(--cyber-blue);
  top: -10%; left: -5%;
}
.bg-glow::after {
  width: 500px; height: 500px;
  background: var(--energy-green);
  bottom: -10%; right: -5%;
  animation-delay: -6s;
}
@keyframes floatGlow {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* ---------- Navigation ---------- */
.nav-bar {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(13, 15, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 10px 22px;
}
.nav-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.nav-dot.active {
  background: var(--energy-green);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.5);
  width: 28px;
  border-radius: 10px;
}
.nav-dot:hover { background: rgba(255,255,255,0.45); }
.nav-dot.active:hover { background: var(--energy-green); }

.page-counter {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

/* ---------- Slide 1 — Cover ---------- */
.cover-logo {
  width: min(420px, 55vw);
  animation: breathe 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(0,180,216,0.25)) drop-shadow(0 0 80px rgba(0,245,160,0.15));
}
@keyframes breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 40px rgba(0,180,216,0.25)) drop-shadow(0 0 80px rgba(0,245,160,0.15)); }
  50%      { transform: scale(1.03); filter: drop-shadow(0 0 60px rgba(0,180,216,0.35)) drop-shadow(0 0 100px rgba(0,245,160,0.25)); }
}
.cover-title {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  margin-top: 2.5rem;
  color: var(--text-primary);
}
.cover-subtitle {
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  color: var(--text-dim);
  margin-top: 1rem;
  letter-spacing: 0.15em;
  max-width: 600px;
  text-align: center;
  line-height: 1.8;
}

/* ---------- Section Tag ---------- */
.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--energy-green);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

/* ---------- Slide Headings ---------- */
.slide-heading {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.slide-heading .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slide-subheading {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  line-height: 1.9;
  margin-bottom: 2rem;
}

/* ---------- Cards Grid ---------- */
.cards-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
}
.card {
  flex: 1 1 280px;
  max-width: 340px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,245,160,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,245,160,0.1));
  border: 1px solid rgba(0,245,160,0.12);
}
.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Slide 3 — Logo Showcase ---------- */
.showcase-logo {
  width: min(480px, 60vw);
  filter: drop-shadow(0 0 60px rgba(0,180,216,0.3)) drop-shadow(0 0 120px rgba(0,245,160,0.2));
  animation: breathe 4s ease-in-out infinite;
}

/* ---------- Slide 4 — Symbol Analysis ---------- */
.analysis-wrap {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  flex-wrap: wrap;
}
.analysis-logo {
  width: min(320px, 40vw);
  filter: drop-shadow(0 0 40px rgba(0,180,216,0.2));
  position: relative;
}
.analysis-points {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.analysis-point {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.3s ease;
}
.analysis-point:hover {
  border-color: rgba(0,180,216,0.25);
}
.point-number {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyber-blue), var(--energy-green));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--bg-primary);
}
.point-content { flex: 1; }
.point-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.point-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Slide 5 — Color Language ---------- */
.color-palette {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.swatch-circle {
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.swatch-circle:hover {
  transform: scale(1.1);
}
.swatch-circle.blue {
  background: var(--cyber-blue);
  box-shadow: 0 0 40px rgba(0,180,216,0.35);
}
.swatch-circle.green {
  background: var(--energy-green);
  box-shadow: 0 0 40px rgba(0,245,160,0.35);
}
.swatch-circle.gradient {
  background: var(--gradient-brand);
  box-shadow: 0 0 40px rgba(0,180,216,0.2), 0 0 40px rgba(0,245,160,0.2);
}
.swatch-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.swatch-hex {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: 'Inter', monospace;
  letter-spacing: 0.05em;
}
.gradient-bar {
  width: 100%;
  max-width: 600px;
  height: 8px;
  border-radius: 99px;
  background: var(--gradient-brand-h);
  box-shadow: 0 0 30px rgba(0,180,216,0.2), 0 0 30px rgba(0,245,160,0.2);
}

/* ---------- Slide 7 — Logo Guidelines ---------- */
.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1000px;
}
.guideline-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: border-color 0.3s ease;
}
.guideline-item:hover {
  border-color: rgba(0,245,160,0.2);
}
.guideline-visual {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.guideline-visual img {
  max-height: 80px;
  max-width: 120px;
}
.guideline-visual .mini-logo {
  width: 80px;
  filter: drop-shadow(0 0 15px rgba(0,180,216,0.2));
}
.guideline-visual .mini-logo.wrong {
  filter: none;
  opacity: 0.35;
}
.guideline-visual .clearspace-box {
  width: 100px; height: 100px;
  border: 2px dashed rgba(0,245,160,0.3);
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  position: relative;
}
.clearspace-box img {
  width: 60px;
}
.clearspace-box .arrow {
  position: absolute;
  color: var(--energy-green);
  font-size: 0.6rem;
}
.clearspace-box .arrow.top { top: 4px; }
.clearspace-box .arrow.bottom { bottom: 4px; }
.clearspace-box .arrow.left { left: 4px; }
.clearspace-box .arrow.right { right: 4px; }
.guideline-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.guideline-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.guideline-item.wrong { border-color: rgba(255,80,80,0.2); }
.guideline-item.wrong .guideline-label { color: #ff5050; }

/* ---------- Slide 8 — Application Scenarios ---------- */
.mockups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1100px;
}
.mockup-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mockup-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.mockup-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.mockup-label {
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

/* ---------- Slide 9 — Closing ---------- */
.closing-quote {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  text-align: center;
  line-height: 2;
  max-width: 750px;
  color: var(--text-secondary);
  font-style: italic;
  position: relative;
  padding: 0 32px;
}
.closing-quote::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 0;
  font-size: 4rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  line-height: 1;
}
.closing-divider {
  width: 60px;
  height: 2px;
  background: var(--gradient-brand-h);
  margin: 2rem 0;
  border-radius: 99px;
}
.closing-thanks {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ---------- Tonality Keywords ---------- */
.tonality-keywords {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}
.keyword-chip {
  padding: 10px 24px;
  border-radius: 99px;
  border: 1px solid rgba(0,245,160,0.2);
  background: rgba(0,245,160,0.05);
  font-size: 0.82rem;
  color: var(--energy-green);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}
.keyword-chip:hover {
  background: rgba(0,245,160,0.12);
  border-color: rgba(0,245,160,0.4);
  box-shadow: 0 0 20px rgba(0,245,160,0.15);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .slide { padding: 4vh 5vw; }
  .cards-row { gap: 16px; }
  .card { padding: 24px 20px; flex: 1 1 100%; max-width: 100%; }
  .analysis-wrap { flex-direction: column; gap: 24px; }
  .analysis-logo { width: min(240px, 70vw); }
  .color-palette { gap: 20px; }
  .swatch-circle { width: 80px; height: 80px; }
  .mockups-grid { grid-template-columns: 1fr 1fr; }
  .guidelines-grid { grid-template-columns: 1fr 1fr; }
  .nav-bar { padding: 8px 14px; gap: 7px; }
}

/* ---------- Animated entrance ---------- */
.slide.active .fade-up {
  animation: fadeUp 0.6s ease forwards;
}
.slide.active .fade-up:nth-child(1) { animation-delay: 0.1s; }
.slide.active .fade-up:nth-child(2) { animation-delay: 0.2s; }
.slide.active .fade-up:nth-child(3) { animation-delay: 0.3s; }
.slide.active .fade-up:nth-child(4) { animation-delay: 0.4s; }
.slide.active .fade-up:nth-child(5) { animation-delay: 0.5s; }
.fade-up {
  opacity: 0;
  transform: translateY(20px);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 0; height: 0; }

/* ---------- Lang switcher ---------- */
.lang-switch {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 200;
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.lang-btn {
  padding: 6px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border: none;
  background: rgba(13,15,26,0.7);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.lang-btn.active, .lang-btn:hover {
  background: rgba(0,245,160,0.12);
  color: var(--energy-green);
}
