/* page_jishu07.css - Technical Innovation Styles */

/* --- Variables & Reset for Isolation --- */
:root {
    --js7-primary: #0084ff;
    /* Tech Blue */
    --js7-dark: #0a0a0f;
    --js7-darker: #050508;
    --js7-light: #ffffff;
    --js7-gray: #1f2129;
    --js7-text-gray: #8890a0;
    --js7-accent: #00d2ff;
    /* Cyan accent */
    --js7-transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.page_jishu07_container {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--js7-light);
    overflow-x: hidden;
    background-color: var(--js7-dark);
    width: 100%;
}

.page_jishu07_container * {
    box-sizing: border-box;
}

/* --- Common Utilities --- */
.js7-section {
    padding: 120px 0;
    position: relative;
    width: 100%;
}

.js7-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.js7-title-center {
    text-align: center;
    margin-bottom: 80px;
}

.js7-title-center h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, #8890a0);
    -webkit-background-clip: text;
}

.js7-title-center p {
    font-size: 1.2rem;
    color: var(--js7-text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* --- 1. Banner Section --- */
.js7-banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.js7-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.js7-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    /* GSAP */
}

.js7-banner h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.js7-banner p {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--js7-accent);
}

/* --- 2. Core Concepts (Split Layout) --- */
.js7-split-section {
    background: var(--js7-darker);
}

.js7-split-container {
    display: flex;
    gap: 40px;
}

.js7-split-col {
    flex: 1;
    background: var(--js7-gray);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 600px;
    transition: transform 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.js7-split-col:hover {
    transform: translateY(-10px);
    border-color: var(--js7-primary);
    box-shadow: 0 20px 50px rgba(0, 132, 255, 0.1);
}

.js7-col-img {
    height: 350px;
    width: 100%;
    position: relative;
}

.js7-col-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.js7-col-content {
    padding: 40px;
}

.js7-col-content .text-right {
    text-align: right;
}

.js7-col-content h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--js7-primary);
}

.js7-col-content h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 400;
}

.js7-col-content p {
    color: var(--js7-text-gray);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* --- 3. "5+4" Tech System (Accordion) --- */
.js7-tech-section {
    background: var(--js7-dark);
    padding-bottom: 150px;
}

.js7-tech-grid {
    display: flex;
    gap: 60px;
    margin-top: 60px;
}

.js7-tech-col {
    flex: 1;
}

.js7-tech-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.js7-tech-header h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.js7-tech-header p {
    color: var(--js7-text-gray);
}

/* Accordion Item - Default (Inactive) */
.js7-accordion-item {
    background: #15171e;
    /* Very dark for contrast */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    border-left: 3px solid transparent;
}

.js7-accordion-item:hover {
    background-color: #1a1d26;
}

/* --- Left Column Active (Blue) --- */
.js7-left-col .js7-tech-header h3 {
    color: var(--js7-primary);
}

.js7-left-col .js7-accordion-item.active {
    background: linear-gradient(90deg, rgba(0, 132, 255, 0.15) 0%, rgba(0, 132, 255, 0.05) 100%);
    border-color: rgba(0, 132, 255, 0.3);
    border-left-color: var(--js7-primary);
    /* Blue */
    box-shadow: 0 10px 30px rgba(0, 132, 255, 0.1);
}

.js7-left-col .js7-accordion-item.active .js7-acc-title,
.js7-left-col .js7-accordion-item.active .js7-acc-num,
.js7-left-col .js7-accordion-item.active .js7-sub-icon {
    color: var(--js7-primary);
}

.js7-left-col .js7-accordion-item.active .js7-sub-icon {
    background: rgba(0, 132, 255, 0.1);
}

/* --- Right Column Active (Green) --- */
.js7-right-col .js7-tech-header h3 {
    color: #00ffaa;
}

.js7-right-col .js7-accordion-item.active {
    background: linear-gradient(90deg, rgba(0, 255, 170, 0.15) 0%, rgba(0, 255, 170, 0.05) 100%);
    border-color: rgba(0, 255, 170, 0.3);
    border-left-color: #00ffaa;
    /* Green */
    box-shadow: 0 10px 30px rgba(0, 255, 170, 0.1);
}

.js7-right-col .js7-accordion-item.active .js7-acc-title,
.js7-right-col .js7-accordion-item.active .js7-acc-num,
.js7-right-col .js7-accordion-item.active .js7-sub-icon {
    color: #00ffaa;
}

.js7-right-col .js7-accordion-item.active .js7-sub-icon {
    background: rgba(0, 255, 170, 0.1);
}


/* Common Active Text Styles */
.js7-accordion-item.active .js7-acc-title {
    font-weight: 800;
}

.js7-acc-trigger {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.js7-acc-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.js7-acc-num {
    font-family: 'Arial', sans-serif;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    font-weight: 900;
}

.js7-acc-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
    /* JS will set expanding height */
}

/* New Subtitle Class (Moved out of inner) */
.js7-acc-subtitle {
    padding: 10px 30px 15px 30px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

.js7-acc-inner {
    padding: 20px 30px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* The Separator Line */
    margin-top: 0;
}

/* Ensure divider matches theme color in active state */
.js7-left-col .js7-accordion-item.active .js7-acc-inner {
    border-top-color: rgba(0, 132, 255, 0.2);
}

.js7-right-col .js7-accordion-item.active .js7-acc-inner {
    border-top-color: rgba(0, 255, 170, 0.2);
}

/* Sub-points (1.1, 1.2 style) with Icons */
.js7-sub-item {
    margin-top: 25px;
    padding-left: 15px;
    border-left: none;
    position: relative;
    padding-left: 45px;
}

/* Icon for sub-title */
.js7-sub-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    /* Inactive Icon BG */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    /* Inactive Icon Color */
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

/* Default Icon Style */
.js7-sub-icon::before {
    content: "⚡";
}

.js7-sub-item:nth-child(2) .js7-sub-icon::before {
    content: "◈";
}

.js7-sub-item:nth-child(3) .js7-sub-icon::before {
    content: "⬡";
}

.js7-sub-item:nth-child(4) .js7-sub-icon::before {
    content: "◎";
}

.js7-sub-item:nth-child(5) .js7-sub-icon::before {
    content: "◉";
}

.js7-sub-item:nth-child(6) .js7-sub-icon::before {
    content: "▣";
}

.js7-sub-item:nth-child(7) .js7-sub-icon::before {
    content: "◫";
}

.js7-sub-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Update sub-title color based on theme */
.js7-left-col .js7-accordion-item.active .js7-sub-title {
    color: #5cadff;
    /* Lighter Blue */
}

.js7-right-col .js7-accordion-item.active .js7-sub-title {
    color: #7affd4;
    /* Lighter Green */
}

.js7-sub-desc {
    font-size: 0.95rem;
    color: #8890a0;
    line-height: 1.6;
}

.js7-accordion-item.active .js7-sub-desc {
    color: #ccc;
}

/* --- 4. Keyhole Section (Scoped to Section 4 Only) --- */
.js7-keyhole {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: #000;
    clip-path: polygon(0% 0%, 0% 100%, 0 100%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%, 100% 100%, 100% 0%);
    z-index: 100;
    opacity: 0;
    /* Hidden by default */
    visibility: hidden;
    /* Prevent blocking other content */
    transition: opacity 0.3s, visibility 0.3s;
}

.js7-keyhole.active {
    opacity: 1;
    visibility: visible;
}

.js7-keyhole-trigger-section {
    position: relative;
    background: #000;
    min-height: 100vh;
}

.section__content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.js7-keyhole-figure {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    z-index: 1;
}

.js7-keyhole-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transform: scale(1.1); */
    opacity: 1;
    /* Start visible for static version */
}

.js7-app-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 101;
    text-align: center;
}

.js7-zoom-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.9), 0 2px 5px rgba(0, 0, 0, 0.8);
}

.js7-cta-btn {
    display: inline-block;
    border: 1px solid var(--js7-primary);
    color: #fff;
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.js7-cta-btn:hover {
    background: var(--js7-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 132, 255, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {

    .js7-split-container,
    .js7-tech-grid {
        flex-direction: column;
    }

    .js7-banner h1 {
        font-size: 3rem;
    }

    .js7-banner p {
        font-size: 1.2rem;
    }
}