/* 全局样式 */
:root {
    --primary-color: #7180f5;
    --primary-dark: #697ae4;
    --text-color: #1a1a2e;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #fff;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(113, 128, 245, 0.2);
    --shadow-glow: 0 0 40px rgba(113, 128, 245, 0.3);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--gradient-bg);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(113, 128, 245, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: backgroundPulse 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* 动画关键帧 - 更快的版本 */
@keyframes fadeInFast {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpFast {
    from { 
        transform: translateY(20px); /* 减小移动距离 */
        opacity: 0;
    }
    to { 
        transform: translateY(0); 
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from { 
        transform: translateX(-50px); 
        opacity: 0;
    }
    to { 
        transform: translateX(0); 
        opacity: 1;
    }
}

@keyframes slideInRight {
    from { 
        transform: translateX(50px); 
        opacity: 0;
    }
    to { 
        transform: translateX(0); 
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 容器样式 */
.nav-container, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: slideInLeft 0.5s ease-out;
    transition: all 0.3s ease;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(113, 128, 245, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

header:hover::before {
    opacity: 1;
}

.promo-banner {
    background-color: var(--bg-light);
    color: var(--text-color);
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    animation: fadeInFast 1s ease-out;
}

.promo-banner a {
    font-weight: 600;
    margin-left: 5px;
    transition: var(--transition);
}

.promo-banner a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

nav {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo 样式更新 */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo img {
    height: 32px; /* 调整图片高度 */
    margin-right: 10px; /* 图片和文字之间的间距 */
}

.logo h1, .logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    transition: var(--transition);
    margin: 0; /* 移除默认边距 */
}

.logo a:hover h1, .logo a:hover h2 {
    color: var(--primary-color);
}

.nav-links-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

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

.dropbtn {
    background-color: transparent;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.dropbtn:hover {
    color: var(--primary-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    z-index: 1;
    padding: 10px 0;
    margin-top: 10px;
    left: -20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 10px 20px;
    display: block;
    font-weight: 400;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.login-btn, .trial-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.login-btn {
    color: var(--text-color);
    background: rgba(113, 128, 245, 0.05);
    border: 2px solid transparent;
}

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

.login-btn:hover {
    background: rgba(113, 128, 245, 0.1);
    transform: translateY(-2px);
    border-color: rgba(113, 128, 245, 0.3);
}

.login-btn:hover::before {
    left: 100%;
}

.trial-btn {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(113, 128, 245, 0.4);
    border: none;
}

.trial-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trial-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(113, 128, 245, 0.5);
}

.trial-btn:hover::before {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
    padding: 8px;
    border-radius: 8px;
    z-index: 101;
    position: relative;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
    background: rgba(113, 128, 245, 0.1);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu-btn svg {
    display: block;
    pointer-events: none;
}

/* 主要内容样式 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Lottie 动画容器样式 */
#lottie-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    min-height: 420px;
    z-index: 1;
}

/* 在移动设备上调整动画大小 */
@media (max-width: 768px) {
    #lottie-container {
        max-width: 300px;
        min-height:300px;
    }
}

/* 英雄区域 - 更快的动画 */
.hero {
    padding: 80px 0 20px;
    text-align: center;
    animation: fadeInFast 0.3s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(113, 128, 245, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: heroGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 0.8; }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #1a1a2e;
    animation: slideUpFast 0.25s ease-out forwards;
    opacity: 0;
    letter-spacing: -0.01em;
    position: relative;
}

.hero p {
    font-size: 20px;
    margin-bottom: 18px;
    color: var(--text-light);
    animation: slideUpFast 0.25s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.05s);
    opacity: 0;
    font-weight: 400;
    line-height: 1.8;
    max-width: 700px;
}

.hero p:nth-child(2) {
    --i: 1; /* 第二段落延迟 0.05s */
}

.hero p:nth-child(3) {
    --i: 2; /* 第三段落延迟 0.1s */
}

.hero p:nth-child(4) {
    --i: 3; /* 第四段落延迟 0.15s */
}

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUpFast 0.25s ease-out forwards;
    animation-delay: 0.2s;
    box-shadow: 0 10px 30px rgba(113, 128, 245, 0.4);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(113, 128, 245, 0.5), 0 0 20px rgba(113, 128, 245, 0.3);
}

/* 安全区域 */
.security {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 24px;
    margin: 60px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.security::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(113, 128, 245, 0.1) 0%, transparent 70%);
    animation: securityGlow 10s linear infinite;
}

@keyframes securityGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.security.visible {
    opacity: 1;
    transform: translateY(0);
}

.security h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.security p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.devices {
    max-width: 800px;
    margin: 0 auto;
}

.devices img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s; /* 更快的过渡 */
    animation: float 4s ease-in-out infinite; /* 更快的浮动动画 */
}

.devices img:hover {
    transform: scale(1.02);
}

/* 功能区域 */
.features {
    padding: 80px 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}

.features.visible {
    opacity: 1;
    transform: translateY(0);
}

.features h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.features p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px) rotateX(10deg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    perspective: 1000px;
}

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

.feature-card:hover::before {
    left: 100%;
}

.feature-card.visible {
    animation: cardAppear 0.5s forwards;
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(0deg);
    box-shadow: 0 25px 60px rgba(113, 128, 245, 0.25), 0 0 40px rgba(113, 128, 245, 0.15);
    border-color: rgba(113, 128, 245, 0.3);
}

.feature-card img {
    max-width: 100%;
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover img {
    transform: scale(1.08) rotate(-2deg);
}

/* 特性卡片内容在动画触发前完全不可见 */
.feature-card-content {
    opacity: 0; /* 整个内容区域默认不可见 */
    visibility: hidden; /* 确保完全不可见 */
    transition: opacity 0.3s, visibility 0.3s;
}

.feature-card.text-visible .feature-card-content {
    opacity: 1;
    visibility: visible;
}

/* 特性卡片文字元素初始状态 */
.feature-card h3,
.feature-card p {
    opacity: 0;
    transform: translateY(30px);
    transition: none; /* 移除过渡，使用动画代替 */
}

/* 特性卡片文字动画 */
.feature-card h3.element-visible {
    animation: featureSlideUp 0.8s ease-out forwards;
}

.feature-card p.element-visible {
    animation: featureSlideUp 0.8s ease-out forwards;
}

/* 保持图片的过渡效果 */
.feature-card img {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card img.element-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 添加特性卡片文字滑入动画 */
@keyframes featureSlideUp {
    from { 
        transform: translateY(40px); /* 更大的移动距离 */
        opacity: 0;
    }
    to { 
        transform: translateY(0); 
        opacity: 1;
    }
}

/* CTA 区域 */
.cta {
    text-align: center;
    padding: 80px 0;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    margin: 40px 0;
    opacity: 0;
    transform: translateY(20px); /* 减小移动距离 */
    transition: opacity 0.4s, transform 0.4s; /* 更快的过渡 */
}

.cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* 页脚 */
footer {
    background-color: var(--bg-light);
    padding: 60px 0;
    opacity: 0;
    animation: fadeInFast 1s ease-out forwards;
    animation-delay: 0.5s;
}

.footer-top {
    text-align: center;
    margin-bottom: 40px;
}

.footer-top .logo h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-top p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-section a {
    display: block;
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 鼠标光晕效果 */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(113, 128, 245, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}

/* 数字计数器样式 */
.counter {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    transition: transform 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 32px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cursor-glow {
        display: none;
    }
    
    .hero {
        padding: 60px 0 50px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .cta-button {
        padding: 15px 36px;
        font-size: 18px;
        width: 100%;
        max-width: 400px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links-container {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        margin-left: 0;
        z-index: 99;
        border-bottom: 1px solid rgba(113, 128, 245, 0.1);
    }
    
    .nav-links-container.active {
        transform: translateY(0);
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-icon {
        width: 100px;
        height: 100px;
        margin-left: 5px;
    }
    
    .auth-buttons {
        margin-top: 20px;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        padding: 0;
        margin-top: 10px;
    }
    
    .dropdown:hover .dropdown-content {
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h2 {
        font-size: 26px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .security h2, .features h2, .cta h2 {
        font-size: 26px;
    }
}

/* 桌面端特性卡片网格垂直排布 - 图片都在左边 */
@media (min-width: 769px) {
    .feature-grid {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }
    
    .feature-card {
        display: flex;
        flex-direction: row; /* 所有卡片都是图片在左，文字在右 */
        align-items: center;
        padding: 30px;
        background-color: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        transition: transform 0.3s, box-shadow 0.3s;
        margin-bottom: 40px;
        width: 100%;
    }
    
    .feature-card img {
        width: 45%;
        height: auto;
        border-radius: 12px;
        margin: 0;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* 文字内容容器 */
    .feature-card-content {
        width: 50%;
        display: flex;
        flex-direction: column;
        padding-left: 30px; /* 所有卡片的文字内容都在右侧，左侧有内边距 */
        align-items: flex-start; /* 确保内容左对齐 */
        justify-content: flex-start; /* 内容靠上显示，不居中 */
        align-self: flex-start; /* 在父容器中靠上对齐 */
        padding-top: 20px; /* 顶部添加一些内边距 */
    }
    
    .feature-card h3 {
        font-size: 24px;
        margin-bottom: 20px;
        width: 100%;
        text-align: left; /* 确保文字左对齐 */
    }
    
    .feature-card p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 5px; /* 从15px减小到5px */
        width: 100%;
        text-align: left;
    }
    
    /* 段落垂直排布 - 减小间距 */
    .feature-card .paragraphs-container {
        display: flex;
        flex-direction: column;
        gap: 2px; /* 减小段落之间的间距，从15px改为8px */
        width: 100%;
    }
    
    /* 确保最后一个段落没有底部边距 */
    .feature-card p:last-child {
        margin-bottom: 0;
    }
    
    /* 标题和段落容器之间的间距 */
    .feature-card h3 {
        margin-bottom: 15px; /* 从20px减小到15px */
    }
    
    /* 移除奇偶卡片的不同样式 */
    .feature-card:nth-child(even) .feature-card-content {
        padding-right: 0;
        align-items: flex-start; /* 左对齐文本内容 */
        text-align: left;
    }
}

@keyframes tessieSlideUp {
    from { 
        transform: translateY(30px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* 移动端保持原有的纵向布局 */
@media (max-width: 768px) {
    .feature-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        border-radius: 20px;
        padding: 30px;
    }
    
    .feature-card h3 {
        font-size: 22px;
    }
    
    .feature-card img {
        width: 100%;
    }
    
    .feature-card h3, 
    .feature-card p {
        width: 100%;
        padding: 0;
    }
}

/* 统一修改所有分辨率下的段落间距 */

/* 段落垂直排布 - 减小间距 (适用于所有分辨率) */
.feature-card .paragraphs-container {
    display: flex;
    flex-direction: column;
    gap: 8px; /* 统一的段落间距 */
    width: 100%;
}

/* 减小段落之间的间距 (适用于所有分辨率) */
.feature-card p {
    font-size: 16px;
    line-height: 1.6; /* 稍微减小行高 */
    margin-bottom: 5px; /* 统一的底部边距 */
    width: 100%;
    text-align: left;
}

/* 确保最后一个段落没有底部边距 (适用于所有分辨率) */
.feature-card p:last-child {
    margin-bottom: 0;
}

/* 标题和段落容器之间的间距 (适用于所有分辨率) */
.feature-card h3 {
    margin-bottom: 15px; /* 统一的标题底部边距 */
}

/* 确保移动端也使用相同的间距 */
@media (max-width: 768px) {
    .feature-card .paragraphs-container {
        gap: 8px; /* 保持与桌面版相同 */
    }
    
    .feature-card p {
        margin-bottom: 5px; /* 保持与桌面版相同 */
    }
    
    .feature-card h3 {
        margin-bottom: 15px; /* 保持与桌面版相同 */
    }
}

/* 联系我们区域 */
.contact {
    padding: 80px 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.contact.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(113, 128, 245, 0.2);
}

.contact-item svg {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-item p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.email-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(113, 128, 245, 0.3);
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(113, 128, 245, 0.4);
}

.contact-form-wrapper {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(113, 128, 245, 0.2);
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(113, 128, 245, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.submit-btn {
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(113, 128, 245, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(113, 128, 245, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact h2 {
        font-size: 28px;
    }
    
    .contact > p {
        font-size: 16px;
    }
    
    .contact-item,
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}