/* === 99dun.cn - 安逸网络科技有限公司 企业官网 === */

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

:root {
  --canvas: #fcfcfc;
  --sky-wash: #f0f4fe;
  --midnight: #020520;
  --graphite: #14141e;
  --slate: #374151;
  --fog: #696a72;
  --deep-fog: #95959b;
  --steel: #6b7280;
  --signal-blue: #145aff;
  --hero-blue-gradient: linear-gradient(rgb(59, 130, 246) 0%, rgb(20, 90, 255) 100%);
  --emerald: #16ca2e;
  --coral: #f26052;
  --sky-info: #0099ff;
  --amber: #ffa64d;
  --action: #0f1f3d;
  --max-width: 1200px;
  --section-gap: 80px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--canvas);
  color: var(--graphite);
  line-height: 1.43;
  letter-spacing: 0.06px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

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

/* Typography */
.display { font-size: 56px; line-height: 1.05; letter-spacing: -1.51px; font-weight: 600; color: var(--midnight); }
.heading-lg { font-size: 40px; line-height: 1.08; letter-spacing: -0.76px; font-weight: 600; color: var(--midnight); }
.heading { font-size: 22px; line-height: 1.25; letter-spacing: -0.22px; font-weight: 600; color: var(--graphite); }
.heading-sm { font-size: 18px; line-height: 1.4; letter-spacing: -0.16px; font-weight: 600; color: var(--graphite); }
.body-text { font-size: 14px; line-height: 1.43; letter-spacing: 0.06px; color: var(--slate); }
.caption { font-size: 10px; line-height: 1.2; letter-spacing: 0.13px; color: var(--fog); }

/* === Navigation === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: rgba(0,0,0,0.082) 0px 0.36px 1.81px -1.42px, rgba(0,0,0,0.07) 0px 1.37px 6.87px -2.83px;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 600; color: var(--midnight); letter-spacing: -0.16px; flex-shrink: 0;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; background: var(--hero-blue-gradient);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.5px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px; border-radius: 100px;
  font-size: 14px; font-weight: 500; color: var(--slate);
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--sky-wash); color: var(--graphite); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--graphite); font-size: 24px; }

/* === Buttons === */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; background: rgba(255,255,255,0.8); color: var(--action);
  border: 1px solid var(--action); border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-outline:hover { background: var(--action); color: #fff; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; background: var(--hero-blue-gradient); color: #ffffff;
  border: none; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
  box-shadow: rgba(20,90,255,0.25) 0px 4px 16px -4px;
}
.btn-primary:hover { box-shadow: rgba(20,90,255,0.4) 0px 8px 24px -4px; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; background: var(--canvas); color: var(--signal-blue);
  border: 1px solid rgba(20,90,255,0.3); border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-ghost:hover { background: rgba(20,90,255,0.05); border-color: var(--signal-blue); }

.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--action); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: gap 0.2s;
  background: none; border: none; font-family: 'Inter', sans-serif; text-decoration: none;
}
.btn-text:hover { gap: 10px; }
.btn-text i { font-size: 12px; transition: transform 0.2s; }

/* === Hero Section === */
.hero {
  position: relative; padding: 160px 0 120px; text-align: center; overflow: hidden;
  background: radial-gradient(97.8% 181.6% at 53.7% 50%, rgba(182,203,253,0.5) 0%, var(--canvas) 70%);
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 40%, rgba(20,90,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(255,255,255,0.6); border: 1px solid rgba(0,0,0,0.06);
  font-size: 12px; font-weight: 500; color: var(--slate); margin-bottom: 32px;
}
.hero-badge i { color: var(--signal-blue); }

.hero h1 {
  font-size: 56px; line-height: 1.08; letter-spacing: -1.51px; font-weight: 600;
  color: var(--midnight); max-width: 800px; margin: 0 auto 24px;
}
.hero .subtitle {
  font-size: 18px; line-height: 1.6; color: var(--fog);
  max-width: 560px; margin: 0 auto 40px; letter-spacing: 0.02px;
}
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* === Section Common === */
.section { padding: var(--section-gap) 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-label {
  display: inline-block; font-size: 12px; font-weight: 500;
  color: var(--signal-blue); letter-spacing: 0.21px; margin-bottom: 16px; text-transform: uppercase;
}
.section-header h2 { font-size: 40px; line-height: 1.08; letter-spacing: -0.76px; font-weight: 600; color: var(--midnight); margin-bottom: 16px; }
.section-header p { font-size: 16px; color: var(--fog); max-width: 520px; margin: 0 auto; line-height: 1.6; }
.section-alt { background: var(--sky-wash); }

/* === Card Grid === */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === Feature Card === */
.feature-card {
  background: #ffffff; border-radius: 8px;
  box-shadow: rgba(0,0,0,0.1) 0px 0px 4px -2px;
  padding: 28px 24px; transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid rgba(0,0,0,0.03);
}
.feature-card:hover { box-shadow: rgba(0,0,0,0.25) 0px 0px 4px -2px; transform: translateY(-2px); }
.feature-card .card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--sky-wash);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--signal-blue); font-size: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; color: var(--graphite); margin-bottom: 10px; letter-spacing: -0.16px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--fog); margin-bottom: 20px; }

/* === About Grid === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-content h3 { font-size: 22px; font-weight: 600; color: var(--graphite); margin-bottom: 16px; letter-spacing: -0.22px; }
.about-content p { font-size: 14px; line-height: 1.8; color: var(--fog); margin-bottom: 16px; }
.about-image {
  border-radius: 16px; overflow: hidden; background: var(--sky-wash);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--deep-fog);
}

/* === Timeline === */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: rgba(0,0,0,0.08); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal-blue); border: 2px solid var(--canvas);
  box-shadow: 0 0 0 2px rgba(20,90,255,0.2);
}
.timeline-item .year { font-family: 'Roboto Mono', monospace; font-size: 12px; font-weight: 500; color: var(--signal-blue); margin-bottom: 6px; }
.timeline-item h4 { font-size: 16px; font-weight: 600; color: var(--graphite); margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--fog); line-height: 1.6; }

/* === Values === */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item { text-align: center; padding: 32px 20px; }
.value-item .value-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--sky-wash);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--signal-blue); font-size: 22px;
}
.value-item h4 { font-size: 16px; font-weight: 600; color: var(--graphite); margin-bottom: 8px; }
.value-item p { font-size: 13px; color: var(--fog); line-height: 1.6; }

/* === Team === */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  text-align: center; padding: 24px; background: #fff; border-radius: 8px;
  box-shadow: rgba(0,0,0,0.1) 0px 0px 4px -2px; transition: box-shadow 0.3s, transform 0.3s;
}
.team-card:hover { box-shadow: rgba(0,0,0,0.25) 0px 0px 4px -2px; transform: translateY(-2px); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; background: var(--sky-wash);
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  color: var(--signal-blue); font-size: 28px;
}
.team-card h4 { font-size: 16px; font-weight: 600; color: var(--graphite); margin-bottom: 4px; }
.team-card .role { font-size: 12px; color: var(--fog); margin-bottom: 12px; }
.team-card p { font-size: 13px; color: var(--steel); line-height: 1.6; }

/* === Client Logos === */
.client-logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 40px 0; }
.client-logo {
  height: 32px; opacity: 0.4; filter: grayscale(100%); transition: opacity 0.3s;
  font-size: 20px; font-weight: 700; color: var(--fog); letter-spacing: -0.5px;
}
.client-logo:hover { opacity: 0.7; }

/* === Case Card === */
.case-card {
  background: #ffffff; border-radius: 8px; overflow: hidden;
  box-shadow: rgba(0,0,0,0.1) 0px 0px 4px -2px;
  transition: box-shadow 0.3s, transform 0.3s; border: 1px solid rgba(0,0,0,0.03);
}
.case-card:hover { box-shadow: rgba(0,0,0,0.25) 0px 0px 4px -2px; transform: translateY(-2px); }
.case-card .case-image {
  height: 200px; background: var(--sky-wash);
  display: flex; align-items: center; justify-content: center; color: var(--deep-fog);
}
.case-card .case-body { padding: 24px; }
.case-card .case-tag {
  display: inline-block; font-size: 12px; font-weight: 500;
  color: var(--signal-blue); background: rgba(20,90,255,0.08);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.case-card h3 { font-size: 18px; font-weight: 600; color: var(--graphite); margin-bottom: 8px; letter-spacing: -0.16px; }
.case-card p { font-size: 14px; line-height: 1.6; color: var(--fog); margin-bottom: 16px; }

/* === News Card === */
.news-card {
  background: #ffffff; border-radius: 8px; padding: 24px;
  box-shadow: rgba(0,0,0,0.1) 0px 0px 4px -2px;
  transition: box-shadow 0.3s, transform 0.3s; border: 1px solid rgba(0,0,0,0.03);
}
.news-card:hover { box-shadow: rgba(0,0,0,0.25) 0px 0px 4px -2px; transform: translateY(-2px); }
.news-card .news-date { font-family: 'Roboto Mono', monospace; font-size: 12px; color: var(--deep-fog); margin-bottom: 10px; }
.news-card h3 { font-size: 18px; font-weight: 600; color: var(--graphite); margin-bottom: 8px; letter-spacing: -0.16px; line-height: 1.4; }
.news-card p { font-size: 14px; line-height: 1.6; color: var(--fog); margin-bottom: 16px; }

/* === Contact Form === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--graphite); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 15px; background: #ffffff;
  border: 1px solid #cfcfcf; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--graphite);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--deep-fog); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: transparent; box-shadow: rgba(0,153,255,1) 0px 0px 0px 3px;
}
.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info-card { background: var(--sky-wash); border-radius: 40px; padding: 48px 40px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item .info-icon {
  width: 44px; height: 44px; border-radius: 12px; background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  color: var(--signal-blue); font-size: 16px; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 14px; font-weight: 600; color: var(--graphite); margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--fog); line-height: 1.5; }

.social-links { display: flex; gap: 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(0,0,0,0.06); }
.social-links a {
  width: 40px; height: 40px; border-radius: 12px; background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate); font-size: 16px; transition: color 0.2s;
}
.social-links a:hover { color: var(--signal-blue); }

.map-container {
  border-radius: 16px; overflow: hidden; background: var(--sky-wash);
  height: 300px; display: flex; align-items: center; justify-content: center;
  color: var(--deep-fog); margin-top: 32px;
}

/* === Footer === */
.footer { background: var(--midnight); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); margin-top: 16px; max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: #fff; }
.footer-logo .logo-icon {
  width: 36px; height: 36px; background: var(--hero-blue-gradient);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.footer-col h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.35);
}

/* === Page Header === */
.page-header {
  padding: 140px 0 60px; text-align: center;
  background: radial-gradient(97.8% 181.6% at 53.7% 50%, rgba(182,203,253,0.35) 0%, var(--canvas) 70%);
}
.page-header h1 { font-size: 40px; line-height: 1.08; letter-spacing: -0.76px; font-weight: 600; color: var(--midnight); margin-bottom: 16px; }
.page-header p { font-size: 16px; color: var(--fog); max-width: 520px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--deep-fog); margin-bottom: 24px; }
.breadcrumb a { color: var(--fog); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--signal-blue); }

/* === Detail Content === */
.detail-content { max-width: 800px; margin: 0 auto; padding: 48px 24px 80px; }
.detail-content h2 { font-size: 28px; font-weight: 600; color: var(--midnight); margin: 40px 0 16px; letter-spacing: -0.5px; }
.detail-content h3 { font-size: 22px; font-weight: 600; color: var(--graphite); margin: 32px 0 12px; letter-spacing: -0.22px; }
.detail-content p { font-size: 15px; line-height: 1.8; color: var(--slate); margin-bottom: 16px; }
.detail-content ul { margin: 16px 0; padding-left: 24px; }
.detail-content ul li { font-size: 15px; line-height: 1.8; color: var(--slate); margin-bottom: 8px; position: relative; padding-left: 12px; }
.detail-content ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--signal-blue); }
.detail-hero-image {
  border-radius: 16px; overflow: hidden; background: var(--sky-wash);
  aspect-ratio: 21/9; display: flex; align-items: center; justify-content: center;
  color: var(--deep-fog); margin-bottom: 40px;
}
.detail-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 13px; color: var(--deep-fog); }
.detail-meta .tag { background: rgba(20,90,255,0.08); color: var(--signal-blue); padding: 4px 10px; border-radius: 4px; font-weight: 500; }

/* === Toast === */
.toast {
  position: fixed; bottom: 32px; right: 32px;
  background: var(--graphite); color: #fff; padding: 16px 24px;
  border-radius: 12px; font-size: 14px; font-weight: 500;
  box-shadow: rgba(0,0,0,0.25) 0px 8px 24px -4px;
  z-index: 9999; transform: translateY(100px); opacity: 0; transition: all 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--emerald); }
.toast.error { background: var(--coral); }

/* === Animations === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 1024px) {
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; letter-spacing: -0.76px; }
  .hero .subtitle { font-size: 16px; }
  .display { font-size: 36px; letter-spacing: -0.76px; }
  .heading-lg, .section-header h2, .page-header h1 { font-size: 28px; letter-spacing: -0.5px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(252,252,252,0.98); backdrop-filter: blur(12px);
    flex-direction: column; padding: 16px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06); gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-toggle { display: block; }
  .nav-actions .btn-outline, .nav-actions .btn-primary { display: none; }
  .card-grid, .card-grid-4, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .client-logos { gap: 24px; }
  .section { padding: 56px 0; }
}