/*
Theme Name: 青禾互动企业主题
Theme URI: https://qinghe.com
Author: 青禾互动
Author URI: https://qinghe.com
Description: 青禾互动企业品牌官网 WordPress 主题。简约大气的企业展示主题，包含首页、关于我们、产品服务、联系我们板块，适配企业宣传场景。基于青禾互动品牌橙色主色调设计。
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qinghe-theme
Tags: business, corporate, one-page, orange, responsive
*/

/* ============================================
   青禾互动企业主题 - 主样式
   配色：
   主色   : #ff6b00 (橙色)
   点缀色 : #ffb800 (黄色)
   深色背景: #1a1a2e
   ============================================ */

:root {
  --primary: #ff6b00;
  --primary-hover: #e65f00;
  --accent: #ffb800;
  --foreground: #1a202c;
  --muted-foreground: #6b7280;
  --muted-bg: #f5f5f4;
  --border: #e5e7eb;
  --dark-bg: #1a1a2e;
  --white: #ffffff;
  --radius: 0.625rem;
}

* {
  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(--foreground);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color 0.3s ease;
}

.navbar.scrolled .navbar-brand {
  color: var(--foreground);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .navbar-menu a {
  color: rgba(26, 32, 44, 0.8);
}

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

.navbar-cta {
  padding: 10px 24px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.navbar-cta:hover {
  background: var(--primary-hover);
  color: #fff !important;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-toggle span {
  background: var(--foreground);
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.mobile-menu a {
  display: block;
  padding: 12px 20px;
  color: rgba(26, 32, 44, 0.8);
  border-bottom: 1px solid var(--border);
}

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

.mobile-menu .navbar-cta {
  margin: 12px;
  text-align: center;
}

/* ============================================
   Hero 区
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.hero-bg .orb-1 {
  top: 80px;
  left: 40px;
  width: 288px;
  height: 288px;
  background: rgba(255, 107, 0, 0.3);
}

.hero-bg .orb-2 {
  bottom: 80px;
  right: 40px;
  width: 384px;
  height: 384px;
  background: rgba(255, 184, 0, 0.2);
}

.hero-bg .orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(255, 107, 0, 0.1);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 8rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-badge span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin-bottom: 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 16px;
}

.hero-stats .stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stats .stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-stats .divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-features .col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-features .col-offset {
  padding-top: 32px;
}

.feature-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-card.accent .icon {
  color: var(--accent);
}

.feature-card h3 {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.feature-card.big-number {
  background: rgba(255, 107, 0, 0.2);
  border-color: rgba(255, 107, 0, 0.3);
}

.feature-card.big-number .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

/* 滚动指示 */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  animation: bounce 2s infinite;
}

.scroll-indicator::after {
  content: '';
  width: 6px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}

/* ============================================
   区块标题
   ============================================ */
.section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.section-header h2 .highlight {
  color: var(--primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* ============================================
   关于我们
   ============================================ */
.about {
  background: var(--white);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.about-feature {
  padding: 24px;
  background: rgba(245, 245, 244, 0.5);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.about-feature:hover {
  background: rgba(255, 107, 0, 0.05);
  border-color: rgba(255, 107, 0, 0.2);
}

.about-feature .icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.about-feature .icon-box svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.about-feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-feature p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-left h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-point {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.about-point .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-point h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.about-point p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  padding: 24px;
  text-align: center;
  border-radius: 16px;
}

.stat-card.orange {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(255, 107, 0, 0.1));
  border: 1px solid rgba(255, 107, 0, 0.1);
}

.stat-card.yellow {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.05), rgba(255, 184, 0, 0.1));
  border: 1px solid rgba(255, 184, 0, 0.1);
}

.stat-card .value {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-card.orange .value {
  color: var(--primary);
}

.stat-card.yellow .value {
  color: var(--accent);
}

.stat-card .label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   产品服务
   ============================================ */
.services {
  background: rgba(245, 245, 244, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(229, 231, 235, 0.5);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.05);
}

.service-card .icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.service-card:hover .icon-box {
  background: var(--primary);
  transform: scale(1.1);
}

.service-card .icon-box svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.service-card:hover .icon-box svg {
  color: var(--white);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card > p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  padding: 3px 10px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
}

.services-cta {
  text-align: center;
  margin-top: 64px;
}

.services-cta p {
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

/* ============================================
   联系我们
   ============================================ */
.contact {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(245, 245, 244, 0.5);
  border-radius: 12px;
}

.contact-item .icon-box {
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon-box svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-item .content {
  font-weight: 500;
}

.contact-item .desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.contact-qr {
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(255, 184, 0, 0.05));
  border: 1px solid rgba(255, 107, 0, 0.1);
  border-radius: 12px;
  text-align: center;
}

.contact-qr .qr-box {
  width: 128px;
  height: 128px;
  margin: 0 auto 12px;
  background: var(--white);
  border: 2px dashed rgba(255, 107, 0, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.contact-qr p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-form {
  padding: 32px;
  background: rgba(245, 245, 244, 0.3);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group label .required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--foreground);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.form-submit:hover {
  background: var(--primary-hover);
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 48px 0;
}

.form-success .success-icon {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted-foreground);
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: var(--dark-bg);
  color: var(--white);
}

.footer-top {
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.footer-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand .brand-en {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.footer-col h4 {
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.gongan-beian {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.gongan-beian img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   动画 & 响应式
   ============================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 2.75rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-features { display: none; }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .navbar-menu { display: none; }
  .navbar-toggle { display: flex; }
  .hero h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.75rem; }
  .about-layout { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

/* WordPress 兼容 */
.alignwide { margin-left: auto; margin-right: auto; }
.alignfull { margin: 0; }
.alignnone { margin: 0; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
