/* ========================================
   Tahoe's® 太禾生 — Shared Stylesheet
   ======================================== */

:root {
    --primary: #00c6ff;
    --primary-glow: rgba(0, 198, 255, 0.4);
    --secondary: #6c3aed;
    --secondary-glow: rgba(108, 58, 237, 0.4);
    --accent: #00e5a0;
    --accent-glow: rgba(0, 229, 160, 0.4);
    --bg-dark: #070b14;
    --bg-mid: #0d1626;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --text-primary: #f0f4ff;
    --text-secondary: rgba(200, 215, 255, 0.75);
    --text-muted: rgba(180, 195, 230, 0.5);
    --border: rgba(100, 150, 255, 0.12);
    --border-hover: rgba(0, 198, 255, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background */
.bg-layer {
    position: fixed; inset: 0; z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 15% 85%, rgba(0,198,255,0.12) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 85% 15%, rgba(108,58,237,0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0,229,160,0.04) 0%, transparent 65%),
        var(--bg-dark);
}
.grid-lines {
    position: fixed; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(0,198,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,198,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
}
.particles { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.particle {
    position: absolute; border-radius: 50%; opacity: 0;
    animation: particleFloat linear infinite;
}
.particle:nth-child(1)  { width:2px;height:2px; left:8%;  background:var(--primary);  animation-duration:28s;animation-delay:0s; }
.particle:nth-child(2)  { width:3px;height:3px; left:18%; background:var(--secondary);animation-duration:35s;animation-delay:3s; }
.particle:nth-child(3)  { width:2px;height:2px; left:28%; background:var(--accent);   animation-duration:24s;animation-delay:6s; }
.particle:nth-child(4)  { width:2px;height:2px; left:38%; background:var(--primary);  animation-duration:30s;animation-delay:1s; }
.particle:nth-child(5)  { width:3px;height:3px; left:52%; background:var(--secondary);animation-duration:26s;animation-delay:4s; }
.particle:nth-child(6)  { width:2px;height:2px; left:63%; background:var(--accent);   animation-duration:32s;animation-delay:7s; }
.particle:nth-child(7)  { width:2px;height:2px; left:74%; background:var(--primary);  animation-duration:22s;animation-delay:2s; }
.particle:nth-child(8)  { width:3px;height:3px; left:85%; background:var(--secondary);animation-duration:29s;animation-delay:5s; }
.particle:nth-child(9)  { width:2px;height:2px; left:93%; background:var(--accent);   animation-duration:27s;animation-delay:8s; }
.particle:nth-child(10) { width:2px;height:2px; left:45%; background:var(--primary);  animation-duration:31s;animation-delay:2.5s; }
@keyframes particleFloat {
    0%   { transform:translateY(100vh) rotate(0deg);   opacity:0; }
    8%   { opacity:0.65; }
    92%  { opacity:0.65; }
    100% { transform:translateY(-100px) rotate(540deg); opacity:0; }
}

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0.9rem 0;
    background: rgba(7,11,20,0.82);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    background: rgba(7,11,20,0.96);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { display:flex; align-items:center; gap:0.7rem; text-decoration:none; }
.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem; color: #fff;
    box-shadow: 0 0 18px var(--primary-glow);
    animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
    0%,100% { box-shadow: 0 0 18px var(--primary-glow); }
    50%      { box-shadow: 0 0 36px var(--primary-glow), 0 0 54px var(--secondary-glow); }
}
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}
.logo-en {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-cn {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
}
.nav-menu { display:flex; gap:2.2rem; list-style:none; }
.nav-menu a {
    color: var(--text-secondary); text-decoration: none;
    font-weight: 500; font-size: 0.9rem;
    transition: color 0.25s; position: relative; padding-bottom: 4px;
}
.nav-menu a::after {
    content:''; position:absolute; bottom:0; left:0; width:0; height:2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s; border-radius:1px;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a:hover::after, .nav-menu a.active::after { width:100%; }
.nav-right { display:flex; align-items:center; gap:1.2rem; }
.lang-switch {
    display:flex; background:var(--bg-glass);
    padding:0.2rem; border-radius:22.5%; border:1px solid var(--border);
}
.lang-btn {
    padding: 0.35rem 0.75rem; border:none; background:transparent;
    color:var(--text-muted); font-size:0.78rem; cursor:pointer;
    border-radius:22.5%; transition:all 0.25s; font-weight:600;
}
.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; box-shadow:0 0 12px var(--primary-glow);
}
.lang-btn:hover:not(.active) { color:var(--primary); }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; }
.hamburger span { display:block; width:24px; height:2px; background:var(--text-secondary); border-radius:2px; transition:all 0.3s; }
.mobile-menu {
    display:none; position:fixed; top:65px; left:0; right:0; z-index:999;
    background:rgba(7,11,20,0.97); border-bottom:1px solid var(--border);
    backdrop-filter:blur(20px); padding:1.5rem 2rem;
}
.mobile-menu.open { display:block; }
.mobile-menu ul { list-style:none; }
.mobile-menu li { border-bottom:1px solid var(--border); }
.mobile-menu a {
    display:block; padding:1rem 0; color:var(--text-secondary);
    text-decoration:none; font-weight:500; transition:color 0.2s;
}
.mobile-menu a:hover { color:var(--primary); }

/* ── Page Hero ── */
.page-hero {
    padding: 140px 2rem 80px;
    text-align: center;
    position: relative;
}
.page-hero-container { max-width: 900px; margin: 0 auto; }
.page-badge {
    display:inline-flex; align-items:center; gap:0.5rem;
    padding:0.45rem 1rem; margin-bottom:1.5rem;
    background:rgba(0,198,255,0.08); border:1px solid rgba(0,198,255,0.25);
    border-radius:50px; color:var(--primary); font-size:0.82rem; font-weight:600;
    backdrop-filter:blur(10px);
}
.page-hero h1 {
    font-size: 3.2rem; font-weight: 800;
    line-height: 1.1; margin-bottom: 1.2rem; letter-spacing: -0.03em;
}
.page-hero p {
    font-size: 1.15rem; color: var(--text-secondary);
    line-height: 1.9; max-width: 680px; margin: 0 auto;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
    background-size:200% 200%; animation:gradFlow 6s ease infinite;
}
@keyframes gradFlow {
    0%,100%{background-position:0% 50%} 50%{background-position:100% 50%}
}

/* ── Section ── */
.section { padding: 80px 2rem; }
.section-container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align:center; margin-bottom:4rem; }
.section-tag {
    display:inline-block; padding:0.3rem 1rem;
    background:rgba(0,198,255,0.08); border:1px solid rgba(0,198,255,0.2);
    border-radius:50px; color:var(--primary); font-size:0.8rem; font-weight:600;
    margin-bottom:1rem; text-transform:uppercase; letter-spacing:0.05em;
}
.section-header h2 {
    font-size:2.6rem; font-weight:800; letter-spacing:-0.025em; margin-bottom:1rem;
}
.section-header p {
    font-size:1.05rem; color:var(--text-secondary); max-width:600px; margin:0 auto; line-height:1.8;
}

/* ── Cards ── */
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem; backdrop-filter: blur(10px);
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.card::before {
    content: ''; position: absolute; inset: 0; border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,198,255,0.05), rgba(108,58,237,0.05));
    opacity: 0; transition: opacity 0.3s;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(0,198,255,0.08); }
.card:hover::before { opacity: 1; }

/* ── Buttons ── */
.btn-primary {
    display:inline-flex; align-items:center; gap:0.5rem;
    padding:0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; border:none; border-radius:14px;
    font-weight:600; font-size:0.95rem; cursor:pointer; text-decoration:none;
    transition: all 0.3s; box-shadow:0 0 24px var(--primary-glow);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 32px var(--primary-glow); }
.btn-outline {
    display:inline-flex; align-items:center; gap:0.5rem;
    padding:0.9rem 1.8rem;
    background:transparent; color:var(--primary);
    border:1px solid rgba(0,198,255,0.4); border-radius:14px;
    font-weight:600; font-size:0.95rem; cursor:pointer; text-decoration:none;
    transition: all 0.3s;
}
.btn-outline:hover { background:rgba(0,198,255,0.08); border-color:var(--primary); transform:translateY(-2px); }

/* ── Footer ── */
.footer {
    padding: 60px 2rem 30px;
    border-top: 1px solid var(--border);
    background: rgba(7,11,20,0.6);
}
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8;
    margin-top: 1rem; max-width: 320px;
}
.footer-col h4 {
    font-size: 0.9rem; font-weight: 700; color: var(--text-primary);
    margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    padding-top: 2rem; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--primary); }
.beian-links a { color: var(--text-muted) !important; text-decoration: none; font-size: 0.82rem; }
.beian-links a:hover { color: var(--primary) !important; }
.footer-certifications { display:flex; gap:0.8rem; flex-wrap:wrap; }
.cert-badge {
    padding: 0.25rem 0.7rem;
    background: rgba(0,229,160,0.08); border: 1px solid rgba(0,229,160,0.2);
    border-radius: 8px; color: var(--accent); font-size: 0.75rem; font-weight: 600;
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
    width: 48px; height: 48px; border-radius: 22.5%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px var(--primary-glow);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.35s ease;
}
.back-to-top.visible { opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover { transform:translateY(-3px); box-shadow:0 8px 32px var(--primary-glow); }
.back-to-top svg { width:22px; height:22px; fill:#fff; }

/* ── WeChat Float ── */
.wechat-float {
    position: fixed; bottom: 2rem; left: 2rem; z-index: 900;
    width: 56px; height: 56px; border-radius: 50%;
    background: #07C160; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(7,193,96,0.4);
    text-decoration: none;
    transition: all 0.35s ease;
    animation: wxPulse 2s ease-in-out infinite;
}
.wechat-float:hover { transform:scale(1.1); box-shadow:0 8px 32px rgba(7,193,96,0.5); }
.wechat-float svg { width:28px; height:28px; fill:#fff; }
@keyframes wxPulse {
    0%,100% { box-shadow:0 4px 20px rgba(7,193,96,0.4); }
    50% { box-shadow:0 4px 30px rgba(7,193,96,0.6), 0 0 50px rgba(7,193,96,0.2); }
}

/* ── Page Fade In ── */
.page-fade { opacity:0; transform:translateY(20px); transition:opacity 0.6s ease, transform 0.6s ease; }
.page-fade.visible { opacity:1; transform:translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .page-hero h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.9rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .back-to-top { bottom:1.5rem; right:1.5rem; width:42px; height:42px; }
    .wechat-float { bottom:1.5rem; left:1.5rem; width:48px; height:48px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ── 图标填满容器 ── */
/* 所有图标容器内图片自动填满 */
.value-icon img, .app-icon-wrap img, .feature-icon img,
.info-icon img, .contact-icon img, .bullet img,
.social-btn img, .inline-icon,
.office-flag img, .footer-col img[src*="icon-"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

/* 页脚行内图标：统一尺寸 */
.footer-col ul li img[src*="icon-"] {
    width: 18px !important;
    height: 18px !important;
    vertical-align: middle;
    margin-right: 4px;
}
/* 页脚国旗图标：保持原始比例，统一高度 */
.footer-col ul li img[src*="icon-ph"],
.footer-col ul li img[src*="icon-cn"] {
    width: auto !important;
    height: 18px !important;
    vertical-align: middle;
    margin-right: 4px;
}
/* 表单隐私提示图标 */
.form-note img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 3px;
}
