* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #77A8A5;
    --primary-dark: #5a8a87;
    --primary-light: #9bc1be;
    --accent: #F5ECCD;
    --text-dark: #2C3E3E;
    --text-medium: #5B6E6E;
    --text-light: #8A9A9A;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(119, 168, 165, 0.25);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #71C7F5 0%, #F4DAF7 30%, #E8E2C0 70%, #F9F7F0 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* 动态渐变背景 (鼠标跟随) */
.dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 30% 40%, rgba(119,168,165,0.25), rgba(245,236,205,0.4), rgba(200,220,210,0.3));
    transition: background-position 0.1s ease;
}

/* 水波光晕叠加层 */
.water-ripple {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(45deg, rgba(255,255,245,0.08) 0px, rgba(255,255,245,0.08) 2px, transparent 2px, transparent 8px),
                radial-gradient(circle at 50% 50%, rgba(119,168,165,0.15), transparent 70%);
    animation: rippleFlow 12s infinite alternate;
}

@keyframes rippleFlow {
    0% { transform: scale(1) translate(0,0); opacity: 0.5; }
    100% { transform: scale(1.03) translate(1%,1%); opacity: 0.8; }
}

/* 鼠标跟随光晕 */
.cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(119,168,165,0.2), transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: soft-light;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(119,168,165,0.1); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* 玻璃导航栏 */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1280px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-radius: 80px;
    border: 1px solid var(--glass-border);
    padding: 12px 32px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 20px 25px -15px rgba(119,168,165,0.3);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 1.6rem; font-weight: 700; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-dark); text-decoration: none; font-weight: 500; transition: 0.2s; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.lang-switch { display: flex; gap: 0.5rem; margin-left: 1rem; }
.lang-btn { background: transparent; border: 1px solid rgba(119,168,165,0.4); padding: 4px 12px; border-radius: 30px; cursor: pointer; font-size: 0.8rem; font-weight: 500; color: var(--text-dark); transition: 0.2s; }
.lang-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

/* 通用容器 */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); position: relative; display: inline-block; }
.section-title:after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary); margin-top: 8px; }
.section-sub { color: var(--text-medium); margin-bottom: 3rem; max-width: 700px; }

/* 玻璃卡片通用 */
.glass-card { background: rgba(255,255,255,0.65); backdrop-filter: blur(12px); border-radius: 48px; border: 1px solid var(--glass-border); padding: 32px; transition: all 0.3s cubic-bezier(0.2,0.9,0.4,1.1); height: 100%; }
.glass-card:hover { background: rgba(255,255,255,0.8); border-color: var(--primary); transform: translateY(-4px); }

/* 常用按钮 */
.btn-primary { background: var(--primary); border: none; padding: 12px 32px; border-radius: 40px; color: white; font-weight: 600; text-decoration: none; display: inline-block; transition: 0.3s; box-shadow: 0 4px 15px rgba(119,168,165,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--primary); padding: 12px 32px; border-radius: 40px; color: var(--primary); font-weight: 600; text-decoration: none; display: inline-block; transition: 0.3s; }
.btn-outline:hover { background: rgba(119,168,165,0.1); transform: translateY(-2px); }

/* 认证网格 */
.certs-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 20px; }
.cert-item { background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); border-radius: 60px; padding: 10px 24px; border: 1px solid var(--glass-border); font-weight: 500; }

/* Footer */
.footer { background: rgba(44,62,62,0.8); backdrop-filter: blur(10px); border-top: 1px solid var(--glass-border); padding: 50px 0 30px; margin-top: 60px; color: #ddd; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer a { color: #ccc; text-decoration: none; }
.footer a:hover { color: white; }

/* Floating contact */
.float-contact { position: fixed; bottom: 30px; right: 20px; z-index: 100; display: flex; flex-direction: column; gap: 12px; }
.float-contact a { background: var(--primary); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.4rem; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: 0.2s; }
.float-contact a:hover { transform: scale(1.05); background: var(--primary-dark); }

/* 滚动动画 */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .glass-nav { padding: 12px 20px; top: 10px; width: 95%; }
    .nav-container { flex-direction: column; gap: 12px; }
    .cursor-glow { display: none; }
}

/* Cases row for centering a second line of market cards */
.cases-row {
    display: flex;
    justify-content: center; /* center horizontally */
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.cases-row .case-item { width: 320px; max-width: 90%; }

:root {
    --glass-white-strong: rgba(255, 255, 255, 0.9);
    --glass-white-mid: rgba(255, 255, 255, 0.6);
    --glass-white-light: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: rgba(0, 0, 0, 0.25);
    --glass-highlight: rgba(255, 255, 255, 0.4);
}