﻿/* 行之 Marketing Site — Page-Specific Styles
   商务简洁版：所有颜色取自设计令牌，无光晕 / 玻璃拟态 / 渐变装饰。 */

/* ─── Workflow Cards (Quick Integration Steps) ─── */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.workflow-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.workflow-card-step {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.55;
}
.workflow-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.workflow-card-icon-wrap svg {
  width: 24px;
  height: 24px;
}
.workflow-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.workflow-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}
.workflow-card-tags {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.workflow-card-tag {
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 10px;
  background: rgba(var(--text-rgb), 0.05);
  color: var(--text2);
}

/* Workflow card color variants — 商务风改为克制的单色底 */
.workflow-card.workflow-purple .workflow-card-step { color: var(--purple); }
.workflow-card.workflow-purple .workflow-card-icon-wrap { background: rgba(var(--purple-rgb),0.10); }
.workflow-card.workflow-purple .workflow-card-icon-wrap svg { stroke: var(--purple); }
.workflow-card.workflow-purple .workflow-card-tag { background: rgba(var(--purple-rgb),0.10); }
.workflow-card.workflow-purple:hover { border-color: rgba(var(--purple-rgb),0.45); }

.workflow-card.workflow-cyan .workflow-card-step { color: var(--primary); }
.workflow-card.workflow-cyan .workflow-card-icon-wrap { background: var(--accent); }
.workflow-card.workflow-cyan .workflow-card-icon-wrap svg { stroke: var(--primary); }
.workflow-card.workflow-cyan .workflow-card-tag { background: var(--accent); }
.workflow-card.workflow-cyan:hover { border-color: rgba(var(--primary-rgb),0.45); }

.workflow-card.workflow-green .workflow-card-step { color: var(--success); }
.workflow-card.workflow-green .workflow-card-icon-wrap { background: rgba(var(--success-rgb),0.10); }
.workflow-card.workflow-green .workflow-card-icon-wrap svg { stroke: var(--success); }
.workflow-card.workflow-green .workflow-card-tag { background: rgba(var(--success-rgb),0.10); }
.workflow-card.workflow-green:hover { border-color: rgba(var(--success-rgb),0.45); }

@media (max-width: 768px) {
  .workflow-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ─── Scroll Progress Bar（细实线，无发光） ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 200;
  width: 0%; background: var(--primary-solid);
  transition: width 0.1s linear;
}

/* ─── Cursor Glow（已禁用） ─── */
.cursor-glow { display: none !important; }

/* ─── Mission Banner ─── */
.mission-banner {
  max-width: 800px; margin: 0 auto; padding: 48px 32px; text-align: center;
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.mission-lines { position: relative; z-index: 1; }
.mission-line {
  font-size: 22px; font-weight: 600; letter-spacing: 1.5px; line-height: 1.8;
  color: var(--text);
}
.mission-divider {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 0; position: relative;
}
.mission-divider::before, .mission-divider::after {
  content: ''; flex: 1; max-width: 120px; height: 1px;
  background: var(--border);
}
.mission-dot {
  width: 5px; height: 5px; border-radius: 50%; margin: 0 12px;
  background: var(--primary);
}
@media (max-width: 768px) {
  .mission-banner { padding: 32px 20px; }
  .mission-line { font-size: 16px; letter-spacing: 1px; }
  .mission-divider::before, .mission-divider::after { max-width: 60px; }
}

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--text2); cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: var(--shadow-card);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { border-color: var(--primary); color: var(--primary); }
.back-to-top svg { width: 18px; height: 18px; }

/* ─── Global Navigation ─── */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 32px; display: flex; align-items: center; justify-content: space-between;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 32px;
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .site-nav.scrolled { background: rgba(17, 26, 43, 0.96); }
.nav-logo {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; text-decoration: none; position: relative; z-index: 101;
}
.nav-logo img { display: block; }
.nav-logo .nav-logo-text {
  font-size: 11px; color: var(--text); font-weight: 500;
  letter-spacing: 3px; line-height: 1.1;
  font-family: "华文行楷", "STXingkai", "BiauKai", "KaiTi", "Lantinghei SC", "PingFang SC", "Microsoft YaHei", serif;
}
.nav-links { display: flex; align-items: center; gap: 2px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a {
  padding: 7px 13px; border-radius: 6px; color: var(--text2); font-size: 13px;
  font-weight: 500; transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.user-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  text-decoration: none; color: var(--text);
  font-size: 14px; font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow: hidden; flex-shrink: 0;
  cursor: pointer;
  background: var(--accent); border: 1px solid var(--border-strong);
}
.user-avatar:hover {
  border-color: var(--primary);
  background: var(--accent2);
}

.avatar-initial { line-height: 1; }
.brand-name { text-align: center; margin-bottom: 24px; }
.brand-name h1 {
  font-size: 28px; color: var(--text);
  font-family: "华文行楷", "STXingkai", "BiauKai", "KaiTi", "Lantinghei SC", "PingFang SC", "Microsoft YaHei", serif;
}
.avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lang-toggle {
  display: flex; border: 1px solid var(--border-strong); border-radius: 6px; overflow: hidden;
}
.lang-toggle button {
  padding: 3px 9px; border: none; background: transparent; color: var(--text2);
  font-size: 11px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; font-family: var(--font);
  font-weight: 500;
}
.lang-toggle button.active {
  background: var(--accent); color: var(--primary); font-weight: 600;
}
.hamburger {
  display: none; background: none; border: none; color: var(--text);
  cursor: pointer; padding: 8px;
}
.hamburger svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--surface);
    padding: 16px; border-bottom: 1px solid var(--border);
    animation: navSlideIn 0.25s ease forwards;
  }
  @keyframes navSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border); padding: 40px 24px 20px;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr auto auto auto; gap: 40px;
  max-width: 1200px; margin: 0 auto;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand-logo-col { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.footer-brand-logo-col img { height: 28px; width: auto; }
.footer-brand-text { font-family: "华文行楷", "STXingkai", "BiauKai", "KaiTi", serif; font-size: 13px; color: var(--text); letter-spacing: 2.5px; }
.footer-brand .footer-divider { color: var(--text3); font-size: 14px; }
.footer-brand .footer-tagline { font-size: 13px; color: var(--text2); }
.footer-bottom {
  max-width: 1200px; margin: 24px auto 0; padding-top: 16px;
  border-top: 1px solid var(--border); font-size: 13px; color: var(--text2);
  display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap;
}
.footer-legal { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-legal a { color: var(--text2); font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.footer-legal a:hover { color: var(--primary); }
.beian-badge { height: 18px; width: auto; }
.footer-company { font-family: "华文行楷", "STXingkai", "BiauKai", "KaiTi", serif; font-size: 14px; color: var(--text); }

.footer-col h4 { font-size: 12px; color: var(--text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; }
.footer-col a { display: block; color: var(--text2); font-size: 12px; padding: 3px 0; }
.footer-col a:hover { color: var(--primary); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── Hero Section ─── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 32px 72px; position: relative; overflow: hidden; gap: 48px; z-index: 1;
}
.hero-canvas { display: none !important; }
.hero-content {
  max-width: 760px; text-align: center; position: relative; z-index: 1;
}
.hero h1 {
  font-size: 46px; margin-bottom: 20px; line-height: 1.15;
  letter-spacing: -0.02em;
  animation: heroTitleIn 0.7s ease backwards;
}
@keyframes heroTitleIn { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: translateY(0) } }

.hero p {
  font-size: 17px; color: var(--text2); max-width: 560px; margin: 0 auto 32px;
  line-height: 1.75; animation: heroFadeIn 0.9s 0.15s ease backwards;
}
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: translateY(0) } }

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: heroFadeIn 0.9s 0.3s ease backwards; }

.hero-glow { display: none !important; }

/* Hero Preview Window */
.hero-preview {
  max-width: 1050px; width: 100%; margin: 0; position: relative; z-index: 1;
  animation: heroFadeIn 0.9s 0.45s ease backwards;
}
.preview-window {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-deep);
  height: 440px;
}
.preview-header {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  background: var(--bg-elev); border-bottom: 1px solid var(--border);
}
[data-theme="light"] .preview-header { background: var(--surface-2); }
.preview-logo { flex-shrink: 0; }
.preview-title { font-size: 13px; color: var(--text2); font-weight: 600; }
.preview-body { display: flex; height: calc(100% - 51px); }
.preview-sidebar {
  width: 150px; padding: 16px 0; background: var(--bg-elev);
  border-right: 1px solid var(--border); flex-shrink: 0; overflow-y: auto;
}
[data-theme="light"] .preview-sidebar { background: var(--surface-2); }
.preview-nav-item {
  padding: 10px 18px; font-size: 13px; color: var(--text2);
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease; border: none; background: none; width: 100%;
  font-family: var(--font); text-align: left;
}
.preview-nav-item:hover { color: var(--text); background: var(--accent); }
.preview-nav-item span { width: 4px; height: 4px; border-radius: 50%; background: var(--text3); transition: background 0.2s ease; }
.preview-nav-item.active { color: var(--primary); background: var(--accent); font-weight: 600; }
.preview-nav-item.active span { background: var(--primary); }

/* Page system */
.preview-main { flex: 1; padding: 20px; overflow-y: auto; }
.preview-page {
  display: none; flex-direction: column;
  height: 100%;
}
.preview-page.active { display: flex; }
.preview-stats { display: flex; gap: 14px; margin-bottom: 20px; }
.mini-stat {
  flex: 1; padding: 14px; border-radius: var(--radius); background: var(--bg-elev);
  border: 1px solid var(--border); text-align: center;
}
[data-theme="light"] .mini-stat { background: var(--surface-2); }
.mini-label { font-size: 11px; color: var(--text2); display: block; margin-bottom: 4px; }
.mini-value { font-size: 20px; font-weight: 700; color: var(--text); }
.preview-chart { margin-bottom: 14px; }
.chart-bars {
  display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 0 4px;
}
.chart-bar {
  flex: 1; border-radius: 3px 3px 0 0; min-height: 8px;
  background: rgba(var(--primary-rgb), 0.75);
  transition: height 0.5s ease;
}
.chart-bar:nth-child(even) { background: rgba(var(--primary-rgb), 0.45); }
.preview-table { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.table-row {
  display: flex; padding: 10px 12px; font-size: 12px; gap: 12px;
  border-bottom: 1px solid var(--border); align-items: center;
}
.table-row:last-child { border-bottom: none; }
.table-row span:first-child { flex: 1; }
.table-row span { color: var(--text2); }
.table-head { background: var(--bg-elev); }
[data-theme="light"] .table-head { background: var(--surface-2); }
.table-head span { color: var(--text); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.status-tag {
  padding: 2px 8px; border-radius: 5px; font-size: 10px; font-weight: 600;
}
.status-tag.active { background: rgba(var(--success-rgb),0.14); color: var(--success); }
.status-tag.standby { background: rgba(var(--text-rgb),0.08); color: var(--text2); }

/* Prompt list page */
.preview-prompt-list { display: flex; flex-direction: column; gap: 10px; }
.prompt-item {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px; transition: border-color 0.2s ease;
}
[data-theme="light"] .prompt-item { background: var(--surface-2); }
.prompt-item:hover { border-color: var(--border-strong); }
.prompt-item-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.prompt-layer-badge {
  font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 5px; text-transform: uppercase;
}
.layer-system { background: var(--accent); color: var(--primary); }
.layer-function { background: rgba(167,139,250,0.14); color: var(--purple); }
.layer-business { background: rgba(var(--gold-rgb),0.14); color: var(--gold); }
.prompt-name { font-size: 11px; font-weight: 600; color: var(--text); }
.prompt-preview { font-size: 10px; color: var(--text2); line-height: 1.4; }

/* Models page */
.preview-model-list { display: flex; flex-direction: column; gap: 8px; }
.model-row {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border-radius: var(--radius); background: var(--bg-elev);
  border: 1px solid var(--border);
}
[data-theme="light"] .model-row { background: var(--surface-2); }
.model-row.active-model { border-color: rgba(var(--success-rgb),0.35); }
.model-name { font-size: 12px; font-weight: 600; color: var(--text); flex: 1; }
.model-provider { font-size: 10px; color: var(--text2); }
.model-status-tag {
  font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 5px;
  background: rgba(var(--success-rgb),0.14); color: var(--success);
}
.model-status-tag.model-standby {
  background: rgba(var(--text-rgb),0.08); color: var(--text2);
}

/* Tools page */
.preview-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tool-chip {
  padding: 12px 14px; border-radius: var(--radius); font-size: 12px; color: var(--text2);
  background: var(--bg-elev); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
}
[data-theme="light"] .tool-chip { background: var(--surface-2); }
.tool-chip.active { border-color: var(--border-strong); color: var(--text); }
.tool-chip.active::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); margin-left: auto;
}

/* Billing page */
.preview-billing-list { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.billing-row {
  display: flex; justify-content: space-between; padding: 9px 12px;
  border-radius: 6px; font-size: 11px;
  border: 1px solid var(--border);
}
.billing-time { color: var(--text2); }
.billing-amount { font-weight: 600; color: var(--error); }
.billing-row.billing-recharge { background: rgba(var(--success-rgb),0.06); }
.billing-recharge-amount { color: var(--success) !important; }

@media (max-width: 768px) {
  .hero-preview { display: none; }
  .preview-sidebar { width: 80px; }
  .preview-nav-item { padding: 6px 8px; font-size: 10px; }
  .preview-main { padding: 10px; }
  .preview-stats { flex-direction: column; gap: 8px; }
  .mini-value { font-size: 14px; }
}

/* Typing effect */
.typing-cursor::after {
  content: '|'; animation: blink 1s step-end infinite; color: var(--primary);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .hero { min-height: 80vh; padding: 110px 16px 64px; }
}

/* ─── Social Proof ─── */
.social-proof {
  padding: 40px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
  background: var(--bg-elev);
}
.social-proof .container { text-align: center; }
.social-proof p { font-size: 14px; color: var(--text2); margin-bottom: 20px; }
.provider-logos {
  display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap;
}
.provider-logos span {
  font-size: 16px; font-weight: 600; color: var(--text3);
  transition: color 0.25s ease;
}
.provider-logos span:hover { color: var(--primary); }

/* ─── Interactive Feature Cards ─── */
.feature-card-interactive {
  cursor: pointer; position: relative;
}
.feature-card-interactive .feature-detail {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0; margin-top: 0;
}
.feature-card-interactive:hover .feature-detail {
  max-height: 200px; opacity: 1; margin-top: 12px;
}
.feature-card-interactive .feature-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-card-interactive .feature-tags span {
  padding: 3px 8px; border-radius: 5px; font-size: 11px;
  background: var(--accent); border: 1px solid var(--border);
  color: var(--primary);
}

/* ─── Steps / How It Works ─── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  text-align: center; padding: 32px 24px; position: relative;
}
.step-number {
  width: 44px; height: 44px; border-radius: var(--radius); margin: 0 auto 16px;
  background: var(--accent); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: var(--primary);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text2); }
.step-connector {
  position: absolute; top: 54px; right: -12px; width: 24px; height: 1px;
  background: var(--border-strong);
}

/* Modern Steps */
.steps-modern { align-items: flex-start; }
.step-icon {
  width: 60px; height: 60px; margin: 0 auto 16px;
  background: var(--accent); border: 1px solid var(--border);
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease;
}
.step-icon svg { width: 26px; height: 26px; }
.step:hover .step-icon {
  border-color: var(--primary);
}
.step-connector-line {
  display: flex; align-items: center; justify-content: center;
  padding-top: 16px; color: var(--text3); font-size: 18px;
}
@media (max-width: 768px) {
  .steps-modern { grid-template-columns: 1fr; gap: 24px; }
  .step-connector-line { display: none; }
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .step-connector { display: none; }
}

/* ─── Pipeline (How It Works) ─── */
.pipeline-section .section-subtitle { margin-bottom: 48px; }
.pipeline-track {
  display: flex; align-items: stretch; gap: 0; position: relative;
  justify-content: center; flex-wrap: wrap;
}

/* Pipeline 连接线 */
.pipeline-line {
  position: absolute; top: 40px; left: 10%; right: 10%; height: 1px;
  background: var(--border-strong); z-index: 0;
}
.pipeline-flow-dot { display: none; }

.pipeline-node {
  position: relative; z-index: 1; flex: 1; min-width: 180px; max-width: 220px;
  display: flex; flex-direction: column; align-items: center; padding: 0 6px;
}
.pipeline-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 18px 20px; width: 100%;
  text-align: center; position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pipeline-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.pipeline-card-glow { border-color: rgba(var(--success-rgb),0.35) !important; }
.pipeline-card-glow:hover { border-color: rgba(var(--success-rgb),0.55) !important; }

.pipeline-step-badge {
  position: absolute; top: -10px; left: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  background: var(--accent);
  border: 1px solid var(--border-strong); color: var(--primary);
  padding: 2px 10px; border-radius: 6px;
}
.pipeline-step-badge.step-done {
  background: rgba(var(--success-rgb),0.12);
  border-color: rgba(var(--success-rgb),0.35); color: var(--success);
}

.pipeline-icon-wrap {
  width: 48px; height: 48px; margin: 8px auto 14px;
  background: var(--accent); border: 1px solid var(--border);
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease;
}
.pipeline-icon-wrap svg { width: 22px; height: 22px; }
.pipeline-card:hover .pipeline-icon-wrap {
  border-color: var(--border-strong);
}
.pipeline-icon-glow {
  background: rgba(var(--success-rgb),0.10) !important;
  border-color: rgba(var(--success-rgb),0.30) !important;
}

.pipeline-card h4 {
  font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--text);
}
.pipeline-card > p {
  font-size: 12px; color: var(--text2); margin: 0 0 12px; line-height: 1.5;
}
.pipeline-substeps {
  list-style: none; margin: 0; padding: 0; text-align: left;
  border-top: 1px solid var(--border); padding-top: 10px;
}
.pipeline-substeps li {
  font-size: 11px; color: var(--text2); padding: 3px 0;
  display: flex; align-items: center; gap: 6px;
}
.pipeline-substeps li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}

.pipeline-hint {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 32px; padding: 12px 20px;
  background: var(--accent); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; color: var(--text2);
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.pipeline-hint a { text-decoration: none; }
.pipeline-hint a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .pipeline-track { flex-direction: column; align-items: center; gap: 16px; }
  .pipeline-line { display: none; }
  .pipeline-node { max-width: 360px; width: 100%; }
}

/* ─── Pricing Cards ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.pricing-card .popular-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent);
  color: var(--primary); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border-strong);
}
.pricing-card h3 { font-size: 19px; margin-bottom: 4px; }
.pricing-card .price {
  font-size: 34px; font-weight: 700; margin: 16px 0; color: var(--text);
  letter-spacing: -0.02em;
}
.pricing-card .price span { font-size: 14px; color: var(--text2); font-weight: 400; }
.pricing-card .desc { font-size: 14px; color: var(--text2); margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 24px; }
.pricing-card ul li {
  padding: 8px 0; font-size: 14px; color: var(--text2);
  display: flex; align-items: center; gap: 8px;
}
.pricing-card ul li::before {
  content: '✓'; color: var(--success); font-weight: 700; font-size: 12px;
  width: 18px; height: 18px; background: rgba(var(--success-rgb),0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pricing-card .btn { width: 100%; }
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 56px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: 30px; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: var(--text2); margin-bottom: 24px; }

/* ─── Newsletter ─── */
.newsletter {
  max-width: 480px; margin: 32px auto 0; text-align: center;
}
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--text); font-size: 14px; outline: none; font-family: var(--font);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--accent); }
@media (max-width: 480px) { .newsletter-form { flex-direction: column; } }

/* ─── Features Page ─── */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px 0;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-visual {
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; display: flex; align-items: center; justify-content: center;
  min-height: 300px; position: relative; overflow: hidden;
  transition: border-color 0.2s ease;
}
.feature-visual:hover {
  border-color: var(--border-strong);
}
.feature-visual svg { width: 120px; height: 120px; stroke: var(--primary); stroke-width: 1; fill: none; opacity: 0.9; }
.feature-text h2 { font-size: 26px; margin-bottom: 12px; }
.feature-text p { font-size: 15px; color: var(--text2); margin-bottom: 20px; line-height: 1.7; }
.feature-text ul { list-style: none; }
.feature-text ul li {
  padding: 6px 0; font-size: 14px; color: var(--text2);
  display: flex; align-items: flex-start; gap: 10px;
}
.feature-text ul li::before {
  content: '→'; color: var(--primary); font-weight: 600; flex-shrink: 0;
}
@media (max-width: 768px) {
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ─── FAQ ─── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px;
  background: var(--card); overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; cursor: pointer; font-size: 15px; font-weight: 600;
  background: none; border: none; color: var(--text); width: 100%;
  text-align: left; font-family: var(--font);
}
.faq-question::after {
  content: '+'; font-size: 18px; color: var(--primary); transition: transform 0.2s ease;
  flex-shrink: 0; margin-left: 12px;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 16px; }
.faq-answer p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ─── About Page ─── */
.about-hero { text-align: center; padding: 60px 0 40px; }
.about-hero h1 { font-size: 38px; margin-bottom: 16px; }
.about-hero p { font-size: 16px; color: var(--text2); max-width: 600px; margin: 0 auto; line-height: 1.75; }
.about-content { max-width: 720px; margin: 0 auto; }
.about-content p { font-size: 15px; color: var(--text2); line-height: 1.85; margin-bottom: 20px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tech-tags span {
  padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 500;
  background: var(--accent); border: 1px solid var(--border);
  color: var(--primary);
}

/* ─── Architecture Diagram ─── */
.arch-diagram { max-width: 700px; margin: 0 auto; }
.arch-layer {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px;
}
.arch-badge {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary);
  background: var(--accent); padding: 2px 10px; border-radius: 5px;
  margin-bottom: 8px;
}
.arch-items { display: flex; flex-wrap: wrap; gap: 12px; }
.arch-items span {
  font-size: 13px; color: var(--text2); padding: 4px 10px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 6px;
}
[data-theme="light"] .arch-items span { background: var(--surface-2); }
.arch-arrow {
  text-align: center; font-size: 18px; color: var(--text3);
  padding: 6px 0;
}

/* ─── Security Grid ─── */
.security-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; margin: 0 auto;
}
.security-item { text-align: center; padding: 24px 16px; }
.security-item .security-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  background: var(--accent); border: 1px solid var(--border);
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
}
.security-item h4 { font-size: 15px; margin-bottom: 8px; }
.security-item p { font-size: 13px; color: var(--text2); line-height: 1.6; }
@media (max-width: 768px) {
  .security-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ─── Integrations Grid ─── */
.integrations-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 800px; margin: 0 auto;
}
.integration-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.integration-card:hover {
  border-color: var(--border-strong); box-shadow: var(--shadow-md);
}
.integration-name { font-size: 15px; font-weight: 600; display: block; margin-bottom: 4px; }
.integration-type { font-size: 12px; color: var(--text2); }
@media (max-width: 768px) {
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}
.site-logo:hover {
  opacity: 0.85;
}
