/* ========================================
   轻云办公 - 全局共享样式表
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --bg-primary: #f4f6f8;
  --bg-surface: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --accent-purple: #a78bfa;
  --accent-blue: #3b82f6;
  --accent-orange: #f97316;
  --accent-gradient: linear-gradient(135deg, #a78bfa, #3b82f6);
  --footer-bg: #0f172a;
  --border-color: #e2e8f0;

  /* Spacing */
  --nav-height: 72px;
  --section-gap: 120px;
  --container-max: 1200px;
  --card-radius: 20px;

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(100, 116, 139, 0.1);
  --shadow-hover: 0 20px 40px -10px rgba(100, 116, 139, 0.2);
  --shadow-glow: 0 0 30px rgba(167, 139, 250, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-base: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-purple);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(244, 246, 248, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: background var(--transition-base);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3);
}

.nav-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 25px rgba(167, 139, 250, 0.45);
  color: #fff;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #a78bfa, #3b82f6, #60a5fa);
  filter: blur(80px);
  opacity: 0.45;
  animation: orbBreathe 8s ease-in-out infinite;
}

@keyframes orbBreathe {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.08); }
}

.hero-grid-pattern {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  z-index: 1;
  pointer-events: auto;
}

.hero-grid-pattern canvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(167, 139, 250, 0.12);
  color: #7c3aed;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.35);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.5);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  transform: scale(1.03);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(167, 139, 250, 0.1);
  color: #7c3aed;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Platform Download Cards --- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.platform-card {
  background: var(--bg-surface);
  border-radius: var(--card-radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.platform-card:hover::before {
  transform: scaleX(1);
}

.platform-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167, 139, 250, 0.08);
  border-radius: 16px;
}

.platform-card .icon-wrap svg {
  width: 28px;
  height: 28px;
  color: #7c3aed;
}

.platform-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.platform-card .version {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.platform-card .req {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.platform-card .dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.platform-card .dl-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(167, 139, 250, 0.35);
}

/* --- Feature Highlights --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-surface);
  border-radius: var(--card-radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: #7c3aed;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- News Cards --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--bg-surface);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-card .news-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-primary);
}

.news-card .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-card .news-body {
  padding: 24px;
}

.news-card .news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-card .news-date {
  font-size: 13px;
  color: #94a3b8;
}

.news-card .news-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(167, 139, 250, 0.1);
  color: #7c3aed;
  font-size: 12px;
  font-weight: 500;
  border-radius: 50px;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.news-card .news-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .read-more {
  font-size: 14px;
  font-weight: 600;
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-card .read-more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.news-card .read-more:hover svg {
  transform: translateX(4px);
}

/* --- Stats Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 15px;
  color: var(--text-secondary);
}

/* --- FAQ Section --- */
.faq-item {
  background: var(--bg-surface);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  color: var(--text-primary);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: rgba(167, 139, 250, 0.03);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Changelog --- */
.changelog-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.changelog-item:last-child {
  border-bottom: none;
}

.changelog-version {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.changelog-version .ver-num {
  font-size: 18px;
  font-weight: 700;
  color: #7c3aed;
}

.changelog-version .ver-date {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.changelog-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.changelog-content ul {
  list-style: none;
  padding: 0;
}

.changelog-content ul li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.changelog-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}

/* --- Feature Detail Section (features page) --- */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-detail:nth-child(even) {
  direction: rtl;
}

.feature-detail:nth-child(even) > * {
  direction: ltr;
}

.feature-detail .feature-text h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.feature-detail .feature-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-detail .feature-text ul {
  list-style: none;
  padding: 0;
}

.feature-detail .feature-text ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 2;
  padding-left: 24px;
  position: relative;
}

.feature-detail .feature-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
}

.feature-detail .feature-visual {
  background: var(--bg-surface);
  border-radius: var(--card-radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.feature-detail .feature-visual svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* --- Philosophy Section --- */
.philosophy {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}

.philosophy-text {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Platform Showcase --- */
.platform-showcase {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

.platform-list {
  list-style: none;
  padding: 0;
}

.platform-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.platform-list li:nth-child(1) { animation-delay: 0.1s; }
.platform-list li:nth-child(2) { animation-delay: 0.2s; }
.platform-list li:nth-child(3) { animation-delay: 0.3s; }
.platform-list li:nth-child(4) { animation-delay: 0.4s; }

.platform-list li svg {
  width: 24px;
  height: 24px;
  color: #7c3aed;
  flex-shrink: 0;
}

.platform-screenshot {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--bg-surface);
}

.platform-screenshot img {
  width: 100%;
  height: auto;
}

.platform-logos {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.platform-logos .plat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(20px);
  animation: elasticPop 0.6s ease-out forwards;
}

.platform-logos .plat-icon:nth-child(1) { animation-delay: 0.5s; }
.platform-logos .plat-icon:nth-child(2) { animation-delay: 0.6s; }
.platform-logos .plat-icon:nth-child(3) { animation-delay: 0.7s; }
.platform-logos .plat-icon:nth-child(4) { animation-delay: 0.8s; }
.platform-logos .plat-icon:nth-child(5) { animation-delay: 0.9s; }

@keyframes elasticPop {
  0% { opacity: 0; transform: translateY(20px); }
  60% { opacity: 1; transform: translateY(-5px); }
  100% { opacity: 1; transform: translateY(0); }
}

.platform-logos .plat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
}

/* --- Liquid Glass Card Section --- */
.liquid-showcase {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.liquid-card-wrapper {
  position: relative;
  perspective: 1000px;
}

.liquid-card {
  position: relative;
  width: 300px;
  height: 450px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1), inset 10px 10px 30px -10px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px) brightness(1.05);
  -webkit-backdrop-filter: blur(8px) brightness(1.05);
  will-change: transform;
  transition: transform 0.1s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}

.liquid-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 100%);
  border-radius: 20px;
  border-bottom-left-radius: 50% 20px;
  border-bottom-right-radius: 50% 20px;
  pointer-events: none;
}

.blur-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 450px;
  background: linear-gradient(135deg, #a78bfa, #3b82f6);
  border-radius: 24px;
  filter: blur(60px);
  opacity: 0.8;
  transform: translate(15px, 15px);
  z-index: -1;
  transition: transform 0.1s ease-out;
  pointer-events: none;
}

.liquid-card .card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.liquid-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.liquid-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.6;
}

.liquid-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.3), rgba(59, 130, 246, 0.3));
  z-index: -2;
  border-radius: 32px;
}

/* --- Footer --- */
.footer {
  background: var(--footer-bg);
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer-cta {
  text-align: center;
  margin-bottom: 64px;
}

.footer-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.footer-cta .btn-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 4px 25px rgba(167, 139, 250, 0.4);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 25px rgba(167, 139, 250, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 6px 35px rgba(167, 139, 250, 0.6); }
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
}

.footer-links a {
  font-size: 14px;
  color: #64748b;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #e2e8f0;
}

/* --- Download Button Loading State --- */
.dl-loading {
  position: relative;
  pointer-events: none;
}

.dl-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: inherit;
  border-radius: inherit;
}

.dl-loading svg.spinner {
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s 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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 20px);
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-orb {
    width: 300px;
    height: 300px;
    right: 50%;
    transform: translate(50%, -50%);
    opacity: 0.3;
  }

  .hero-grid-pattern {
    display: none;
  }

  .platform-showcase {
    grid-template-columns: 1fr;
  }

  .feature-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-detail:nth-child(even) {
    direction: ltr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .liquid-card {
    width: 260px;
    height: 380px;
  }

  .blur-shadow {
    width: 260px;
    height: 380px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* --- Article Page Styles --- */
.article-page .article-header {
  padding: 120px 0 60px;
  text-align: center;
}

.article-page .article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-page .article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.article-page .article-meta .article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(167, 139, 250, 0.1);
  color: #7c3aed;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
}

.article-page .article-hero-img {
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--shadow-card);
}

.article-page .article-hero-img img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.article-page .article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.article-page .article-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-primary);
}

.article-page .article-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

.article-page .article-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-page .article-body ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-page .article-body ul li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.article-page .article-body blockquote {
  border-left: 3px solid #7c3aed;
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-page .article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-page .article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  font-size: 15px;
  font-weight: 600;
  color: #7c3aed;
}

.article-page .article-back svg {
  width: 16px;
  height: 16px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 100px 0 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: #7c3aed;
}

.breadcrumb span {
  margin: 0 8px;
  color: #cbd5e1;
}
