/* 奇艺缘企业官网全局样式 */
/* 主色：沿用现有官网活力橙红渐变 */

:root {
  --primary: #ff5a36;
  --primary-dark: #e84a2b;
  --primary-light: #ff8a6a;
  --secondary: #ff5e8a;
  --secondary-light: #ff8db0;
  --accent-blue: #3b82f6;
  --dark: #1f1f1f;
  --gray-900: #2d2d2d;
  --gray-700: #4a4a4a;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  line-height: 1.7;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* 顶部导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  height: var(--header-height);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(255,90,54,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,90,54,0.45);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* Hero 区域 */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #fff5f2 0%, #fff0f4 50%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,94,138,0.14) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,90,54,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,90,54,0.08);
  border: 1px solid rgba(255,90,54,0.15);
  border-radius: 50px;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(255,90,54,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,90,54,0.45);
}

.btn-outline {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid rgba(255,90,54,0.25);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(255,90,54,0.04);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, #1f1f1f 0%, #2d2d2d 100%);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  position: relative;
  transform: rotate(-3deg);
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #ff8a6a 0%, #ff5e8a 100%);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 24px;
}

.hero-phone-screen img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-phone-screen h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.hero-phone-screen p {
  font-size: 0.9rem;
  opacity: 0.95;
}

.hero-float {
  position: absolute;
  background: var(--white);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-900);
}

.hero-float-1 {
  top: 60px;
  right: 0;
}

.hero-float-2 {
  bottom: 80px;
  left: -20px;
}

/* 区块通用 */
.section {
  padding: 90px 0;
}

.section-gray {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,90,54,0.08);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-700);
}

/* 数据展示 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* 功能卡片 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(255,90,54,0.1), rgba(255,94,138,0.1));
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 内容分栏 */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-split.reverse {
  direction: rtl;
}

.content-split.reverse > * {
  direction: ltr;
}

.content-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #fff0ed, #fff5f8);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.content-visual img {
  border-radius: 20px;
  max-height: 400px;
  object-fit: contain;
}

.content-body h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.content-body p {
  color: var(--gray-700);
  margin-bottom: 18px;
  font-size: 1rem;
}

.content-list {
  list-style: none;
  margin-top: 24px;
}

.content-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gray-900);
}

.content-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* 产品展示 */
.product-showcase {
  background: linear-gradient(180deg, var(--white) 0%, #fff8f7 100%);
}

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

.product-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
}

.product-card-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.product-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* 价值观 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.value-card h3 {
  font-size: 1.1rem;
  margin: 16px 0 8px;
  color: var(--dark);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* 团队/资质 */
.qual-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.qual-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.qual-item span {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
}

/* 联系页面 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-map {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  text-align: center;
  padding: 40px;
}

/* 法律页面 */
.legal-content {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 16px;
  color: var(--dark);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--gray-700);
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-date {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 24px;
  display: block;
}

/* CTA 横幅 */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  margin: 40px 0;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}

.cta-banner .btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

/* 页脚 */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

/* 备案信息高亮 */
.icp-bar {
  background: rgba(255,255,255,0.06);
  padding: 16px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.icp-bar a {
  color: rgba(255,255,255,0.7);
  margin: 0 10px;
}

.icp-bar a:hover {
  color: var(--white);
}

/* 面包屑 */
.breadcrumb {
  padding: 24px 0;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.breadcrumb a {
  color: var(--gray-500);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* 页面标题 */
.page-header {
  background: linear-gradient(135deg, #fff5f2 0%, #fff0f4 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--gray-700);
  font-size: 1.1rem;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-grid,
  .content-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .content-split.reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--gray-100);
  }

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

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-phone {
    width: 240px;
    height: 480px;
  }

  .stats-grid,
  .features-grid,
  .values-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-content {
    padding: 28px;
  }

  .cta-banner {
    padding: 48px 28px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}
