:root {
    /* 颜色定义 */
    --clr-bg-dark: #020813;
    --clr-bg-light: #0B132B;
    --clr-primary-cyan: #00F2FE;
    --clr-primary-blue: #4FACFE;
    --clr-text-main: #F0F4FC;
    --clr-text-muted: #8E9BB0;
    
    /* 玻璃拟态卡片背景与边框 */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* 渐变文本色 */
    --gradient-text: linear-gradient(90deg, var(--clr-primary-cyan), var(--clr-primary-blue));
    
    /* 字体 */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 动态背景图 */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./assets/bg_ocean.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.35;
    z-index: -1;
    filter: blur(10px);
}

/* Typography Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* ====== Helper Classes ====== */
.txt-cyan { color: var(--clr-primary-cyan); }
.txt-blue { color: var(--clr-primary-blue); }

.highlight-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
}

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(90deg, var(--clr-primary-cyan), var(--clr-primary-blue));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--clr-text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ====== Navbar ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
    padding: 1.5rem 0;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(2, 8, 19, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--clr-primary-cyan);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 1rem;
    color: var(--clr-text-muted);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-text);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
}
.nav-cta:hover {
    background: var(--gradient-text);
    border-color: transparent;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ====== Hero Section ====== */
.hero {
    min-height: 100vh;
    max-width: 1300px;
    margin: 0 auto;
    padding: 120px 2rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-primary-cyan);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* Visual Side */
.hero-visual {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,242,254,0.4) 0%, rgba(2,8,19,0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(50px);
}

.hero-image {
    width: 90%;
    height: auto;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

/* Glass Float Cards */
.glass-float-card {
    position: absolute;
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float-offset 8s ease-in-out infinite;
}

.glass-float-card i {
    font-size: 1.5rem;
}

.glass-float-card .label {
    display: block;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

.glass-float-card .value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.card-tl {
    top: 15%;
    left: 0;
    animation-delay: 0s;
}

.card-br {
    bottom: 20%;
    right: 0;
    animation-delay: 2s;
}

/* ====== Features Section ====== */
.features {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 254, 0.4);
}

.feature-card .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(0, 242, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--clr-primary-cyan);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ====== Showcase ====== */
.showcase {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.showcase-content {
    background-image: linear-gradient(to right, rgba(2, 8, 19, 0.9) 20%, transparent), url('./assets/bg_ocean.png');
    background-size: cover;
    background-position: center;
    padding: 6rem 4rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.showcase-content p {
    color: var(--clr-text-muted);
    max-width: 500px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

/* ====== CTA ====== */
.cta {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(to top, rgba(0, 242, 254, 0.05), transparent);
}

.cta-inner h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-inner p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.pulse-eff {
    animation: pulse 2s infinite;
}

/* ====== Footer ====== */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-content .brand p {
    color: var(--clr-text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.links-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.links-group a {
    display: block;
    color: var(--clr-text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.links-group a:hover {
    color: var(--clr-primary-cyan);
    transform: translateX(5px);
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--glass-border);
}

.socials a:hover {
    background: var(--gradient-text);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px) !important;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* ====== Animations ====== */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes float-offset {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-15px) translateX(10px); }
    66% { transform: translateY(10px) translateX(-10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(0, 242, 254, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

/* Entrance Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ====== Responsive ====== */
@media screen and (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .showcase-content {
        padding: 3rem 2rem;
        background-image: linear-gradient(to right, rgba(2, 8, 19, 0.95) 40%, rgba(2,8,19,0.8)), url('./assets/bg_ocean.png');
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
