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

:root {
    --nav-bg: rgb(30, 30, 30);
    --page-bg: rgb(30, 30, 30);
    --text-color: rgb(231, 226, 223);
    --button-color: rgb(184, 152, 129);
    --button-hover: rgb(200, 170, 150);
}

body {
    background-color: var(--page-bg);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Source Sans Pro', sans-serif;
    overflow-x: hidden;
}

/* 导航栏 */
header {
    background-color: var(--nav-bg);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.nav-dropdown-btn,
.nav-dropdown-content a {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-tap-highlight-color: transparent;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-family: 'Source Sans Pro', sans-serif;
}

.nav-links {
    position: relative;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    background: transparent;
    border: none;
    color: var(--text-color);         
    font-size: 0.9rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 0;
    outline: none;
    box-shadow: none;
}

.nav-dropdown-btn:hover {
    color: var(--button-color);
}

.nav-dropdown-btn.active {
    color: var(--button-color);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--nav-bg);
    width: max-content;
    min-width: 80px;
    max-width: 160px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 6px 0;
    z-index: 1000;
    flex-direction: column;
}

.nav-dropdown-content.show {
    display: flex;
}

.nav-dropdown-content a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 14px;
    font-size: 0.85rem;
    transition: background 0.2s ease;
    white-space: nowrap;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.nav-dropdown-content a:hover {
    background: var(--highlight-color);
    color: var(--button-color);
}

.nav-dropdown-content a::after {
    display: none !important;
}

.nav-dropdown-btn,
.nav-dropdown-content a {
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
}

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

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--button-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--button-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    position: relative;
    flex-wrap: wrap;
}

/* 左侧面板：黄金比例基础 */
.left-panel {
    flex: 1 1 61.8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding-right: 30px;
    min-width: 320px;
    position: relative;
    z-index: 3;
}

/* 右侧面板（预留） */
.right-panel {
    flex: 1 1 38.2%;
    min-width: 240px;
    position: relative;
    z-index: 3;
}

/* 按钮样式 */
.action-button {
    background-color: var(--button-color);
    color: var(--text-color);
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

@media (min-width: 1200px) {
    .action-button {
        max-width: 360px;
    }
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.action-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background-color: var(--button-hover);
}

.action-button:hover::before {
    left: 100%;
}

.button-title {
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.button-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.9;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
}

/* 英文标题贯穿设计（大屏和手机版统一为绝对定位背景） */
.english-titles {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 6vw, 100px);
    z-index: 1;
    pointer-events: none;
    flex-wrap: nowrap;
}

.english-title {
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 900;
    color: var(--text-color);
    text-transform: uppercase;
    line-height: 1;
    opacity: 0.1;
    animation: fadeInOut 8s ease-in-out infinite;
    font-family: 'Source Sans Pro', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.english-title:nth-child(1) { animation-delay: 0s; }
.english-title:nth-child(2) { animation-delay: 2.6s; }
.english-title:nth-child(3) { animation-delay: 5.2s; }



@keyframes fadeInOut {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

/* 手机版：仅调整标题透明度、排列方式，保留绝对定位背景 */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 70vh;
        padding: 20px;
    }
    
    .left-panel {
        flex: 0 1 auto;
        width: 100%;
        padding-right: 0;
        align-items: center;
        margin: 0;
        gap: 20px;
        z-index: 3;
    }
    
    .right-panel {
        display: none;
    }
    
    .action-button {
        max-width: 380px;
        width: 100%;
        z-index: 3;
    }
    
    .english-titles {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        z-index: 1;
    }
    
    .english-title {
        font-size: clamp(4rem, 22vw, 10rem);
        opacity: 0.3;
        white-space: nowrap;
        animation: fadeInOut 8s ease-in-out infinite;
        flex-shrink: 1;
    }
    
    .left-panel {
        margin-bottom: 10vh;
    }
}

/* 同时调整横屏手机，避免覆盖 */
@media (max-width: 896px) and (orientation: landscape) {
    .english-titles {
        flex-direction: row;
        gap: 20px;
    }
    .english-title {
        font-size: clamp(3rem, 15vw, 7rem);
        opacity: 0.25;
    }
}

/* 更小屏幕微调 */
@media (max-width: 480px) {
    .nav-links {
        gap: 12px;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    .logo {
        font-size: 1rem;
    }
    .footer-container {
        font-size: 0.7rem;
    }
    .action-button {
        max-width: 320px;
        padding: 12px 16px;
    }
    .english-title {
        font-size: clamp(2rem, 12vw, 4rem);
        opacity: 0.18;
    }
    .left-panel {
        margin-bottom: 8vh;
    }
}

/* 横屏手机优化：标题水平排列，保持背景感 */
@media (max-width: 896px) and (orientation: landscape) {
    .main-content {
        min-height: 80vh;
    }
    .english-titles {
        flex-direction: row;
        gap: 15px;
    }
    .english-title {
        font-size: clamp(1.8rem, 10vw, 3.5rem);
    }
    .left-panel {
        margin-bottom: 5vh;
    }
}

/* 页脚 */
footer {
    background-color: var(--nav-bg);
    padding: 15px 0;
    font-size: 0.8rem;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Source Sans Pro', sans-serif;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* 波纹动画 */
@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* SEO 新增：h1 样式与布局融合，不破坏原设计 */
.seo-h1 {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
