/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* 基础样式 */
:root {
    --primary-color: #1a90ff;
    --secondary-color: #096dd9;
    --background-color: #000000;
    --text-color: #ffffff;
    --text-muted: rgb(140, 152, 164);
    --light-gray: #1f1f1f;
    --border-color: #333333;
    --gradient-text: linear-gradient(26deg, #ffd89b, #19547b);
    --primary-hover: #4096ff;
    --text-secondary: #888;
    --bg-color: #000;
    --bg-secondary: #111;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes metalShine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

/* 打字机效果 */
.typewriter {
    margin-bottom: 30px;
    height: 30px;
}

.typed-text {
    font-size: 24px;
    color: var(--text-muted);
    font-weight: 500;
}

.cursor {
    font-size: 24px;
    color: var(--text-muted);
    font-weight: 500;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 布局 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 40px;
}

.logo {
    width: 180px;
    height: 43px;
    display: block;
}

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

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.nav .register {
    background: var(--primary-color);
    padding: 8px 24px;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav .register:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* 主要内容区 */
.main {
    padding-top: 70px;
    min-height: calc(100vh - 70px);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    animation: fadeIn 1s ease-out;
}

.title, .subtitle {
    background: linear-gradient(26deg, #ffd89b, #19547b);
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.title {
    margin-bottom: 10px;
}

.subtitle {
    animation-delay: 0.2s;
}

.domain {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.bookmark-tip {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

/* 按钮 */
.buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 1s backwards;
}

.btn {
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 下载区域 */
.download {
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out 1.2s backwards;
}

.download h3 {
    font-weight: normal;
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.download-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.download-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.download-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 运营商logo区域 */
.carriers {
    padding: 4rem 0;
    background-color: var(--background-color);
}

/* 移动端菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        gap: 15px;
    }

    .nav.active {
        display: flex;
    }

    .title, .subtitle {
        font-size: 42px;
        background-size: 300% auto;
    }

    .buttons {
        flex-direction: column;
    }

    .download-links {
        flex-direction: column;
        align-items: stretch;
    }

    .owl-item {
        width: 100px;
        margin-right: 20px;
    }
    
    .img-fluid {
        width: 96px;
        height: 23px;
    }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #1677ff;
        --primary-hover: #4096ff;
        --text-color: #fff;
        --text-secondary: #888;
        --bg-color: #000;
        --bg-secondary: #111;
        --border-color: rgba(255, 255, 255, 0.2);
    }
}

/* 布局 */
section {
    padding: 5rem 0;
}

/* 文字颜色样式 */
.text-muted {
    color: var(--text-muted) !important;
}

/* 更新其他使用灰色文字的地方 */
.domain,
.bookmark-tip,
.price span,
.price-card li,
footer {
    color: var(--text-muted);
} 