/* --- all--- */
:root {
    --brand-color: #59b548;
    --brand-dark: #469339;
    --text-dark: #1a1a1a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #ffffff;
}

/* --- nav --- */
.nav-bar {
    position: fixed; top: 0; width: 100%; height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
    display: flex; align-items: center; z-index: 1000;
}

.nav-container {
    max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { font-size: 24px; font-weight: 800; text-decoration: none; color: var(--text-dark); }
.logo span { color: var(--brand-color); font-style: italic; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { 
    text-decoration: none; color: var(--text-dark); 
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.nav-links a:hover { color: var(--brand-color); }

/* --- banner --- */
.hero-box {
    height: 70vh; background: #0f172a; color: white;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 0 20px;
}
.hero-box h1 { font-size: 40px; font-weight: 800; margin-bottom: 20px; line-height: 1.1; }
.hero-box h1 em { color: var(--brand-color); font-style: normal; }
.hero-box p { font-size: 18px; color: #94a3b8; max-width: 600px; margin: 0 auto; }


.page-main { max-width: 1200px; margin: 0 auto; padding: 100px 20px; }

.intro-layout { display: flex; gap: 80px; align-items: start; padding-bottom: 20px; }

.side-info { flex: 1; position: sticky; top: 120px; }
.side-info h2 { font-size: 48px; font-weight: 900; line-height: 1; font-style: italic; }
.brand-line { width: 60px; height: 6px; background: var(--brand-color); margin-top: 20px; }


.content-wrapper { flex: 2; position: relative; }

.scroll-box {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 35px;
    text-align: justify;
}
.scroll-box::-webkit-scrollbar { width: 4px; }
.scroll-box::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.scroll-box::-webkit-scrollbar-thumb { background: var(--brand-color); border-radius: 10px; }
.scroll-box h3 { font-size: 26px; margin-bottom: 20px; font-weight: 800; }
.scroll-box p { font-size: 17px; color: var(--text-gray); margin-bottom: 25px; }
.scroll-hint {
    position: absolute; bottom: -35px; right: 0;
    color: var(--brand-color); font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    animation: floating 2s infinite ease-in-out;
}
@keyframes floating {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-6px); opacity: 1; }
}

/* --- specs --- */
.specs-container h2 { text-align: center; margin-bottom: 50px; font-size: 36px; font-weight: 900; }

table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #eee; }
.ytlinfo-tr:first-child .ytlinfo-td:nth-child(1),
.ytlinfo-tr:first-child .ytlinfo-td:nth-child(2) { background: #1a1a1a; color: #fff; padding: 20px; text-align: left; font-size: 12px; letter-spacing: 1px; }
table td { padding: 20px; border-bottom: 1px solid #eee; font-size: 15px; }
table tr:hover { background: #f0fdf4; } 

/* --- adv--- */
.features-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 80px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.ytlinfo-adv {
    display: flex;
    gap: 0; /* 改为紧凑型布局，通过卡片内部 margin 控制 */
    justify-content: center;
}

.feature-card {
    flex: 1;
    margin: 0 15px;
    padding: 50px 40px;
    background: #fff;
    border: 1px solid #eee;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    opacity: 0;
    transform: translateX(40px) scale(0.98);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background-color: var(--brand-color);
    transition: all 0.4s ease;
    z-index: -1;
}
.feature-card:hover {
    color: #ffffff;
    border-color: var(--brand-color);
}
.feature-card:hover::after {
    width: 100%;
}
.feature-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
    transition: color 0.3s;
}
.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    transition: color 0.3s;
}
.feature-card:hover h3, 
.feature-card:hover p {
    color: #ffffff;
}
.app-box {
    padding: 100px 20px;
    background-color: #fcfdfc; 
}
.app-box h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 60px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.ytlinfo-app {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 0; 
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.06);
}
.ytlinfo-app ul {
    flex: 1;
    list-style: none;
    background: #1a1a1a;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
}
.ytlinfo-app ul li {
    padding: 25px 40px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    border-left: 5px solid transparent;
}
.ytlinfo-app ul li.active {
    background: #262626;
    color: #ffffff;
    border-left-color: #59b548;
}
.ytlinfo-app ul li.active::after {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #ffffff; 
}
.ytlinfo-app > div {
    flex: 2.5;
    padding: 60px;
    position: relative;
    background: radial-gradient(circle at top right, #f0fdf4, #ffffff);
}
.ytlinfo-app > div > div {
    display: none;
    animation: contentFadeIn 0.6s ease forwards;
}

.ytlinfo-app > div > div.active {
    display: block;
}
.ytlinfo-app h3 {
    font-size: 32px;
    color: #59b548;
    margin-bottom: 25px;
    font-weight: 800;
}
.ytlinfo-app p {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    position: relative;
}
.ytlinfo-app p::before {
    content: "“";
    position: absolute;
    top: -40px; left: -20px;
    font-size: 80px;
    color: #59b548;
    opacity: 0.1;
    font-family: serif;
}
@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}


.faq-box {
    max-width: 1000px;
    margin: 100px auto;
    padding: 0 20px;
}

.faq-box h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 60px;
    color: #0f172a;
    font-style: italic;
    position: relative;
}

.faq-box h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #59b548;
    margin: 15px auto;
}

.faq-box ul {
    list-style: none;
    padding: 0;
}

.faq-box li {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-box li span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    color: #1e293b;
    transition: color 0.3s;
}
.faq-box li span::before {
    content: 'Q';
    color: #59b548;
    font-size: 22px;
    margin-right: 15px;
}

.faq-box li span::after {
    content: '+';
    font-size: 24px;
    color: #94a3b8;
    transition: transform 0.4s ease;
}

.faq-box li p {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-box li.active {
    border-color: #59b548;
    box-shadow: 0 10px 30px rgba(89, 181, 72, 0.08);
}

.faq-box li.active span {
    color: #59b548;
}

.faq-box li.active span::after {
    transform: rotate(45deg); 
    color: #59b548;
}

.faq-box li.active p {
    max-height: 200px; 
    padding-bottom: 30px;
    padding-top: 10px;
    opacity: 1;
}



.related-pages-box {
    max-width: 1490px;
    margin: 100px auto;
    padding: 0 20px;
}

.related-header {
    margin-bottom: 50px;
}

.related-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.related-header .divider {
    width: 60px;
    height: 4px;
    background: #59b548;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #59b548;
    transition: width 0.3s ease;
    z-index: 0;
    opacity: 0.05;
}

.related-card:hover {
    border-color: #59b548;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(89, 181, 72, 0.1);
}

.related-card:hover::before {
    width: 100%;
}

.card-info {
    position: relative;
    z-index: 1;
}

.card-info h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.card-info span {
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.arrow-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.related-card:hover h4 {
    color: #59b548;
}

.related-card:hover .arrow-icon {
    transform: translateX(5px);
    color: #59b548;
}
.side-inquiry {
    position: fixed;
    right: -320px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    background: #ffffff;
    box-shadow: -10px 0 50px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px 0 0 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: 1px solid #f1f5f9;
}
.side-inquiry.is-active {
    right: 0;
}
.inquiry-trigger {
    position: absolute;
    left: -42px;
    top: 50%;
    transform: translateY(-50%);
    background: #59b548;
    color: #ffffff;
    width: 42px;
    padding: 20px 0;
    cursor: pointer;
    border-radius: 12px 0 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: -5px 0 15px rgba(89, 181, 72, 0.2);
}

.inquiry-trigger span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    white-space: nowrap;
}
.inquiry-content {
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
}
.company-mini-info {
    background: #f8fafc;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #edf2f7;
}
.company-mini-info h4 {
    color: #59b548;
    font-size: 16px;
    margin-bottom: 10px;
}
.company-mini-info li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}
.company-mini-info li::before {
    content: '●';
    color: #59b548;
    font-size: 8px;
    margin-right: 10px;
}
.inquiry-form {
    display: flex;
    flex-direction: column;
}
.inquiry-form input, 
.inquiry-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.inquiry-form .submit_btn {
    width: 100%;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.inquiry-form .submit_btn:hover {
    background: #59b548;
}



.fab-inquiry {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--brand-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(89, 181, 72, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-inquiry:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(89, 181, 72, 0.5);
}

.fab-icon { font-size: 20px; }
.fab-text { font-weight: 800; font-size: 14px; letter-spacing: 1px; }

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8); 
    backdrop-filter: blur(8px); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    padding: 50px;
    border-radius: 24px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.is-visible .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px; right: 25px;
    font-size: 30px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover { color: var(--brand-color); }

.modal-header h3 { font-size: 28px; font-weight: 900; color: #0f172a; margin-bottom: 10px; }
.modal-header p { color: #64748b; font-size: 15px; margin-bottom: 30px; }
.modal-form { display: flex; flex-direction: column; gap: 15px; }
.form-row { display: flex; gap: 15px; }
.modal-form input, .modal-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    background: #f8fafc;
}

.modal-form .submit_btna {
    background: var(--brand-color);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(89, 181, 72, 0.2);
}

@media (max-width: 600px) {
    .fab-inquiry {
        width: 56px; 
        height: 56px;
        padding: 0; 
        border-radius: 50%; 
        justify-content: center; 
        align-items: center;
        right: 20px;
        bottom: 20px;
    }
    .fab-text { 
        display: none !important; 
    }
    .fab-icon {
        font-size: 26px; 
        line-height: 1;
        margin: 0;
    }
    @keyframes pulse-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.fab-inquiry .fab-icon {
    animation: pulse-icon 2s infinite ease-in-out;
}
}
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr; 
    }
    .related-header h2 {
        font-size: 28px;
    }
    .faq-box h2 { font-size: 32px; }
    .faq-box li span { font-size: 16px; padding: 20px; }
}
@media (max-width: 850px) {
    .ytlinfo-app {
        flex-direction: column;
        border-radius: 15px; 
        margin: 20px 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .ytlinfo-app ul {
        flex-direction: column; 
        padding: 0;
        background: #1a1a1a;
        width: 100% !important;
        overflow-x: hidden; 
    }

    .ytlinfo-app ul li {
        padding: 18px 25px;
        border-left: none;
        border-bottom: 1px solid #262626; 
        text-align: left;
        font-size: 15px;
        white-space: normal; 
    }

    .ytlinfo-app ul li.active {
        background: #262626;
        border-bottom: 2px solid var(--brand);
        color: #ffffff;
    }

    .ytlinfo-app ul li.active::after {
        display: none;
    }

    .ytlinfo-app > div {
        padding: 30px 20px;
        min-height: auto;
        background: #ffffff;
    }

    .ytlinfo-app h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .ytlinfo-app p {
        font-size: 16px;
        line-height: 1.6;
    }

    .ytlinfo-app p::before {
        font-size: 50px;
        top: -25px;
        left: -10px;
    }
}
@media (max-width: 900px) {
    .intro-layout { flex-direction: column; }
    .side-info { position: static; margin-bottom: 40px; }
    .scroll-box { max-height: none; padding-right: 0; }
    .scroll-hint { display: none; }
    .ytlinfo-adv { flex-direction: column; gap: 20px; }
    .feature-card { margin: 0; opacity: 1; transform: none; }
}
@media (max-width: 1024px) {
    .side-inquiry {
        width: 280px;
        right: -280px;
    }
    .side-inquiry.auto-triggered {
        right: -280px; 
    }
}