/*
Theme Name: AsionSpace Enterprise Portal
Theme URI: https://www.asionspace.com
Author: AsionSpace
Description: 雅讯时空企业软件定制、AI智能体与企业AI培训门户首页主题。
Version: 1.0.0
Text Domain: asionspace
*/

:root {
  --ink: #102238;
  --muted: #617084;
  --line: #d9e4ee;
  --panel: #ffffff;
  --soft: #f4f9fc;
  --blue: #1286c9;
  --blue-dark: #075984;
  --cyan: #20c2df;
  --teal: #13b7ac;
  --shadow: 0 22px 60px rgba(20, 63, 91, 0.13);
  --radius: 18px;
  --max: 1920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.65;
}

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

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

.site-shell {
  overflow: hidden;
}

.container {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 228, 238, 0.85);
  backdrop-filter: blur(16px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 240px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 220px;
  height: auto;
  filter: saturate(1.55) contrast(1.32) brightness(0.82);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(64px, 6vw, 128px);
  color: #23384f;
  font-size: 25px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.nav-links a {
  padding: 13px 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 22px;
  font-weight: 820;
  box-shadow: 0 12px 25px rgba(18, 134, 201, 0.23);
}

.hero {
  position: relative;
  min-height: 650px;
  padding: 110px 0 82px;
  background:
    linear-gradient(90deg, rgba(4, 25, 39, 0.94) 0%, rgba(5, 32, 49, 0.82) 36%, rgba(5, 32, 49, 0.25) 76%),
    url("assets/images/hero-ai-platform.png") center / cover no-repeat;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 0;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 760;
}

.eyebrow .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: #5ce3f4;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.14;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero h1 strong {
  color: #ffffff;
}

.hero-title-line {
  display: block;
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 25px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 19px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 18px 34px rgba(18, 134, 201, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.44);
  color: #fff;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
  max-width: 720px;
}

.metric {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.metric strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.metric span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.hero-visual {
  display: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 28px -20px -20px 34px;
  z-index: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(18, 134, 201, 0.22), rgba(32, 194, 223, 0.1));
}

.hero-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
}

.hero-caption strong {
  display: block;
  font-size: 20px;
}

.hero-caption span {
  color: var(--muted);
  font-size: 15px;
}

.caption-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e9f8fb;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 0;
  max-width: 760px;
  color: #0d253a;
  font-size: clamp(38px, 3.2vw, 56px);
  line-height: 1.18;
}

.section-desc {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 21px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.training-card,
.industry-card,
.contact-panel,
.contact-form,
.agent-panel,
.timeline-panel {
  border: 1px solid rgba(217, 228, 238, 0.9);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(26, 67, 95, 0.08);
}

.service-card {
  overflow: hidden;
}

.service-thumb {
  height: 220px;
  overflow: hidden;
  background: #eaf5f8;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  padding: 26px 26px 30px;
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(18, 134, 201, 0.14), rgba(32, 194, 223, 0.18));
  color: var(--blue-dark);
}

.icon-chip .dashicons {
  width: 30px;
  height: 30px;
  font-size: 30px;
}

.service-card h3,
.training-card h3,
.industry-card h3,
.agent-panel h3,
.timeline-card h3 {
  margin: 0 0 12px;
  color: #102238;
  font-size: 27px;
  line-height: 1.3;
}

.service-card p,
.training-card p,
.industry-card p,
.agent-panel p,
.timeline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.72;
}

.training-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.feature-image {
  overflow: hidden;
  min-height: 520px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.training-list {
  display: grid;
  gap: 16px;
}

.training-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px;
}

.training-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 17px;
  background: #eaf8fb;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.timeline-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 24px;
  align-items: stretch;
}

.timeline-panel {
  padding: 34px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.timeline-card {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child .timeline-card {
  padding-bottom: 0;
  border-bottom: 0;
}

.competition-image {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.competition-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.industry-card {
  overflow: hidden;
}

.industry-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.industry-body {
  padding: 28px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf7fb;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 750;
}

.agent-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.agent-panel {
  padding: 36px;
}

.flow {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.flow-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(217, 228, 238, 0.9);
  border-radius: 15px;
  background: #fff;
}

.flow-step .dashicons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 134, 201, 0.14), rgba(19, 183, 172, 0.15));
  color: var(--blue-dark);
  font-size: 30px;
}

.agent-visual {
  display: grid;
  gap: 16px;
}

.agent-stat {
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0d5d88, #0f9ab0);
  color: #fff;
}

.agent-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 38px;
  line-height: 1;
}

.agent-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-card {
  min-height: 128px;
  padding: 24px;
  border: 1px solid rgba(217, 228, 238, 0.9);
  border-radius: 18px;
  background: #fff;
}

.mini-card .dashicons {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 32px;
}

.contact-section {
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(6, 75, 113, 0.94), rgba(10, 149, 172, 0.92)),
    url("assets/images/hero-ai-platform.png") center / cover;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
  gap: 34px;
  align-items: start;
}

.contact-panel {
  padding: 42px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.contact-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 21px;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-point {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.contact-point .dashicons {
  color: #98f0ff;
}

.contact-form {
  padding: 36px;
  background: #fff;
  color: var(--ink);
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #253d55;
  font-size: 17px;
  font-weight: 780;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #cfdde8;
  border-radius: 12px;
  background: #f9fcfd;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.form-field textarea {
  min-height: 118px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 134, 201, 0.1);
}

.form-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font: inherit;
  font-size: 19px;
  font-weight: 850;
  cursor: pointer;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.form-result {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e7f9ef;
  color: #126b3b;
  font-size: 18px;
  font-weight: 700;
}

.site-footer {
  padding: 28px 0;
  background: #071827;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

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

  .hero-grid,
  .training-grid,
  .timeline-wrap,
  .agent-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    position: static;
  }

  .nav-bar {
    min-height: 66px;
  }

  .brand img {
    width: 168px;
  }

  .brand {
    min-width: 0;
    padding: 5px 8px;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 13px;
    font-size: 14px;
  }

  .hero,
  .section,
  .contact-section {
    padding: 52px 0;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.18;
    word-break: break-all;
  }

  .hero-lead {
    font-size: 17px;
  }

  .metric-row,
  .service-grid,
  .industry-grid,
  .agent-mini-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-desc {
    margin-top: 12px;
    font-size: 16px;
  }

  .hero-card img,
  .feature-image,
  .competition-image img {
    height: auto;
    min-height: 0;
  }

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

  .footer-row {
    display: block;
  }
}
