/* ============================================
   方式运维 — 官网样式
   Design: "数据星图" Dark Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-deep: #090d16;
  --bg-primary: #0f1629;
  --bg-secondary: #162035;
  --bg-card: #131c32;
  --bg-card-hover: #192640;

  --text-primary: #f0f4fc;
  --text-secondary: #8b9dc3;
  --text-muted: #5a6d8e;

  --accent-green: #4fc3f7;
  --accent-green-dim: rgba(79, 195, 247, 0.12);
  --accent-green-glow: rgba(79, 195, 247, 0.22);
  --accent-amber: #fbbf24;
  --accent-amber-dim: rgba(251, 191, 36, 0.12);
  --accent-teal: #67e8f9;
  --accent-teal-dim: rgba(103, 232, 249, 0.12);

  --border-color: rgba(79, 195, 247, 0.08);
  --border-hover: rgba(79, 195, 247, 0.16);

  --font-display: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(79, 195, 247, 0.08);

  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--accent-green);
  color: var(--bg-deep);
}

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

/* --- Utilities --- */
.highlight {
  color: var(--accent-green);
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent-green);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: #81d4fa;
  box-shadow: 0 0 30px var(--accent-green-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.btn-full {
  width: 100%;
}

/* --- Logo --- */
.logo-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--accent-green);
  border-radius: 6px;
  position: relative;
}

.logo-mark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border: 2px solid var(--bg-deep);
  border-radius: 3px;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--bg-deep);
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(12, 25, 41, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-green);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, transparent 0%, var(--bg-deep) 70%),
    linear-gradient(180deg, transparent 0%, var(--bg-deep) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--accent-green-dim);
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent-green);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  background: rgba(79, 195, 247, 0.04);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 0.02em;
}

.hero-title-line.accent {
  color: var(--accent-green);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title-line:first-child {
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent-green);
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

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

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.8s ease 1s both;
}

.scroll-hint span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-green), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* --- Section Common --- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent-green);
  padding: 6px 16px;
  border: 1px solid var(--accent-green-dim);
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-line {
  width: 48px;
  height: 3px;
  background: var(--accent-green);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* --- About --- */
.about {
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.about-lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.ah-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.ah-item:hover {
  border-color: var(--accent-green-dim);
  background: var(--bg-card-hover);
}

.ah-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--accent-green);
}

.ah-content {
  display: flex;
  flex-direction: column;
}

.ah-content strong {
  font-size: 15px;
  margin-bottom: 2px;
}

.ah-content span {
  font-size: 13px;
  color: var(--text-muted);
}

.about-visual {
  position: sticky;
  top: 100px;
}

.about-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 40px 32px;
}

.ac-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, var(--accent-green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.ac-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

.ac-content {
  position: relative;
  z-index: 1;
}

.ac-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--accent-green);
  line-height: 1;
}

.ac-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.ac-divider {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  margin: 28px 0;
}

.ac-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.ac-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
}

/* --- Services --- */
.services {
  background: var(--bg-deep);
}

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

.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: var(--accent-green-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.sc-icon {
  width: 56px;
  height: 56px;
  color: var(--accent-green);
  margin-bottom: 20px;
}

.sc-index {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

.sc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sc-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.sc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.sc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--accent-green);
}

.sc-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width 0.6s ease;
}

.service-card:hover .sc-line {
  width: 100%;
}

/* --- Technology --- */
.tech {
  background: var(--bg-primary);
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

.tech-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 32px;
  overflow: hidden;
  position: relative;
}

.tech-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at right, var(--accent-green-dim) 0%, transparent 70%);
  pointer-events: none;
}

.tb-content {
  position: relative;
  z-index: 1;
}

.tb-label {
  font-size: 12px;
  color: var(--accent-green);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.tb-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tb-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 360px;
}

.tb-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.tech-orbit {
  width: 200px;
  height: 200px;
  position: relative;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--bg-deep);
  box-shadow: 0 0 40px var(--accent-green-glow);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.orbit-ring span {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 2px 8px;
  background: var(--bg-card);
  border-radius: 4px;
}

.orbit-ring.r1 {
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
}

.orbit-ring.r2 {
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  animation-duration: 25s;
  animation-direction: reverse;
}

.orbit-ring.r3 {
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  animation-duration: 30s;
}

.orbit-ring.r4 {
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  animation-duration: 35s;
  animation-direction: reverse;
}

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

.tech-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tf-item {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.tf-item:hover {
  border-color: var(--accent-green-dim);
}

.tf-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: 12px;
}

.tf-content h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tf-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tech-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ts-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.ts-card:hover {
  transform: translateY(-2px);
}

.ts-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
}

.ts-card-green .ts-card-bar { background: var(--accent-green); }
.ts-card-amber .ts-card-bar { background: var(--accent-amber); }
.ts-card-teal .ts-card-bar { background: var(--accent-teal); }

.ts-card:hover.ts-card-green { border-color: var(--accent-green-dim); box-shadow: 0 0 24px rgba(79,195,247,0.06); }
.ts-card:hover.ts-card-amber { border-color: var(--accent-amber-dim); box-shadow: 0 0 24px rgba(245,158,11,0.06); }
.ts-card:hover.ts-card-teal { border-color: var(--accent-teal-dim); box-shadow: 0 0 24px rgba(34,211,238,0.06); }

.ts-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ts-card-green h4 { color: var(--accent-green); }
.ts-card-amber h4 { color: var(--accent-amber); }
.ts-card-teal h4 { color: var(--accent-teal); }

.ts-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Service Model --- */
.model {
  background: var(--bg-deep);
}

.model-intro {
  text-align: center;
  margin-bottom: 64px;
}

.model-tagline {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
}

.model-sub {
  font-size: 15px;
  color: var(--text-secondary);
}

.model-flow {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.mf-step {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.mf-step::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.mf-step:first-child::before {
  left: 50%;
}

.mf-step:last-child::before {
  right: 50%;
}

.mf-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-green);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.mf-step h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mf-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.mf-connector {
  display: none;
}

.model-trust {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.mt-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

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

.mt-client {
  padding: 8px 20px;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.mt-client:hover {
  border-color: var(--accent-green-dim);
  color: var(--accent-green);
}

.mt-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* --- Contact --- */
.contact {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.ci-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ci-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-green);
}

.ci-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.ci-item span {
  font-size: 13px;
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  color: var(--text-muted);
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-green);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.fl-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fl-group h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.fl-group a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.fl-group a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    position: static;
  }

  .tech-layout {
    grid-template-columns: 1fr;
  }

  .tech-sidebar {
    flex-direction: row;
  }

  .ts-card {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(12, 25, 41, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
  }

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

  .nav-toggle {
    display: flex;
  }

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

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

  .stat-divider {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-banner {
    flex-direction: column;
    padding: 32px;
  }

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

  .tech-sidebar {
    flex-direction: column;
  }

  .model-flow {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .mf-step::before {
    display: none;
  }

  .mf-step {
    max-width: 280px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .section {
    padding: 80px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 11px;
    padding: 6px 16px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-num {
    font-size: 28px;
  }

  .mt-clients {
    gap: 8px;
  }

  .mt-dot {
    display: none;
  }

  .mt-client {
    font-size: 12px;
    padding: 6px 14px;
  }
}
