:root {
    --primary: #0064d2; /* 天翼蓝 */
    --primary-light: #e6f0ff;
    --accent: #00c6ff;
    --dark-blue: #003366;
    --text-main: #333;
    --text-light: #666;
    --white: #fff;
    --bg-gray: #f5f7fa;
    --card-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo { height: 36px; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--primary); }

.nav-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 6px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.nav-btn:hover { background: var(--primary); color: white; }

/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #001f3f; /* Fallback */
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* For parallax */
    background: url('../images/bj.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 90%;
}

.download-btn {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.4);
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 114, 255, 0.5);
}

.phone-wrapper {
    position: relative;
    width: 300px;
    margin: 0 auto;
}

.mockup {
    width: 100%;
    aspect-ratio: 9/18;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}

.dot.active { background: var(--accent); }

/* Data Dashboard (Glassmorphism) */
.data-panel {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 12px;
    color: white;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.data-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.data-row:last-child { margin-bottom: 0; }

.d-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.d-info span { display: block; font-size: 12px; opacity: 0.8; }
.d-info strong { font-size: 16px; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Features */
.features {
    padding: 100px 0;
    background: var(--white);
}

.sec-title {
    text-align: center;
    margin-bottom: 70px;
}

.sec-title h2 { font-size: 36px; margin-bottom: 15px; color: var(--dark-blue); }
.sec-title p { color: var(--text-light); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.f-card {
    background: var(--bg-gray);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.f-card:hover {
    background: white;
    box-shadow: var(--card-shadow);
    transform: translateY(-5px);
    border-bottom-color: var(--primary);
}

.f-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: #e6f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
}

.f-card h3 { font-size: 20px; margin-bottom: 15px; }
.f-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* Platform Capabilities */
.platform {
    padding: 80px 0;
    background: #f0f4f8;
}

.plat-box {
    display: flex;
    align-items: center;
    gap: 60px;
}

.plat-img { flex: 1; }
.plat-img img { width: 100%; border-radius: 12px; box-shadow: var(--card-shadow); }

.plat-text { flex: 1; }
.plat-text h2 { font-size: 32px; margin-bottom: 20px; color: var(--dark-blue); }
.plat-text p { margin-bottom: 30px; color: var(--text-light); }

.cap-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cap-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
}

.cap-item i { background: white; padding: 5px; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* Footer */
.footer {
    background: var(--dark-blue);
    color: #aab;
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h3 { color: white; font-size: 18px; margin-bottom: 15px; }
.footer p { font-size: 13px; line-height: 1.8; margin-bottom: 20px; }

.copyright {
    text-align: center;
    padding-top: 30px;
    font-size: 12px;
}

/* Animations */
.animate-up { opacity: 0; transform: translateY(30px); transition: 0.6s; }
.visible { opacity: 1; transform: translateY(0); }

.breathing-btn {
    animation: breathe 3s infinite ease-in-out;
}

@keyframes breathe {
    0% { box-shadow: 0 10px 30px rgba(0, 114, 255, 0.4); transform: scale(1); }
    50% { box-shadow: 0 10px 50px rgba(0, 114, 255, 0.7); transform: scale(1.05); }
    100% { box-shadow: 0 10px 30px rgba(0, 114, 255, 0.4); transform: scale(1); }
}

/* Responsive */
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .plat-box { flex-direction: column; }
}

@media (max-width: 768px) {
    .hero { height: auto; padding: 100px 0 60px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-text h1 { font-size: 36px; }
    .data-panel { right: 0; left: 0; bottom: -30px; margin: 0 auto; width: fit-content; }
    .feature-grid { grid-template-columns: 1fr; }
}