/* ========================================
   Velocity Stream Theme - WPS Office
   动感流光设计风格
   ======================================== */

:root {
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --purple-light: #a78bfa;
  --orange: #f97316;
  --orange-light: #fb923c;
  --mint: #d1fae5;
  --mint-dark: #34d399;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--orange) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.nav-brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 20px;
  text-decoration: none;
  color: var(--gray-600);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--purple);
  background: var(--gray-50);
}

.nav-link.active {
  color: white;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
}

.nav-dl {
  margin-left: 16px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange) 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-outline-w {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-w:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-white {
  background: white;
  color: var(--purple);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }

/* ========================================
   Layout
   ======================================== */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec {
  padding: 100px 0;
}

.sec-sm { padding: 60px 0; }

.sec-purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.sec-purple::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.sec-navy {
  background: var(--navy);
  color: white;
}

.sec-mint {
  background: linear-gradient(180deg, var(--mint) 0%, var(--gray-50) 100%);
}

.sec-gray {
  background: var(--gray-50);
}

/* ========================================
   Section Headers
   ======================================== */
.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.sec-tag svg {
  width: 14px;
  height: 14px;
}

.sec-tag-w {
  background: rgba(255,255,255,0.15);
  color: white;
}

.sec-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.sec-title-w { color: white; }

.sec-sub {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
}

.sec-sub-w { color: rgba(255,255,255,0.8); }

/* ========================================
   Hero
   ======================================== */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--mint) 50%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, transparent 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--mint-dark);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .hl { color: var(--purple); }
.hero-title .hl2 { color: var(--orange); }

.hero-desc {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-600);
}

.hero-trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--mint-dark);
}

.hero-visual {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-app {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 80px rgba(124, 58, 237, 0.15);
  position: relative;
}

.hero-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.hero-app-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero-app-dot.r { background: #ff5f57; }
.hero-app-dot.y { background: #ffbd2e; }
.hero-app-dot.g { background: #28c840; }

.hero-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-app-card {
  padding: 20px;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}

.hero-app-card.purple {
  background: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(124,58,237,0.05) 100%);
  border-color: rgba(124,58,237,0.2);
}

.hero-app-card.orange {
  background: linear-gradient(135deg, rgba(249,115,22,0.1) 0%, rgba(249,115,22,0.05) 100%);
  border-color: rgba(249,115,22,0.2);
}

.hac-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hac-icon.purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: white;
}

.hac-icon.orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white;
}

.hac-icon.green {
  background: linear-gradient(135deg, var(--mint-dark) 0%, #10b981 100%);
  color: white;
}

.hac-icon.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
}

.hac-icon svg {
  width: 20px;
  height: 20px;
}

.hac-label {
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.hac-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

/* ========================================
   Stats Flow
   ======================================== */
.stats-flow {
  background: white;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 0;
  overflow: hidden;
}

.stats-flow-track {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.stats-flow:hover .stats-flow-track {
  animation-play-state: paused;
}

.sf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sf-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--purple);
}

.sf-lbl {
  font-size: 14px;
  color: var(--gray-600);
  max-width: 120px;
}

/* ========================================
   Feature Stream
   ======================================== */
.feat-stream {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--orange) 100%);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--purple-light);
}

.feat-card:hover::before {
  transform: scaleX(1);
}

.feat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feat-icon.purple {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(124,58,237,0.05) 100%);
  color: var(--purple);
}

.feat-icon.orange {
  background: linear-gradient(135deg, rgba(249,115,22,0.15) 0%, rgba(249,115,22,0.05) 100%);
  color: var(--orange);
}

.feat-icon.green {
  background: linear-gradient(135deg, rgba(52,211,153,0.15) 0%, rgba(52,211,153,0.05) 100%);
  color: var(--mint-dark);
}

.feat-icon.blue {
  background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(59,130,246,0.05) 100%);
  color: #3b82f6;
}

.feat-icon svg {
  width: 28px;
  height: 28px;
}

.feat-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feat-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========================================
   Platform Wave
   ======================================== */
.plat-wave {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.plat-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  position: relative;
}

.plat-card.featured {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
  border: none;
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3);
}

.plat-card:not(.featured):hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.plat-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--orange);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
}

.plat-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--gray-100);
}

.plat-card.featured .plat-icon {
  background: rgba(255,255,255,0.15);
}

.plat-icon svg {
  width: 32px;
  height: 32px;
  color: var(--gray-800);
}

.plat-card.featured .plat-icon svg {
  color: white;
}

.plat-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.plat-card.featured .plat-name {
  color: white;
}

.plat-ver {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.plat-card.featured .plat-ver {
  color: rgba(255,255,255,0.8);
}

.plat-btn {
  width: 100%;
}

/* ========================================
   Dynamic Rows
   ======================================== */
.dyn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.dyn-row:last-child {
  margin-bottom: 0;
}

.dyn-row.flip {
  direction: rtl;
}

.dyn-row.flip > * {
  direction: ltr;
}

.dyn-info {
  max-width: 480px;
}

.dyn-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}

.dyn-chip.purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
}

.dyn-chip.orange {
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}

.dyn-chip.green {
  background: rgba(52, 211, 153, 0.1);
  color: var(--mint-dark);
}

.dyn-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.dyn-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.dyn-list {
  list-style: none;
}

.dyn-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--gray-700);
}

.dyn-list li svg {
  width: 20px;
  height: 20px;
  color: var(--mint-dark);
  flex-shrink: 0;
}

.dyn-visual {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-200);
}

.dv-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.dv-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dv-bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dv-bar-label {
  width: 80px;
  font-size: 13px;
  color: var(--gray-600);
  flex-shrink: 0;
}

.dv-bar-track {
  flex: 1;
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}

.dv-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-out;
}

.dv-bar-fill.purple { background: linear-gradient(90deg, var(--purple) 0%, var(--purple-light) 100%); }
.dv-bar-fill.orange { background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%); }
.dv-bar-fill.green { background: linear-gradient(90deg, var(--mint-dark) 0%, #10b981 100%); }
.dv-bar-fill.blue { background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%); }

.dv-bar-val {
  width: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
  text-align: right;
  flex-shrink: 0;
}

.dv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.dv-stat {
  text-align: center;
}

.dv-stat-num {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}

.dv-stat-num.purple { color: var(--purple); }
.dv-stat-num.orange { color: var(--orange); }
.dv-stat-num.green { color: var(--mint-dark); }

.dv-stat-lbl {
  font-size: 12px;
  color: var(--gray-600);
}

/* ========================================
   Reviews
   ======================================== */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rev-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.rev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.rev-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.rev-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.rev-avatar.purple { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%); }
.rev-avatar.orange { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%); }
.rev-avatar.green { background: linear-gradient(135deg, var(--mint-dark) 0%, #10b981 100%); }
.rev-avatar.blue { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }
.rev-avatar.pink { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); }
.rev-avatar.teal { background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%); }

.rev-meta {
  flex: 1;
}

.rev-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.rev-role {
  font-size: 13px;
  color: var(--gray-600);
}

.rev-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.rev-stars svg {
  width: 16px;
  height: 16px;
  color: #fbbf24;
  fill: #fbbf24;
}

.rev-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ========================================
   Comparison
   ======================================== */
.cmp-wrap {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.cmp-table th,
.cmp-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.cmp-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gray-50);
}

.cmp-table td {
  font-size: 15px;
}

.cmp-table td:first-child {
  font-weight: 600;
  color: var(--gray-900);
}

.cmp-hl {
  background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, rgba(249,115,22,0.05) 100%);
}

.cmp-hl td {
  font-weight: 700;
}

.yes, .no, .part {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.yes { color: var(--mint-dark); }
.no { color: #ef4444; }
.part { color: var(--orange); }

.yes svg, .no svg, .part svg {
  width: 18px;
  height: 18px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-q:hover {
  background: var(--gray-50);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-a {
  max-height: 500px;
}

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.cta-title .hl {
  color: var(--orange-light);
}

.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Download Page
   ======================================== */
.dl-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--mint) 100%);
  text-align: center;
}

.dl-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.dl-hero-tag svg {
  width: 18px;
  height: 18px;
  color: var(--mint-dark);
}

.dl-hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.dl-hero-sub {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 40px;
}

.dl-main {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.dl-win-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(124, 58, 237, 0.2);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto 40px;
}

.dl-win-top {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 32px;
  color: white;
  text-align: center;
}

.dl-win-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.dl-win-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.dl-win-name {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dl-win-meta {
  font-size: 15px;
  opacity: 0.9;
}

.dl-win-body {
  padding: 32px;
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.dl-spec {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dl-spec-icon {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-spec-icon svg {
  width: 20px;
  height: 20px;
  color: var(--purple);
}

.dl-spec-info {
  flex: 1;
}

.dl-spec-label {
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.dl-spec-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}

.dl-sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(52,211,153,0.1) 0%, rgba(52,211,153,0.05) 100%);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 10px;
  font-size: 14px;
  color: var(--mint-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

.dl-sec-badge svg {
  width: 18px;
  height: 18px;
}

.dl-win-btns {
  display: flex;
  gap: 16px;
}

.dl-win-btns .btn {
  flex: 1;
}

.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.op-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--gray-200);
  text-align: center;
}

.op-icon {
  width: 56px;
  height: 56px;
  background: var(--gray-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.op-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gray-700);
}

.op-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.op-ver {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.op-steps {
  text-align: left;
}

.op-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.op-step:last-child {
  border-bottom: none;
}

.op-step-num {
  width: 22px;
  height: 22px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  flex-shrink: 0;
}

/* ========================================
   Guide Section
   ======================================== */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.guide-col-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.guide-col-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.guide-col-dot.purple { background: var(--purple); }
.guide-col-dot.orange { background: var(--orange); }

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gstep {
  display: flex;
  gap: 16px;
}

.gstep-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.gstep-num.purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: white;
}

.gstep-num.orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white;
}

.gstep-body {
  flex: 1;
  padding-top: 6px;
}

.gstep-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.gstep-desc {
  font-size: 14px;
  color: var(--gray-600);
}

/* ========================================
   Requirements
   ======================================== */
.req-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.req-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.req-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.req-icon svg {
  width: 24px;
  height: 24px;
  color: var(--purple);
}

.req-title {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.req-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
}

/* ========================================
   Version Timeline
   ======================================== */
.ver-list {
  max-width: 800px;
  margin: 0 auto;
}

.ver-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.ver-item:last-child {
  border-bottom: none;
}

.ver-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  flex-shrink: 0;
}

.ver-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--gray-300);
}

.ver-dot.purple { background: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.ver-dot.orange { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.ver-dot.green { background: var(--mint-dark); box-shadow: 0 0 0 2px var(--mint-dark); }

.ver-line {
  flex: 1;
  width: 2px;
  background: var(--gray-200);
  margin-top: 8px;
}

.ver-item:last-child .ver-line {
  display: none;
}

.ver-body {
  flex: 1;
}

.ver-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ver-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.ver-tag {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.ver-tag.stable {
  background: rgba(52, 211, 153, 0.15);
  color: var(--mint-dark);
}

.ver-tag.beta {
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange);
}

.ver-date {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.ver-desc {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ========================================
   Article Page
   ======================================== */
.art-hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--mint) 100%);
}

.art-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.art-hero-crumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.art-hero-crumb a {
  color: var(--purple);
  text-decoration: none;
}

.art-hero-crumb a:hover {
  text-decoration: underline;
}

.art-hero-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.art-hero-sub {
  font-size: 18px;
  color: var(--gray-600);
}

.kw-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.kw {
  padding: 8px 16px;
  background: white;
  border-radius: 20px;
  font-size: 13px;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.art-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 40px 0 80px;
}

.art-body {
  max-width: 700px;
}

.art-body h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
}

.art-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 32px 0 16px;
}

.art-body p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.9;
  margin-bottom: 20px;
}

.art-body ul, .art-body ol {
  margin: 20px 0;
  padding-left: 24px;
}

.art-body li {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 12px;
}

.art-body strong {
  color: var(--gray-900);
  font-weight: 600;
}

.inline-cta {
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(249,115,22,0.08) 100%);
  border-left: 4px solid var(--purple);
  border-radius: 0 12px 12px 0;
  padding: 24px;
  margin: 32px 0;
}

.inline-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.inline-cta-desc {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.tip-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--gray-200);
}

.tip-num {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tip-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.tip-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========================================
   Sidebar
   ======================================== */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sbox {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.sbox-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.sdl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: all 0.2s;
  border: none;
  width: 100%;
  cursor: pointer;
  background: var(--gray-100);
}

.sdl-btn:hover {
  background: var(--gray-200);
}

.sdl-btn.primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
}

.sdl-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.sdl-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sdl-btn-icon svg {
  width: 20px;
  height: 20px;
}

.sdl-btn-info {
  flex: 1;
  text-align: left;
}

.sdl-btn-name {
  font-size: 14px;
  font-weight: 600;
}

.sdl-btn-ver {
  font-size: 12px;
  opacity: 0.8;
}

.stoc {
  list-style: none;
}

.stoc li {
  margin-bottom: 8px;
}

.stoc a {
  display: block;
  padding: 8px 0;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.stoc a:hover {
  color: var(--purple);
}

.sstat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sstat-item {
  text-align: center;
}

.sstat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 4px;
}

.sstat-lbl {
  font-size: 12px;
  color: var(--gray-600);
}

.side-security {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(52,211,153,0.1) 0%, rgba(52,211,153,0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(52,211,153,0.2);
}

.side-security svg {
  width: 24px;
  height: 24px;
  color: var(--mint-dark);
  flex-shrink: 0;
}

.side-security-text {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
}

/* ========================================
   Security Banner
   ======================================== */
.sec-banner {
  background: linear-gradient(135deg, rgba(52,211,153,0.1) 0%, rgba(52,211,153,0.05) 100%);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.sec-banner-icon {
  width: 56px;
  height: 56px;
  background: var(--mint-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sec-banner-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.sec-banner-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.sec-banner-desc {
  font-size: 14px;
  color: var(--gray-600);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--navy);
  color: white;
  padding: 60px 0 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--orange) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.footer-brand-text {
  font-size: 18px;
  font-weight: 700;
}

.footer-security {
  padding: 20px;
  background: var(--navy-light);
  border-radius: 12px;
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

.footer-note {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding-top: 30px;
  border-top: 1px solid var(--navy-light);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .art-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sbox { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    gap: 4px;
  }
  .nav-menu.show {
    display: flex;
  }
  .nav-link {
    width: 100%;
    text-align: center;
  }
  .nav-dl { margin: 8px 0 0 0; width: 100%; }
  .nav-dl .btn { width: 100%; }

  .hero-inner,
  .dyn-row,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .dyn-row.flip { direction: ltr; }
  .hero-title { font-size: 36px; }
  .sec-title { font-size: 28px; }

  .feat-stream,
  .plat-wave,
  .rev-grid,
  .op-grid,
  .req-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .plat-card.featured { transform: none; }
  .dl-specs { grid-template-columns: 1fr; }
  .dl-win-btns { flex-direction: column; }
  .sidebar { grid-template-columns: 1fr; }
  .stats-flow-track { animation: none; }
}
