/* ===== phkt-common.css — 普慧康泰设计系统共享样式 ===== */
/* 来源：about.html 共享CSS模块，抽取为公用资源 */

/* ===== RESET & BASE ===== */
*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
:root {
  --green: #A5C92C; --green-dark: #5F7722; --green-light: #C8E06A;
  --blue: #00A3E1; --blue-dark: #006B96; --blue-light: #4DC3F0;
  --warm-dark: #332C2B; --text: #2D2D2D; --text-light: #6B6B6B;
  --text-lighter: #999; --bg: #F8FAFB; --white: #FFFFFF;
  --border: #E8ECEF; --radius: 10px; --radius-lg: 16px;
  --max-width: 1200px; --nav-height: 72px;
  --font: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--bg); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER / NAVIGATION ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border); }
.header-container { max-width: var(--max-width); margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 36px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-size: 20px; font-weight: 900; color: var(--warm-dark); line-height: 1.2; }
.logo-subtitle { font-size: 10px; color: var(--text-lighter); }
.nav-menu { display: flex; align-items: center; margin: 0 auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 10px 20px; font-size: 14.5px; font-weight: 600; color: var(--text-light); cursor: pointer; border-radius: 6px; white-space: nowrap; }
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--green); background: rgba(165,201,44,0.06); }
.nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.04), 0 12px 48px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.04); border-top: 3px solid var(--green); border-radius: 0 0 14px 14px; padding: 20px 24px; min-width: 220px; opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 100; }
.nav-dropdown-menu.grid-2 { min-width: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.nav-item:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-section { padding: 0 8px; }
.nav-dropdown-section-title { font-size:11px; font-weight:800; color:#6b8f23; letter-spacing:1.2px; margin-bottom:12px; border-bottom: 2px solid rgba(165,201,44,0.12); padding-bottom:8px; position:relative; }
.nav-dropdown-section-title::after { content:''; position:absolute; left:0; bottom:-2px; width:24px; height:2px; background:#A5C92C; }
.nav-dropdown-section-item { display: block; padding: 5px 0; font-size: 13px; color: var(--text-light); transition: all 0.2s; line-height: 1.5; position:relative; }
.nav-dropdown-section-item:hover { color: #A5C92C; padding-left: 8px; }
.nav-dropdown-section-item::before { content:''; position:absolute; left:-8px; top:50%; transform:translateY(-50%); width:3px; height:60%; background:#A5C92C; border-radius:0 2px 2px 0; opacity:0; transition:opacity 0.2s,left 0.2s; pointer-events:none; }
.nav-dropdown-section-item:hover::before { opacity:1; left:-8px; }
.nav-dropdown-section + .nav-dropdown-section { border-left: 1px solid var(--border); padding-left:12px; }
.nav-item:nth-child(2) .nav-dropdown-menu { min-width: 620px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; padding: 20px 24px; }
.nav-item:nth-child(3) .nav-dropdown-menu { min-width: 180px; grid-template-columns: 1fr; padding: 16px 24px; }
.nav-item:nth-child(3) .nav-dropdown-section-title { text-align:center; }
.nav-item:nth-child(4) .nav-dropdown-menu { min-width: 340px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 20px 24px; }
.nav-dropdown-content { display: none; }
.nav-cta { padding: 8px 22px; border-radius: 24px; font-size: 13px; font-weight: 700; border: 1.5px solid var(--green); color: var(--green-dark); margin-left: 12px; flex-shrink: 0; }
.nav-cta:hover { background: var(--green); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--warm-dark); }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-tag { display: inline-block; padding: 6px 20px; border-radius: 20px; font-size: 13px; font-weight: 700; letter-spacing: 1px; background: rgba(165,201,44,0.08); color: var(--green-dark); margin-bottom: 16px; }
.section-tag.blue { background: rgba(0,163,225,0.08); color: var(--blue-dark); }
.section-title { font-size: clamp(28px, 3.2vw, 42px); font-weight: 900; margin-bottom: 12px; color: var(--warm-dark); }
.section-subtitle { font-size: clamp(14px, 1.4vw, 18px); color: var(--text-light); max-width: 600px; margin: 0 auto; }
.main { margin-top: var(--nav-height); }
.section { padding: 80px 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== HERO SECTION (Subpage hero) ===== */
.hero-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #1A1D1E, #2D2D2D); padding: 160px 0 80px; text-align: center; }
.hero-section .section-tag { background: rgba(165,201,44,0.15); color: var(--green-light); }
.hero-section .section-title { color: #fff; }
.hero-section .section-subtitle { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }

/* ===== PRODUCT CARDS / SOLUTION CARDS ===== */
.product-card, .solution-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); transition: all 0.35s; }
.product-card:hover, .solution-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.12); transform: translateY(-6px); border-color: var(--green); }
.product-title, .solution-title { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--warm-dark); }
.product-description, .solution-description { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid.grid-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 100px; font-size: 14px; font-weight: 700; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(165,201,44,0.3); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }

/* ===== FOOTER ===== */
.footer { background: #1A1D1E; color: rgba(255,255,255,0.5); padding: 56px 32px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 20px; font-weight: 900; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-col ul li a:hover { color: var(--green-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 12px; }
.footer-copyright { color: rgba(255,255,255,0.4); }
.footer-icp { color: rgba(255,255,255,0.3); font-size: 12px; margin-top: 8px; }

/* ===== BRAND DECORATIVE ELEMENTS ===== */
.slide-brand-deco { position: absolute; z-index: 1; pointer-events: none; inset: 0; overflow: hidden; }
.slide-brand-deco::before { content: ''; position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.slide-brand-deco::after { content: ''; position: absolute; width: 50vmin; height: 50vmin; border-radius: 50%; border: 1px solid rgba(255,255,255,0.04); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.slide-brand-deco .orb-1 { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(165,201,44,0.15) 0%, transparent 70%); top: 15%; right: 10%; }
.slide-brand-deco .orb-2 { position: absolute; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(0,163,225,0.10) 0%, transparent 70%); bottom: 20%; left: 8%; }
.slide-hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%,rgba(165,201,44,0.10),transparent 60%),radial-gradient(circle at 70% 50%,rgba(0,163,225,0.08),transparent 60%); pointer-events: none; }

/* ===== SECTION DIVIDER ===== */
.section-divider { width: 80px; height: 3px; background: linear-gradient(90deg, var(--green), var(--blue)); margin: 0 auto; border-radius: 2px; }

/* ===== GENERAL ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-anim { opacity: 0; transform: translateY(30px); }
.hero-anim.visible { animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.hero-anim:nth-child(1) { animation-delay: 0.15s; }
.hero-anim:nth-child(2) { animation-delay: 0.30s; }
.hero-anim:nth-child(3) { animation-delay: 0.48s; }

/* ===== SECTION VISUAL DECORATION ===== */
.section-deco-left { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(165,201,44,0.06) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.section-deco-right { position: absolute; right: 0; top: 30%; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(0,163,225,0.05) 0%, transparent 70%); pointer-events: none; z-index: 0; }

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.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; } .delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid, .grid.grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-list { display: none; } .nav-toggle { display: block; }
  .nav-dropdown-menu { display: none; }
  .nav-dropdown.expanded .nav-dropdown-menu { display: grid; }
  .nav-dropdown.expanded .nav-dropdown-content { display: block; }
  .footer-grid, .grid, .grid.grid-3 { grid-template-columns: 1fr; }
  .hero-section { padding: 140px 16px 60px; }
}

/* ===== LEGACY COMPAT (about.html specific, kept for other pages that use them) ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 48px; }
.about-image img { max-width: 100%; height: auto; border-radius: var(--radius-lg); }
.about-content p { margin-bottom: 16px; line-height: 1.8; color: var(--text); font-size: 15px; }
.about-timeline { max-width: 700px; margin: 0 auto; }
.timeline-item { display: flex; gap: 24px; margin-bottom: 24px; padding: 20px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.timeline-year { font-size: 18px; font-weight: 900; color: var(--green); min-width: 60px; }
.timeline-content { font-size: 14px; color: var(--text-light); line-height: 1.6; }
