/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --foreground-rgb: 51, 51, 51;
    --background-rgb: 255, 255, 255;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    color: rgb(var(--foreground-rgb));
    background: rgb(var(--background-rgb));
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    min-height: 100vh;
}

/* Navigation styles */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-right: 1rem;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #333;
}

.language-switcher {
    display: flex;
    gap: 8px;
    cursor: pointer;
}

.lang-option {
    padding: 4px 8px;
    border-radius: 4px;
}

.lang-option.active {
    background-color: #f0f0f0;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #333;
}

/* Hero section styles */
.hero-container {
    min-height: 100vh;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 42rem;
    margin: 0 auto;
    padding-top: 4rem;
}

.logo-wrapper {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 1.25rem;
    width: 540px;
    height: 144px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 200;
    color: #333;
    margin-bottom: 1rem;
}

.hero-description {
    color: #666;
    font-size: 1 rem;
    line-height: 1.7;
    font-weight: 200;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.75rem;
    padding: 0 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.button-yellow {
    background-color: #FFF216;
    color: black;
    width: 230px;
}

.button-yellow:hover {
    background-color: rgba(255, 242, 22, 0.9);
}

.ios-only {
    font-size: 0.875rem;
    color: #999;
}

/* Features section styles */
.features-container {
    background-color: #181821;
    padding: 6rem 1rem;
}

.features-title {
    color: white;
    font-size: 1.875rem;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background-color: #2A2A36;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #CCC;
}

/* Changelog and Contacts sections */
.changelog-container {
    padding: 4rem 1rem;
    text-align: center;
}

.changelog-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.changelog-title {
    font-size: 1.875rem;
    color: #333;
    margin-bottom: 2rem;
}

.contact-info {
    color: #666;
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    color: #999;
    font-size: 0.875rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Changelog 样式 */
.changelog-item {
    margin-bottom: 20px;
    text-align: left;
}

.changelog-date {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
}

.changelog-description {
    display: block;
    color: #666;
}

/* Contacts 样式 */
.contacts-container {
    background-color: #F8F8F8;
    padding: 60px 40px;
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item p {
    margin: 0;
}

/* 语言切换器样式 */
.language-toggle {
    display: flex;
    position: relative;
}

.language-toggle div {
    transition: all 0.2s ease;
}

.language-toggle div.active {
    background-color: white;
}

/* 添加一些通用的 Tailwind 类样式 */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.bg-\[\#F8F8F8\] {
    background-color: #F8F8F8;
}

.rounded-full {
    border-radius: 9999px;
}

.p-1 {
    padding: 0.25rem;
}

.cursor-pointer {
    cursor: pointer;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

@media (min-width: 768px) {
    .md\:hidden {
        display: none;
    }
}

/* 菜单按钮样式 */
.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 0.375rem;
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.menu-button:hover {
    background-color: var(--accent-color, #f3f4f6);
}

.menu-button:focus-visible {
    outline: none;
    ring: 1px solid var(--ring-color, #e5e7eb);
}

/* Scroll down 样式 */
.scroll-down {
    cursor: pointer;
    padding: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.scroll-down:hover {
    opacity: 1;
}

/* 添加动画效果 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.scroll-down svg {
    animation: bounce 2s infinite;
}

/* 移动端菜单样式 */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.mobile-link:hover {
    background-color: #f3f4f6;
    color: #333;
}

/* 修改现有的菜单按钮样式 */
.menu-button {
    position: relative;
    z-index: 60;
}

.menu-button.active {
    background-color: #f3f4f6;
} 