/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #FFFFFF;
    color: #0E0E0E;
    line-height: 1.6;
    overflow-y: auto;
}

/* Layout Container */
.layout-container {
    width: 1840px;
    margin: 0 auto;
    min-height: 100vh;
    border-left: 1px solid #D9D9D9;
    border-right: 1px solid #D9D9D9;
    position: relative;
}

/* Navigation Bar */
.navbar {
    height: 60px;
    border-bottom: 1px solid #D9D9D9;
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1840px;
    border-left: 1px solid #D9D9D9;
    border-right: 1px solid #D9D9D9;
    z-index: 1000;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 40px 0 80px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #0E0E0E;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #000000;
    background-color: #f5f5f5;
}

.nav-link.active {
    color: #000000;
    font-weight: 600;
    background-color: #f0f0f0;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
}

.content-wrapper {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 60px);
}

/* Sidebar sections with 187px margins (reduced by 1/3) */
.sidebar-left,
.sidebar-right {
    width: 187px;
    background-color: #FFFFFF;
    position: relative;
}

.sidebar-left {
    border-right: 1px solid #D9D9D9;
}

.sidebar-right {
    border-left: 1px solid #D9D9D9;
}

/* Center Content Area */
.center-content {
    flex: 1;
    padding: 40px;
    background-color: #FFFFFF;
    min-height: calc(100vh - 60px);
}

/* Frame 1 - full width content */
#frame-1 {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Page Content */
.page-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.page-content.active {
    display: block;
}

.page-content h1 {
    color: #000000;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.page-content p {
    color: #0E0E0E;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Frame System for Home Page */
.frames-container {
    height: calc(100vh - 60px);
    overflow: hidden;
    position: relative;
}

.frame {
    height: calc(100vh - 60px);
    display: none !important;
    padding: 40px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.frame.active {
    display: block !important;
}

/* Frame 1 specific - no padding, fill entire area */
#frame-1.frame {
    padding: 0;
    height: calc(100vh - 60px);
}

#frame-1.frame.active {
    display: flex !important;
    flex-direction: column;
}

/* Frame 2 specific - no padding, fill entire area */
#frame-2.frame {
    padding: 0;
    height: calc(100vh - 60px);
}

#frame-2.frame.active {
    display: flex !important;
    flex-direction: column;
}

/* Frame 3 specific - no padding, fill entire area */
#frame-3.frame {
    padding: 0;
    height: calc(100vh - 60px);
}

#frame-3.frame.active {
    display: flex !important;
    flex-direction: column;
}

/* Frame 4 specific - no padding, fill entire area */
#frame-4.frame {
    padding: 0;
    height: calc(100vh - 60px);
}

#frame-4.frame.active {
    display: flex !important;
    flex-direction: column;
}

.frame1-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hide frame1-content when not in frame 1 */
.frame:not(#frame-1) .frame1-content {
    display: none !important;
}

/* Hide all frame1 specific elements in other frames */
.frame:not(#frame-1) .section-a,
.frame:not(#frame-1) .section-b,
.frame:not(#frame-1) .section-c,
.frame:not(#frame-1) .section-divider {
    display: none !important;
}

/* Other frames content */
.frame-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.frame-content h1 {
    color: #000000;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.frame-content p {
    color: #0E0E0E;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Frame Indicators */
.frame-indicators {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 500;
}

.frame-indicators.hidden {
    display: none;
}

.indicator {
    width: 12px;
    height: 12px;
    border: 1px solid #D9D9D9;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #000000;
    border-color: #000000;
}

.indicator:hover {
    border-color: #999999;
}

/* Down Button */
.down-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 500;
    transition: all 0.3s ease;
}

.down-btn.hidden {
    display: none;
}

.down-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.down-btn:hover {
    transform: scale(1.1);
}

.down-btn:active {
    transform: scale(0.95);
}

/* Up Button */
.up-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 50%;
    cursor: pointer;
    z-index: 500;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
}

.up-btn.visible {
    display: flex;
}

.up-btn:hover {
    transform: scale(1.1);
    border-color: #999999;
    background-color: #f5f5f5;
}

.up-btn:active {
    transform: scale(0.95);
}

/* Up Arrow (CSS-drawn) */
.up-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #0E0E0E;
    transition: all 0.3s ease;
}

.up-btn:hover .up-arrow {
    border-bottom-color: #000000;
}

/* Fade animation for page transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1920px) {
    .layout-container {
        width: 100%;
        max-width: 1840px;
    }
    
    .navbar {
        width: 100%;
        max-width: 1840px;
    }
}

/* Left Sidebar - 2025.png for Frame 1 */
.left-content.frame1-only {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding-left: 30px;
}

.year-image {
    max-width: 70%;
    height: auto;
    object-fit: contain;
}

/* Show left content only on frame 1 */
.left-content.frame1-only {
    display: none;
}

/* Left content for frame 2 */
.left-content.frame2-only {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
}

/* Left content for frame 3 */
.left-content.frame3-only {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
}

.frame2-left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    top: -15%;
}

.soc-image {
    max-width: 70%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.soc-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #0E0E0E;
    line-height: 1.4;
    margin: 0;
    text-align: left;
    max-width: 80%;
}

/* Frame 3 left section */
.frame3-left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    top: -15%;
}

.products-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.products-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.products-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    text-align: left;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #000000;
    border: 1px solid #000000;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    min-width: 30px;
    flex-shrink: 0;
}

.product-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    text-align: left;
}

/* Right sidebar content for frame 1 */
.right-content.frame1-only {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 30px;
}

.right-text-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    top: -15%;
}

.right-text-line {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #0E0E0E;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

/* Right content for frame 2 */
.right-content.frame2-only {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 30px;
}

/* Right content for frame 3 */
.right-content.frame3-only {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 30px;
}

.frame2-right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    top: -15%;
}

.coordinate-image {
    max-width: 70%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.coordinate-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #0E0E0E;
    line-height: 1.4;
    margin: 0 0 10px 0;
    text-align: left;
}

/* Frame 3 right section */
.frame3-right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    top: -15%;
}

.llm-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #0E0E0E;
    line-height: 1.4;
    margin: 0;
    text-align: left;
    max-width: 80%;
}

/* Network image for frame 2 */
.network-container {
    position: absolute;
    bottom: 80px;
    right: 45px;
    z-index: 8;
}

.network-image {
    max-width: 132px;
    height: auto;
    object-fit: contain;
}

/* Frame 2 specific content */
.frame2-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Frame 3 specific content */
.frame3-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Section G - top 3.5/10 (35%) */
#frame-3 .section-g {
    flex: 3.5;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 20px 20px 20px;
}

#frame-3 .section-g-content {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
}

#frame-3 .integrated-title {
    text-align: left;
}

#frame-3 .integrated-text {
    font-family: 'Press Start 2P', 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    letter-spacing: 2px;
}

#frame-3 .head2-container {
    display: flex;
    align-items: flex-end;
}

#frame-3 .head2-image {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

/* Section Dividers for frame 3 - full width */
#frame-3 .section-divider-f3 {
    height: 1px;
    background-color: #D9D9D9;
    width: 100%;
    flex-shrink: 0;
    margin: 0;
}

/* Section H - bottom 6.5/10 (65%) - three equal columns */
#frame-3 .section-h {
    flex: 6.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

#frame-3 .section-h-left,
#frame-3 .section-h-center,
#frame-3 .section-h-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Vertical dividers for Section H */
#frame-3 .vertical-divider-h1,
#frame-3 .vertical-divider-h2 {
    width: 1px;
    background-color: #D9D9D9;
    height: 100%;
    flex-shrink: 0;
}

/* Product showcase styling */
#frame-3 .product-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    max-width: 90%;
}

#frame-3 .product-image {
    max-width: 260px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

#frame-3 .product-name {
    font-family: 'Orbitron', 'Press Start 2P', monospace;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 12px 0;
    text-align: center;
}

#frame-3 .product-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #0E0E0E;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    max-width: 100%;
}

/* Left content for frame 4 */
.left-content.frame4-only {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding-left: 15px;
}

/* Frame 4 left section - ROADMAP title */
.frame4-left-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    top: -10%;
}

.roadmap-title {
    font-family: 'Press Start 2P', 'Orbitron', monospace;
    font-size: 54px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 3px;
    transform: rotate(90deg);
    transform-origin: center;
    white-space: nowrap;
}

/* Frame 4 specific content */
.frame4-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Section I - top 7/10 (70%) - three equal columns */
#frame-4 .section-i {
    flex: 7;
    display: flex;
    align-items: center;
    justify-content: center;
}

#frame-4 .section-i-left,
#frame-4 .section-i-center,
#frame-4 .section-i-right {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    padding: 20px 15px;
}

/* Vertical dividers for Section I */
#frame-4 .vertical-divider-i1,
#frame-4 .vertical-divider-i2 {
    width: 1px;
    background-color: #D9D9D9;
    height: 100%;
    flex-shrink: 0;
}

/* Section Dividers for frame 4 - full width */
#frame-4 .section-divider-f4 {
    height: 1px;
    background-color: #D9D9D9;
    width: 100%;
    flex-shrink: 0;
    margin: 0;
}

/* Section J - bottom 3/10 (30%) */
#frame-4 .section-j {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#frame-4 .black-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#frame-4 .world-image {
    position: relative;
    max-width: 600px;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

/* Roadmap content styling */
#frame-4 .roadmap-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
}

#frame-4 .roadmap-year {
    font-family: 'Orbitron', 'Press Start 2P', monospace;
    font-size: 26px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 18px 0;
    text-align: left;
}

#frame-4 .roadmap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#frame-4 .roadmap-list li {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0E0E0E;
    line-height: 1.4;
    margin-bottom: 12px;
    text-align: left;
    padding-left: 18px;
    position: relative;
}

#frame-4 .roadmap-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #000000;
    border-radius: 1px;
}

/* Products Page Styles */
.products-content {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Products title section */
.products-title-section {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px 0 30px 20px;
    flex-shrink: 0;
}

.ai-privacy-title {
    text-align: left;
}

.ai-privacy-text {
    font-family: 'Press Start 2P', 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    letter-spacing: 2px;
}

/* Brain image section */
.brain-image-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.brain-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* AI Assistant title section */
.ai-assistant-title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    flex-shrink: 0;
}

.ai-assistant-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    text-align: center;
}

/* Two column section */
.two-column-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-shrink: 0;
    gap: 30px;
    width: 50%;
    margin: 0 auto;
}

.left-column {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.r-image {
    max-width: 40px;
    height: auto;
    object-fit: contain;
}

.right-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ecosystem-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0E0E0E;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* Section A - Product Details Area */
.section-a-container {
    display: flex;
    align-items: stretch;
    padding: 20px;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
    margin: 20px 0;
    min-height: 500px;
    flex-shrink: 0;
}

/* 左侧区域 - 宽度为高度的1/3 (500px/3 ≈ 167px) */
.section-a-left {
    width: 167px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* 左侧三等分 */
.section-a-left-top,
.section-a-left-middle,
.section-a-left-bottom {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D9D9D9;
    margin: 2px 0;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 产品缩略图样式 */
.product-thumbnail {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* 产品项选中状态 */
.product-item.active {
    background-color: #0E0E0E;
}

.product-item.active .product-thumbnail {
    opacity: 1;
}

.product-item:not(.active) .product-thumbnail {
    opacity: 0.7;
}

.product-item:hover:not(.active) {
    background-color: #f5f5f5;
}

/* 垂直分割线 */
.section-a-divider {
    width: 1px;
    background-color: #D9D9D9;
    margin: 0 20px;
    flex-shrink: 0;
}

/* 右侧区域 */
.section-a-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 460px;
}

/* 产品详情容器 */
.product-detail {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    min-height: 460px;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

.product-detail.active {
    display: flex;
}

/* 产品详情图片 */
.product-detail-image {
    max-width: 280px;
    max-height: 280px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* 产品名称 */
.product-detail-name {
    font-family: 'Orbitron', 'Press Start 2P', monospace;
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 20px 0;
    text-align: center;
}

/* 产品描述 */
.product-detail-description {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-detail-description p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0E0E0E;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Products page footer */
.products-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    flex-shrink: 0;
}

.products-footer-image {
    max-width: 39%;
    height: auto;
    object-fit: contain;
}

/* Developers page styles */
.developers-image-container {
    width: calc(100% + 80px);
    margin-top: 40px;
    margin-left: -40px;
    margin-right: -40px;
    display: flex;
    justify-content: center;
}

.developers-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Learn page styles */
.learn-content {
    width: calc(100% + 80px); /* Extend beyond center-content padding */
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 -40px; /* Offset center-content padding */
    padding: 0;
}

/* Learn section - each takes equal height */
.learn-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

/* Learn title section - same as products title section */
.learn-title-section {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px 0 30px 20px;
    flex-shrink: 0;
}

.learn-title {
    text-align: left;
}

.learn-title-text {
    font-family: 'Press Start 2P', 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    letter-spacing: 2px;
}

/* Learn placeholder area - same height as brain image section */
.learn-placeholder-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

.placeholder-line {
    width: 100%;
    height: 1px;
    background-color: #D9D9D9;
}

/* Research content area - four equal sections */
.research-content-area {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 100%;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
}

/* Research sections - each takes 1/4 of the width */
.research-section-a,
.research-section-b,
.research-section-c,
.research-section-d {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    border-right: 1px solid #D9D9D9;
    position: relative;
}

/* Remove border from the last section */
.research-section-d {
    border-right: none;
}

/* Research images */
.research-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Research content overlay */
.research-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* B区域内容底部显示，与CD区域位置一致 */
.research-section-b {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px;
}

.research-section-b .research-content {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Research number - Orbitron font */
.research-number {
    font-family: 'Orbitron', 'Press Start 2P', monospace;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

/* Research title - Orbitron font */
.research-title {
    font-family: 'Orbitron', 'Press Start 2P', monospace;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

/* Research description - regular font */
.research-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

/* B区域 - 黑色文字 */
.research-section-b .research-number,
.research-section-b .research-title,
.research-section-b .research-description {
    color: #0E0E0E;
}

/* C和D区域 - 浅灰色文字 */
.research-section-c .research-number,
.research-section-c .research-title,
.research-section-c .research-description,
.research-section-d .research-number,
.research-section-d .research-title,
.research-section-d .research-description {
    color: #E0E0E0;
}

/* Learn page footer - same as products footer */
.learn-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    flex-shrink: 0;
    width: 100%;
}

.learn-footer-image {
    max-width: 39%;
    height: auto;
    object-fit: contain;
}

/* Section D - top 1/3 */
#frame-2 .section-d {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 20px;
    padding-left: 20px;
}

#frame-2 .ecosystem-title {
    text-align: left;
}

#frame-2 .ecosystem-text {
    font-family: 'Press Start 2P', 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    letter-spacing: 2px;
}

/* Section Dividers for frame 2 - full width */
#frame-2 .section-divider-f2 {
    height: 1px;
    background-color: #D9D9D9;
    width: 100%;
    flex-shrink: 0;
    margin: 0;
}

/* Head1 image positioned between E and F sections */
#frame-2 .head1-container {
    position: absolute;
    top: 66.66%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

#frame-2 .head1-image {
    height: auto;
    max-height: 180px;
    width: auto;
    object-fit: contain;
    transform: scale(1.5);
}

/* Section E - middle 1/3 */
#frame-2 .section-e {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#frame-2 .section-e-left,
#frame-2 .section-e-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    position: relative;
}

/* Section F - bottom 1/3 */
#frame-2 .section-f {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#frame-2 .section-f-left,
#frame-2 .section-f-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    position: relative;
}

/* Vertical divider for E and F sections */
#frame-2 .vertical-divider-ef {
    width: 1px;
    background-color: #D9D9D9;
    height: 100%;
    flex-shrink: 0;
}

/* Parameter content styling */
#frame-2 .param-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 5;
}

#frame-2 .param-number {
    font-family: 'Orbitron', 'Press Start 2P', monospace;
    font-size: 45px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 15px;
}

#frame-2 .param-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 27px;
    font-weight: 300;
    color: #999999;
    line-height: 1.2;
}

/* Left side content positioning (E1, F1) */
#frame-2 .e1-content,
#frame-2 .f1-content {
    margin-left: 20px;
}

/* Right side content positioning (E2, F2) */
#frame-2 .e2-content,
#frame-2 .f2-content {
    margin-right: 20px;
    margin-left: auto;
    text-align: right;
}

#frame-2 .e2-content .param-number,
#frame-2 .f2-content .param-number,
#frame-2 .e2-content .param-label,
#frame-2 .f2-content .param-label {
    text-align: right;
}

/* Connection line images */
#frame-2 .connection-line {
    position: absolute;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    z-index: 3;
}

#frame-2 .e1-line,
#frame-2 .f1-line {
    right: calc(16.67% + 10px);
    top: 50%;
    transform: translateY(-50%);
}

#frame-2 .e2-line,
#frame-2 .f2-line {
    left: calc(16.67% + 10px);
    top: 50%;
    transform: translateY(-50%);
}

/* Section A - 5 parts (38.46% of height) - only for frame 1 */
#frame-1 .section-a {
    flex: 5;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 20px;
    padding-left: 20px;
}

#frame-1 .main-title {
    text-align: left;
}

#frame-1 .title-line1 {
    font-family: 'Press Start 2P', 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

#frame-1 .title-line2 {
    font-family: 'Press Start 2P', 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 400;
    color: #0E0E0E;
    line-height: 1.2;
    letter-spacing: 2px;
}

/* Section Dividers - full width - only for frame 1 */
#frame-1 .section-divider {
    height: 1px;
    background-color: #D9D9D9;
    width: 100%;
    flex-shrink: 0;
    margin: 0;
}

/* Section B - 2 parts (15.38% of height) - only for frame 1 */
#frame-1 .section-b {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
}

#frame-1 .description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #0E0E0E;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

/* Section C - 6 parts (46.15% of height) - only for frame 1 */
#frame-1 .section-c {
    flex: 6;
    position: relative;
    display: flex;
    align-items: flex-end;
}

/* Polyhydra images on both sides - match background positioning exactly - only for frame 1 */
#frame-1 .polyhydra-left,
#frame-1 .polyhydra-right {
    position: absolute;
    bottom: 0;
    width: auto;
    height: 60%;
    z-index: 6;
    object-fit: contain;
    object-position: bottom;
}

#frame-1 .polyhydra-left {
    left: 0;
}

#frame-1 .polyhydra-right {
    right: 0;
}

#frame-1 .background-image {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    object-fit: fill;
    object-position: bottom;
}

#frame-1 .c-sections {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 2;
}

/* C1 and C2 sections - only for frame 1 */
#frame-1 .section-c1,
#frame-1 .section-c2 {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    height: 100%;
    padding-bottom: 0;
}

#frame-1 .ether-image,
#frame-1 .diamond-image {
    max-width: 35%;
    height: auto;
    object-fit: contain;
    z-index: 3;
}

/* Make diamond align with background bottom - only for frame 1 */
#frame-1 .diamond-image {
    margin-bottom: 0;
}

/* Center divider and diamond2 - only for frame 1 */
#frame-1 .center-divider {
    width: 1px;
    background-color: #D9D9D9;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 4;
}

#frame-1 .divider-line {
    width: 1px;
    background-color: #D9D9D9;
    height: 100%;
}

#frame-1 .diamond2-image {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 120px;
    height: auto;
    z-index: 5;
}


/* Ensure the layout maintains structure */
html, body {
    height: 100%;
    overflow-x: auto;
}
