/* ============================================
   创讯网络 - 企业官网全局样式
   蓝图白×行动橙 · 理性紧凑
   ============================================ */

/* === CSS Variables === */
:root {
  --canvas: #fbfbfc;
  --card: #ffffff;
  --alt-bg: #f0f2f5;
  --text-primary: #1a1f2e;
  --text-secondary: #5f6368;
  --border: #e8eaed;
  --grid-dot: rgba(0,0,0,0.03);
  --cta: #ec652b;
  --cta-hover: #d95a24;
  --tag-blue: #e8f0fe;
  --tag-green: #e6f4ea;
  --status-green: #16ca2e;
  --footer-bg: #1a1f2e;
  --shadow: rgba(0,0,0,0.04) 0px 2px 8px;
  --shadow-hover: rgba(0,0,0,0.08) 0px 2px 12px;
  --radius: 8px;
  --radius-sm: 4px;
  --max-width: 1200px;
  --section-gap: 80px;
  --sub-gap: 48px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--canvas);
  background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1px);
  background-size: 12px 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; background: none; }

/* === Typography === */
.font-mono {
  font-family: 'JetBrains Mono', 'Roboto Mono', 'IBM Plex Mono', monospace;
}

.text-xs { font-size: 12px; line-height: 1.2; letter-spacing: 0.01em; }
.text-sm { font-size: 14px; line-height: 1.5; }
.text-base { font-size: 16px; line-height: 1.5; }
.text-lg { font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; }
.text-xl { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.text-section { font-size: 36px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 700; }
.text-hero { font-size: 48px; line-height: 1.15; letter-spacing: -0.5px; font-weight: 700; }
.text-data-lg { font-size: 40px; line-height: 1.0; letter-spacing: -0.04em; font-weight: 700; }
.text-data-sm { font-size: 32px; line-height: 1.0; letter-spacing: -0.03em; font-weight: 700; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-cta { color: var(--cta); }
.text-white { color: #ffffff; }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sub-gap);
}

.section-header h2 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
  transition: border-color 200ms ease-out;
}

.nav.scrolled {
  border-bottom-color: #d0d4d8;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius);
  position: relative;
  transition: color 200ms ease-out, background 200ms ease-out;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(26,31,46,0.04);
}

.nav-link.active {
  color: var(--text-primary);
  font-weight: 500;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--cta);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-secondary {
  font-size: 14px;
  font-weight: 500;
  color: var(--cta);
}

.nav-secondary:hover {
  opacity: 0.8;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 200ms ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: rgba(236,101,43,0.05);
}

/* === Card === */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: box-shadow 200ms ease-out;
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

/* === Hero Section === */
.hero {
  padding-top: 140px;
  padding-bottom: var(--section-gap);
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta);
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Panel */
.hero-panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.data-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.data-card {
  text-align: center;
  padding: 16px;
}

.data-card .number {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.0;
}

.data-card .label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.data-card .status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-green);
  margin-right: 4px;
  vertical-align: middle;
}

/* Flow Steps */
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--alt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
}

.flow-step-label {
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.flow-arrow {
  color: var(--border);
  font-size: 16px;
  margin: 0 4px;
  margin-bottom: 20px;
}

/* === Capability Matrix === */
.matrix-section {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.matrix-table thead th {
  background: var(--alt-bg);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  border-radius: var(--radius);
}

.matrix-table thead th:first-child {
  text-align: left;
  width: 240px;
}

.matrix-table tbody tr {
  transition: background 200ms ease-out;
}

.matrix-table tbody tr:hover {
  background: var(--alt-bg);
}

.matrix-table tbody tr:nth-child(odd) {
  background: var(--canvas);
}

.matrix-table tbody tr:nth-child(even) {
  background: var(--card);
}

.matrix-table tbody tr:hover {
  background: var(--alt-bg);
}

.matrix-table td {
  padding: 12px 16px;
  border-radius: var(--radius);
  vertical-align: middle;
}

.matrix-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

.matrix-table td:first-child .service-desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 2px;
}

.matrix-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cta);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease-out;
}

tr:hover .check-icon {
  transform: scale(1.15);
}

.check-icon svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
}

.check-half {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-half svg {
  width: 12px;
  height: 12px;
  stroke: #9aa0a6;
  stroke-width: 2.5;
  fill: none;
}

/* === Timeline Cases === */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cta);
  z-index: 1;
}

.timeline-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.timeline-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.case-stages {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stage-tag {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.4;
  flex: 1;
  min-width: 160px;
}

.stage-problem {
  background: var(--alt-bg);
  color: var(--text-secondary);
}

.stage-solution {
  background: var(--tag-blue);
  color: var(--text-primary);
}

.stage-result {
  background: var(--tag-green);
}

.stage-result .result-number {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 20px;
  color: var(--cta);
  display: block;
  margin-bottom: 2px;
}

.stage-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: block;
}

/* === Team & Credentials === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-member {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--alt-bg);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
  filter: saturate(0.7);
}

.team-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.team-role {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.badges-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge-item {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--alt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  transition: filter 400ms ease-out;
  cursor: pointer;
}

.badge-item:hover {
  filter: grayscale(0%);
}

.badge-item svg {
  width: 32px;
  height: 32px;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.trust-item .number {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.0;
}

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

.trust-item::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  background: var(--cta);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* === CTA Form Section === */
.cta-section {
  background: var(--alt-bg);
  border-radius: var(--radius);
  padding: 48px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--card);
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 200ms ease-out;
}

.form-input::placeholder {
  color: #9aa0a6;
}

.form-input:focus {
  border-bottom: 2px solid var(--cta);
}

.form-input.error {
  border-bottom-color: #e53935;
}

.form-error {
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
  display: none;
}

.form-error.show {
  display: block;
}

textarea.form-input {
  min-height: 80px;
  resize: vertical;
}

/* Receipt Card */
.receipt-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 400ms ease-out;
}

.receipt-card.show {
  opacity: 1;
  transform: translateY(0);
}

.receipt-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tag-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.receipt-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cta);
  stroke-width: 2.5;
  fill: none;
}

.receipt-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.receipt-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === Footer === */
.footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 64px 0 32px;
}

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

.footer-brand h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color 200ms ease-out;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-seo {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* === Page Header (inner pages) === */
.page-header {
  padding: 120px 0 48px;
  text-align: center;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: box-shadow 200ms ease-out;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--alt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cta);
  fill: none;
  stroke-width: 2;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--cta);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms ease-out;
}

.service-link:hover {
  gap: 8px;
}

/* Service Detail */
.service-detail {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
  margin-top: 48px;
}

.service-detail h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-detail p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--canvas);
  border-radius: var(--radius);
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
}

.feature-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}

/* === Case Studies Page === */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 200ms ease-out;
}

.filter-btn:hover, .filter-btn.active {
  color: #ffffff;
  background: var(--cta);
  border-color: var(--cta);
}

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

.case-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: box-shadow 200ms ease-out;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  box-shadow: var(--shadow-hover);
}

.case-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.case-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--alt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.case-card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.case-industry {
  font-size: 12px;
  color: var(--text-secondary);
}

.case-card .case-stages {
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.case-card .stage-tag {
  min-width: auto;
}

.case-card-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.case-card-footer a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cta);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Case Detail Page */
.case-detail-hero {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
  margin-bottom: 32px;
}

.case-detail-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.case-detail-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.case-detail-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-detail-stage {
  padding: 24px;
  border-radius: var(--radius);
}

.case-detail-stage.problem { background: var(--alt-bg); }
.case-detail-stage.solution { background: var(--tag-blue); }
.case-detail-stage.result { background: var(--tag-green); }

.case-detail-stage h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-detail-stage.problem h4 { color: var(--text-secondary); }
.case-detail-stage.solution h4 { color: var(--text-primary); }
.case-detail-stage.result h4 { color: var(--cta); }

.case-detail-stage p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.case-detail-stage .result-big {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--cta);
  margin-bottom: 8px;
  display: block;
}

/* === About Page === */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: var(--section-gap);
}

.about-intro h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.about-intro p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: var(--section-gap);
}

.value-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--alt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cta);
  fill: none;
  stroke-width: 2;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Timeline (About page) */
.about-timeline {
  position: relative;
  padding-left: 40px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.about-timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-timeline-dot {
  position: absolute;
  left: -40px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cta);
  z-index: 1;
}

.about-timeline-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--cta);
  margin-bottom: 4px;
}

.about-timeline-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-timeline-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === Contact Page === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--alt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--cta);
  fill: none;
  stroke-width: 2;
}

.contact-info-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.map-placeholder {
  background: var(--alt-bg);
  border-radius: var(--radius);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 24px;
}

.contact-form-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.contact-form-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* === Mobile Navigation === */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 200ms ease-out;
}

/* === Scroll Animation === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Back Link === */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  transition: color 200ms ease-out;
}

.back-link:hover {
  color: var(--text-primary);
}

/* === Responsive === */
@media (max-width: 1199px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .data-cards { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .case-detail-stages { grid-template-columns: 1fr; }
  .service-features { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root {
    --section-gap: 48px;
    --sub-gap: 32px;
  }

  .nav-links { display: none; }
  .nav-actions .nav-secondary { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }

  .hero { padding-top: 100px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; }

  .data-cards { grid-template-columns: 1fr; }
  .flow-steps { flex-wrap: wrap; }

  .section-header h2 { font-size: 28px; }

  .matrix-table { font-size: 12px; }
  .matrix-table td, .matrix-table th { padding: 8px; }

  .timeline { padding-left: 24px; }
  .timeline-dot { left: -24px; }
  .case-stages { flex-direction: column; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: 1fr; gap: 32px; }

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

  .cta-section { padding: 24px; }

  .page-header h1 { font-size: 28px; }
}
