* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0f172a;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 桌面版隐藏移动版按钮 */
.mobile-auth-buttons,
.mobile-user-info {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    * {
        max-width: 100%;
    }

    html {
        overflow-x: hidden;
    }
}

/* Header */
header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav > div {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-size: 1.25rem;
}

.logo::before {
    content: "▶";
    font-size: 1.25rem;
    color: #60a5fa;
    font-weight: 400;
}

@media (max-width: 768px) {
    .logo::before {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: -0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: #ffffff;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 10rem 0 8rem;
    color: white;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 70%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: pulse 10s ease-in-out infinite reverse;
}

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

.hero > .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    color: #94a3b8;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 0.9375rem;
    opacity: 0.7;
    margin-bottom: 3.5rem;
    animation: fadeInUp 1.2s ease-out;
    letter-spacing: 0.02em;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out;
    margin-top: 1rem;
}

.btn {
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
    min-width: 140px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    border: 2px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(30, 41, 59, 1);
    border-color: rgba(148, 163, 184, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* 小按钮样式 */
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    min-width: 80px;
    width: auto;
}

/* Features Section */
.features {
    background: #1e293b;
    padding: 7rem 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(15, 23, 42, 0.4);
    padding: 1.25rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(148, 163, 184, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(15, 23, 42, 0.6);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.625rem;
    display: block;
    color: #60a5fa;
    line-height: 1;
    text-align: center;
}

.feature-card h3 {
    font-size: 0.9375rem;
    margin-bottom: 0;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: center;
    line-height: 1.3;
}


/* Screenshot Section */
.screenshot {
    background: #0f172a;
    padding: 7rem 0;
    position: relative;
}

.screenshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
}

.screenshot-placeholder {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 5rem 4rem;
    text-align: center;
    color: #94a3b8;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
}

.screenshot-placeholder p {
    font-size: 1rem;
    opacity: 0.6;
    letter-spacing: 0.02em;
}

/* Details Section */
.details {
    background: #1e293b;
    padding: 7rem 0;
    position: relative;
}

.details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    text-align: left;
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s;
}

.detail-item:hover {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(15, 23, 42, 0.6);
    transform: translateX(4px);
}

.detail-item:hover::before {
    opacity: 1;
}

.detail-item h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #60a5fa;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.detail-item ul {
    list-style: none;
}

.detail-item li {
    padding: 0.625rem 0;
    color: #94a3b8;
    position: relative;
    padding-left: 1.75rem;
    transition: all 0.2s;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.detail-item li:hover {
    color: #ffffff;
    padding-left: 2rem;
}

.detail-item li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: normal;
    transition: transform 0.2s;
}

.detail-item li:hover::before {
    transform: translateX(4px);
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: left;
}

.footer-section p,
.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.2s;
    font-size: 0.8rem;
    text-align: left;
}

.footer-section a:hover {
    color: #60a5fa;
}

.copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
}

.copyright .disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    opacity: 0.8;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 1.5rem 2rem;
    z-index: 10000;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.6;
}

.cookie-consent-text a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #3b82f6;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(30, 41, 59, 1);
    border-color: rgba(148, 163, 184, 0.5);
    color: white;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.25rem 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-consent-text {
        text-align: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}

.mobile-menu-toggle:hover {
    color: #ffffff;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }

    .nav-links a {
        font-size: 1rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }

    /* 移动版隐藏桌面版按钮 */
    .desktop-auth-buttons {
        display: none;
    }

    /* 移动版按钮样式 */
    .mobile-auth-buttons {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-mobile {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Language selector mobile */
    .language-selector {
        margin-top: 0;
        position: relative;
    }

    .language-dropdown {
        right: 0;
        left: auto;
        min-width: 140px;
        max-width: min(180px, calc(100vw - 32px));
        transform-origin: top right;
    }

    /* Hero section */
    .hero {
        padding: 6rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        margin-bottom: 2.5rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
        margin: 0.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        min-width: auto;
    }

    /* Features */
    .features {
        padding: 4rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
    }

    .feature-card {
        padding: 0.875rem 0.5rem;
        min-height: 85px;
    }

    .feature-icon {
        font-size: 1.25rem;
        margin-bottom: 0.375rem;
    }

    .feature-card h3 {
        font-size: 0.75rem;
        margin-bottom: 0;
    }


    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Screenshot */
    .screenshot {
        padding: 4rem 0;
    }

    .screenshot-placeholder {
        padding: 3rem 2rem;
        min-height: 300px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .footer-section {
        text-align: left;
    }

    footer {
        padding: 3rem 0 1.5rem;
    }

    .copyright {
        font-size: 0.85rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .copyright .disclaimer {
        font-size: 0.75rem;
        margin-top: 0.75rem;
        padding: 0 1rem;
    }

    .cookie-consent {
        padding: 1rem;
    }

    .cookie-consent-text {
        font-size: 0.8125rem;
    }

    /* Scroll to top */
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    /* Container padding */
    .container {
        padding: 0 16px;
    }

    /* Header */
    header {
        padding: 1rem 0;
        width: 100%;
        box-sizing: border-box;
    }

    nav.container {
        padding: 0 16px;
    }

    nav.container {
        padding: 0 16px;
    }

    nav {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
    }

    nav > div:last-child {
        order: 3;
        gap: 1rem;
    }

    .logo {
        order: 2;
        margin: 0 auto;
        flex: 1;
        text-align: center;
        font-size: 1.125rem;
    }

    .mobile-menu-toggle {
        order: 1;
        margin-right: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .feature-card {
        padding: 0.75rem 0.375rem;
        min-height: 80px;
    }

    .feature-icon {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }

    .feature-card h3 {
        font-size: 0.6875rem;
    }

    .container {
        padding: 0 12px;
    }

    nav.container {
        padding: 0 12px;
    }
}

/* Badge */
.badge {
    display: inline-block;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    margin: 0 0.375rem;
    color: #cbd5e1;
    backdrop-filter: blur(10px);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
    margin: 0;
    border: none;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: rgba(37, 99, 235, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

/* Enhanced feature card animations */
.feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }
.feature-card:nth-child(9) { animation-delay: 0.9s; }
.feature-card:nth-child(10) { animation-delay: 1.0s; }
.feature-card:nth-child(11) { animation-delay: 1.1s; }
.feature-card:nth-child(12) { animation-delay: 1.2s; }

/* Loading animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Enhanced gradient text */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced badge styles */
.badge {
    position: relative;
    overflow: hidden;
}

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

.badge:hover::before {
    left: 100%;
}

/* Improved screenshot placeholder */
.screenshot-placeholder {
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: shimmer 3s infinite;
}

/* Enhanced button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.language-btn:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(148, 163, 184, 0.4);
    color: #ffffff;
}

.language-btn::after {
    content: "▼";
    font-size: 0.7rem;
    opacity: 0.7;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

@media (max-width: 768px) {
    .language-dropdown {
        right: 0;
        left: auto;
        min-width: 140px;
        max-width: calc(100vw - 32px);
        transform-origin: top right;
    }
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.language-option:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.language-option.active {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    font-weight: 600;
}

.language-option::before {
    content: "✓";
    opacity: 0;
    width: 16px;
    text-align: center;
    transition: opacity 0.2s;
}

.language-option.active::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .language-selector {
        position: relative;
    }

    .language-dropdown {
        right: 0;
        left: auto;
        min-width: 140px;
        max-width: calc(100vw - 32px);
    }
}

/* 注册模态框样式 */
.register-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.register-modal.active {
    display: flex;
    opacity: 1;
}

.register-modal-content {
    background: #1e293b;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.register-modal.active .register-modal-content {
    transform: scale(1);
}

.register-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.register-modal-header h2 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.register-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.register-close:hover {
    color: #ffffff;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #cbd5e1;
    font-size: 0.9375rem;
    font-weight: 500;
}

.form-group input {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: #ffffff;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group input::placeholder {
    color: #64748b;
}

.register-submit {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
}

.register-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.register-message {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-top: 1rem;
    display: none;
}

.register-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.register-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

@media (max-width: 768px) {
    .register-modal-content {
        padding: 2rem 1.5rem;
    }

    .register-modal-header h2 {
        font-size: 1.5rem;
    }
}

/* 登录模态框样式（复用注册模态框样式） */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-modal.active {
    display: flex;
    opacity: 1;
}

.login-modal-content {
    background: #1e293b;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.login-modal.active .login-modal-content {
    transform: scale(1);
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.login-modal-header h2 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.login-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.login-close:hover {
    color: #ffffff;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-submit {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
}

.login-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-message {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-top: 1rem;
    display: none;
}

.login-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.login-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

/* 用户信息显示 */
#userInfo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#userName {
    color: #cbd5e1;
    font-size: 0.9375rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .login-modal-content {
        padding: 2rem 1.5rem;
    }

    .login-modal-header h2 {
        font-size: 1.5rem;
    }

    #userInfo {
        flex-direction: column;
        gap: 0.5rem;
    }
}
    