* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a6fa5;
    --secondary-color: #3a5a80;
    --accent-color: #5a5a9a;
    --dark-bg: rgba(10, 15, 30, 0.7);
    --glass-bg: rgba(75, 100, 150, 0.1);
    --glass-border: rgba(100, 130, 180, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    background: #0a0a14;
    overflow-x: hidden;
    min-height: 100vh;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.jpg') center/cover no-repeat;
    filter: brightness(0.6);
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(50, 80, 130, 0.15);
    border-bottom: 1px solid rgba(80, 120, 180, 0.3);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(50, 80, 130, 0.15);
    backdrop-filter: blur(2px) saturate(120%);
    -webkit-backdrop-filter: blur(2px) saturate(120%);
    z-index: -1;
}

.nav-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: relative;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown:hover > a {
    color: var(--text-primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(50, 80, 130, 0.2);
    backdrop-filter: blur(15px) saturate(120%);
    -webkit-backdrop-filter: blur(15px) saturate(120%);
    border: 1px solid rgba(80, 120, 180, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(80, 120, 180, 0.3);
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(0, 0, 0, 0.3);
}

.logo-text {
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(80, 160, 255, 0.7),
        transparent
    );
    transform: skewX(-20deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
    animation: flowLight 2s infinite;
}

@keyframes flowLight {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: rgba(75, 100, 150, 0.15);
    border: 2px solid rgba(80, 160, 255, 0.6);
    color: #ffffff;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(75, 100, 150, 0.1);
}

.btn-primary:hover {
    background: rgba(75, 100, 150, 0.2);
    border-color: rgba(80, 160, 255, 0.8);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 80px rgba(80, 160, 255, 0.2),
        inset 3px 3px 6px rgba(80, 160, 255, 0.6),
        inset -3px -3px 6px rgba(80, 160, 255, 0.6),
        inset 0 0 20px rgba(80, 160, 255, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(75, 100, 150, 0.2);
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: rgba(75, 100, 150, 0.1);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(100, 130, 180, 0.2);
    color: var(--text-primary);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(75, 100, 150, 0.05);
}

.btn-secondary:hover {
    background: rgba(75, 100, 150, 0.15);
    border-color: rgba(100, 130, 180, 0.3);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.25),
        inset 0 0 30px rgba(75, 100, 150, 0.1);
    transform: translateY(-2px);
}

.btn-secondary:active {
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(75, 100, 150, 0.15);
    transform: translateY(0) scale(0.98);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.download-note {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.download-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.tip-icon {
    width: 16px;
    height: 16px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    width: 100%;
    max-width: 650px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 16px 48px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.app-screenshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 12px 12px 0 0;
}

.app-screenshot:hover {
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.35),
        0 12px 32px rgba(0, 0, 0, 0.25),
        0 24px 64px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-8px) scale(1.02);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}

.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(75, 100, 150, 0.12);
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    border: 2px solid rgba(100, 130, 180, 0.25);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 40px rgba(75, 100, 150, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 130, 180, 0.15),
        transparent
    );
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 130, 180, 0.35);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.25),
        inset 0 0 60px rgba(75, 100, 150, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(75, 100, 150, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(100, 130, 180, 0.3);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(75, 100, 150, 0.1);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.25),
        inset 0 0 30px rgba(75, 100, 150, 0.15);
    transform: scale(1.05);
}

.feature-icon svg {
    width: 50px;
    height: 50px;
    fill: #ffffff;
    filter: drop-shadow(0 0 10px rgba(100, 130, 180, 0.5));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.4),
        0 0 6px rgba(0, 0, 0, 0.2);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer {
    padding: 2rem;
    text-align: center;
    background: rgba(75, 100, 150, 0.1);
    backdrop-filter: blur(5px) saturate(130%);
    -webkit-backdrop-filter: blur(5px) saturate(130%);
    border-top: 1px solid rgba(100, 130, 180, 0.2);
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .download-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .app-preview {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .download-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
