/**
 * SINGULO - 一站式项目软件生成与管理 AI 平台
 * 主样式文件
 */

/* ========== CSS Variables ========== */
:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.12);
  --accent-strong: rgba(79, 70, 229, 0.35);
  --text-main: #f9fafb;
  --text-sub: #9ca3af;
  --border-soft: rgba(148, 163, 184, 0.35);
  --danger: #f97373;
  --success: #22c55e;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.65);
  --shadow-glow: 0 0 80px rgba(79, 70, 229, 0.35);
  --transition-fast: 0.18s ease-out;
  --transition-normal: 0.26s ease-out;
}

/* ========== Reset & Base ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "PingFang SC", "Microsoft Yahei", sans-serif;
  background-color: #020617;
  background-image: radial-gradient(circle at 50% 0%, #1e1b4b 0%, transparent 70%), linear-gradient(rgba(79, 70, 229, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 70, 229, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.15;
  z-index: -2;
  filter: hue-rotate(15deg) contrast(1.2);
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(30, 58, 138, 0.2), transparent 40%), linear-gradient(to bottom, transparent 60%, #020617 100%);
  z-index: -1;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.shell { max-width: 1280px; margin: 0 auto; padding: 20px 20px 80px; }
@media (min-width: 1200px) { .shell { padding-inline: 0; } }
@media (max-width: 480px) { .shell { padding: 16px 16px 60px; } }

/* ========== Navigation ========== */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.75), transparent); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 12px 20px 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-left { display: flex; align-items: center; gap: 10px; }
.nav-logo { position: relative; padding: 0; background: transparent; border: none; display: flex; align-items: center; justify-content: flex-start; gap: 16px; box-shadow: none; }
.nav-divider { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.2); transform: skewX(-15deg); }
.nav-logo-text { font-family: system-ui, -apple-system, sans-serif; font-size: 20px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; background: linear-gradient(135deg, #38bdf8 0%, #4ade80 50%, #22d3ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6)); position: relative; }
.nav-logo-text::after { content: ''; position: absolute; top: 0; right: -6px; width: 4px; height: 4px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 6px #22c55e; }
.nav-title { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.nav-title-sub { font-size: 11px; color: rgba(226, 232, 240, 0.85); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; text-shadow: 0 0 10px rgba(255, 255, 255, 0.1); }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--text-sub); }
.nav-link { position: relative; cursor: pointer; padding-block: 4px; transition: color var(--transition-fast); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 999px; background: linear-gradient(to right, #4f46e5, #22c55e); transform: scaleX(0); transform-origin: center; transition: transform var(--transition-fast); }
.nav-link:hover { color: #e5e7eb; }
.nav-link:hover::after { transform: scaleX(0.9); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-badge { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(22, 163, 74, 0.15); border: 1px solid rgba(34, 197, 94, 0.35); color: #bbf7d0; }
.nav-btn { border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.5); padding: 6px 14px; font-size: 12px; background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.45) 0, transparent 50%), linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)); color: #e5e7eb; display: flex; align-items: center; gap: 6px; cursor: pointer; box-shadow: 0 10px 25px rgba(15, 23, 42, 0.85), 0 0 24px rgba(37, 99, 235, 0.55); transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast); }
.nav-btn span { font-size: 13px; }
.nav-btn:hover { transform: translateY(-1px); border-color: rgba(209, 213, 219, 0.9); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95), 0 0 46px rgba(37, 99, 235, 0.8); background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.7) 0, transparent 55%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1)); }
.nav-btn-dot { width: 7px; height: 7px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 12px rgba(34, 197, 94, 0.95); }

@media (max-width: 768px) {
  .nav-inner { padding-inline: 16px; }
  .nav-links { display: none; }
  .nav-badge { display: none; }
  .nav-title-sub { display: none; }
  .nav-logo { padding: 6px 16px; }
  .nav-logo-text { font-size: 14px; letter-spacing: 0.22em; }
  .nav-title-main { font-size: 14px; }
}
@media (max-width: 480px) {
  .nav-inner { padding: 10px 12px; }
  .nav-left { gap: 8px; }
  .nav-logo { padding: 5px 14px; }
  .nav-logo-text { font-size: 12px; letter-spacing: 0.18em; }
  .nav-title-main { font-size: 12px; }
}

/* ========== Hero Section ========== */
.hero { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 3fr); gap: 40px; padding-top: 28px; align-items: center; min-height: calc(100vh - 80px); }
@media (max-width: 880px) { .hero { grid-template-columns: minmax(0, 1fr); padding-top: 32px; gap: 24px; min-height: auto; } }
@media (max-width: 480px) { .hero { padding-top: 20px; gap: 20px; } .hero-left-topline { padding: 4px 10px 4px 4px; margin-bottom: 14px; } .hero-chip-dot { width: 18px; height: 18px; } .hero-chip-dot-inner { width: 10px; height: 10px; } .hero-topline-text { font-size: 11px; } .hero-title { font-size: clamp(24px, 6vw, 34px); margin-bottom: 12px; line-height: 1.2; } .hero-subtitle { font-size: 13px; margin-bottom: 16px; } .hero-pills { gap: 8px; margin-bottom: 18px; } .pill { padding: 4px 9px; font-size: 10px; } .hero-metrics { gap: 12px; } .metric { min-width: 100px; } .metric-value { font-size: 16px; } .metric-label, .metric-desc { font-size: 10px; } }
.hero-left-topline { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(55, 65, 81, 0.75); margin-bottom: 18px; backdrop-filter: blur(16px); }
.hero-chip-dot { width: 22px; height: 22px; border-radius: 999px; background: conic-gradient(from 210deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.9), rgba(79, 70, 229, 0.3), rgba(236, 72, 153, 0.95), rgba(59, 130, 246, 0.1)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(59, 130, 246, 0.7), 0 0 32px rgba(244, 114, 182, 0.75); }
.hero-chip-dot-inner { width: 12px; height: 12px; border-radius: 999px; background: radial-gradient(circle at 30% 0, #e5e7eb, #6b7280 65%, #020617 100%); box-shadow: inset 0 0 8px rgba(15, 23, 42, 0.8), 0 0 10px rgba(248, 250, 252, 0.85); }
.hero-topline-text { font-size: 13px; color: var(--text-sub); white-space: nowrap; }
@media (max-width: 480px) { .hero-topline-text { white-space: normal; line-height: 1.4; } }
.hero-topline-highlight { background: linear-gradient(120deg, #4f46e5, #22c55e, #22d3ee); -webkit-background-clip: text; color: transparent; font-weight: 600; letter-spacing: 0.08em; }
.hero-title { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.16; letter-spacing: 0.02em; margin-bottom: 14px; }
.hero-title span { background: linear-gradient(120deg, #4f46e5, #22c55e, #22d3ee); -webkit-background-clip: text; color: transparent; }
.hero-subtitle { font-size: 15px; color: var(--text-sub); max-width: 470px; margin-bottom: 20px; }
.hero-subtitle-strong { color: #e5e7eb; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pill { border-radius: 999px; padding: 5px 11px; border: 1px solid rgba(148, 163, 184, 0.5); background: rgba(15, 23, 42, 0.9); font-size: 11px; color: var(--text-sub); display: inline-flex; align-items: center; gap: 6px; }
.pill-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 10px rgba(79, 70, 229, 0.9); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.btn-primary, .btn-ghost { border-radius: 999px; padding: 10px 20px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 1px solid transparent; transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (max-width: 480px) { .btn-primary, .btn-ghost { padding: 12px 18px; font-size: 13px; min-height: 44px; } .btn-icon { width: 16px; height: 16px; font-size: 12px; } }
.btn-primary { background: radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.95) 0, transparent 55%), linear-gradient(120deg, #4f46e5, #22c55e); box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95), 0 0 70px rgba(56, 189, 248, 0.7); color: #f9fafb; border-color: rgba(191, 219, 254, 0.9); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 28px 65px rgba(15, 23, 42, 0.98), 0 0 90px rgba(59, 130, 246, 0.95); opacity: 0.98; }
.btn-ghost { background: rgba(15, 23, 42, 0.8); border-color: rgba(148, 163, 184, 0.7); color: var(--text-sub); }
.btn-ghost:hover { color: #e5e7eb; border-color: rgba(209, 213, 219, 0.9); background: rgba(15, 23, 42, 0.95); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.95); transform: translateY(-1px); }
.btn-icon { width: 18px; height: 18px; border-radius: 999px; border: 1px solid rgba(15, 23, 42, 0.9); background: rgba(15, 23, 42, 0.95); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.hero-tip { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-sub); margin-bottom: 22px; }
.hero-tip-tag { padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(74, 222, 128, 0.5); color: #bbf7d0; background: rgba(22, 163, 74, 0.15); font-size: 11px; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 40px; }
.metric { min-width: 140px; }
.metric-label { font-size: 11px; color: var(--text-sub); margin-bottom: 4px; }
.metric-value { font-size: 18px; font-weight: 600; }
.metric-desc { font-size: 11px; color: var(--text-sub); }

/* ========== Hero Right Panel ========== */
.hero-right { display: flex; align-items: stretch; justify-content: center; position: relative; }
.hero-bg-img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120%; height: 120%; object-fit: cover; opacity: 0.4; z-index: -1; mask-image: radial-gradient(circle, black 30%, transparent 70%); -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%); pointer-events: none; }
.hero-image-placeholder { margin-top: 20px; }

/* ========== Particles & Animations ========== */
.particles-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; overflow: hidden; }
.particle { position: absolute; width: 4px; height: 4px; background: rgba(99, 102, 241, 0.8); box-shadow: 0 0 6px rgba(99, 102, 241, 0.6); border-radius: 50%; animation: float-particle 15s infinite ease-in-out; }
.particle:nth-child(2n) { background: rgba(74, 222, 128, 0.8); box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); animation-duration: 20s; }
.particle:nth-child(3n) { background: rgba(56, 189, 248, 0.8); box-shadow: 0 0 6px rgba(56, 189, 248, 0.6); animation-duration: 18s; }
@keyframes float-particle { 0%, 100% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; } 10% { opacity: 1; transform: translateY(90vh) translateX(10px) scale(1); } 90% { opacity: 1; transform: translateY(10vh) translateX(-10px) scale(1); } 100% { transform: translateY(-10vh) translateX(0) scale(0); opacity: 0; } }
.floating-card { animation: float-gentle 6s infinite ease-in-out; }
@keyframes float-gentle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ========== Workflow Visual Track ========== */
.workflow-visual-track { position: relative; height: 60px; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.track-line { position: absolute; left: 0; width: 100%; height: 1px; background: rgba(255, 255, 255, 0.1); }
.track-shuttle { position: absolute; top: 50%; transform: translateY(-50%); width: 200px; height: 2px; background: linear-gradient(90deg, transparent, #4f46e5, #22c55e, #38bdf8, transparent); filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.6)); animation: shuttle-travel 4s cubic-bezier(0.4, 0, 0.2, 1) infinite; z-index: 2; }
.track-shuttle::after { content: ''; position: absolute; right: 60px; top: 50%; transform: translateY(-50%); width: 40px; height: 3px; background: #fff; border-radius: 4px; filter: blur(1px); opacity: 0.9; }
.track-ticks { position: absolute; width: 70%; display: flex; justify-content: space-between; align-items: center; z-index: 1; }
.track-tick { width: 1px; height: 6px; background: rgba(255, 255, 255, 0.15); transition: all 0.3s; animation: tick-glow 4s linear infinite; }
.track-tick:nth-child(1) { animation-delay: 1.2s; }
.track-tick:nth-child(2) { animation-delay: 1.6s; }
.track-tick:nth-child(3) { animation-delay: 2.0s; }
.track-tick:nth-child(4) { animation-delay: 2.4s; }
.track-tick:nth-child(5) { animation-delay: 2.8s; }
@keyframes shuttle-travel { 0% { left: -20%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 120%; opacity: 0; } }
@keyframes tick-glow { 0%, 25% { background: rgba(255, 255, 255, 0.15); height: 6px; box-shadow: none; } 30%, 35% { background: #22c55e; height: 18px; width: 2px; box-shadow: 0 0 12px rgba(34, 197, 94, 0.8); } 40%, 100% { background: rgba(255, 255, 255, 0.15); height: 6px; box-shadow: none; } }
.hero-decoration { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; opacity: 0.15; pointer-events: none; }

/* ========== Hero Panel ========== */
.hero-panel { position: relative; width: 100%; max-width: 520px; border-radius: 30px; padding: 18px 18px 20px; background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.5) 0, transparent 55%), radial-gradient(circle at 100% 0, rgba(244, 114, 182, 0.35) 0, transparent 50%), radial-gradient(circle at 0 100%, rgba(16, 185, 129, 0.5) 0, transparent 55%), linear-gradient(145deg, rgba(15, 23, 42, 0.96), #020617); box-shadow: var(--shadow-soft), var(--shadow-glow); border: 1px solid rgba(148, 163, 184, 0.6); overflow: hidden; }
.hero-panel::before { content: "AI PROJECT OPS"; position: absolute; inset: auto 16px 10px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(148, 163, 184, 0.25); text-align: right; pointer-events: none; }
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-tabs { display: inline-flex; border-radius: 999px; padding: 3px; background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(55, 65, 81, 0.75); }
.panel-tab { font-size: 11px; padding: 4px 10px; border-radius: 999px; color: var(--text-sub); cursor: default; display: flex; align-items: center; gap: 6px; }
.panel-tab-active { background: linear-gradient(120deg, #4f46e5, #22c55e); color: #f9fafb; box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.5), 0 0 30px rgba(56, 189, 248, 0.75); }
.panel-status { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-sub); }
.panel-status-dot { width: 8px; height: 8px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.4), 0 0 12px rgba(34, 197, 94, 0.9); }
.panel-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr); gap: 14px; align-items: flex-start; }
@media (max-width: 880px) { .panel-body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .hero-panel { border-radius: 20px; padding: 14px 14px 16px; max-width: 100%; } .hero-panel::before { font-size: 8px; inset: auto 12px 8px; letter-spacing: 0.2em; } .panel-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 12px; } .panel-tabs { padding: 2px; } .panel-tab { font-size: 10px; padding: 3px 8px; } .panel-status { font-size: 10px; width: 100%; } .panel-flow { padding: 8px 8px 10px; border-radius: 14px; } .panel-flow-title { font-size: 10px; margin-bottom: 6px; flex-wrap: wrap; gap: 4px; } .flow-step { padding: 5px 6px; gap: 6px; } .flow-step-badge { width: 18px; height: 18px; font-size: 10px; } .flow-step-main { font-size: 11px; } .flow-step-sub { font-size: 10px; } .panel-console { padding: 8px 8px 10px; border-radius: 14px; } .panel-console-header { font-size: 10px; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; } .panel-console-header span:nth-child(2) { word-break: break-word; overflow-wrap: break-word; } .panel-console-body { font-size: 10px; padding: 6px 7px; border-radius: 10px; } .console-line { gap: 6px; margin-bottom: 1px; } .console-tag { font-size: 9px; padding: 1px 5px; } .console-status { font-size: 9px; flex-wrap: wrap; } .panel-badges { gap: 6px; margin-top: 8px; } .panel-badge { font-size: 9px; padding: 2px 6px; } }
.panel-flow { border-radius: 18px; padding: 10px 10px 12px; background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(75, 85, 99, 0.7); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95); }
.panel-flow-title { font-size: 11px; color: var(--text-sub); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.panel-flow-title span { font-size: 11px; color: #e5e7eb; }
.flow-steps { display: flex; flex-direction: column; gap: 6px; }
.flow-step { display: flex; align-items: flex-start; gap: 8px; padding: 6px 7px; border-radius: 12px; background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(55, 65, 81, 0.8); }
.flow-step-badge { width: 20px; height: 20px; border-radius: 999px; background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(75, 85, 99, 0.9); font-size: 11px; display: flex; align-items: center; justify-content: center; color: #9ca3af; flex-shrink: 0; }
.flow-step-active { border-color: rgba(129, 140, 248, 0.9); box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.5), 0 0 26px rgba(79, 70, 229, 0.8); background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.35) 0, transparent 55%); }
.flow-step-active .flow-step-badge { background: radial-gradient(circle at 30% 0, #e5e7eb, #6b7280 65%, #0b1120 100%); color: #020617; border-color: rgba(191, 219, 254, 0.9); box-shadow: 0 0 20px rgba(129, 140, 248, 0.95), 0 0 40px rgba(56, 189, 248, 0.9); }
.flow-step-main { font-size: 12px; color: #e5e7eb; margin-bottom: 2px; }
.flow-step-sub { font-size: 11px; color: var(--text-sub); }
.panel-console { border-radius: 18px; padding: 10px 10px 12px; background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(75, 85, 99, 0.7); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95); position: relative; overflow: hidden; }
.panel-console-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 11px; color: var(--text-sub); }
.panel-console-header span:nth-child(2) { color: #e5e7eb; }
.panel-console-body { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 11px; color: #e5e7eb; background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.35) 0, transparent 55%); border-radius: 12px; padding: 8px 9px; border: 1px solid rgba(55, 65, 81, 0.9); overflow: visible; }
.console-line { display: flex; gap: 8px; margin-bottom: 2px; word-wrap: break-word; }
.console-line-prompt { color: rgba(148, 163, 184, 0.85); }
.console-line-text { flex: 1; word-wrap: break-word; overflow-wrap: break-word; }
.console-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 6px; border-radius: 999px; font-size: 10px; background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(148, 163, 184, 0.7); color: var(--text-sub); }
.console-tag span { font-size: 9px; }
.console-status { margin-top: 6px; display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--text-sub); }
.console-status-chip { padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(56, 189, 248, 0.8); color: #e0f2fe; background: rgba(8, 47, 73, 0.7); }
.panel-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.panel-badge { font-size: 10px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.6); background: rgba(15, 23, 42, 0.9); color: var(--text-sub); }

/* ========== Section Common Styles ========== */
.section { margin-top: 64px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.section-eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-sub); margin-bottom: 6px; }
.section-title { font-size: 22px; font-weight: 600; letter-spacing: 0.04em; }
.section-title span { background: linear-gradient(120deg, #4f46e5, #22c55e); -webkit-background-clip: text; color: transparent; }
.section-subtitle { font-size: 13px; color: var(--text-sub); max-width: 320px; }
.section-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.7); color: var(--text-sub); background: rgba(15, 23, 42, 0.9); }
@media (max-width: 720px) { .section { margin-top: 48px; } .section-header { flex-direction: column; align-items: flex-start; } }
@media (max-width: 480px) { .section { margin-top: 40px; } .section-header { margin-bottom: 18px; gap: 12px; } .section-eyebrow { font-size: 10px; margin-bottom: 4px; } .section-title { font-size: 18px; line-height: 1.3; } .section-subtitle { font-size: 12px; max-width: 100%; } }

/* ========== Steps Grid ========== */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .steps-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .steps-grid { gap: 12px; } .step-card { padding: 10px 10px 12px; border-radius: 14px; } .step-pill { font-size: 12px; margin-bottom: 8px; } .step-pill-badge { width: 20px; height: 20px; font-size: 10px; } .step-title { font-size: 14px; margin-bottom: 5px; } .step-desc { font-size: 12px; margin-bottom: 8px; } .step-meta { font-size: 10px; gap: 4px 8px; } }
.step-card { border-radius: var(--radius-lg); padding: 12px 12px 14px; background: rgba(15, 23, 42, 0.92); border: 1px solid rgba(55, 65, 81, 0.9); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.96); position: relative; overflow: hidden; transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal); }
.step-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.3) 0, transparent 65%); opacity: 0; transition: opacity var(--transition-normal); pointer-events: none; }
.step-card:hover { transform: translateY(-4px); border-color: rgba(129, 140, 248, 0.9); box-shadow: 0 26px 60px rgba(15, 23, 42, 1), 0 0 40px rgba(79, 70, 229, 0.85); background: radial-gradient(circle at 0 0, rgba(29, 78, 216, 0.6) 0, rgba(15, 23, 42, 0.96) 45%); }
.step-card:hover::before { opacity: 1; }
.step-card-img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; opacity: 0.8; mask-image: linear-gradient(to bottom, black 0%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%); }
.step-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #e0e7ff; margin-bottom: 12px; letter-spacing: 0.05em; }
.step-pill-badge { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(129, 140, 248, 0.4); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; background: rgba(79, 70, 229, 0.15); color: #818cf8; box-shadow: 0 0 12px rgba(79, 70, 229, 0.25); }
.step-title { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--text-sub); margin-bottom: 10px; }
.step-meta { font-size: 11px; color: rgba(148, 163, 184, 0.9); display: flex; flex-wrap: wrap; gap: 5px 10px; }
.step-meta span { display: inline-flex; align-items: center; gap: 4px; }
.dot-sm { width: 4px; height: 4px; border-radius: 999px; background: rgba(148, 163, 184, 0.9); }

/* ========== Value Grid ========== */
.value-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }
.value-main { border-radius: var(--radius-xl); padding: 32px; background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat; border: 1px solid rgba(129, 140, 248, 0.3); box-shadow: 0 24px 70px rgba(15, 23, 42, 0.8), inset 0 0 60px rgba(56, 189, 248, 0.05); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.value-main::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.5), transparent); }
.value-main-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; background: linear-gradient(120deg, #fff, #94a3b8); -webkit-background-clip: text; color: transparent; }
.value-main-subtitle { font-size: 14px; color: var(--text-sub); margin-bottom: 24px; max-width: 500px; line-height: 1.6; }
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 600px) { .value-list { grid-template-columns: 1fr; } }
.value-item { border-radius: 16px; padding: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); transition: all 0.3s ease; }
.value-item:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(129, 140, 248, 0.3); transform: translateY(-2px); }
.value-item-title { font-size: 15px; font-weight: 600; color: #e2e8f0; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.value-item-title::before { content: ''; width: 6px; height: 6px; background: #4f46e5; border-radius: 50%; box-shadow: 0 0 8px #4f46e5; }
.value-item-desc { font-size: 13px; color: #94a3b8; line-height: 1.5; }
.value-highlight { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(226, 232, 240, 0.9); margin-top: auto; }
.value-tag { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.3); background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); }
.value-side { display: flex; flex-direction: column; gap: 16px; }
.value-stat { flex: 1; border-radius: 20px; padding: 20px 24px; background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6)); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; transition: all 0.3s ease; position: relative; overflow: hidden; }
.value-stat::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 60%); pointer-events: none; }
.value-stat:hover { border-color: rgba(129, 140, 248, 0.4); background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8)); transform: translateX(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.value-stat-label { font-size: 13px; color: #94a3b8; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; display: flex; justify-content: space-between; align-items: center; }
.value-stat-main { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.value-stat-number { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.value-stat-unit { font-size: 14px; color: #cbd5e1; font-weight: 500; }
.value-stat-desc { font-size: 13px; color: #64748b; }

/* ========== Audience Grid ========== */
.audience-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.audience-card { border-radius: var(--radius-lg); padding: 20px; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(55, 65, 81, 0.6); backdrop-filter: blur(12px); transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; }
.audience-card:hover { background: rgba(30, 41, 59, 0.8); border-color: rgba(129, 140, 248, 0.5); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.audience-card:nth-child(1), .audience-card:nth-child(2) { grid-column: span 3; background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8)); border: 1px solid rgba(129, 140, 248, 0.2); }
.audience-card:nth-child(3), .audience-card:nth-child(4), .audience-card:nth-child(5) { grid-column: span 2; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } .audience-card:nth-child(1), .audience-card:nth-child(2), .audience-card:nth-child(3), .audience-card:nth-child(4), .audience-card:nth-child(5) { grid-column: span 1; } .audience-card:nth-child(5) { grid-column: span 2; } }
@media (max-width: 600px) { .audience-grid { grid-template-columns: 1fr; } .audience-card:nth-child(5) { grid-column: span 1; } .audience-card { padding: 16px; } .audience-title { font-size: 15px; } .audience-desc { font-size: 13px; } }
.audience-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #f1f5f9; display: flex; align-items: center; gap: 8px; }
.audience-desc { font-size: 13px; color: #94a3b8; margin-bottom: 12px; line-height: 1.5; }
.audience-list { list-style: none; font-size: 12px; color: #cbd5e1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.audience-tag { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 4px; font-size: 11px; }

/* ========== Footer ========== */
.footer { padding-top: 16px; font-size: 11px; color: rgba(148, 163, 184, 0.95); border-top: 1px solid rgba(30, 64, 175, 0.8); margin-top: 32px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-link { color: rgba(148, 163, 184, 0.95); cursor: pointer; }
.footer-link:hover { color: #e5e7eb; }
.footer-beian { margin-top: 0; padding-top: 0; text-align: center; font-size: 10px; color: rgba(148, 163, 184, 0.85); }
.footer-beian a { color: rgba(148, 163, 184, 0.85); text-decoration: none; transition: color var(--transition-fast); }
.footer-beian a:hover { color: rgba(148, 163, 184, 1); }
@media (max-width: 480px) { .footer { padding-top: 12px; margin-top: 24px; font-size: 10px; } .footer-beian { font-size: 9px; } .footer-beian > div:first-child { flex-direction: column; gap: 8px; align-items: center; } .footer-beian > div:first-child > span, .footer-beian > div:first-child > a { font-size: 9px; } .footer-beian > div:last-child { margin-top: 6px; font-size: 8px; line-height: 1.5; } .footer-beian img { width: 16px !important; height: 16px !important; } }

/* ========== Scroll Behavior ========== */
html { scroll-behavior: smooth; }
.anchor-offset { scroll-margin-top: 78px; }
@media (max-width: 480px) { .anchor-offset { scroll-margin-top: 60px; } }

/* ========== Mobile Optimization ========== */
@media (max-width: 480px) {
  * { -webkit-tap-highlight-color: transparent; }
  .audience-icons { gap: 20px !important; }
  .audience-icons svg { width: 42px; height: 42px; }
  .audience-icons > div > div { font-size: 10px !important; }
  .hero-metrics { gap: 16px; }
  .metric { min-width: 40%; flex: 1; }
  .section#value > div[style*="height: 180px"] { height: 120px !important; }
  button, .btn-primary, .btn-ghost, .nav-link { -webkit-user-select: none; user-select: none; }
  body { -webkit-overflow-scrolling: touch; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
}

/* ========== Float Contact Button ========== */
#contact-float-btn { position: fixed; bottom: 30px; right: 30px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #4f46e5, #22c55e); box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; transition: transform 0.3s ease, box-shadow 0.3s ease; }
#contact-float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6); }

/* ========== Modal ========== */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 1001; opacity: 0; transition: opacity 0.3s ease; }
.modal-backdrop.show { display: flex; opacity: 1; }
.modal-content { width: 90%; max-width: 400px; background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(79, 70, 229, 0.3); border-radius: 16px; padding: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); transform: translateY(20px); transition: transform 0.3s ease; }
.modal-backdrop.show .modal-content { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-header h3 { font-size: 18px; color: #f9fafb; margin: 0; }
.close-btn { background: none; border: none; color: #9ca3af; font-size: 24px; cursor: pointer; padding: 0; line-height: 1; }
.close-btn:hover { color: #fff; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; color: #9ca3af; margin-bottom: 6px; }
.form-group input { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(55, 65, 81, 0.8); background: rgba(30, 41, 59, 0.5); color: #fff; font-size: 14px; outline: none; transition: border-color 0.2s; }
.form-group input:focus { border-color: #4f46e5; }
.submit-btn { width: 100%; padding: 12px; border-radius: 8px; border: none; background: linear-gradient(135deg, #4f46e5, #22c55e); color: #fff; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.submit-btn:hover { opacity: 0.9; }

/* ========== Toast Notifications ========== */
#toast-container { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast { min-width: 320px; padding: 16px 24px; background: rgba(15, 23, 42, 0.95); color: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; gap: 14px; animation: toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1); font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }
.toast.success { border-left: 4px solid #22c55e; background: linear-gradient(to right, rgba(34, 197, 94, 0.15), rgba(15, 23, 42, 0.95) 30%); box-shadow: 0 8px 32px rgba(34, 197, 94, 0.25); border-color: rgba(34, 197, 94, 0.3); }
.toast.error { border-left: 4px solid #ef4444; background: linear-gradient(to right, rgba(239, 68, 68, 0.15), rgba(15, 23, 42, 0.95) 30%); box-shadow: 0 8px 32px rgba(239, 68, 68, 0.25); border-color: rgba(239, 68, 68, 0.3); }
.toast.info { border-left: 4px solid #3b82f6; background: linear-gradient(to right, rgba(59, 130, 246, 0.15), rgba(15, 23, 42, 0.95) 30%); box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25); border-color: rgba(59, 130, 246, 0.3); }
.toast-icon { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.toast.success .toast-icon { color: #22c55e; background: rgba(34, 197, 94, 0.2); }
.toast.error .toast-icon { color: #ef4444; background: rgba(239, 68, 68, 0.2); }
.toast.info .toast-icon { color: #3b82f6; background: rgba(59, 130, 246, 0.2); }
@keyframes toast-in { from { transform: translateY(-30px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes toast-out { from { transform: translateY(0) scale(1); opacity: 1; } to { transform: translateY(-20px) scale(0.95); opacity: 0; } }
