/* 全局样式 */
:root {
    --apple-blue: #0071e3;
    --apple-gray: #86868b;
    --apple-light-gray: #f5f5f7;
    --apple-dark: #1d1d1f;
    --apple-white: #ffffff;
    --glass-bg: rgba(25, 25, 35, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--apple-white);
    background: linear-gradient(135deg, #121212 0%, #1e3a5f 100%);
    background-attachment: fixed;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
    cursor: none;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgxMzUpIj48cmVjdCBpZD0icGF0dGVybi1iZyIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjAyKSI+PC9yZWN0PjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjEiIGZpbGwtb3BhY2l0eT0iMC4xIiBmaWxsPSIjZmZmZmZmIj48L2NpcmNsZT48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IGZpbGw9InVybCgjcGF0dGVybikiIGhlaWdodD0iMTAwJSIgd2lkdGg9IjEwMCUiPjwvcmVjdD48L3N2Zz4=');
    opacity: 0.3;
    z-index: -1;
}

/* 鼠标跟随效果 */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    z-index: 9999;
}

.cursor-hover {
    width: 40px;
    height: 40px;
    border-color: var(--apple-blue);
    mix-blend-mode: difference;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    z-index: 1;
}

/* 导航栏样式 */
header {
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 25px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--apple-white);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--apple-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--apple-blue);
}

/* 主要内容样式 */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    text-align: center;
}

.hero {
    margin-bottom: 40px;
    padding: 20px;
    animation: pulse 2s infinite alternate;
    width: 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.03);
    }
}

h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--apple-white);
    text-shadow: 0 2px 15px rgba(0, 113, 227, 0.5);
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(0,113,227,0) 0%, rgba(0,113,227,1) 50%, rgba(0,113,227,0) 100%);
    border-radius: 3px;
}

.subtitle {
    font-size: 14px;
    color: var(--apple-white);
    opacity: 0.8;
    font-weight: 400;
    margin-top: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 10px;
}

.message {
    background-color: var(--glass-bg);
    padding: 20px 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    max-width: 90%;
}

.message p {
    font-size: 16px;
    color: var(--apple-white);
    opacity: 0.9;
}

/* 按钮样式 */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 50px;
}

.apple-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.apple-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.apple-button:hover::before {
    transform: translateX(100%);
}

.apple-button.primary {
    background-color: var(--apple-blue);
    color: var(--apple-white);
    animation: pulse-button 2s infinite alternate;
}

@keyframes pulse-button {
    0% {
        box-shadow: 0 4px 20px rgba(0, 113, 227, 0.4);
    }
    100% {
        box-shadow: 0 4px 30px rgba(0, 113, 227, 0.7);
    }
}

.apple-button.primary:hover {
    background-color: #0077ed;
    box-shadow: 0 6px 25px rgba(0, 113, 227, 0.4);
    transform: translateY(-2px);
}

.apple-button.primary::after {
    content: '→';
    margin-left: 10px;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.apple-button.primary:hover::after {
    opacity: 1;
    transform: translateX(5px);
}

.apple-button.secondary {
    background-color: var(--glass-bg);
    color: var(--apple-white);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: pulse-button-secondary 2s infinite alternate;
}

@keyframes pulse-button-secondary {
    0% {
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 0 4px 30px rgba(255, 255, 255, 0.2);
    }
}

.apple-button.secondary:hover {
    background-color: rgba(35, 35, 45, 0.8);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.apple-button.secondary::after {
    content: '→';
    margin-left: 10px;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.apple-button.secondary:hover::after {
    opacity: 1;
    transform: translateX(5px);
}

.button-text {
    flex: 1;
    text-align: center;
    position: relative;
}

.latency {
    font-size: 14px;
    opacity: 0.7;
    font-weight: 400;
    margin-left: 10px;
}

/* 特性卡片 */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--apple-blue);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--apple-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--apple-gray);
}

/* 页脚样式 */
footer {
    background-color: var(--glass-bg);
    padding: 15px;
    text-align: center;
    font-size: 14px;
    color: var(--apple-white);
    opacity: 0.7;
    border-radius: 16px;
    margin-top: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .container {
        padding: 15px;
    }
    
    .subtitle {
        font-size: 12px;
        white-space: normal;
        line-height: 1.4;
    }
    
    .apple-button {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .latency {
        font-size: 12px;
    }
    
    .cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    .hero {
        padding: 10px;
        margin-bottom: 30px;
    }
    
    .buttons {
        max-width: 100%;
    }
}

/* 针对更小屏幕的优化 */
@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    .apple-button {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .subtitle {
        margin-top: 15px;
        padding: 0 5px;
    }
} 