/* 优时（沧州市）网络科技有限公司 — 初创公司官网 */

:root {
  --color-bg:         #fafbfc;
  --color-bg-muted:   #f0f2f7;
  --color-surface:    #ffffff;
  --color-primary:    #4f6ef7;
  --color-primary-d:  #3b57d9;
  --color-accent:     #06d6a0;
  --color-text:       #1a1f36;
  --color-text-muted: #64748b;
  --color-border:     #e2e8f0;
  --font-sans:        'DM Sans', 'Noto Sans SC', system-ui, sans-serif;
  --radius-sm:        8px;
  --radius-md:        12px;
  --radius-lg:        16px;
  --shadow-sm:        0 1px 3px rgba(0,0,0,.06);
  --shadow-md:        0 4px 20px rgba(0,0,0,.07);
  --ease:             cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(880px, 90vw);
  margin-inline: auto;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-d);
  transform: translateY(-1px);
}

/* 导航 */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s;
}

.header--scrolled {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: .875rem;
}

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

.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color .2s;
}
.nav__link:hover { color: var(--color-text); }

.nav__link--cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
}
.nav__link--cta:hover { background: var(--color-primary-d); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .4;
}
.hero__orb--1 {
  width: 400px; height: 400px;
  background: rgba(79,110,247,.25);
  top: 0; right: 10%;
}
.hero__orb--2 {
  width: 300px; height: 300px;
  background: rgba(6,214,160,.2);
  bottom: 20%; left: 5%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero__badge {
  display: inline-block;
  font-size: .8125rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero__title-accent {
  color: var(--color-primary);
}

.hero__desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Section 通用 */
.section {
  padding: 72px 0;
}

.section--muted {
  background: var(--color-bg-muted);
}

.section__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: .05em;
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.section__desc {
  color: var(--color-text-muted);
  font-size: .9375rem;
  line-height: 1.75;
  max-width: 520px;
}

.section__desc + .section__desc {
  margin-top: 12px;
}

.section__header { margin-bottom: 40px; }
.section__header--center { text-align: center; }
.section__header--center .section__desc { margin-inline: auto; }

/* 关于 + 价值观 */
.about {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}

.value-card__icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: .9375rem;
  margin-bottom: 6px;
}

.value-card p {
  font-size: .8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* 方向 */
.focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.focus-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.focus-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.focus-card p {
  font-size: .875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* 联系 */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 560px;
  margin-inline: auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.contact-card__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.contact-card strong {
  font-size: .8125rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.contact-card__value {
  font-size: .9375rem;
  color: var(--color-text);
  line-height: 1.5;
  word-break: break-all;
  margin: 0;
}

/* 页脚 */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: .8125rem;
  color: var(--color-text-muted);
}

/* 动画 */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge,
.hero__title,
.hero__desc,
.hero .btn {
  animation: fadeUp .6s var(--ease) both;
}
.hero__title  { animation-delay: .08s; }
.hero__desc   { animation-delay: .16s; }
.hero .btn    { animation-delay: .24s; }

/* 响应式 */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 240px;
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 72px 28px 28px;
    box-shadow: var(--shadow-md);
    transition: right .3s var(--ease);
    gap: 20px;
  }
  .nav--open { right: 0; }
  .menu-btn { display: flex; }

  .values,
  .focus__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
