/* ========================================
   内容特工队 AI - Official Website Styles
   Tech Edition
   ======================================== */

/* CSS Variables */
:root {
  --primary: #0a0e1a;
  --primary-hover: #000000;
  --secondary: #1a1f35;
  --accent: rgb(249, 171, 13);
  --accent-2: #ea580c;
  --accent-3: #f472b6;
  --bg: #050811;
  --bg-white: #0f1424;
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --text-lighter: #64748b;
  --border: rgba(249, 171, 13, 0.15);
  --border-glow: rgba(249, 171, 13, 0.4);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 0 20px rgba(249, 171, 13, 0.05);
  --shadow-md: 0 0 30px rgba(249, 171, 13, 0.1);
  --shadow-lg: 0 0 40px rgba(249, 171, 13, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Light Theme Variables
   ======================================== */
html[data-theme="light"] {
  --primary: #f8fafc;
  --primary-hover: #ffffff;
  --secondary: #e2e8f0;
  --accent: #f9ab0d;
  --accent-2: #ea580c;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --text: #0f172a;
  --text-light: #475569;
  --text-lighter: #64748b;
  --border: rgba(249, 171, 13, 0.15);
  --border-glow: rgba(249, 171, 13, 0.4);
  --shadow: 0 4px 20px rgba(249, 171, 13, 0.06);
  --shadow-md: 0 8px 30px rgba(249, 171, 13, 0.1);
  --shadow-lg: 0 12px 40px rgba(249, 171, 13, 0.12);
}

html[data-theme="light"] body {
  background: var(--bg);
  color: var(--text);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(249, 171, 13, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 171, 13, 0.04) 1px, transparent 1px);
}

html[data-theme="light"] .navbar {
  background: rgba(248, 250, 252, 0.85);
  border-bottom-color: var(--border);
}

html[data-theme="light"] .navbar.scrolled {
  border-bottom-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(249, 171, 13, 0.08);
}

html[data-theme="light"] .logo {
  color: var(--text);
}

/* html[data-theme="light"] .logo img {
  box-shadow: 0 0 15px rgba(249, 171, 13, 0.2);
} */

html[data-theme="light"] .hero {
  background: radial-gradient(ellipse at top, #e0f2fe 0%, var(--bg) 50%);
}

html[data-theme="light"] .hero-circle-1 {
  background: radial-gradient(circle, rgba(249, 171, 13, 0.12) 0%, transparent 70%);
}

html[data-theme="light"] .hero-circle-2 {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.1) 0%, transparent 70%);
}

html[data-theme="light"] .hero-title {
  background: linear-gradient(135deg, #0f172a 0%, #f9ab0d 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(249, 171, 13, 0.15));
}

html[data-theme="light"] .hero-subtitle {
  color: #f9ab0d;
  text-shadow: none;
}

html[data-theme="light"] .hero-badge {
  background: rgba(249, 171, 13, 0.06);
  color: #f9ab0d;
  box-shadow: 0 0 15px rgba(249, 171, 13, 0.08);
}

html[data-theme="light"] .hero-badge .dot {
  background: #f9ab0d;
  box-shadow: 0 0 8px rgba(249, 171, 13, 0.4);
}

html[data-theme="light"] .stat-value {
  background: linear-gradient(135deg, #f9ab0d 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .hero-image {
  box-shadow: 0 0 60px rgba(249, 171, 13, 0.12);
}

html[data-theme="light"] .agent-float {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(249, 171, 13, 0.1);
}

html[data-theme="light"] .section-label {
  background: rgba(249, 171, 13, 0.06);
  color: #f9ab0d;
  box-shadow: 0 0 15px rgba(249, 171, 13, 0.08);
}

html[data-theme="light"] .agent-card,
html[data-theme="light"] .mode-card,
html[data-theme="light"] .showcase-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--border);
}

html[data-theme="light"] .agent-card:hover,
html[data-theme="light"] .mode-card:hover,
html[data-theme="light"] .showcase-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

html[data-theme="light"] .mode-card .tag-blue {
  background: rgba(249, 171, 13, 0.08);
  color: #f9ab0d;
  border-color: rgba(249, 171, 13, 0.25);
}

html[data-theme="light"] .workflow-timeline::before {
  background: linear-gradient(90deg, var(--border) 0%, #f9ab0d 30%, #ea580c 70%, var(--border) 100%);
  box-shadow: 0 0 10px rgba(249, 171, 13, 0.2);
}

html[data-theme="light"] .step-num {
  background: var(--bg);
}

html[data-theme="light"] .showcase-cover {
  background: linear-gradient(135deg, #e0f2fe 0%, #f1f5f9 100%);
}

html[data-theme="light"] .cta-section {
  background: #0f172a;
}

html[data-theme="light"] .cta-section h2 {
  color: #f8fafc;
}

html[data-theme="light"] .cta-section p {
  color: #94a3b8;
}

html[data-theme="light"] .footer {
  background: #0f172a;
  border-top-color: rgba(249, 171, 13, 0.15);
}

html[data-theme="light"] .footer-brand .logo {
  color: #f8fafc;
}

html[data-theme="light"] .footer-col h4 {
  color: #f8fafc;
}

/* html[data-theme="light"] .nav-links {
  background: rgba(248, 250, 252, 0.95);
} */

html[data-theme="light"] .nav-links a:hover {
  color: #f9ab0d;
  text-shadow: none;
}

html[data-theme="light"] .nav-links a::after {
  background: #f9ab0d;
  box-shadow: 0 0 8px rgba(249, 171, 13, 0.4);
}

html[data-theme="light"] .nav-links a.active {
  color: #f9ab0d;
}

html[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #f9ab0d 0%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(249, 171, 13, 0.25);
}

html[data-theme="light"] .btn-outline {
  color: #f9ab0d;
  border-color: var(--border);
}

html[data-theme="light"] .btn-outline:hover {
  border-color: #f9ab0d;
  color: #f9ab0d;
}

html[data-theme="light"] .mobile-menu-btn span {
  background: #f9ab0d;
  box-shadow: 0 0 5px rgba(249, 171, 13, 0.4);
}

html[data-theme="light"] .hero::after {
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(249, 171, 13, 0.015) 2px,
      rgba(249, 171, 13, 0.015) 4px);
}

html[data-theme="light"] .partner-card {
  background: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .link-item {
  background: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .feature-card {
  background: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Theme Toggle Button
   ======================================== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(249, 171, 13, 0.15);
}

html[data-theme="light"] .theme-toggle:hover {
  box-shadow: 0 0 15px rgba(249, 171, 13, 0.15);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: var(--transition);
}

.theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

html[data-theme="light"] .theme-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

html[data-theme="light"] .theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Tech Background Grid
   ======================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(249, 171, 13, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 171, 13, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 8, 17, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(249, 171, 13, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.25em;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  /* box-shadow: 0 0 15px rgba(249, 171, 13, 0.3); */
}

.navbar .logo {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0 6px;
  margin-left: -6px;
}

.navbar .logo .brand-icon {
  width: auto;
  height: 48px;
  border-radius: 0;
  box-shadow: none;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* gap: 2px; */
}

.brand-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
  letter-spacing: 0.5px;
}

.brand-tag::after {
  content: "";
  position: absolute;
  left: 40%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--accent);
}

.brand-line {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.brand-main {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.5px;
}

.brand-ai {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0;
}

.footer-brand .logo .brand-icon-icon {
  width: auto;
  height: 48px;
  border-radius: 0;
  box-shadow: none;
}

.footer-brand .brand-main {
  color: #f8fafc;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  /* color: var(--text-light); */
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(249, 171, 13, 0.5);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: var(--transition);
}

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

.nav-links a.active {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(249, 171, 13, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(249, 171, 13, 0.5), 0 0 60px rgba(234, 88, 12, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 10px rgba(249, 171, 13, 0.05);
}

.btn-outline:hover {
  border-color: var(--accent);
  box-shadow: inset 0 0 20px rgba(249, 171, 13, 0.1), 0 0 20px rgba(249, 171, 13, 0.2);
  color: var(--accent);
}

.btn-app {
  background: #111827;
  border: 1px solid rgba(249, 171, 13, 0.35);
  color: #f9ab0d;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(249, 171, 13, 0.05);
}

.btn-app:hover {
  background: #1a1f35;
  border-color: rgba(249, 171, 13, 0.7);
  box-shadow: 0 0 25px rgba(249, 171, 13, 0.25), inset 0 0 15px rgba(249, 171, 13, 0.08);
  transform: translateY(-2px);
}

html[data-theme="light"] .btn-app {
  background: #0f172a;
  color: #f9ab0d;
  border-color: rgba(249, 171, 13, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .btn-app:hover {
  background: #1e293b;
  border-color: rgba(249, 171, 13, 0.7);
  box-shadow: 0 8px 25px rgba(249, 171, 13, 0.2);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at top, var(--secondary) 0%, var(--bg) 50%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-circle-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 171, 13, 0.15) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  animation: glow-pulse 4s ease-in-out infinite;
}

.hero-circle-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.12) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: glow-pulse 4s ease-in-out infinite 2s;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(249, 171, 13, 0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(249, 171, 13, 0.1);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--accent);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 2px var(--accent);
  }
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(249, 171, 13, 0.2));
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(249, 171, 13, 0.3);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 520px;
  width: 100%;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 60px rgba(249, 171, 13, 0.15);
}

.agent-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(15, 20, 36, 0.85);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(249, 171, 13, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

html[data-theme="light"] .agent-float {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(249, 171, 13, 0.1);
}

.agent-float img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(249, 171, 13, 0.3);
}

.agent-float .role {
  font-size: 11px;
  color: var(--accent);
  font-weight: 400;
}

.agent-float-1 {
  top: 58%;
  left: 0;
  animation-delay: 0s;
}

.agent-float-2 {
  top: 58%;
  right: 0;
  animation-delay: 1s;
}

.agent-float-3 {
  bottom: 8%;
  left: 5%;
  animation-delay: 2s;
}

.agent-float-4 {
  bottom: 8%;
  right: 5%;
  animation-delay: 3s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Scanline effect */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(249, 171, 13, 0.02) 2px,
      rgba(249, 171, 13, 0.02) 4px);
  pointer-events: none;
  z-index: 1;
}

/* ========================================
   Section Commons
   ======================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(249, 171, 13, 0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(249, 171, 13, 0.1);
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   Agents Section
   ======================================== */
.agents-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-white) 50%, var(--bg) 100%);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.agent-card {
  background: rgba(15, 20, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: left 0.5s ease;
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), inset 0 0 20px rgba(249, 171, 13, 0.05);
}

.agent-card:hover::before {
  left: 100%;
}

.agent-card .avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg);
  padding: 4px;
  border: 2px solid var(--border);
  box-shadow: 0 0 20px rgba(249, 171, 13, 0.15);
  transition: var(--transition);
}

.agent-card:hover .avatar {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(249, 171, 13, 0.3);
}

.agent-card .avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.agent-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.agent-card .role {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(249, 171, 13, 0.3);
}

.agent-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Modes Section
   ======================================== */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mode-card {
  background: rgba(15, 20, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.mode-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(249, 171, 13, 0.3) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mode-card:hover::after {
  opacity: 1;
}

.mode-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

/* Tech corners */
.tech-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0;
  transition: var(--transition);
}

.mode-card:hover .tech-corner {
  opacity: 1;
}

.tech-corner.top-left {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}

.tech-corner.top-right {
  top: 8px;
  right: 8px;
  border-width: 2px 2px 0 0;
}

.tech-corner.bottom-left {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 2px 2px;
}

.tech-corner.bottom-right {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
}

.mode-card .emoji {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(249, 171, 13, 0.3));
}

.mode-card .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid transparent;
}

.tag-blue {
  background: rgba(249, 171, 13, 0.1);
  color: var(--accent);
  border-color: rgba(249, 171, 13, 0.3);
}

.tag-purple {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.3);
}

.tag-orange {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.tag-green {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.mode-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.mode-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.mode-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.mode-meta span {
  font-size: 13px;
  color: var(--text-lighter);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========================================
   Workflow Section
   ======================================== */
.workflow-section {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(234, 88, 12, 0.05) 50%, var(--bg) 100%);
}

.workflow-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--border) 0%, var(--accent) 30%, var(--accent-2) 70%, var(--border) 100%);
  box-shadow: 0 0 10px rgba(249, 171, 13, 0.3);
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: var(--transition);
}

.workflow-step:hover .step-num {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(249, 171, 13, 0.3);
}

.workflow-step:hover .step-num::after {
  border-color: rgba(249, 171, 13, 0.3);
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-white) 50%, var(--bg) 100%);
}

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

.feature-card {
  background: rgba(15, 20, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  left: 100%;
}

.feature-icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(249, 171, 13, 0.3));
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-highlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.feature-highlight span {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(249, 171, 13, 0.08);
  border: 1px solid rgba(249, 171, 13, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

/* ========================================
   Showcase Section
   ======================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.showcase-card {
  background: rgba(15, 20, 36, 0.6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.showcase-cover {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-white) 100%);
}

.showcase-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-cover img {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: var(--transition);
}

.showcase-card:hover .play-btn {
  opacity: 1;
}

.play-btn svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(249, 171, 13, 0.5));
}

.showcase-info {
  padding: 20px;
}

.showcase-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.showcase-info p {
  font-size: 13px;
  color: var(--text-lighter);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: 100px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(249, 171, 13, 0.08) 0%, transparent 70%);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(234, 88, 12, 0.08) 0%, transparent 70%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--primary);
  font-weight: 700;
}

.cta-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(249, 171, 13, 0.4), 0 0 80px rgba(234, 88, 12, 0.2);
}

/* ========================================
   Partner Section
   ======================================== */
.partner-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-white) 50%, var(--bg) 100%);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.partner-card {
  background: rgba(15, 20, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.partner-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.partner-visual img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
}

.partner-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.partner-contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.partner-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.partner-phone,
.partner-email {
  font-size: 14px;
  color: var(--text-light);
}

.partner-qr {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 1px dashed var(--border);
  background: rgba(249, 171, 13, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-lighter);
  flex-shrink: 0;
}


.partner-qr span {
  font-size: 10px;
  margin-top: 4px;
}

.partner-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wechat-scan {
  text-align: center;
  width: 100%;
}

.wechat-scan h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.wechat-scan>p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.wechat-qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  background: rgba(249, 171, 13, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-lighter);
  overflow: hidden;
}

.wechat-qr img {
  width: 100%;
  height: 100%;
}

/* ========================================
   Friendly Links Section
   ======================================== */
.links-section {
  padding: 60px 0;
  background: var(--bg);
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.link-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(15, 20, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.link-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(249, 171, 13, 0.1);
  transform: translateY(-2px);
}

.link-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--primary);
  color: var(--text-lighter);
  padding: 60px 0 24px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo {
  color: var(--text);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(249, 171, 13, 0.3);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-lighter);
}

/* ========================================
   Scroll Reveal Animation
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image {
    max-width: 400px;
  }

  .agents-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 8, 17, 0.95);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .agents-grid,
  .modes-grid {
    grid-template-columns: 1fr;
  }

  .workflow-timeline {
    flex-wrap: wrap;
    gap: 24px;
  }

  .workflow-timeline::before {
    display: none;
  }

  .workflow-step {
    flex: 0 0 calc(50% - 12px);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .partner-card {
    padding: 24px;
  }

  .partner-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-qr {
    align-self: flex-end;
    margin-top: -80px;
  }

  .wechat-qr {
    width: 160px;
    height: 160px;
  }

  .links-row {
    gap: 12px;
  }

  .link-item {
    padding: 8px 16px;
    font-size: 13px;
  }

  .agent-float {
    display: none;
  }
}

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .workflow-step {
    flex: 0 0 100%;
  }
}

/* ========================================
   App Download Modal
   ======================================== */
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.app-modal.active {
  opacity: 1;
  visibility: visible;
}

.app-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.app-modal-content {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 14px 0;
  max-width: 850px;
  width: 90%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.app-modal.active .app-modal-content {
  transform: translateY(0);
}

.app-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.app-modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(249, 171, 13, 0.06);
}

.app-modal-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.app-modal-content p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.qr-real {
  width: 100%;
  height: 100%;
  margin: 0 auto 16px;
  border-radius: var(--radius);
  overflow: hidden;
}

.qr-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qr-tip {
  font-size: 12px !important;
  color: var(--text-lighter) !important;
  margin-bottom: 0 !important;
}

html[data-theme="light"] .app-modal-content {
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}