/* ============================================
   江苏瑞之鸣信息咨询有限公司 — 共享样式表 (v2)
   ============================================ */

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Segoe UI", sans-serif;
  color: #1a1a2e; line-height: 1.8; background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========== Variables ========== */
:root {
  --primary: #2563EB;
  --primary-light: #3B82F6;
  --primary-dark: #1D4ED8;
  --accent: #10B981;
  --accent-light: #34D399;
  --accent-glow: rgba(16,185,129,.15);
  --dark: #0F172A;
  --dark-card: #1E293B;
  --surface: #F8FAFC;
  --surface-2: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.12);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);
}

/* ========== Typography ========== */
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2.5vw, 24px); }
h4 { font-size: 18px; }

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 17px; color: var(--text-secondary);
  max-width: 640px; margin: 0 auto 56px;
  line-height: 1.8;
}

/* ========== Layout ========== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* ========== Icon SVG ========== */
.ico {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.15em; display: inline-block;
  transition: transform .3s ease;
}
.detail-icon .ico { width: 32px; height: 32px; }
.av-card-icon .ico { width: 28px; height: 28px; }
.step-circle .ico { width: 26px; height: 26px; color: #fff; }
.contact-item-icon .ico { width: 24px; height: 24px; }
.about-feature-icon .ico { width: 22px; height: 22px; }
.team-avatar .ico { width: 40px; height: 40px; color: var(--primary); }
.footer-links .ico { width: 14px; height: 14px; }

/* ========== Navigation ========== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  padding: 14px 0;
}
.navbar.scrolled .logo { color: #1E293B; }
.navbar.scrolled .menu-toggle span { background: #1E293B; }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}

.logo-icon-img {
  width: 34px; height: 34px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}

.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: #fff;
  transition: var(--transition);
  white-space: nowrap; flex-shrink: 0;
}

.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 800;
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75);
  transition: var(--transition); position: relative;
  padding: 6px 0;
}
.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
  background: #fff; border-radius: 2px;
}
.navbar.scrolled .nav-links a.active::after { background: var(--primary); }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; transition: var(--transition); border-radius: 2px;
}
.navbar.scrolled .menu-toggle span { background: var(--text); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px; font-size: 15px; font-weight: 600;
  transition: var(--transition); cursor: pointer; border: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,.4);
}
.btn-outline {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--text); color: #fff;
}
.btn-dark:hover { transform: translateY(-2px); background: var(--dark-card); }
.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff; box-shadow: 0 4px 16px rgba(16,185,129,.3);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,185,129,.4); }

/* ========== Hero ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 35%, #1E40AF 65%, #2563EB 100%);
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(16,185,129,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(37,99,235,.15) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: float 10s ease-in-out infinite alternate;
}
.orb-1 { width: 500px; height: 500px; background: var(--primary); top: -15%; right: -8%; opacity: .15; }
.orb-2 { width: 350px; height: 350px; background: var(--accent); bottom: 5%; left: -8%; opacity: .1; animation-delay: -4s; }
.orb-3 { width: 250px; height: 250px; background: #7C3AED; top: 35%; left: 45%; opacity: .08; animation-delay: -6s; }
@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.05); }
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px; padding: 8px 20px; margin-bottom: 36px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
}
.hero-badge-dot {
  width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(16,185,129,.5);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.6); }
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px); font-weight: 800; margin-bottom: 24px;
  letter-spacing: -0.03em; line-height: 1.15;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-light), #60A5FA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.7);
  max-width: 600px; margin: 0 auto 44px; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: 56px; margin-top: 72px;
  padding-top: 44px; border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat-num { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stat-num .accent { color: var(--accent-light); }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 4px; font-weight: 500; }

/* ========== Page Hero ========== */
.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1E40AF 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 70%, rgba(16,185,129,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(37,99,235,.1) 0%, transparent 60%);
}
.page-hero .hero-grid { opacity: .03; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.6); max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 24px;
  font-size: 13px; color: rgba(255,255,255,.35);
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,.2); }

/* ========== About Grid ========== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.about-visual {
  position: relative; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.about-visual-inner {
  position: absolute; inset: 24px;
  border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
}
.av-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.05); position: relative; overflow: hidden; }
.av-bar::after {
  content: ''; position: absolute; left: 0; top: 0; height: 100%; border-radius: 4px;
}
.av-bar:nth-child(1)::after { width: 78%; background: linear-gradient(90deg, var(--primary), #60A5FA); }
.av-bar:nth-child(2)::after { width: 62%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.av-bar:nth-child(3)::after { width: 90%; background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.av-bar:nth-child(4)::after { width: 45%; background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.av-row { display: flex; gap: 12px; margin-top: auto; }
.av-card {
  flex: 1; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-md); padding: 18px 12px; text-align: center;
  transition: var(--transition);
}
.av-card:hover { background: rgba(255,255,255,.06); transform: translateY(-2px); }
.av-card-icon { color: rgba(255,255,255,.7); margin-bottom: 10px; }
.av-card-num { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.av-card-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

.about-content h2 { margin-bottom: 20px; }
.about-content > p { color: var(--text-secondary); margin-bottom: 28px; line-height: 1.8; }
.about-features { display: flex; flex-direction: column; gap: 14px; }
.about-feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--border-light);
}
.about-feature:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.about-feature-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.about-feature-icon.blue { background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(37,99,235,.04)); color: var(--primary); }
.about-feature-icon.green { background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(16,185,129,.04)); color: var(--accent); }
.about-feature-icon.purple { background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(124,58,237,.04)); color: #7C3AED; }
.about-feature h4 { font-size: 15px; margin-bottom: 4px; }
.about-feature p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ========== Architecture ========== */
.arch-layers { position: relative; display: flex; flex-direction: column; gap: 20px; }
.arch-layer {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start;
  padding: 28px 32px; border-radius: var(--radius-lg);
  transition: var(--transition);
}
.arch-layer:hover { transform: translateX(4px); }
.arch-layer-badge {
  display: flex; align-items: center; gap: 12px;
  font-size: 17px; font-weight: 700;
}
.arch-layer-num {
  width: 38px; height: 38px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.arch-layer:nth-child(1) .arch-layer-num { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.arch-layer:nth-child(2) .arch-layer-num { background: linear-gradient(135deg, #7C3AED, #8B5CF6); }
.arch-layer:nth-child(3) .arch-layer-num { background: linear-gradient(135deg, #10B981, #34D399); }
.arch-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-tag {
  padding: 8px 16px; border-radius: 50px;
  font-size: 13px; transition: var(--transition);
  font-weight: 500;
}
.arch-tag:hover { transform: translateY(-2px); }
.arch-connector {
  width: 2px; height: 20px; margin: 0 auto;
  background: linear-gradient(to bottom, rgba(0,0,0,.06), transparent);
}

.arch-layer.light {
  background: #fff; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.arch-layer.light .arch-tag {
  background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary);
}
.arch-layer.light .arch-tag:hover {
  background: rgba(37,99,235,.06); border-color: rgba(37,99,235,.2); color: var(--primary);
}
.arch-layer.light .arch-layer-num { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow-xs); }
.arch-layer.light:hover { border-color: var(--border); box-shadow: var(--shadow-md); }

.arch-layer.dark {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.arch-layer.dark .arch-tag {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.65);
}
.arch-layer.dark .arch-tag:hover {
  background: rgba(37,99,235,.12); border-color: rgba(37,99,235,.3); color: #fff;
}

/* ========== Feature Cards ========== */
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.feature-card {
  padding: 40px 36px; border-radius: var(--radius-xl);
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: var(--transition);
}
.feature-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(37,99,235,.02));
  opacity: 0; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 28px; position: relative; z-index: 1;
}
.feature-card h3 { font-size: 20px; margin-bottom: 12px; position: relative; z-index: 1; }
.feature-card > p { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; position: relative; z-index: 1; }
.feature-list { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.6;
}
.feature-list li::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.feature-card.light {
  background: #fff; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.feature-card.light:hover { box-shadow: var(--shadow-lg); border-color: var(--border); }
.feature-card.light:nth-child(1)::before { background: linear-gradient(90deg, var(--primary), #60A5FA); }
.feature-card.light:nth-child(2)::before { background: linear-gradient(90deg, #EF4444, #F97316); }
.feature-card.light:nth-child(3)::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.feature-card.light:nth-child(4)::before { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.feature-card.light:nth-child(1) .feature-icon { background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(37,99,235,.04)); color: var(--primary); }
.feature-card.light:nth-child(2) .feature-icon { background: linear-gradient(135deg, rgba(239,68,68,.08), rgba(239,68,68,.04)); color: #EF4444; }
.feature-card.light:nth-child(3) .feature-icon { background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(16,185,129,.04)); color: var(--accent); }
.feature-card.light:nth-child(4) .feature-icon { background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(124,58,237,.04)); color: #7C3AED; }

.feature-card.dark {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  color: #fff;
}
.feature-card.dark:hover { border-color: rgba(255,255,255,.12); }
.feature-card.dark:nth-child(1)::before { background: linear-gradient(90deg, var(--primary), #60A5FA); }
.feature-card.dark:nth-child(2)::before { background: linear-gradient(90deg, #EF4444, #F97316); }
.feature-card.dark:nth-child(3)::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.feature-card.dark:nth-child(4)::before { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.feature-card.dark:nth-child(1) .feature-icon { background: rgba(37,99,235,.12); color: #60A5FA; }
.feature-card.dark:nth-child(2) .feature-icon { background: rgba(239,68,68,.12); color: #F97316; }
.feature-card.dark:nth-child(3) .feature-icon { background: rgba(16,185,129,.12); color: var(--accent-light); }
.feature-card.dark:nth-child(4) .feature-icon { background: rgba(124,58,237,.12); color: #A78BFA; }
.feature-card.dark > p { color: rgba(255,255,255,.55); }
.feature-card.dark .feature-list li { color: rgba(255,255,255,.6); }

/* ========== Detail Cards ========== */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.detail-card {
  padding: 36px 32px; border-radius: var(--radius-xl); background: #fff;
  border: 1px solid var(--border-light); transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--border); }
.detail-icon {
  font-size: 32px; margin-bottom: 20px;
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(37,99,235,.02));
  color: var(--primary);
}
.detail-card h4 { font-size: 17px; margin-bottom: 12px; }
.detail-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.detail-card ul { margin-top: 16px; }
.detail-card ul li {
  font-size: 13px; color: var(--text-secondary); padding: 5px 0;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.6;
}
.detail-card ul li::before {
  content: ''; width: 6px; height: 6px; flex-shrink: 0; margin-top: 8px;
  background: var(--primary); border-radius: 50%;
}

.detail-card.dark {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  color: #fff; box-shadow: none;
}
.detail-card.dark:hover { border-color: rgba(255,255,255,.12); box-shadow: none; }
.detail-card.dark .detail-icon { background: rgba(37,99,235,.1); color: #60A5FA; }
.detail-card.dark p, .detail-card.dark ul li { color: rgba(255,255,255,.55); }
.detail-card.dark ul li::before { background: var(--accent-light); }

/* ========== Scenarios ========== */
.scenario-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.scenario-tab {
  padding: 12px 28px; border-radius: 50px; border: 1.5px solid var(--border);
  background: #fff; font-size: 14px; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: var(--transition);
}
.scenario-tab:hover { border-color: var(--primary); color: var(--primary); }
.scenario-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(37,99,235,.25);
}
.scenario-content { max-width: 900px; margin: 0 auto; }
.scenario-panel { display: none; }
.scenario-panel.active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.scenario-steps { display: flex; gap: 0; position: relative; }
.scenario-step { flex: 1; text-align: center; position: relative; padding: 0 12px; }
.scenario-step::after {
  content: ''; position: absolute; top: 28px; right: 0;
  width: calc(50% + 8px); height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: .15;
}
.scenario-step:last-child::after { display: none; }
.scenario-step::before {
  content: ''; position: absolute; top: 28px; left: 0;
  width: calc(50% + 8px); height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: .15;
}
.scenario-step:first-child::before { display: none; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 22px; color: #fff; position: relative; z-index: 2;
  box-shadow: 0 4px 20px rgba(37,99,235,.25);
}
.step-label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.step-desc { font-size: 12px; color: var(--text-secondary); }
.scenario-note {
  margin-top: 48px; padding: 28px 32px;
  background: #fff; border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
}
.scenario-note p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.scenario-note.dark {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-left: 4px solid var(--accent); color: rgba(255,255,255,.7);
}
.scenario-note.dark p { color: rgba(255,255,255,.55); }

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1E40AF 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(16,185,129,.1) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; letter-spacing: -0.02em; }
.cta p { font-size: 17px; color: rgba(255,255,255,.6); margin-bottom: 44px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== Contact ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info h3 { font-size: 24px; margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 36px; line-height: 1.8; }
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(37,99,235,.02));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
}
.contact-item-label { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item-value { font-size: 15px; font-weight: 600; color: var(--text); }
.contact-form {
  background: #fff; padding: 40px; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md); border: 1px solid var(--border-light);
}
.contact-form h3 { font-size: 20px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 18px; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); font-size: 14px; font-family: inherit;
  transition: var(--transition); outline: none; background: var(--surface);
  color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border: none; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,99,235,.25);
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }

/* ========== Timeline ========== */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-50%);
  border-radius: 2px;
  opacity: .15;
}
.timeline-item {
  display: flex; align-items: center; margin-bottom: 44px; position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.08); z-index: 2;
  transition: var(--transition);
}
.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 0 6px rgba(37,99,235,.12);
}
.timeline-content {
  width: calc(50% - 44px); padding: 28px; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light); transition: var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
.timeline-year {
  font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 8px;
  display: inline-block; padding: 4px 12px; background: rgba(37,99,235,.06);
  border-radius: 50px;
}
.timeline-content h4 { font-size: 16px; margin-bottom: 8px; }
.timeline-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ========== Team Grid ========== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  text-align: center; padding: 36px 20px; background: #fff;
  border-radius: var(--radius-xl); border: 1px solid var(--border-light);
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--border); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(16,185,129,.06));
  border: 2px solid var(--border-light);
}
.team-card h4 { font-size: 16px; margin-bottom: 6px; }
.team-card .role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ========== Stats Row ========== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box {
  text-align: center; padding: 36px 20px; border-radius: var(--radius-xl);
  transition: var(--transition);
}
.stat-box:hover { transform: translateY(-4px); }
.stat-num { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { font-size: 13px; margin-top: 8px; font-weight: 500; }
.stat-box.light {
  background: #fff; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.stat-box.light .stat-num { color: var(--primary); }
.stat-box.light .stat-label { color: var(--text-secondary); }
.stat-box.dark-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.stat-box.dark-card .stat-num { color: var(--accent-light); }
.stat-box.dark-card .stat-label { color: rgba(255,255,255,.5); }

/* ========== Bg Variants ========== */
.bg-light { background: var(--surface); }
.bg-dark {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1E40AF 100%);
  color: #fff; position: relative; overflow: hidden;
}
.bg-dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.08) 0%, transparent 60%);
}
.bg-dark > .container { position: relative; z-index: 2; }
.bg-dark .section-title { color: #fff; }
.bg-dark .section-desc { color: rgba(255,255,255,.5); }

/* ========== Footer ========== */
.footer {
  background: var(--dark); color: rgba(255,255,255,.45); padding: 20px 0 16px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap; gap: 40px;
}
.footer-brand .logo { margin-bottom: 14px; color: #fff; }
.footer-brand p { font-size: 13px; max-width: 300px; line-height: 1.7; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 18px; font-weight: 600; }
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,.4);
  padding: 5px 0; transition: var(--transition);
}
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 0; font-size: 12px; flex-wrap: wrap; gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: var(--transition); }
.footer-bottom a:hover { color: #fff; }

/* ========== Scroll Animations ========== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger children animations */
.features-grid .reveal:nth-child(1) { transition-delay: .05s; }
.features-grid .reveal:nth-child(2) { transition-delay: .1s; }
.features-grid .reveal:nth-child(3) { transition-delay: .15s; }
.features-grid .reveal:nth-child(4) { transition-delay: .2s; }
.detail-grid .reveal:nth-child(1) { transition-delay: .05s; }
.detail-grid .reveal:nth-child(2) { transition-delay: .1s; }
.detail-grid .reveal:nth-child(3) { transition-delay: .15s; }
.stats-row .reveal > div:nth-child(1) { transition-delay: .05s; }
.stats-row .reveal > div:nth-child(2) { transition-delay: .1s; }
.stats-row .reveal > div:nth-child(3) { transition-delay: .15s; }
.stats-row .reveal > div:nth-child(4) { transition-delay: .2s; }
.team-grid .reveal > div:nth-child(1) { transition-delay: .05s; }
.team-grid .reveal > div:nth-child(2) { transition-delay: .1s; }
.team-grid .reveal > div:nth-child(3) { transition-delay: .15s; }
.team-grid .reveal > div:nth-child(4) { transition-delay: .2s; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: #fff; padding: 24px; gap: 16px;
    box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .nav-links.open a { color: var(--text) !important; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { max-height: 280px; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .arch-layer { grid-template-columns: 1fr; }
  .scenario-steps { flex-direction: column; gap: 16px; }
  .scenario-step::before, .scenario-step::after { display: none !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; padding-left: 52px; }
  .timeline-dot { left: 20px; }
  .timeline-content { width: 100%; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  section { padding: 68px 0; }
  .feature-card { padding: 28px 22px; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 28px; }
}
