:root {
    --bg-primary: #1C1C1F;
    --bg-secondary: #2A2A2E;
    --text-main: #FFFFFF;
    --text-muted: #A1A1A6;
    --highlight: #3DF2DD;
    --font-heading: "Bahnschrift", "DIN Alternate", "Arial Narrow", "PingFang SC", "Microsoft YaHei UI", sans-serif;
    --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    --z-background: -10;
    --z-overlay: 2;
    --z-content: 10;
    --transition-speed: 0.3s;
    color-scheme: dark;
}

html {
    background-color: var(--bg-primary);
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary) !important;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    width: 100%;
    position: relative;
    background-image: none !important;
}

/* Background Containers */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: transparent !important;
}

/* Data Stream Canvas */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* CSS 回退: 当 Canvas JS 不可用时显示的科技感背景网格 */
.css-bg-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    opacity: 0.15;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(61,242,221,0.3) 60px, rgba(61,242,221,0.3) 61px),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(61,242,221,0.3) 60px, rgba(61,242,221,0.3) 61px);
    background-size: 61px 61px;
}
.css-bg-fallback::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(180deg, transparent 0%, rgba(61,242,221,0.08) 30%, rgba(61,242,221,0.15) 50%, rgba(61,242,221,0.08) 70%, transparent 100%);
    animation: scanline 8s linear infinite;
}
@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(50%); }
}
/* JS 成功加载时隐藏 CSS 回退 */
.bg-effect-active .css-bg-fallback {
    display: none;
}

.dot-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='14' cy='14' r='1' fill='rgba(61,242,221,0.4)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 28px 28px;
}
.dot-grid-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    /* 默认全黑遮住波点, JS 会更新这个背景为带透明孔的径向渐变 */
    background: rgb(28, 28, 31);
}


.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(28, 28, 31, 0.05) 80%, rgba(28, 28, 31, 0.1) 100%) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 5; /* 提升前景文字可读性 */
    pointer-events: none;
}

/* Foreground Content */
.main-content {
    position: relative;
    z-index: var(--z-content);
    min-height: 100vh;
    pointer-events: auto;
}

/* Sections */
.hero-section, .features-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 48px;
    width: 100%;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo {
    height: 28px;
    width: auto;
}

.brand-text-img {
    height: 28px;
    width: auto;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Anchor from top to prevent upward shift on short viewports */
    align-items: flex-start;
    text-align: left;
    padding: 0 48px;
    padding-top: clamp(150px, 22vh, 220px);
}

.hero-text-content {
    max-width: 800px;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 10px;
    font-weight: 300;
    font-family: var(--font-heading);
    color: #D4D4D4;
    line-height: 1.416;
    letter-spacing: 0;
    opacity: 0.6;
    display: flex;
    flex-direction: column;
}

.badge-acg-dna {
    display: flex;
    align-items: center;
}

.badge-highlight {
    font-size: 10px;
    font-weight: 300;
    margin-right: 2px; /* Spacing from // to ACG DNA */
}

.badge-main {
    font-size: 10px;
    font-weight: 300;
}

.deco-rect {
    background-color: #545456;
    flex-shrink: 0;
}

.badge-tri {
    margin-right: 5px; /* Spacing from ▼ to // */
}



.deco-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    gap: 10px;
    margin-top: 55px; /* Half of the 130px spacing */
    margin-bottom: 55px;
}

.badge-line {
    opacity: 0.8;
}

.hero-title {
    font-size: clamp(42px, 5.4vw, 70px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #FAFAFA;
}

.highlight {
    background: linear-gradient(23deg, #3DF2DD 0%, #FAFAFA 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.464;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    margin-left: -12px; /* Pull left to counteract the empty space in '「' */
}

.hero-desc {
    font-size: clamp(16px, 1.25vw, 18px);
    color: #A1A1A6;
    line-height: 1.4375;
    margin-bottom: 24px;
    max-width: 480px;
    font-weight: 400;
}



.scroll-down-hint {
    position: absolute;
    bottom: 48px;
    left: 48px;
    color: #CCCCCC;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    transition: color 0.25s;
    font-family: var(--font-body);
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.scroll-down-hint:hover {
    color: var(--text-main);
}

/* Buttons */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    position: relative;
    transition: all var(--transition-speed) ease;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    width: 181px;
    height: 35px;
    background: transparent;
    border: none;
    padding: 0;
}

.btn-primary {
    background: var(--highlight);
    border-radius: 100px;
    padding-left: 14px; /* +5px right */
}

.btn-disabled {
    min-width: 181px;
    pointer-events: none;
}

.btn-text {
    color: #2A2A2E;
    line-height: 1.45;
    flex-shrink: 0;
    margin-top: 1px;
}

.android-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(calc(-50% + 5px));
    width: 49.2px;
    height: 30px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 15px rgba(61, 242, 221, 0.3));
}

.btn-disabled:hover {
    transform: none;
    filter: none;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 200;
}

/* Features Section */
.features-section {
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center to match hero text center */
    align-items: flex-start;
    position: relative;
}

.features-content-wrapper {
    max-width: 100%;
    width: 100%;
    margin-top: -40px; /* Shift up to align with hero center */
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(56px, 6vw, 80px);
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-header {
    display: flex;
    align-items: flex-start; /* Align icon to top of text group */
    gap: 14px;
    margin-bottom: 0; /* Let deco block handle spacing */
    height: 48px; /* Approximate height of label + title + gap (9px + 28px + 7px) */
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* Match height of text group */
}
.feature-icon img {
    height: 85%; /* Scaled down slightly from text height */
    width: auto;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.15));
}

.feature-title-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space out label and title */
    height: 100%;
}

.feature-label {
    font-size: 10px;
    font-weight: 300; /* Decreased weight */
    color: #D4D4D4;
    opacity: 0.6; /* Simulate thinner text visually */
    font-family: var(--font-heading);
    letter-spacing: 0;
    display: flex;
    align-items: center;
    line-height: 1; /* Ensure predictable height */
}

.feature-name {
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 600; /* Increased weight */
    margin-bottom: 0;
    color: var(--text-main);
    line-height: 1.464;
}

.feature-desc {
    font-size: clamp(15px, 1.15vw, 16px);
    color: #A1A1A6;
    line-height: 1.4375;
    font-weight: 400;
    margin-bottom: 0;
}

.feature-deco {
    position: relative;
    width: min(354px, 100%);
    height: 12px;
    margin-top: 11px; /* (34px total - 12px height) / 2 = 11px */
    margin-bottom: 11px;
    display: block; 
}

.deco-rect-feature {
    position: absolute;
}

.deco-rect-feature.deco-1 {
    left: 0%;
    right: 96.89%;
    top: 50%; /* Center vertically in the 12px container */
    transform: translateY(-50%);
    height: 2px; /* Force to exactly 2px as requested */
    background: #3DF2DD;
}

.deco-rect-feature.deco-2 {
    left: 1.98%;
    right: 3.11%;
    top: 52.42%;
    bottom: 46.77%;
    background: rgba(204, 204, 204, 0.2);
}

/* Footer Section */
.footer {
    padding: 0 48px 48px 48px;
    width: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-copyright {
    color: #A1A1A6;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-copyright .separator {
    width: 1px;
    height: 12px;
    background: rgba(161, 161, 166, 0.3);
}

.icp-link {
    color: #A1A1A6;
    text-decoration: none;
    transition: color 0.2s;
}

.icp-link:hover {
    color: var(--text-main);
}

.scroll-down-hint:focus-visible,
.icp-link:focus-visible {
    outline: 2px solid var(--highlight);
    outline-offset: 4px;
}

/* Split Screen Desktop Media Query */
@media (min-width: 1024px) {
    body {
        display: flex;
        align-items: flex-start;
    }
    
    .navbar {
        position: fixed;
        width: 40vw; /* Constrain to left panel */
        z-index: 101;
    }

    .background-container {
        position: fixed;
        right: 0;
        left: 0;
        width: 100vw;
    }
    
    .bg-overlay {
        background: 
            linear-gradient(
                to bottom, 
                rgba(28, 28, 31, 0.7) 0%,
                transparent 10%, 
                transparent 90%, 
                rgba(28, 28, 31, 0.7) 100%
            ) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .main-content {
        width: 40vw;
        background-color: transparent;
    }
}

/* Enhancements for smaller desktops / tablets */
@media (max-width: 1023px) and (min-width: 768px) {
    .background-container {
        position: fixed;
        right: 0;
        left: 0;
        width: 100vw;
    }
    .main-content, .navbar {
        width: 45vw;
        background-color: transparent;
    }
    .bg-overlay {
        background: 
            linear-gradient(
                to right,
                rgba(28, 28, 31, 0.95) 0%,
                rgba(28, 28, 31, 0.8) 20%,
                rgba(28, 28, 31, 0.3) 30%,
                rgba(28, 28, 31, 0) 45%,
                rgba(28, 28, 31, 0) 100%
            ),
            linear-gradient(
                to bottom, 
                var(--bg-primary) 0%, 
                transparent 15%, 
                transparent 85%, 
                var(--bg-primary) 100%
            ) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* Mobile Overrides */
@media (max-width: 767px) {
    .background-container {
        position: fixed;
        width: 100vw;
        height: 100vh;
        left: 0;
    }

    .bg-overlay {
        background: radial-gradient(circle at center, rgba(28, 28, 31, 0.7) 0%, rgba(28, 28, 31, 1) 100%) !important;
    }

    .main-content {
        background: transparent;
        width: 100%;
    }

    .navbar {
        padding: 32px 24px;
        position: absolute;
    }
    
    .hero-section, .features-section {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }

    .hero-desc {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .cta-container {
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
    }
    
    .scroll-down-hint {
        left: 24px;
        bottom: 24px;
    }

    .features-section {
        padding: 80px 24px 220px;
    }
    
    .footer {
        padding: 0 24px 32px 24px;
    }

    .footer-copyright {
        gap: 12px;
        flex-wrap: wrap;
    }
}
