:root {
  --primary: #1A5276;
  --primary-light: #2980b9;
  --primary-dark: #154360;
  --accent: #3498db;
  --accent-light: #5dade2;
  --bg-dark: #0a0f1a;
  --bg-card: #111827;
  --bg-surface: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --border-light: #475569;
  --risk-high: #ef4444;
  --risk-medium-high: #f97316;
  --risk-medium: #eab308;
  --risk-low: #22c55e;
  --risk-minimal: #10b981;
  --gradient-1: linear-gradient(135deg, #1A5276 0%, #2980b9 50%, #3498db 100%);
  --gradient-accent: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  --gradient-text: linear-gradient(135deg, #5dade2 0%, #85c1e9 50%, #aed6f1 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(52, 152, 219, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 15, 26, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}

.logo-icon {
  color: var(--accent);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition);
}

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

.nav-btn {
  background: var(--gradient-accent);
  color: white !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
  position: static !important;
}

.nav-btn::after {
  display: none;
}

.nav-btn:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gradient-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1A5276 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #2980b9 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #3498db 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
  opacity: 0.3;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 152, 219, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 152, 219, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 152, 219, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 20px rgba(52, 152, 219, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(52, 152, 219, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.btn-ghost:hover {
  background: rgba(52, 152, 219, 0.1);
  border-color: var(--accent);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-light);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

.scroll-indicator {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-muted);
  border-radius: 10px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes scroll {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

/* ============ SECTION HEADERS ============ */
.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

/* ============ FEATURES ============ */
.features {
  padding: 120px 0;
  background: var(--bg-card);
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 24px;
}

.feature-icon.sparkle {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(41, 128, 185, 0.2));
  color: #f1c40f;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.check {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #22c55e;
  border-bottom: 2px solid #22c55e;
  transform: rotate(45deg);
}

.feature-cta {
  display: flex;
  flex-direction: column;
}

.feature-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: var(--transition);
}

.feature-link:hover {
  color: var(--accent-light);
}

/* ============ WORKFLOW ============ */
.workflow {
  padding: 120px 0;
  background: var(--bg-dark);
}

.workflow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.flow-stage {
  text-align: center;
  max-width: 180px;
}

.stage-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 0 40px rgba(52, 152, 219, 0.3);
  transition: var(--transition);
}

.flow-stage:hover .stage-circle {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(52, 152, 219, 0.5);
}

.stage-circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(52, 152, 219, 0.3);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.stage-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.stage-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.stage-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.meta-tag {
  display: inline-block;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  color: var(--accent-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.flow-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding-bottom: 60px;
}

.signoff-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.signoff-section h3 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.signoff-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.signoff-node {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  min-width: 140px;
}

.signoff-node.level-1 {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
}

.signoff-node.level-2 {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.signoff-node.level-3 {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.signoff-node:hover {
  transform: translateY(-4px);
}

.signoff-badge {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.level-1 .signoff-badge { color: var(--accent); }
.level-2 .signoff-badge { color: #eab308; }
.level-3 .signoff-badge { color: #22c55e; }

.signoff-role {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.signoff-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.signoff-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  position: relative;
}

.signoff-connector::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: -10px;
  color: var(--accent);
  font-size: 1.2rem;
}

/* ============ RISK MATRIX ============ */
.risk-section {
  padding: 120px 0;
  background: var(--bg-card);
}

.risk-matrix-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.risk-matrix {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 40px repeat(3, 1fr);
  gap: 8px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.matrix-labels {
  display: grid;
  grid-template-columns: 40px repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.label-corner {
  background: transparent;
}

.label-col {
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.risk-cell {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.risk-cell:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.risk-cell.high {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.risk-cell.medium-high {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}

.risk-cell.medium {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #1a1a1a;
}

.risk-cell.low {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

.risk-cell.minimal {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.cell-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cell-action {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.dot.red { background: #ef4444; }
.dot.orange { background: #f97316; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

/* ============ DATA ARCHITECTURE ============ */
.data-section {
  padding: 120px 0;
  background: var(--bg-dark);
}

.data-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.data-node {
  text-align: center;
  max-width: 180px;
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.data-node:hover {
  background: var(--bg-surface);
}

.node-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 152, 219, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.25);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin: 0 auto 16px;
}

.node-tb .node-icon { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); color: #ef4444; }
.node-mapping .node-icon { background: rgba(249, 115, 22, 0.15); border-color: rgba(249, 115, 22, 0.3); color: #f97316; }
.node-generation .node-icon { background: rgba(52, 152, 219, 0.15); border-color: rgba(52, 152, 219, 0.3); color: #3498db; }
.node-adjustment .node-icon { background: rgba(234, 179, 8, 0.15); border-color: rgba(234, 179, 8, 0.3); color: #eab308; }
.node-signoff .node-icon { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.3); color: #22c55e; }

.data-node h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.data-node p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.data-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

.flow-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-light));
  position: relative;
  flex-shrink: 0;
}

.flow-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--accent-light);
}

.data-governance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.governance-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.governance-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.gov-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.governance-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.governance-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ AGENT TEAM ============ */
.agent-team {
  padding: 120px 0;
  background: var(--bg-card);
}

.agent-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.agent-stat {
  text-align: center;
}

.agent-stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.agent-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.agent-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
}

.agent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(52, 152, 219, 0.4);
}

.agent-card:hover .agent-card-inner::after {
  opacity: 1;
}

.agent-card-inner {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.agent-card-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.agent-card:hover .agent-card-inner::before {
  opacity: 1;
}

.agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
  position: relative;
  z-index: 1;
}

.agent-avatar-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.agent-avatar-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.agent-avatar-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.agent-avatar-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.agent-avatar-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.agent-avatar-6 { background: linear-gradient(135deg, #30cfd0, #330867); }
.agent-avatar-7 { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #333; }
.agent-avatar-8 { background: linear-gradient(135deg, #ff9a9e, #fecfef); color: #333; }
.agent-avatar-9 { background: linear-gradient(135deg, #5ee7df, #b490ca); color: #333; }
.agent-avatar-10 { background: linear-gradient(135deg, #ffecd2, #fcb69f); color: #333; }
.agent-avatar-11 { background: linear-gradient(135deg, #84fab0, #8fd3f4); color: #333; }
.agent-avatar-12 { background: linear-gradient(135deg, #d299c2, #fef9d7); color: #333; }

.agent-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.agent-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.agent-dept {
  display: inline-block;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  color: var(--accent-light);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.agent-cta {
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  position: relative;
  z-index: 1;
}

.agent-card:hover .agent-cta {
  opacity: 1;
}

.agent-collaboration {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.collab-title {
  text-align: center;
  margin-bottom: 40px;
}

.collab-title h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.collab-title p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.collab-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.collab-step {
  text-align: center;
  max-width: 150px;
}

.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 12px;
  box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
}

.collab-step h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.collab-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.collab-arrow {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Agent detail modal */
.agent-detail-modal {
  max-width: 560px !important;
  text-align: left;
}

.agent-detail-modal .modal-icon {
  display: none;
}

.agent-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.agent-detail-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.agent-detail-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.agent-detail-info .agent-detail-dept {
  display: inline-block;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  color: var(--accent-light);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.agent-detail-body {
  text-align: left;
}

.agent-detail-section {
  margin-bottom: 20px;
}

.agent-detail-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.agent-detail-section p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.agent-detail-list {
  list-style: none;
  padding: 0;
}

.agent-detail-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.agent-detail-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.agent-detail-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.agent-detail-meta-item {
  flex: 1;
  min-width: 100px;
}

.agent-detail-meta-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.agent-detail-meta-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .agent-stats {
    gap: 24px;
  }

  .agent-stat-num {
    font-size: 1.8rem;
  }

  .agent-collaboration {
    padding: 32px 24px;
  }

  .collab-flow {
    flex-direction: column;
    gap: 16px;
  }

  .collab-arrow {
    transform: rotate(90deg);
  }

  .collab-step {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .agent-team {
    padding: 80px 0;
  }

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

  .agent-stats {
    gap: 16px;
  }
}

/* ============ CTA ============ */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-orbs {
  position: absolute;
  inset: 0;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.cta-orb.orb-a {
  width: 400px;
  height: 400px;
  background: #1A5276;
  top: -100px;
  left: -100px;
}

.cta-orb.orb-b {
  width: 350px;
  height: 350px;
  background: #3498db;
  bottom: -50px;
  right: -50px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.cta-content > p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cta-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-icon-check {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border-radius: 50%;
  font-weight: 700;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badges span {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-free { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.2); }
.badge-pro { background: rgba(52, 152, 219, 0.15); color: var(--accent); border: 1px solid rgba(52, 152, 219, 0.2); }
.badge-enterprise { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.2); }

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 440px;
  width: 90%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--accent);
}

.modal-body {
  text-align: center;
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.modal-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.modal-input::placeholder {
  color: var(--text-muted);
}

.modal-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.modal-success {
  padding: 24px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.modal-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-success p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.modal-hint {
  font-size: 0.85rem;
  color: var(--text-muted) !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .hero-stats {
    gap: 32px;
  }

  .workflow-diagram {
    flex-direction: column;
    gap: 24px;
  }

  .flow-arrow {
    padding: 0;
    transform: rotate(90deg);
  }

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

  .signoff-flow {
    flex-direction: column;
    gap: 16px;
  }

  .signoff-connector {
    width: 2px;
    height: 30px;
  }

  .signoff-connector::after {
    right: -10px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
  }

  .data-flow {
    flex-direction: column;
    gap: 24px;
  }

  .flow-connector {
    width: 2px;
    height: 40px;
  }

  .flow-connector::after {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

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

  .footer-badges {
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .features,
  .workflow,
  .risk-section,
  .data-section,
  .testimonials,
  .cta-section {
    padding: 80px 0;
  }

  .signoff-section {
    padding: 32px 24px;
  }
}

/* ============ MOBILE TOUCH OPTIMIZATIONS ============ */
@media (max-width: 900px) {
  .feature-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .btn,
  .modal-input,
  .modal-submit {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
  }

  .modal-overlay.active {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

  .nav-link {
    padding: 8px 12px;
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.875rem;
    line-height: 1.2;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

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

  .feature-card {
    padding: 20px;
    min-height: auto;
  }

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

  .modal-content {
    width: 92%;
    max-height: 85vh;
    margin: 20px auto;
  }

  .modal-form {
    padding: 16px 0;
  }

  .modal-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
  }

  .modal-submit {
    width: 100%;
    padding: 14px;
  }

  .workflow-diagram,
  .data-flow,
  .signoff-flow {
    flex-direction: column;
  }
}