:root {
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-link: #0066cc;
  --bg-white: #fbfbfd;
  --bg-dark: #000000;
  --bg-gray: #f5f5f7;
  --accent-blue: #0071e3;
  --font-family: 'SF Pro Display', 'SF Pro Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-white);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================
   GLOBAL NAV
   ======================== */
header.navbar {
  width: 100%;
  height: 44px;
  padding: 0 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 9999;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-inner {
  max-width: 1600px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* ── Language dropdown ──────────────────────────────────── */
.lang-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Icon trigger button */
.lang-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: none;
  color: var(--text-primary);
  opacity: 0.75;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.lang-icon-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}
.lang-icon-btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* Dropdown panel */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 130px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  list-style: none;
  padding: 6px;
  z-index: 10000;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

/* Open state (toggled by i18n.js) */
.lang-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Individual language option */
.lang-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #1d1d1f;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
}
.lang-option:hover {
  background: #f5f5f7;
}
.lang-option:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: -2px;
  border-radius: 8px;
}

/* Checkmark for active language (CSS-only, no extra DOM) */
.lang-option.is-active::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 12px;
  border-right: 2px solid #1d1d1f;
  border-bottom: 2px solid #1d1d1f;
  transform: rotate(45deg) translateY(-2px);
  flex-shrink: 0;
  margin-left: 12px;
}

/* ========================
   MAIN CONTAINER
   ======================== */
main {
  width: 100%;
}

/* ========================
   HERO SECTION (Dark, Full-Width)
   ======================== */
.hero-section {
  background: var(--bg-dark);
  text-align: center;
  padding: 10rem 2rem 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -0.04em;
  line-height: 1.07;
  margin-bottom: 0.5rem;
}

/* SEO: brand name — visual hero mark */
.hero-title-brand {
  display: block;
}

/*
 * SEO: keyword suffix — crawlable, de-emphasised visually.
 * Uses a smaller font size and muted color so it doesn't
 * compete with the brand mark but is fully indexed.
 */
.hero-title-suffix {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin-top: 0.25rem;
}

.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
}

.hero-link-primary {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 400;
  color: #fff;
  background: var(--accent-blue);
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-link-primary:hover {
  background: #0077ed;
}

.hero-link-secondary {
  font-size: 1.3125rem;
  font-weight: 400;
  color: var(--accent-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: text-decoration 0.3s ease;
}

.hero-link-secondary:hover {
  text-decoration: underline;
}

.hero-link-secondary .chevron {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.hero-link-secondary:hover .chevron {
  transform: translateX(3px);
}

/* ========================
   SECTION: TILE PANELS (Bento Style)
   ======================== */
.tile-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0.75rem;
}

.tile-row {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tile-row.two-col {
  grid-template-columns: 1fr 1fr;
}

.tile-row.single {
  grid-template-columns: 1fr;
}

.tile {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.tile-dark {
  background: var(--bg-dark);
  color: #f5f5f7;
}

.tile-light {
  background: var(--bg-gray);
  color: var(--text-primary);
}

.tile-content {
  padding: 3.5rem 2.5rem 2rem;
}

.tile-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.625rem;
}

.tile-desc {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.47;
  max-width: 480px;
  margin: 0 auto;
}

.tile-dark .tile-desc {
  color: var(--text-secondary);
}

.tile-light .tile-desc {
  color: #6e6e73;
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--accent-blue);
  text-decoration: none;
  margin-top: 0.75rem;
  transition: text-decoration 0.3s ease;
}

.tile-link:hover {
  text-decoration: underline;
}

.tile-link .chevron {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.tile-link:hover .chevron {
  transform: translateX(3px);
}

/* ========================
   TUTORIAL LIST VIEW (Left Image, Right Text)
   ======================== */
.tutorial-list-view {
  display: flex;
  flex-direction: column;
  max-width: 1600px; /* Aligned with homepage/details grand canvas */
  margin: 0 auto 5rem;
  padding: 5rem 1rem 0; /* 5rem top padding to give first card breathing space from the dark hero */
}

.tutorial-list-card {
  display: flex;
  background: #ffffff;
  border-radius: 28px; /* Smooth rounded corners aligning with specs */
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 6rem; /* Wide breathing space between layouts */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  min-height: 380px; /* Grander heights for split columns */
  position: relative;
}

.tutorial-list-card:last-child {
  margin-bottom: 0;
}

/* Zigzag Layout: Alternating text and image positions on desktop */
@media (min-width: 801px) {
  .tutorial-list-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.tutorial-list-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}

.tutorial-list-img-wrapper {
  flex: 0 0 50%; /* Perfect 50/50 split matching Pantone Color of the Year site */
  background: #f5f5f7;
  position: relative;
  overflow: hidden;
}

.tutorial-list-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.tutorial-list-card:hover .tutorial-list-img-wrapper img {
  transform: scale(1.04);
}

.tutorial-list-content {
  flex: 1;
  background: #f6f5f2; /* Pantone Cloud Dancer warm chalk background */
  padding: 4.5rem 4rem; /* Generous breathing padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  transition: background 0.3s ease;
}

.tutorial-list-content h2 {
  font-size: 2.1rem; /* Prominent bold style */
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.tutorial-list-content p {
  font-size: 1.125rem;
  color: #515154;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Pantone Outline Button Style Override */
.tutorial-list-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1d1d1f;
  border: 1.5px solid #1d1d1f;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.5rem;
  max-width: fit-content;
  text-decoration: none;
}

.tutorial-list-card:hover .tutorial-list-link {
  background: #1d1d1f;
  color: #ffffff;
}

.tutorial-list-link .chevron {
  display: none; /* Hide default arrow to match Pantone clean layout */
}

@media (max-width: 800px) {
  .tutorial-list-view {
    padding: 3rem 1rem 0;
  }
  .tutorial-list-card {
    flex-direction: column;
    margin-bottom: 4rem;
    min-height: auto;
  }
  .tutorial-list-img-wrapper {
    width: 100%;
    padding-top: 56.25%; /* Fixed 16:9 ratio for mobile screens */
  }
  .tutorial-list-content {
    padding: 3rem 2rem;
  }
  .tutorial-list-content h2 {
    font-size: 1.7rem;
  }
}

/* ========================
   SECTION: FULL-WIDTH SHOWCASE (Dark bg, Centered)
   ======================== */
.showcase-section {
  background: var(--bg-dark);
  padding: 5rem 2rem 6rem;
  text-align: center;
  border-radius: 0;
}

.showcase-section .section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #f5f5f7;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}

/* ========================
   ENTERPRISE CAROUSEL
   ======================== */

/* Outer container */
.carousel {
  max-width: 1600px;
  width: 95%;
  margin: 0 auto;
  padding-bottom: 4rem;
  position: relative;
  outline: none;
}
.carousel:focus-visible {
  outline: 2px solid var(--accent-blue);
  border-radius: 28px;
}

/* Top progress bar */
.carousel-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px 2px 0 0;
  z-index: 10;
  overflow: hidden;
}
.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-blue);
  border-radius: 2px;
  will-change: width;
}

/* Track: fixed-height container; all slides stack inside via JS absolute positioning */
.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  height: 850px; /* Must match .slide-content height */
}

/* Each slide sits absolute inside the track */
.carousel-slide {
  /* height set by .slide-content */
  width: 100%;
}

/* Slide inner (unchanged visual design) */
.slide-content {
  position: relative;
  height: 850px;
  background: #111112;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Frosted-glass text overlay */
.slide-text {
  position: absolute;
  left: 4rem;
  bottom: 4rem;
  max-width: 480px;
  background: rgba(29, 29, 31, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 2.5rem 3rem;
  border-radius: 20px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}
.slide-text h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.slide-text p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #a1a1a6;
  line-height: 1.5;
}

/* Full-area image */
.slide-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.slide-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

/* ── Arrow buttons ────────────────────────────────────── */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(29, 29, 31, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20; /* Above all slides */
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.7;
}
.carousel-arrow:hover {
  background: rgba(0, 113, 227, 0.8);
  border-color: var(--accent-blue);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.carousel-arrow:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.carousel-arrow-prev { left: 1.25rem; }
.carousel-arrow-next { right: 1.25rem; }

/* ── Dot indicators ──────────────────────────────────── */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), width 0.35s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
}
.carousel-dot:hover {
  background: rgba(255,255,255,0.5);
}
.carousel-dot.is-active {
  background: var(--accent-blue);
  width: 28px;
  border-radius: 4px;
  transform: scaleY(1.1);
}
.carousel-dot:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: var(--bg-gray);
  text-align: center;
  padding: 1.25rem 2rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  border-top: 1px solid #d2d2d7;
}

/* ========================
   ACCESSIBILITY UTILITIES
   ======================== */

/**
 * .sr-only — Visually hidden but announced by screen readers.
 * Follows the "clip-path" technique recommended by a11y-project.org
 * and used by Bootstrap 5 / Tailwind's sr-only utility.
 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 992px) {
  .tile-row  .dl-cs-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================
   FAQ SECTION
   ======================== */
.faq-section {
  padding: 100px 20px;
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--accent-blue);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-secondary);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding-top: 1rem;
  padding-right: 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  animation: faq-slide-down 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes faq-slide-down {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .faq-section { padding: 60px 20px; }
  .faq-section .section-title { font-size: 2rem; }
  .faq-question { font-size: 1.15rem; }
  .faq-answer { font-size: 1rem; }
}

@media (max-width: 992px) {
  .tile-row.two-col {
    grid-template-columns: 1fr;
  }
  .carousel-track {
    height: 600px; /* Match slide-content height at this breakpoint */
  }
  .slide-content {
    height: 600px;
  }
  .slide-text {
    left: 2rem;
    bottom: 2rem;
    padding: 2rem;
    max-width: 400px;
  }
  .slide-text h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
  .hero-section {
    padding: 7rem 1.5rem 3.5rem;
  }
  .hero-links {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    display: none;
  }
  .tile-content {
    padding: 2.5rem 1.5rem 1.5rem;
  }
  .tile-title {
    font-size: 1.4rem;
  }
  .slide-content {
    flex-direction: column;
    justify-content: flex-end;
    height: 600px;
    min-height: 0;
  }
  .carousel-track {
    height: 600px;
  }
  .slide-image-wrapper {
    position: absolute;
    inset: 0;
    height: 100%;
    padding: 1rem;
  }
  .slide-text {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(29, 29, 31, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none;
    border-radius: 0 0 24px 24px;
    padding: 1.5rem 1.25rem 2rem;
    text-align: center;
  }
  .slide-text h3 {
    font-size: 1.3rem;
  }
  .slide-text p {
    font-size: 0.95rem;
  }
  /* Hide arrows on small screens, rely on swipe */
  .carousel-arrow {
    display: none;
  }
}

/* ==========================================================================
   SPOTLIGHT GRADIENT GLOW BORDER (Masters-Level Mask-Composite Reveal Glow)
   ========================================================================== */

/* Enable relative positioning for tutorial cards so pseudo-element anchors correctly */
.tutorial-list-card {
  position: relative;
}

/* Base spotlight pseudo-element for both tile and tutorial cards */
.tile::before,
.tutorial-list-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px; /* Border thickness */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5; /* Sit on top of container backgrounds but under pointer interactions */

  /* Master Masking: Exclude the content area from the border area */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* Show glow on hover */
.tile:hover::before,
.tutorial-list-card:hover::before {
  opacity: 1;
}

/* --- Glow Gradients Config --- */

/* Swatch 1: Pantone Brand X Teal (绿松石青色) + 霓虹青光发光 */
.tile-swatch-1 {
  background: #00b295;
  color: #1d1d1f;
}
.tile-swatch-1 .tile-link {
  color: #004d40;
}
.tile-swatch-1::before {
  background: radial-gradient(
    320px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    #00FFD1 0%,
    rgba(0, 255, 209, 0.35) 45%,
    transparent 80%
  );
}

/* Swatch 2: Pantone Brand X Blue (亮天蓝色) + 霓虹天蓝发光 */
.tile-swatch-2 {
  background: #0093c4;
  color: #ffffff;
}
.tile-swatch-2 .tile-desc {
  color: #e0f2f1;
}
.tile-swatch-2 .tile-link {
  color: #80E5FF;
}
.tile-swatch-2::before {
  background: radial-gradient(
    320px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    #00E5FF 0%,
    rgba(0, 229, 255, 0.35) 45%,
    transparent 80%
  );
}

/* Swatch 3: Green Sheen (极光黄绿) + 荧光柠檬绿发光 */
.tile-swatch-3 {
  background: linear-gradient(135deg, #E6FF55 0%, #C7E800 100%);
  color: #1d1d1f;
}
.tile-swatch-3::before {
  background: radial-gradient(
    320px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    #39FF14 0%,
    rgba(57, 255, 20, 0.28) 45%,
    transparent 80%
  );
}

/* Swatch 4: Cloud Dancer (云舞者白) + 荧光电紫光发光 */
.tile-swatch-4 {
  background: #EAE8E4;
  color: #1d1d1f;
}
.tile-swatch-4 .tile-desc {
  color: #555558;
}
.tile-swatch-4::before {
  background: radial-gradient(
    320px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    #E000FF 0%,
    rgba(224, 0, 255, 0.28) 45%,
    transparent 80%
  );
}

/* Swatch 5: Pantone Valiant Poppy (罂粟大红) + 霓虹红光发光 */
.tile-swatch-5 {
  background: #c4262e;
  color: #ffffff;
}
.tile-swatch-5 .tile-desc {
  color: #ffd4d4;
}
.tile-swatch-5 .tile-link {
  color: #FFF5A5;
}
.tile-swatch-5::before {
  background: radial-gradient(
    320px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    #FF4D4D 0%,
    rgba(255, 77, 77, 0.35) 45%,
    transparent 80%
  );
}

/* Swatch 6: Deep Ocean Black (深海极暗黑) + 荧光极光紫发光 */
.tile-swatch-6 {
  background: linear-gradient(135deg, #18122B 0%, #0F0C20 100%);
  color: #ffffff;
}
.tile-swatch-6 .tile-desc {
  color: #a1a1a6;
}
.tile-swatch-6 .tile-link {
  color: #38bdf8;
}
.tile-swatch-6::before {
  background: radial-gradient(
    320px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    #8A2BE2 0%,
    rgba(138, 43, 226, 0.32) 45%,
    transparent 80%
  );
}

/* Light Tutorial Cards: Extremely subtle 12% opacity blue spotlight */
.tutorial-list-card::before {
  background: radial-gradient(
    350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(0, 113, 227, 0.12),
    transparent 70%
  );
}

/* ═══════════════════════════════════════════════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Brand column */
.footer-logo {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5f5f7;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.footer-logo:hover { color: #fff; }

.footer-tagline {
  margin: 0;
  max-width: 260px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Navigation column */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-nav a:hover { color: #f5f5f7; }

/* Trust badges */
.footer-trust-badges {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.trust-badge svg {
  opacity: 0.6;
}

/* Bottom bar */
.footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 1.25rem;
  text-align: center;
}
.footer-bottom p { margin: 0; }

/* Responsive: stack vertically on small screens */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
