/* ============================================
   Peilianmao Shared Styles
   ============================================ */

:root {
    --primary: #0066FF;
    --secondary: #00C48C;
    --accent: #FF6B35;
    --dark: #16213E;
    --gray-100: #F8F9FC;
    --gray-500: #9CA3AF;
    --gray-600: #6B7280;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(160deg, #F0F7FF 0%, #F5FFFC 50%, #FFFAF5 100%);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Noto Sans SC, sans-serif; font-size: 16px; color: var(--dark); line-height: 1.75; }

/* Bubbles */
.floating-bubbles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.bubble { position: absolute; bottom: -150px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(0, 102, 255, 0.15) 50%, rgba(0, 196, 140, 0.1) 100%); border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 50%; animation: floatUp linear infinite; }
.bubble:nth-child(1) { width: 100px; height: 100px; left: 5%; animation-duration: 12s; }
.bubble:nth-child(2) { width: 70px; height: 70px; left: 20%; animation-duration: 14s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 120px; height: 120px; left: 40%; animation-duration: 16s; animation-delay: 4s; }
.bubble:nth-child(4) { width: 50px; height: 50px; left: 60%; animation-duration: 13s; animation-delay: 1s; }
.bubble:nth-child(5) { width: 90px; height: 90px; left: 75%; animation-duration: 15s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 60px; height: 60px; left: 88%; animation-duration: 17s; animation-delay: 5s; }
@keyframes floatUp { 0% { transform: translateY(0) scale(0.8); opacity: 0; } 10% { opacity: 0.8; } 50% { transform: translateY(-50vh) scale(1); } 100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; } }

/* Page Hero */
.page-hero { width: 100%; min-height: 40vh; background: var(--gradient-hero); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 100px 24px 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); width: 120%; height: 200px; background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.15) 0%, rgba(0, 196, 140, 0.1) 40%, transparent 70%); pointer-events: none; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 4vw, 48px); font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--gray-600); max-width: 600px; }

/* Sections */
.section { padding: 80px 24px; position: relative; }
.section-light { background: var(--gray-100); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(0, 102, 255, 0.1); border-radius: 20px; font-size: 14px; color: var(--primary); margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 3vw, 36px); font-weight: 700; color: var(--dark); margin-bottom: 12px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: #FFFFFF; border-radius: 16px; padding: 32px; box-shadow: var(--shadow-md); transition: all 250ms ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(0, 102, 255, 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 24px; color: var(--primary); }

/* CTA */
.cta, .cta-section { background: var(--gradient-primary); padding: 80px 24px; text-align: center; color: white; }
.cta-section h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; margin-bottom: 24px; }
.cta-wechat { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; background: white; padding: 24px 32px; border-radius: 16px; box-shadow: var(--shadow-lg); }
.cta-wechat p { color: var(--dark); font-size: 16px; font-weight: 500; }
.cta-wechat img { width: 150px; border-radius: 8px; }

/* Footer */
.footer { background: var(--dark); color: white; padding: 48px 24px 24px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.footer-links a { display: inline-block; padding: 8px 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 14px; transition: all 0.3s ease; }
.footer-links a:hover { background: var(--gradient-primary); color: white; border-color: transparent; }

/* Animations */
.animate { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }
