/* 夏燚科技 — 清新简洁 · 响应式 */

:root {
  --bg: #f8fafc;
  --bg-alt: #f0fdf9;
  --bg-warm: #fafaf9;
  --surface: #ffffff;
  --title: #0f172a;
  --text: #334155;
  --text-soft: #64748b;
  --text-faint: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --accent-ring: rgba(13, 148, 136, 0.35);
  --ai: #6366f1;
  --ai-soft: rgba(99, 102, 241, 0.1);
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --space: clamp(1rem, 3vw, 2rem);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 4px 6px rgba(15, 23, 42, 0.04), 0 16px 32px -12px rgba(15, 23, 42, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15px, 1.04vw, 17px);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wrap {
  width: min(100% - var(--space) * 2, var(--max));
  margin-inline: auto;
}

.text-strong {
  color: var(--title);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
  position: relative;
}

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

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-list a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 1rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px -2px var(--accent-ring);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  text-decoration: none;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--space);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    box-shadow: var(--shadow-hover);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.25rem;
  }
}

/* Hero */
.hero {
  padding: clamp(3.25rem, 9vw, 6rem) 0 clamp(2.25rem, 6vw, 3.5rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, var(--bg-alt) 42%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 75%;
  background:
    radial-gradient(ellipse 50% 42% at 90% 0%, rgba(13, 148, 136, 0.08), transparent 58%),
    radial-gradient(ellipse 45% 38% at 5% 20%, rgba(99, 102, 241, 0.06), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-inner {
  max-width: 40rem;
}

.hero-kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--title);
}

.hero-title .hl {
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(0.98rem, 1.65vw, 1.1rem);
  color: var(--text-soft);
  max-width: 38rem;
  margin: 0 0 1.6rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  box-shadow: var(--shadow);
}

.hero-aside h3 {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--title);
}

.hero-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-aside li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-soft);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.55;
}

.hero-aside li:first-child {
  border-top: none;
  padding-top: 0;
}

.hero-aside li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.42rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.28rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px -4px var(--accent-ring);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  text-decoration: none;
}

.btn-ghost {
  background: var(--surface);
  color: var(--title);
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
  text-decoration: none;
}

/* Sections */
.section {
  padding: clamp(2.5rem, 6.5vw, 4.25rem) 0;
}

.section--tight {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
  max-width: 44rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section-title {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 0.55rem;
  letter-spacing: -0.03em;
  color: var(--title);
}

.section-desc {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 44rem;
  line-height: 1.7;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(0.85rem, 2vw, 1.1rem);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.5vw, 1.65rem);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow);
}

.service-card:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  box-shadow: var(--shadow-hover);
}

.service-card--ai {
  border-color: color-mix(in srgb, var(--ai) 22%, var(--line));
}

.service-card--ai .service-num {
  color: var(--ai);
}

.service-card--ai .service-list li::before {
  background: var(--ai);
}

.service-num {
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--title);
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.service-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* AI strip */
.ai-strip {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--ai-soft) 0%, var(--accent-soft) 100%);
  border: 1px solid var(--line);
}

.ai-strip p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  max-width: 52rem;
}

.ai-strip strong {
  color: var(--title);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.35rem, 3vw, 2.25rem);
  align-items: start;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.prose-block p {
  margin: 0 0 0.95rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.2vw, 1.5rem);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.highlight-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--title);
  background: var(--surface);
  border: 1px solid var(--line);
}

.pill--ai {
  color: #4338ca;
  background: var(--ai-soft);
  border-color: color-mix(in srgb, var(--ai) 22%, var(--line));
}

/* Scenarios */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.85rem, 1.8vw, 1rem);
}

@media (max-width: 900px) {
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

.scenario-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: clamp(1.2rem, 2.2vw, 1.45rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.scenario-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
}

.scenario-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* Process */
.process-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.65rem, 1.5vw, 0.9rem);
}

@media (max-width: 900px) {
  .process-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .process-wrap {
    grid-template-columns: 1fr;
  }
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
}

.process-step .step-n {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 0.45rem;
  font-variant-numeric: tabular-nums;
}

.process-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--title);
}

.process-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Split / values */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.value-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.value-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.value-list strong {
  font-weight: 700;
  color: var(--title);
}

.value-list span {
  color: var(--text-soft);
  font-size: 0.88rem;
  max-width: 22rem;
  text-align: right;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .value-list span {
    text-align: left;
  }
}

.principle-columns {
  columns: 2;
  column-gap: 1.75rem;
}

@media (max-width: 700px) {
  .principle-columns {
    columns: 1;
  }
}

.principle-columns p {
  margin: 0 0 0.95rem;
  break-inside: avoid;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* CTA band — light */
.cta-band {
  padding: clamp(1.5rem, 3.5vw, 2rem);
  background: var(--surface);
  color: var(--title);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  margin: 0 0 0.3rem;
  color: var(--title);
}

.cta-band p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.cta-band .btn-primary {
  box-shadow: 0 4px 14px -4px var(--accent-ring);
}

/* Contact — airy */
.contact-section {
  padding: clamp(2.75rem, 7vw, 4.25rem) 0;
  background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 45%, #ffffff 100%);
  border-top: 1px solid var(--line);
}

.contact-section .section-label {
  color: var(--accent);
}

.contact-section .section-title {
  color: var(--title);
}

.contact-section .section-desc {
  color: var(--text-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.15rem, 3vw, 1.75rem);
  margin-top: clamp(1.35rem, 3vw, 2rem);
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.5vw, 1.55rem);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--title);
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-row span:first-child {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-row a,
.contact-row strong {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--title);
  text-decoration: none;
}

.contact-row a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-note {
  margin: 1rem 0 0;
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.75rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--title);
  font-size: 1.02rem;
}

.footer-note {
  color: var(--text-soft);
  font-size: 0.88rem;
  max-width: 26rem;
  margin: 0;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.65rem;
  font-weight: 800;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

.footer-col a {
  color: var(--text-soft);
  font-size: 0.88rem;
}

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

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: var(--text-soft);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav-cta,
  .service-card {
    transition: none;
  }
}
