/* 全局与基础样式 */
:root {
    --primary-color: #FF3B30; /* 主题红 */
    --secondary-color: #FFD1DC; /* 淡粉 */
    --accent-color: #6A5ACD; /* 紫色点缀 */
    --text-dark: #2c3e50; /* 深灰文字 */
    --text-light: #555; /* 浅灰文字 */
    --bg-light: #FDFCFA; /* 极浅背景 */
    --bg-card: #FFFFFF; /* 卡片背景 */
    --border-light: #E6E6FA; /* 浅边框/分割线 */
    --gradient-start: #FFD1DC; /* 粉色渐变起始 */
    --gradient-end: #E6E6FA;   /* 淡紫渐变结束 */
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.08);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 禁用所有按钮和可点击元素的浏览器高光阴影特效 */
button, 
a, 
input, 
select, 
textarea,
[role="button"],
.btn,
.btn-explore,
.btn-link,
.btn-install,
.btn-secondary,
.btn-submit,
.lang-btn,
.social-icon {
    -webkit-tap-highlight-color: transparent !important; /* 禁用移动设备触摸高亮 */
    -webkit-touch-callout: none !important; /* 禁用长按菜单 */
    -webkit-appearance: none !important; /* 移除webkit默认样式 */
    -moz-appearance: none !important; /* 移除Firefox默认样式 */
    appearance: none !important; /* 移除默认样式 */
    outline: none !important; /* 禁用点击时的轮廓线 */
    user-select: none !important; /* 禁止选中文本 */
}

/* 处理按钮和交互元素的各种状态 */
button:focus, 
a:focus, 
input:focus, 
select:focus, 
textarea:focus,
[role="button"]:focus,
.btn:focus,
.btn-explore:focus,
.btn-link:focus,
.btn-install:focus,
.btn-secondary:focus,
.btn-submit:focus,
.social-icon:focus,
button:active, 
a:active, 
input:active, 
select:active, 
textarea:active,
[role="button"]:active,
.btn:active,
.btn-explore:active,
.btn-link:active,
.btn-install:active,
.btn-secondary:active,
.btn-submit:active,
.social-icon:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    box-shadow: none !important;
}

/* 移动端特别处理 */
@media (hover: none) and (pointer: coarse) {
    button, a, [role="button"], .btn, .btn-explore, .btn-link, .btn-install, .btn-secondary, .btn-submit, .social-icon {
        -webkit-tap-highlight-color: transparent !important;
    }
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* 更现代的字体 */
    line-height: 1.7;
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* 防止水平溢出 */
}

/* 多语言切换 */
.zh, .en, .ja, .ru, .fr, .es {
    display: none !important;
}
body.chinese .zh { display: revert !important; }
body.english .en { display: revert !important; }
body.japanese .ja { display: revert !important; }
body.russian .ru { display: revert !important; }
body.french .fr { display: revert !important; }
body.spanish .es { display: revert !important; }

/* 服务条款模态框多语言切换 */
.gdl-terms-section {
    display: none !important;
}
body.chinese .gdl-terms-section.zh { display: block !important; }
body.english .gdl-terms-section.en { display: block !important; }
body.japanese .gdl-terms-section.ja { display: block !important; }
body.russian .gdl-terms-section.ru { display: block !important; }
body.french .gdl-terms-section.fr { display: block !important; }
body.spanish .gdl-terms-section.es { display: block !important; }

/* 容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页眉 Header */
header {
    background: var(--bg-card);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-soft);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; /* 防止logo和brand name竖排 */
}

.logo-container img {
    width: 50px; /* 稍微缩小 */
    height: auto;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* 导航 */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-nav ul li a {
    /* Reverted Styles for Login/Register */
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid var(--border-light, #E6E6FA); /* Use variable with fallback */
    transition: all 0.3s;
    display: inline-block; /* Keep display inline-block */
    font-size: 0.9rem; /* Match rest of nav */
    white-space: nowrap; /* 防止多语言竖排 */
    min-width: 56px;     /* 保证日文/中文不竖排 */
    text-align: center;  /* 居中 */
}

.main-nav ul li a:hover {
    /* Reverted Hover Styles */
    background: var(--secondary-color, #FFD1DC);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333; /* Ensure text color remains */
}

/* Adjust Install button to match reverted style */
.main-nav ul li .btn-install {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid var(--border-light, #E6E6FA);
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem; /* Match rest of nav */
    line-height: normal;
    white-space: nowrap; /* 防止多语言竖排 */
    min-width: 56px;     /* 保证日文/中文不竖排 */
    text-align: center;  /* 居中 */
}

.main-nav ul li .btn-install:hover {
    background: var(--secondary-color, #FFD1DC);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

/* 语言切换按钮 - 背景高亮滑动设计 */
.lang-switch {
    display: flex;
    padding: 8px;
    background: rgba(255, 182, 193, 0.08);
    border-radius: 24px;
    position: relative;
    border: none;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    justify-content: center;
}

.selection-indicator {
    position: absolute;
    height: calc(100% - 12px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 20px rgba(255, 182, 193, 0.25), 0 0 15px rgba(69, 224, 224, 0.15);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    left: 0;
    top: 6px;
    border: none;
    backdrop-filter: blur(8px);
    transform: translateX(6px);
    will-change: transform;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 10px 14px;
    border-radius: 20px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: unset;
    text-align: center;
    /* 禁用默认点击高光和焦点效果 */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    user-select: none;
}

.lang-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.lang-btn:first-child { border-radius: unset; }

.lang-btn:last-child { border-radius: unset; }

.lang-btn:hover {
    background: transparent;
    transform: translateY(0);
    box-shadow: none;
    color: var(--secondary-color);
}

.lang-btn.active {
    background: transparent;
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: none;
}

/* 新 Hero Section */
.hero-new {
    position: relative;
    text-align: center;
    padding: 100px 20px 80px; /* 增加顶部 padding */
    overflow: hidden;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg); /* 底部圆角 */
    margin-bottom: 60px;
}

.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* 高端温柔渐变，主色为明亮粉紫蓝，避免死黑 */
    background: linear-gradient(120deg, #fff6fa 0%, #f3e6ff 40%, #e6f0ff 100%);
    z-index: 0;
    overflow: hidden;
}
.hero-background::before {
    content: '';
    position: absolute;
    left: 50%; top: -20%;
    width: 38vw; height: 140%;
    transform: translateX(-50%) rotate(-8deg);
    /* 品牌色渐变光束，柔和高斯模糊 */
    background: linear-gradient(120deg, #FFD1DC 0%, #E6E6FA 50%, #6A5ACD 100%);
    opacity: 0.38;
    filter: blur(64px) brightness(1.08);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #3d2c4a;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(255,255,255,0.5);
    text-rendering: geometricPrecision; /* 提升文字渲染清晰度 */
    -webkit-font-smoothing: subpixel-antialiased; /* 启用子像素抗锯齿 */
}

.hero-content p {
    font-size: 1.1rem;
    color: #6a5a7c;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-rendering: geometricPrecision; /* 提升文字渲染清晰度 */
    -webkit-font-smoothing: subpixel-antialiased; /* 启用子像素抗锯齿 */
}

.hero-cta.btn-explore {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 18px auto;
    padding: 16px 0;
    background-color: #FF3B30;
    color: #fff;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.13rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 18px 0 rgba(255,59,48,0.13), 0 1.5px 8px 0 rgba(255,59,48,0.10);
    border: none;
    transition: background 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s cubic-bezier(.4,0,.2,1), color 0.22s;
}

.hero-cta.btn-explore:hover {
    background-color: #e22a1d;
    color: #fff;
    box-shadow: 0 6px 28px 0 rgba(255,59,48,0.22), 0 2px 12px 0 rgba(255,59,48,0.13);
    filter: brightness(1.04) saturate(1.08);
    text-decoration: none !important;
}

.hero-content .sub-text {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(44, 62, 80, 0.7);
}

/* 特色服务网格 Features Grid - 改为滑动布局 */
.features-grid-wrapper {
    margin: 0 auto;
    padding: 40px 0;
    max-width: 1200px;
    overflow-x: auto;
    background: #fdfcfa;
}

.features-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    padding: 0 24px;
}

.feature-card {
    flex: 0 0 320px;
    max-width: 320px;
    min-height: 260px;
    border-radius: 20px;
    box-shadow: 0 4px 18px 0 rgba(255,59,48,0.10);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: box-shadow 0.36s cubic-bezier(0.4,0,0.2,1),
                transform 0.36s cubic-bezier(0.4,0,0.2,1);
    background: #fff;
    padding: 32px 28px;
}

.feature-icon {
    font-size: 2.6rem;
    margin-bottom: 18px;
    background: linear-gradient(120deg, #FF3B30 10%, #FFD1DC 60%, #6A5ACD 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255,59,48,0.13));
    position: relative;
    z-index: 1;
}

.feature-card > * { position: relative; z-index: 1; }

/* 新增：卡片边缘模糊渐变光晕 */
.feature-card::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255,59,48,0.10) 0%, transparent 80%);
    filter: blur(5px);
    opacity: 0.90;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* 保证内容在光晕之上 */
.feature-card::after,
.feature-card:hover::after {
    display: none !important;
    content: none !important;
}

.feature-card:hover,
.feature-card:focus-visible,
.feature-card:active {
    /* iOS风格：轻微缩放+阴影柔和增强，无上升 */
    transform: scale(1.035);
    box-shadow: 0 8px 32px 0 rgba(255,59,48,0.13), 0 2px 12px 0 rgba(255,59,48,0.10);
    z-index: 2;
}
@media (hover: none) and (pointer: coarse) {
  .feature-card:active {
    /* 移动端触摸同样柔和缩放 */
    transform: scale(1.025);
    box-shadow: 0 6px 24px 0 rgba(255,59,48,0.11), 0 1.5px 8px 0 rgba(255,59,48,0.08);
  }
}

.feature-card h3,
.feature-card p {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
    word-break: break-word;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1; /* 占据多余空间 */
}

.btn-link {
    color: var(--primary-color);
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0; /* 调整内边距 */
    font-size: 0.95rem;
    transition: color 0.3s ease;
    align-self: center; /* 按钮居中 */
    text-decoration: none; /* 移除下划线 */
}

.btn-link:hover {
    color: darken(var(--primary-color), 15%);
    text-decoration: underline;
}

/* Founder Section - Buck Price Legacy */
.founder-section-new {
    background: linear-gradient(135deg, var(--bg-light) 0%, #faf5f7 100%); /* 融入品牌色的复古背景 */
    padding: 60px 40px;
    border-radius: var(--border-radius-lg);
    margin: 60px 0;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 209, 220, 0.2); /* 使用品牌淡粉色边框 */
}

/* 添加品牌色复古纹理效果 */
.founder-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 59, 48, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(106, 90, 205, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.founder-section-new > * {
    position: relative;
    z-index: 1;
}

/* Header Section */
.founder-header {
    text-align: center;
    margin-bottom: 48px; /* iOS 8pt网格 */
    padding-bottom: 32px; /* iOS 8pt网格 */
    border-bottom: 2px solid rgba(255, 209, 220, 0.3);
}

.founder-header h2 {
    font-size: 2.25rem; /* iOS Large Title */
    font-weight: 700;
    color: #1D1D1F; /* iOS深色文本 */
    margin-bottom: 16px; /* iOS 8pt网格 */
    text-shadow: none; /* 移除阴影，保持清晰 */
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Georgia', serif;
    letter-spacing: -0.02em; /* iOS标题字间距 */
    line-height: 1.2; /* iOS标题行高 */
}

.founder-header h3 {
    font-size: 1.375rem; /* iOS Title 2 */
    font-weight: 600; /* 增强权重 */
    color: #4A3B8C; /* 更深的品牌紫色 */
    margin-bottom: 0;
    font-style: italic;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Georgia', serif;
    letter-spacing: -0.01em; /* iOS副标题字间距 */
    line-height: 1.3; /* iOS副标题行高 */
}

/* Buck's Personal Story Container - iOS风格层次设计 */
.founder-story-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px; /* iOS 8pt网格系统 */
    margin-bottom: 48px; /* 增强层次感 */
    background: rgba(255, 255, 255, 0.95); /* 提升背景对比度 */
    border-radius: 16px; /* iOS风格圆角 */
    padding: 32px; /* iOS标准间距 */
    box-shadow: 
        0 4px 24px rgba(255, 59, 48, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.04); /* iOS多层阴影 */
    border: 1px solid rgba(255, 209, 220, 0.25);
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* 主要内容容器 - 更强的视觉权重 */
}

/* iOS风格容器交互 */
.founder-story-container:hover {
    box-shadow: 
        0 8px 32px rgba(255, 59, 48, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.founder-image-container {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.founder-photo-main {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 15px;
}

/* 照片标题 - iOS风格可访问性优化 */
.photo-caption {
    font-size: 0.85rem;
    color: #4A3B8C; /* 更深的紫色，提升对比度 */
    font-style: italic;
    font-weight: 500; /* 增强可读性 */
    text-align: center;
    margin-top: 12px; /* iOS 8pt网格 */
    padding: 8px 16px; /* iOS 8pt网格 */
    background: rgba(106, 90, 205, 0.08); /* 提升背景对比度 */
    border-radius: 8px; /* iOS风格圆角 */
    border: 1px solid rgba(106, 90, 205, 0.15); /* 增强边框可见性 */
    backdrop-filter: blur(4px); /* iOS毛玻璃效果 */
}

/* 历史照片特殊样式 - 融入品牌色 */
.historical-photo {
    border: 8px solid #fff;
    box-shadow: 
        0 4px 20px rgba(255, 59, 48, 0.12),
        inset 0 0 0 2px rgba(255, 209, 220, 0.3);
    filter: sepia(15%) contrast(1.05) brightness(0.98) saturate(1.1);
    position: relative;
}

.historical-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 25%,
        rgba(255, 59, 48, 0.02) 25%,
        rgba(255, 59, 48, 0.02) 50%,
        transparent 50%,
        transparent 75%,
        rgba(106, 90, 205, 0.02) 75%
    );
    background-size: 6px 6px;
    pointer-events: none;
    opacity: 0.4;
}

/* iOS风格照片交互 */
.founder-photo-main:hover {
    transform: scale(1.02); /* 更微妙的缩放 */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.founder-photo-main:active {
    transform: scale(0.98); /* iOS按压反馈 */
    transition: transform 0.1s ease-out;
}

/* 内容区域 - 与照片紧密配合 */
.founder-content-new {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 24px; /* iOS 8pt网格 */
}

.founder-bio-section {
    margin-bottom: 0;
}

/* Historical Text Styling - iOS可访问性优化 */
.historical-text {
    font-size: 1.05rem;
    color: #1D1D1F; /* iOS风格深色文本，AAA级对比度 */
    line-height: 1.75; /* iOS推荐行高 */
    text-align: left; /* 左对齐提升可读性 */
    font-family: 'Georgia', serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em; /* 轻微字间距优化 */
}

/* Family Legacy Container - iOS风格次级层次 */
.family-legacy-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px; /* iOS 8pt网格系统 */
    padding: 24px; /* 次级容器较小内边距 */
    margin-top: 32px;
    background: rgba(255, 255, 255, 0.85); /* 次级内容较低对比度 */
    border-radius: 12px; /* 较小圆角突出层次 */
    box-shadow: 
        0 2px 16px rgba(106, 90, 205, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.02); /* 更轻的阴影 */
    border: 1px solid rgba(106, 90, 205, 0.12);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* 次级内容容器 - 较弱的视觉权重 */
}

/* iOS风格次级容器交互 */
.family-legacy-container:hover {
    box-shadow: 
        0 4px 20px rgba(106, 90, 205, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px); /* 较小的上升效果 */
}

.family-content {
    flex: 2 1 400px;
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 24px; /* iOS 8pt网格 */
}

.family-image-container {
    flex: 1 1 280px;
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.legacy-title {
    font-size: 1.5rem; /* iOS Title 1 */
    font-weight: 700; /* 增强权重 */
    color: #4A3B8C; /* 更深的品牌紫色 */
    margin-bottom: 24px; /* iOS 8pt网格 */
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Georgia', serif;
    position: relative;
    padding-bottom: 12px; /* iOS 8pt网格 */
    letter-spacing: -0.015em; /* iOS标题字间距 */
    line-height: 1.25; /* iOS标题行高 */
}

.legacy-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.family-legacy-text {
    margin-bottom: 0;
}

.family-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* iOS风格家族照片交互 */
.family-photo:hover {
    transform: scale(1.02); /* 更微妙的缩放 */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.family-photo:active {
    transform: scale(0.98); /* iOS按压反馈 */
    transition: transform 0.1s ease-out;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    margin-bottom: 60px;
    box-shadow: var(--shadow-soft);
}

.badge {
    display: flex;
    flex-direction: column; /* 垂直排列 */
    align-items: center;
    text-align: center;
    min-width: 120px; /* 最小宽度 */
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.badge-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.badge-text span {
    font-weight: 600; /* 数字加粗 */
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
    border-radius: var(--border-radius-lg);
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(106, 90, 205, 0.15);
}

.final-cta h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.final-cta .btn-explore {
    /* Explicitly apply styles similar to hero-cta or inherit if possible */
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-color);
    color: var(--bg-card);
    text-decoration: none;
    border-radius: 50px; /* 胶囊形状 */
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
    border: none; /* Ensure no default border */
}

.final-cta .btn-explore:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
    color: var(--bg-card); /* Ensure text color remains on hover */
}

/* 页脚 Footer */
footer {
    background: #f0f0f0; /* 页脚用不同背景 */
    color: var(--text-light);
    padding: 40px 20px 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: auto;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px; /* 减小间距 */
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
    color: #aaa;
}

/* MBTI Modal Styles - 继承自原 CSS，可按需调整 */
/* ... (保留或调整原有的 modal 样式) ... */
.modal {
    display: none;
    position: fixed;
    z-index: 1001; /* 高于 header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); /* 加深背景遮罩 */
    opacity: 0;
    transition: opacity 0.3s ease;
    /* 添加动画效果 */
    backdrop-filter: blur(5px);
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto;
    padding: 30px 35px; /* 增加内边距 */
    border: none;
    width: 90%;
    max-width: 850px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-height: 90vh; /* 限制最大高度 */
    overflow-y: auto; /* 内容过多时滚动 */
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.modal-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.6rem;
    font-weight: 600;
}

.close {
    background: none;
    border: none;
    font-size: 1.8rem; /* 增大关闭按钮 */
    line-height: 1;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative; /* For pseudo-elements if needed */
    width: 30px;
    height: 30px;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    user-select: none !important;
}
.close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Modal Body Content Styles */
.modal-body h3 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    display: inline-block;
}

.modal-body h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
}

.modal-body li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.modal-body li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}

.highlight-box {
    background-color: rgba(106, 90, 205, 0.05); /* 淡紫色背景 */
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    margin: 15px 0;
    border-left: 4px solid var(--accent-color);
}

.highlight-box p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.math-formula {
    margin: 15px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius-sm);
    overflow-x: auto; /* 公式过长时滚动 */
}

.formula-explanation {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
}

.dimension-weights ul {
    padding-left: 0;
}

.dimension-weights li {
    background-color: transparent; /* 移除背景 */
    padding-left: 0;
    margin-bottom: 20px;
}
.dimension-weights li::before {
    display: none; /* 移除默认圆点 */
}
.dimension-weights li > span:first-child { /* 权重标题 */
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.matching-levels .level-item {
    display: flex;
    align-items: flex-start; /* 对齐方式 */
    margin: 15px 0;
    padding: 15px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
}

.level-badge {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.s-level .level-badge { background-color: #e74c3c; }
.a-level .level-badge { background-color: #3498db; }
/* Add B, C levels if needed */

.level-desc {
    flex-grow: 1;
}
.level-desc > span:first-child { /* 等级描述 */
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.4rem; }
    .founder-section-new { flex-direction: column; text-align: center; }
    .founder-image-container { margin-bottom: 30px; }
    .founder-content-new { text-align: center; }
    .founder-quote-new { text-align: left; } /* 引用保持左对齐 */
}

/* 移动端优化样式 - 参考Instagram和小红书风格 */
@media (max-width: 768px) {
    body {
        background-color: var(--bg-light);
        line-height: 1.5;
    }
    
    /* 页头优化 - 恢复语言切换按钮的原始样式 */
    header {
        box-shadow: var(--shadow-soft);
        border-bottom: 1px solid var(--border-light);
    }
    
    .lang-switch {
        flex-wrap: nowrap;
        justify-content: center;
        padding: 8px;
        gap: 4px;
        background: rgba(255, 182, 193, 0.08);
        box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 10px 10px 10px;
        width: calc(100% - 20px);
        white-space: nowrap;
        position: relative;
    }
    
    .lang-switch::-webkit-scrollbar {
        display: none;
    }
    
    .lang-btn {
        margin: 0;
        padding: 8px 8px;
        background: transparent;
        font-size: 13px;
        white-space: nowrap;
        min-width: fit-content;
        flex: 0 0 auto;
    }
    
    .selection-indicator {
        display: block;
        height: calc(100% - 10px);
        top: 5px;
        box-shadow: 0 2px 8px rgba(255, 182, 193, 0.2);
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.8);
        transition: transform 0.3s ease-out;
    }
    
    .lang-btn.active {
        background: transparent;
        color: var(--primary-color);
    }
    
    .lang-switch::after {
        display: none;
    }
    
    /* 恢复容器间距优化 */
    .header-content {
        padding: 15px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* 恢复Hero区域优化 */
    .hero-new {
        width: 100 !important;
        max-width: 100 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-radius: 0 !important;
    }
    
    .hero-content {
        width: 100 !important;
        max-width: 100 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .hero-content h1 {
        font-size: 1.7rem !important;
        margin-bottom: 12px !important;
        line-height: 1.22 !important;
        text-shadow: 0 2px 8px rgba(255,255,255,0.35) !important;
    }
    
    .hero-content p {
        font-size: 0.98rem !important;
        margin-bottom: 18px !important;
        max-width: 98vw !important;
        line-height: 1.55 !important;
    }
    
    .hero-cta.btn-explore {
        width: 90vw !important;
        max-width: 340px !important;
        margin: 0 auto 12px auto !important;
        border-radius: 50px !important;
    }
    
    .hero-content .sub-text {
        margin-top: 10px !important;
        font-size: 0.85rem !important;
        color: rgba(44, 62, 80, 0.7) !important;
        opacity: 1 !important;
    }
    
    .hero-background {
        position: absolute !important;
        top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important;
        background: linear-gradient(120deg, #fff6fa 0%, #f3e6ff 40%, #e6f0ff 100%) !important;
        z-index: 0 !important;
        overflow: hidden !important;
    }
    
    .hero-background::before {
        content: '';
        position: absolute;
        left: 50%; top: -20%;
        width: 38vw; height: 140%;
        transform: translateX(-50%) rotate(-8deg);
        background: linear-gradient(120deg, #FFD1DC 0%, #E6E6FA 50%, #6A5ACD 100%);
        opacity: 0.38;
        filter: blur(64px) brightness(1.08);
        pointer-events: none;
        z-index: 1;
    }
    
    /* 适配移动端滑动卡片 */
    .features-grid-wrapper {
        margin: 0 -12px;
        scrollbar-width: none;
        padding: 10px 0 20px;
    }
    
    .features-grid-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .features-grid-wrapper::before, 
    .features-grid-wrapper::after {
        width: 30px; /* 移动端更窄的渐变区域 */
    }
    
    .features-grid-wrapper::after {
        content: '';
        display: none; /* 移动端不显示箭头 */
    }
    
    .features-grid {
        padding: 15px 12px 5px;
        gap: 15px;
    }
    
    .feature-card {
        flex: 0 0 70%;
        max-width: 300px;
        margin-right: 15px;
        margin-bottom: 10px;
        border-radius: 20px;
        padding: 26px 14px;
        background: linear-gradient(135deg, #fff 60%, rgba(255,59,48,0.13) 100%);
        border: none !important;
        box-shadow: 0 4px 18px 0 rgba(255,59,48,0.10);
    }
    
    .feature-card::before {
        top: -5px; left: -5px; right: -5px; bottom: -5px;
        filter: blur(6px);
        opacity: 0.92;
    }
    
    .feature-card:hover::before {
        filter: blur(10px) brightness(1.06);
        opacity: 1;
    }
    
    .feature-icon {
        font-size: 2.2rem;
        margin-bottom: 15px;
        display: inline-block;
        position: relative;
        z-index: 1;
        background: linear-gradient(120deg, #FF3B30 20%, #FFD1DC 70%, #6A5ACD 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 0 6px rgba(255,59,48,0.13));
    }
    
    .feature-icon::after {
        content: '';
        position: absolute;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,59,48,0.13) 0%, rgba(255,59,48,0.06) 80%, transparent 100%);
        z-index: -1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
        opacity: 0.85;
    }
    
    .btn-link {
        font-size: 0.85rem;
        padding: 8px 5px;
        position: relative;
    }
    
    .btn-link::after {
        content: '→';
        margin-left: 5px;
        transition: transform 0.3s ease;
    }
    
    .btn-link:hover::after {
        transform: translateX(3px);
    }
    
    /* 创始人区域 - Buck Price Legacy 移动端适配 */
    .founder-section-new {
        padding: 30px 20px;
        border-radius: 18px;
        margin: 35px 0;
        background: linear-gradient(135deg, #f8f5f0 0%, #ede5d8 100%);
        box-shadow: var(--shadow-medium);
    }
    
    .founder-header {
        margin-bottom: 35px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(139, 69, 19, 0.15);
    }
    
    .founder-header h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
        color: #3d2c1f;
        font-family: 'Georgia', serif;
        text-align: center;
    }
    
    .founder-header h3 {
        font-size: 1.2rem;
        color: #8b4513;
        font-style: italic;
        text-align: center;
        margin-bottom: 0;
    }
    
    .founder-story-container {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 32px; /* iOS 8pt网格 */
        padding: 24px; /* iOS 8pt网格 */
        background: rgba(255, 255, 255, 0.95); /* 保持桌面端对比度 */
        border-radius: 16px; /* 保持iOS风格圆角 */
    }
    
    .founder-image-container {
        margin-bottom: 0;
        align-items: center;
    }
    
    .founder-photo-main {
        max-width: 260px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    .photo-caption {
        font-size: 0.8rem;
        padding: 6px 10px;
        margin-top: 8px;
    }
    
    .historical-photo {
        border: 6px solid #fff;
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.15),
            inset 0 0 0 1px rgba(139, 69, 19, 0.1);
        filter: sepia(20%) contrast(1.1) brightness(0.95);
    }
    
    .founder-content-new {
        flex: 1;
        padding-left: 0;
        padding-top: 15px;
    }
    
    .founder-bio-section {
        margin-bottom: 0;
    }
    
    .historical-text {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
        color: var(--text-dark);
        font-family: 'Georgia', serif;
    }
    
    .family-legacy-container {
        flex-direction: column;
        gap: 20px;
        padding: 24px; /* iOS 8pt网格 */
        margin-top: 32px; /* iOS 8pt网格 */
        background: rgba(255, 255, 255, 0.85); /* 保持桌面端对比度 */
        border-radius: 12px; /* 保持iOS风格圆角 */
        border: 1px solid rgba(106, 90, 205, 0.12);
    }
    
    .family-content {
        order: 1;
        padding-right: 0;
        padding-bottom: 15px;
    }
    
    .family-image-container {
        order: 2;
        align-items: center;
    }
    
    .legacy-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: var(--accent-color);
        font-family: 'Georgia', serif;
        text-align: center;
    }
    
    .family-legacy-text {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
        color: var(--text-dark);
        font-family: 'Georgia', serif;
    }
    
    .family-photo {
        max-width: 280px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    /* 信任徽章 */
    .trust-badges {
        padding: 30px 15px;
        border-radius: 18px;
        margin-bottom: 35px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* 最终CTA */
    .final-cta {
        padding: 35px 20px;
        border-radius: 18px;
        margin-bottom: 35px;
        text-align: center;
    }
    
    .final-cta h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .final-cta p {
        font-size: 0.9rem;
        margin-bottom: 25px;
        opacity: 0.9;
    }
    
    .final-cta .btn-explore {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    /* 页脚优化 */
    footer {
        padding: 30px 15px 25px;
        margin-top: 35px;
        background: #ffffff;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin: 15px 0;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    /* MBTI 弹窗优化 */
    .modal-content {
        width: 95%;
        max-width: 95%;
        padding: 20px;
        margin: 2% auto;
        max-height: 96vh;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 480px) {
    /* 移动版顶部显示 */
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 15px;
    }
    
    .logo-container {
        gap: 5px;
        white-space: nowrap; /* 再次保证移动端不竖排 */
    }
    
    .logo-container img {
        width: 32px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .main-nav ul {
        gap: 6px;
    }
    
    .main-nav ul li a, 
    .main-nav ul li .btn-install {
        font-size: 0.75rem;
        padding: 6px 8px;
        white-space: nowrap; /* 再次保证移动端不竖排 */
        min-width: 48px;     /* 移动端略小 */
        text-align: center;
    }
    
    /* 在小屏幕上进一步调整卡片宽度 */
    .feature-card {
        flex: 0 0 85vw;
        max-width: 95vw;
        margin-right: 8px;
        padding: 18px 8px;
        background: linear-gradient(135deg, #fff 50%, rgba(255,59,48,0.16) 100%);
        border: none !important;
        box-shadow: 0 2px 10px 0 rgba(255,59,48,0.10);
    }
    
    .feature-card::before {
        top: -2px; left: -2px; right: -2px; bottom: -2px;
        filter: blur(4px);
        opacity: 0.90;
    }
    
    .feature-card:hover::before {
        filter: blur(7px) brightness(1.04);
        opacity: 1;
    }
    
    .feature-icon {
        font-size: 2.1rem;
    }
    
    .feature-icon::after {
        width: 28px;
        height: 28px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    /* 去除重复的水平滚动设计，已在768px断点实现 */
    .features-grid-wrapper {
        padding: 5px 0 15px;
    }
    
    .features-grid {
        padding: 10px 12px 0;
    }
    
    /* Buck Price Legacy - 小屏幕优化 */
    .founder-section-new {
        padding: 20px 15px;
        margin: 25px 0;
    }
    
    .founder-header h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .founder-header h3 {
        font-size: 1.1rem;
    }
    
    .founder-story-container {
        gap: 15px;
        margin-bottom: 25px;
        padding: 15px;
    }
    
    .founder-photo-main {
        max-width: 220px;
        border-radius: 10px;
        margin-bottom: 8px;
    }
    
    .photo-caption {
        font-size: 0.75rem;
        padding: 5px 8px;
        margin-top: 6px;
    }
    
    .historical-photo {
        border: 4px solid #fff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
    
    .historical-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .family-legacy-container {
        gap: 15px;
        padding: 15px;
        margin-top: 20px;
    }
    
    .legacy-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .family-legacy-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .family-photo {
        max-width: 240px;
        border-radius: 10px;
        margin-bottom: 8px;
    }
    
    /* Hero区域额外美化 */
    .hero-background {
        background-image: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%),
                      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23e9d9f0' fill-opacity='0.15'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z'/%3E%3C/g%3E%3C/svg%3E");
    }
    
    /* 按钮视觉增强 */
    .hero-cta.btn-explore {
        width: 96vw !important;
        max-width: 99vw !important;
        margin: 0 auto 8px auto !important;
    }
    
    /* 调整Final CTA在小屏幕上的样式 */
    .final-cta {
        background: linear-gradient(135deg, #f8e1e8, #e6e6fa);
        padding: 30px 18px;
    }
    
    /* 创始人区域进一步压缩 */
    .founder-section-new {
        padding: 20px 15px;
    }
    
    .founder-photo-main {
        max-width: 240px;
    }
    
    .founder-content-new h2 {
        font-size: 1.3rem;
    }
    
    .founder-content-new h3 {
        font-size: 1rem;
    }
    
    /* 重新布局页脚链接 - 单行显示 */
    .footer-links {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        margin: 15px 0;
        justify-content: center;
        overflow-x: auto;
        padding: 10px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .footer-links::-webkit-scrollbar {
        display: none;
    }
    
    .footer-links a {
        font-size: 0.75rem;
        flex-shrink: 0;
        padding: 5px 8px;
        white-space: nowrap;
        color: var(--text-light);
        text-decoration: none;
    }
    
    .footer-links a:hover {
        color: var(--primary-color);
    }
    
    .lang-switch {
        padding: 5px;
        margin: 0 5px 8px 5px;
        gap: 2px;
    }
    
    .lang-btn {
        padding: 6px 6px;
        font-size: 12px;
        margin: 0 1px;
    }
    
    .selection-indicator {
        height: calc(100% - 8px);
        top: 4px;
    }
}

@media (max-width: 768px) {
    html, body {
      margin: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      overflow-x: hidden !important;
    }
    .container {
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      width: 100% !important;
      max-width: 100 !important;
    }
  }

/* 方案一：品牌红纯净光晕 */
.feature-card.glow-red::before {
    background: radial-gradient(circle, rgba(255,59,48,0.18) 0%, rgba(255,59,48,0.08) 70%, transparent 100%);
    filter: blur(7px);
    opacity: 0.92;
}
.feature-card.glow-red {
    background: #fff;
}

/* 方案二：柔和粉色光晕 */
.feature-card.glow-pink::before {
    background: radial-gradient(circle, rgba(255,209,220,0.18) 0%, rgba(255,59,48,0.06) 60%, transparent 100%);
    filter: blur(10px);
    opacity: 0.93;
}
.feature-card.glow-pink {
    background: #fff6fa;
}

/* 方案三：极简干净光晕（无杂色） */
.feature-card.glow-clean::before {
    background: radial-gradient(circle, rgba(255,59,48,0.10) 0%, transparent 80%);
    filter: blur(5px);
    opacity: 0.90;
}
.feature-card.glow-clean {
    background: #fff;
}

@media (max-width: 900px) {
  .feature-card {
    padding: 26px 14px;
  }
  .feature-card h3,
  .feature-card p {
    max-width: 98%;
  }
}
@media (max-width: 600px) {
  .feature-card {
    padding: 18px 8px;
  }
}

/* 若有.blog-card-title样式，确保如下： */
.blog-card-title {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: 4.8em;
}












