@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* Accessibility Styles */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-color: #ffffff;
        --dark-bg: #000000;
        --button-hover: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:root {
    --primary-color: #4a9fff;
    --secondary-color: #333333;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --text-color: #e0e0e0;
    --button-hover: #1e1e1e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

/* Enable cursor for accessibility */
@media (prefers-reduced-motion: no-preference) {
    * {
        cursor: none !important;
    }
}

/* Enable cursor for accessibility when reduced motion is preferred */
@media (prefers-reduced-motion: reduce) {
    * {
        cursor: auto !important;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: linear-gradient(to bottom, rgba(18, 18, 18, 1), rgba(12, 12, 12, 1));
    cursor: default;
    position: relative;
}

/* Light beam effect */
.light-beam {
    position: fixed;
    pointer-events: none;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 40%,
        transparent 70%
    );
    mix-blend-mode: overlay;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    filter: blur(4px);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

/* Hero section */
.hero {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 159, 255, 0.03) 0%, transparent 70%);
    z-index: -1;
}

.glitch-text {
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 2px;
    position: relative;
}

.tagline {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Description */
.description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.description p {
    margin-bottom: 15px;
    font-weight: 300;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.social-button {
    width: 200px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
}

.social-button:hover {
    background-color: var(--button-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.social-button i {
    font-size: 20px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.social-button:hover i {
    transform: scale(1.1);
}

.social-button span {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.instagram:hover i {
    color: #E1306C;
}

.twitter:hover i {
    color: #1DA1F2;
}

.xiaohongshu:hover i {
    color: #fe2c55;
}

.telegram:hover i {
    color: #0088cc;
}

/* Features section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 25px;
    border-radius: 8px;
    background-color: rgba(35, 35, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(74, 159, 255, 0.1);
    font-size: 25px;
    color: var(--primary-color);
}

.feature h3 {
    margin-bottom: 12px;
    font-weight: 500;
}

.feature p {
    opacity: 0.8;
    line-height: 1.5;
    font-weight: 300;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 0;
    opacity: 0.7;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

/* Media queries */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 3rem;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        padding: 20px;
    }
    
    .light-beam {
        width: 180px;
        height: 180px;
    }
}

/* Remove cursor class */
.cursor {
    display: none;
}

/* Language switch */
.language-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: rgba(35, 35, 35, 0.7);
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.lang-btn.active {
    background: var(--primary-color);
    opacity: 1;
}

.lang-btn:hover {
    opacity: 1;
}

/* 光球样式 */
.cursor-light {
    position: fixed;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    filter: blur(1px);
} 