/* ============================================================
   武汉市风缘初科技有限公司 - 公共样式文件
   Wuhan Fengyuanchu Technology Co., Ltd - Common Stylesheet
   清新轻量科创商务风 | Fresh Lightweight Tech-Business Style
   ============================================================ */

/* ===== Tailwind CSS CDN via @import is not used; manual utility classes below ===== */

/* ===== CSS Variables / Theme Colors ===== */
:root {
  --primary: #36B39A;
  --primary-light: #74C9B8;
  --primary-bg: #E6F4F1;
  --text-heading: #1F2937;
  --text-body: #4B5563;
  --text-muted: #9CA3AF;
  --white: #FFFFFF;
  --overlay-light: rgba(255, 255, 255, 0.72);
  --overlay-medium: rgba(255, 255, 255, 0.85);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background-color: #F8FBFA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Fullscreen Background Layer ===== */
.bg-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.78) 50%, rgba(255,255,255,0.62) 100%);
  z-index: -1;
}

/* ===== Page Content Wrapper ===== */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ===== Top Navigation Bar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  padding: 16px 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.3px;
}

.nav-logo .logo-dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 24px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-bg);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-heading);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
  padding: 140px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 24px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero p.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(54, 179, 154, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(54, 179, 154, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ===== Section Common ===== */
.section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 20px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--overlay-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(54, 179, 154, 0.12);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(54, 179, 154, 0.25);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-bg), rgba(116, 201, 184, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ===== Stats Row ===== */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  padding: 48px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Content Card (for about/contact pages) ===== */
.content-card {
  background: var(--overlay-medium);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(54, 179, 154, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-bottom: 28px;
}

.content-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-bg);
}

.content-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 10px;
}

.content-card p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 14px;
}

.content-card .highlight-text {
  color: var(--primary);
  font-weight: 600;
}

/* ===== Pillar Block ===== */
.pillar-block {
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--primary-light);
}

.pillar-block h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.pillar-block p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 0;
}

/* ===== Service Detail Cards ===== */
.service-detail-card {
  background: var(--overlay-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(54, 179, 154, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  margin-bottom: 24px;
  transition: all var(--transition-base);
  position: relative;
}

.service-detail-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(54, 179, 154, 0.3);
  transform: translateY(-2px);
}

.service-detail-card .service-number {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-bg);
  line-height: 1;
  pointer-events: none;
}

.service-detail-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.service-detail-card p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
}

.service-detail-card .service-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 16px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 14px;
}

/* ===== Contact Info ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.contact-info-item {
  background: var(--overlay-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(54, 179, 154, 0.12);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: center;
  transition: all var(--transition-base);
}

.contact-info-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-info-item .ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
  color: var(--primary);
}

.contact-info-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.contact-info-item p, .contact-info-item a {
  font-size: 0.95rem;
  color: var(--text-body);
  text-decoration: none;
  line-height: 1.7;
}

.contact-info-item a:hover {
  color: var(--primary);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 36px 32px;
  border-top: 1px solid rgba(54, 179, 154, 0.1);
}

.footer p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer .footer-brand {
  color: var(--primary);
  font-weight: 600;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== Divider ===== */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
  margin: 0 auto 20px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 80px 28px 28px;
    gap: 4px;
    transition: right var(--transition-base);
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    gap: 28px;
  }

  .content-card {
    padding: 30px 22px;
  }
}
