/* ==========================================================================
   ????????設?
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft JhengHei", "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif;      
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

:root {
    --text-industry: #333333;
    --text-badge: #ffffff;
    --color-badge: #17a2b8;
    --color-brand-text: #17a2b8; 
    --color-cta: #f5f5f5;
    --color-cta-text: #17a2b8;
    --color-cta-hover: #ffffff;
    --border-cta: #17a2b8;
    --border-cta-width: 2px;
}

/* ==========================================================================
   Hero Section ??主?覺樣?   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background:#002051;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-title .brand-name {
    font-size: 60px;
    color: #ffffff;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 10px;
}

.hero-title .brand-sub {
    font-size: 45px;
    color: #ffffff;
    font-weight: 600;
    display: inline-block;
    line-height: 1.4;
}

.hero-description {
    font-size: 18px;
    color: #ffffff;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-demo-btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #17a2b8;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border-radius: 3px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-demo-btn:hover {
    background-color: #0097a7;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-media-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-video {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    
}

/* ==========================================================================
   ???色??   ========================================================================== */
.product-features-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #000000;
    position: relative;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title .brand-name {
    color: #17a2b8; 
}

.stats-bar {
    max-width: 1200px;        
    width: 100%;
    margin: 0 auto 30px auto;
}

.stats-card {
    background-color: #ffffff;      
    border-radius: 6px;            
    padding: 20px 10px;             
    text-align: center;             
    display: flex;
    flex-direction: column;
    justify-content: center;        
    min-height: 140px;              
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.stats-number {
    font-size: 36px;              
    font-weight: bold;              
    color: #000000;                 
    margin-right: 5px;            
}

.stats-text {
    font-size: 24px;             
    color: #000000;                 
    line-height: 1.4;                
    font-weight: 500;
}

.stats-desc {
    display: block;
    margin-top: 5px;
}

.tab-switch {
    display: none;
}

/* ==========================================================================
   ???色??- ?籤?單
   ========================================================================== */
.tab-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    border-bottom: 2px solid #f5f5f5;
    margin-bottom: 30px;
    
    width: 100% !important;
    max-width: 1020px;   
    margin-left: auto;   
    margin-right: auto;
    
    padding-left: 0;
    padding-right: 0;
}

.tab-item {
    margin: 0 10px;      
}

.tab-label {
    display: block;
    padding: 15px 15px;  
    font-size: 18px;     
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px; 
    white-space: nowrap;
}

.tab-label:hover {
    color: #17a2b8;
}

.tab-content-wrapper {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-bottom: 70px;
}

.tab-content {
    display: none; 
    animation: fadeIn 0.5s ease; 
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
    align-items: center;
}

.content-text h3 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 15px;
}

.content-text p {
    font-size: 17px;
    color: #000000;
    text-align: justify;
}

.tab-video {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

#tab-type:checked ~ .tab-menu .tab-item:nth-child(1) .tab-label,
#tab-quality:checked ~ .tab-menu .tab-item:nth-child(2) .tab-label,
#tab-auto-capture:checked ~ .tab-menu .tab-item:nth-child(3) .tab-label,
#tab-docs:checked ~ .tab-menu .tab-item:nth-child(4) .tab-label,
#tab-AI-model:checked ~ .tab-menu .tab-item:nth-child(5) .tab-label {
    color: #17a2b8; 
    border-bottom: 3px solid #17a2b8; 
    font-weight: bold;
}

#tab-type:checked ~ .tab-content-wrapper .content-type,
#tab-quality:checked ~ .tab-content-wrapper .content-quality,
#tab-auto-capture:checked ~ .tab-content-wrapper .content-auto-capture,
#tab-docs:checked ~ .tab-content-wrapper .content-docs,
#tab-AI-model:checked ~ .tab-content-wrapper .content-AI-model {
    display: block; 
}

/* ==========================================================================
   ???色表格專用??
   ========================================================================== */
.content-table-wrapper {
    width: 100%;
    height: 350px;             
    max-height: 350px;
    background: #ffffff;
    border: 1px solid #dcdcdc; 
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    overflow-y: auto;          
    overflow-x: hidden;
}

.document-ocr-table {
    width: 100%;
    height: 100%;              
    border-collapse: collapse; 
}

.document-ocr-table th, 
.document-ocr-table td {
    padding: 10px;
    border: 1px solid #dcdcdc; 
    text-align: center;       
    vertical-align: middle;    
    transition: background-color 0.1s ease-out; 
}

.document-ocr-table th {
    font-size: 16px;          
    font-weight: bold;        
    color: #000000;            
    background-color: #f4f6f9;
    position: sticky;                    
    top: 0;
    z-index: 10;
}

.document-ocr-table td {
    font-size: 16px;          
    color: #000000;            
    font-weight: normal;      
}

.document-ocr-table td:first-child {
    white-space: nowrap;      
    width: 95px;              
    background-color: #ffffff;
}

.document-ocr-table td:nth-child(2) {
    white-space: normal;      
    line-height: 1.6;
}

.document-ocr-table tbody tr:hover td {
    background-color: #f8fafc !important;
}

/* ==========================================================================
   ?用?景表格
   ========================================================================== */
.app-scenarios-section {
    padding: 60px 0;
    background-color: #ffffff;
    width: 100%;
}

.scenario-title-block {
    width: 100%;
    max-width: 1200px;         
    clear: both;
    display: flex;
    justify-content: center; 
    align-items: center;
    margin: 0 auto;
}

.scenario-main-title {
    font-size: 40px;         
    font-weight: bold;
    color: #000000; 
    text-align: center;
    margin-bottom: 40px;
    display: block; 
}

.scenario-main-title .brand-highlight {
    color: #17a2b8;           
    font-weight: bold;
    display: inline-block;
    padding-right: 8px;
}

.scenario-table-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px auto; 
    background: #ffffff;
    border: 1px solid #dcdcdc; 
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow-x: auto;                  
    overflow-y: hidden;                
    -webkit-overflow-scrolling: touch; 
}

.scenario-matrix-table {
    width: 100%;
    border-collapse: collapse; 
    min-width: 750px;                  
}

.scenario-matrix-table th, 
.scenario-matrix-table td {
    padding: 14px 20px;        
    border: 1px solid #dcdcdc; 
    text-align: center;       
    vertical-align: middle;    
    transition: background-color 0.1s ease-out; 
}

.scenario-matrix-table th {
    font-size: 18px;          
    font-weight: bold;        
    color: #000000;            
    background-color: #f4f6f9;
}

.scenario-matrix-table td {
    font-size: 18px;          
    color: #000000;            
    font-weight: normal;      
}

.scenario-matrix-table td:first-child {
    white-space: nowrap;      
    background-color: #ffffff;
}

.scenario-matrix-table tbody tr:hover td {
    background-color: #f8fafc !important;
}

/* ==========================================================================
   ??案???   ========================================================================== */
.trusted-projects-section {
    padding: 60px 0;
    background-color: #f5f5f5;
    width: 100%;
}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-title {
    font-size: 40px;
    color: #000000;          
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1px;
}

.highlight-brand {
    color: var(--color-brand-text);
}

.carousel-wrapper-main {
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 60px auto;
    display: flex;
    align-items: center;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: #999999;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.carousel-nav-btn:hover {
    color: #17a2b8;
    transform: translateY(-50%) scale(1.15);
}

.prev-btn { left: -40px; }
.next-btn { right: -40px; }

.logo-slider-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;           
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;          
    cursor: grab;                  
}

.logo-slider-container.dragging {
    cursor: grabbing;              
    scroll-behavior: auto;        
}

.logo-slider-container::-webkit-scrollbar {
    display: none;
}

.logo-slider-track {
    display: flex;
    width: max-content;
    gap: 40px;
    padding: 10px 0;
}

/* 每個?標?外????*/
.slide-item {
    width: auto;                  /* ? 寬度??自???止寬度被硬塞???*/
    height: 30px;                 /* ? 以???度為?高基準?????統???40 ?? */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;  
}

/* ???核心??修?】強迫???標?比?縮放?伸????????*/
.slide-item img {
    height: 100%;                 /* ? 100% 強制???檔?伸至滿格（?綠?科?一???*/
    width: auto;                  /* ? 寬度????，?證?不?形、?比??大延伸 */
    object-fit: contain;          
    filter: grayscale(100%);
    opacity: 0.6;
    transition: opacity 0.3s ease, filter 0.3s ease;
    pointer-events: none; 
}

.slide-item:hover img {
    filter: grayscale(0%); 
    opacity: 1;
}

/* ==========================================================================
   ??案???   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.project-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%; 
}

.project-logo-square {
    width: 100%;               
    aspect-ratio: 1 / 1;       
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    margin-bottom: 15px;
    overflow: hidden;
}

.project-logo-square img {
    width: 100%;
    height: 100%;
    object-fit: contain;       
}

h3.project-industry {
    font-size: 17px;
    color: var(--text-industry);
    margin-bottom: 12px;
    display: block;
    font-weight: 600;
    text-align: left;          
}

.project-badge {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-badge);
    padding: 6px 12px;
    background-color: var(--color-badge);
    text-align: left;          
}

.projects-cta-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.projects-cta-btn {
    display: inline-block;
    background-color: #f5f5f5;
    color: #17a2b8;
    font-size: 20px;
    font-weight: 700;
    padding: 14px 40px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: var(--border-cta-width) solid #17a2b8;
}

.projects-cta-btn:hover {
    background-color: #ffffff;
    color: #17a2b8;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ==========================================================================
   FAQ ???表??   ========================================================================== */
.faq-section {
    padding: 60px 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    width: 100%;
    contain: content; 
}

.faq-minimal-container {
    width: 100%;
    max-width: 1200px; 
}

.faq-icon-no-bg {
    width: 20px;           
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;      
    flex-shrink: 0;          
}

.faq-icon-no-bg svg {
    width: 16px;             
    height: 16px;
    color: #0f172a;          
    transition: transform 0.25s ease; 
}

.faq-parent-item {
    border-bottom: 0px solid #000000; 
    padding: 8px 0;
}

.faq-parent-item:first-child {
    border-top: 1px solid #e2e8f0;    
}

.faq-parent-summary {
    display: flex;
    align-items: center;
    padding: 20px 8px;
    cursor: pointer;
    list-style: none; 
}

.faq-parent-summary::-webkit-details-marker {
    display: none; 
}

h3.faq-title-text {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
}

.faq-parent-item[open] > .faq-parent-summary .faq-icon-no-bg svg,
.faq-child-item[open] > .faq-child-summary .faq-icon-no-bg svg {
    transform: rotate(90deg);
    color: #17A2B8; 
}

.faq-parent-content {
    padding: 10px 0 20px 40px; 
    overflow: hidden; 
}

.faq-child-item {
    margin-bottom: 8px;
}

.faq-child-item:last-child {
    margin-bottom: 0;
}

.faq-child-summary {
    display: flex;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    list-style: none;
}

.faq-child-summary::-webkit-details-marker {
    display: none;
}

h4.faq-title-text {
    font-size: 17px;
    font-weight: 500;
    color: #000000;
}

.faq-child-summary .faq-icon-no-bg svg {
    color: #64748b; 
}

.faq-child-content {
    padding: 8px 0 16px 40px; 
    color: #000000;
    font-size: 16px;
    line-height: 1.6;
}

.faq-media {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    margin-top: 16px;
    display: block;
    border: 1px solid #e2e8f0; 
}

.faq-image-row {
    display: flex;
    flex-wrap: wrap; 
    gap: 15px;       
    margin-top: 16px;
    justify-content: flex-start;
}

.faq-image-row .faq-media {
    flex: 1;             
    max-width: 350px;    
    margin-top: 0;       
}

@media (max-width: 768px) {
    .faq-image-row {
        flex-direction: column;
        align-items: center;
    }
    .faq-image-row .faq-media {
        max-width: 100%; 
    }
}

.faq-main-heading {
    font-size: 40px;       
    font-weight: 700;       
    color: #000000;         
    margin-bottom: 32px;    
    text-align: center;     
}

.brand-color {
    color: #17A2B8;         
}

.table-responsive {
    width: 100%;
    overflow-x: auto;                  
    overflow-y: hidden;                
    -webkit-overflow-scrolling: touch; 
    margin-top: 12px;
    border-radius: 8px;        
}

.faq-custom-table {
    width: 100%;               
    border-collapse: collapse; 
    font-size: 16px;
    background-color: #ffffff; 
    border: 1px solid #dcdcdc; 
    table-layout: auto !important; 
}

.faq-custom-table th,
.faq-custom-table td {
    color: #000000;            
    padding: 14px 20px;        
    text-align: center;      
    border: 1px solid #dcdcdc; 
    white-space: nowrap !important; 
    transition: background-color 0.1s ease-out; 
}

.faq-custom-table th {
    color: #000000;            
    background-color: #f4f6f9;
}

.faq-table-header-cell {
    background-color: #ffffff !important; 
    font-weight: bold !important; 
    border-right: 1px solid #dcdcdc;      
    vertical-align: middle;               
}

.faq-custom-table tbody tr :not([rowspan]):first-child {
    font-weight: normal; 
}

.faq-custom-table td:last-child {
    text-align: center;                    
}

.faq-custom-table tbody tr:hover td {
    background-color: #f8fafc !important;
}
/* ==========================================================================
   ?新??：單???系統架構??解?放?   ========================================================================== */
.faq-parent-item:nth-of-type(2) .faq-media {
    max-width: 750px !important; 
    width: 100%;
    margin-left: 0;              
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
}

@media (max-width: 768px) {
    .faq-parent-item:nth-of-type(2) .faq-media {
        max-width: 100% !important;
    }
}
/* ==========================================================================
   三大?勢
   ========================================================================== */
.features-section {
    background-color: #f5f5f5;
    padding: 60px 0;
    width: 100%;
}

.features-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #f4f6f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon-wrapper {
    background-color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-card-title {
    color: #17a2b8;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.feature-card-desc {
    color: #000000;
    font-size: 17px;
    line-height: 1.6;
}

.features-update-block {
    display: flex;
    justify-content: flex-end; 
    width: 100%;
    margin-top: 20px;          
}

.features-update-time {
    color: #666666;            
    font-size: 16px;           
    font-weight: 500;
    text-align: right;         
    margin: 0;
    padding: 0;
    width: auto; 
    white-space: nowrap;       
}

@media (max-width: 900px) {
    .features-update-block {
        justify-content: center; 
    }
    .features-update-time {
        text-align: center;
    }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
    background-color: #0f172a; 
    padding: 60px 0;
    text-align: center;
    width: 100%;
}

.cta-desc {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-action {
    display: block;
}

.cta-btn {
    display: inline-block;
    background-color: #17a2b8; 
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 45px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #0097a7;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

/* ==========================================================================
   RWD ??式???   ========================================================================== */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
    }
    .hero-content-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title .brand-name {
        font-size: 40px; 
    }
    .hero-title .brand-sub {
        font-size: 22px;
    }
    .hero-description {
        font-size: 16px;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .tab-video, 
    .content-table-wrapper,
    .content-image,
    .content-text {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 900px) {
    .features-grid-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .project-logo-square {
        width: 100%;
        max-width: 160px;          
        height: 90px;              
        margin: 0 auto 15px auto;  
        aspect-ratio: auto;        
    }
    .project-logo-square img {
        width: auto;               
        height: auto;
        max-width: 100%;           
        max-height: 100%;
    }
    .project-industry,
    .project-badge {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1300px) {
    
    .tab-menu {
        justify-content: flex-start !important; 
        overflow-x: auto !important;           
        overflow-y: hidden !important;         
        white-space: nowrap !important;        
        -webkit-overflow-scrolling: touch !important; 
        
        padding-left: 0 !important;        
        padding-right: 0 !important;       
        padding-bottom: 10px !important;       
        
        width: 100% !important;
    }

    .tab-item {
        flex-shrink: 0 !important;             
        margin-right: 20px !important;         
        margin-left: 0 !important;
    }

    .tab-label {
        font-size: 16px !important;            
        padding: 10px 10px !important;         
    }
}
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .tab-video, 
    .content-table-wrapper,
    .content-image,
    .content-text {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}


@media (max-width: 575.98px) {
    .hero-title .brand-sub {
     font-size: 31px;
    }

	.section-title, .scenario-main-title, .projects-title,.faq-main-heading {
	font-size: 30px;
	line-height: 2.8rem;
	}
	
	
}