.hardboxswiper-container .swiper-wrapper {
    box-sizing: content-box !important; 
    
    display: flex !important;
    width: auto !important; 
}
.hardboxswiper-container .swiper-slide {
    box-sizing: content-box !important; 
    flex-shrink: 0 !important;
    width: auto !important; 
}
.hardboxswiper-container .hardwareswiper-wrapper { 
    box-sizing: content-box !important;
    display: flex !important;
    width: auto !important;
}
.channelProductBanner {
    background: url(/statics/images/product/ocr/ocrbg.png) no-repeat top center;
}
.ocrAbout {
    background: url(/statics/images/product/ocr/bg2.png) no-repeat top center;
    height: 520px;
}
.ocrAbout .cardProductAboutRight .cardProductAboutRightTit {
    font-size: 48px;
    font-weight: bold;
}
.ocrAbout .cardProductAboutRight .cardProductAboutRightTxt {
    font-size: 18px;
}

@media (min-width: 1280px) {
.container {
    max-width: 1200px !important;
}
}

@media (min-width: 1536px) {
.container {
    max-width: 1200px !important;
}
}
.supporter-name {
    font-size: 16px
}
.status-text {
    font-size: 18px
}
 
.PartTitleBox .PartTitle em {
    color: #ffffff;
}
.PartTitleBox .PartTitle span {
    color: #535966;
}
*, ::after, ::before {
    box-sizing: content-box !important;
}
:root {
 --bg-color: #0f172a;
 --text-color: #e2e8f0;
 --primary-color: #3b82f6;
 --card-bg-color: #1e293b;
 --border-color: #334155;
 --success-color: #10b981;
 --error-color: #ef4444;
 --warning-color: #f59e0b;
}
#ocr {
   
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 3rem;
}
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23334155" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 600px;
}
.stats-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}
.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.stat-item:last-child {
    margin-bottom: 0;
}
.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #60a5fa);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}
.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}
.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
}
.main-content {
    padding: 3rem 0;
}
.upload-section {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(30, 41, 59, 0.5);
}
.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}
.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.02);
}
.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.upload-text {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}
.upload-subtext {
    font-size: 0.875rem;
    color: #94a3b8;
}
.preview-container {
    display: none;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.preview-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.thumbnail-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}
.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.thumbnail:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
}
.recognize-btn {
    background: linear-gradient(135deg, var(--primary-color), #60a5fa);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}
.recognize-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}
.recognize-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.results-section {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.8);
}
.status-icon {
    width: 24px;
    height: 24px; font-size: 24px; position: relative; margin-right: 5px;
    
}
.status-icon i{ position:absolute}
.status-text {
    font-weight: 500;
}
.info-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.info-card:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}
.info-label {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}
.info-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color);
    word-break: break-all;
}
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}
 @keyframes spin {
 to {
transform: rotate(360deg);
}
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 9999;
}
.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.modal-image {
    width: auto;
    height: 100%;
    display: inline-block;
}
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}
.supporters-section {
    background: #0f172a;
    padding: 0 0 3rem 0;
}
.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.supporter-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.supporter-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}
.supporter-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 0.5rem; text-align: center;
}
.supporter-icon img{  display:inline-table}
 
.supporter-name {
    font-weight: 500;
    color: var(--text-color);
}

@media (max-width: 768px) {
.bento-grid {
    grid-template-columns: 1fr;
}
.hero-title {
    font-size: 2.5rem;
}
.hero-subtitle {
    font-size: 1rem;
}
.stats-card {
    margin-top: 2rem;
}
.container {
    padding: 0 1rem;
}
.upload-area {
    padding: 2rem;
}
.thumbnail-container {
    flex-direction: column;
    align-items: flex-start;
}
.recognize-btn {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
}
.supporters-grid {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 480px) {
.hero-title {
    font-size: 2rem;
}
.supporters-grid {
    grid-template-columns: 1fr;
}
.modal-content {
    margin: 10% auto;
}
}
#ocrboxone {
    background: #0f172a;
}
.ocrboxoneul {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.ocrboxoneul li {
    width: 318px;
    margin-right: 30px;
    transition: all 0.3s ease;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    font-size: 16px;
    color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    cursor: pointer;
}
.ocrboxoneul li:nth-child(3n) {
    margin-right: 0;
}
.ocrboxoneul li:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}
.ocrboxoneul li .ocrboxoneioc {
    text-align: center
}
.ocrboxoneul li .ocrboxoneioc img {
    display: inline-table; width: 130px;
} 
.ocrboxoneul li h4 {
    font-size: 22px;
    padding: 20px 0;
}
#ocrboxtwo {
    background: #0f172a;
    padding: 0 0 3rem 0;
}
.ocrboxtwoul {
    display: flex;
    justify-content: space-between
}
.ocrboxtwoul li {
    width: 348px;
    margin-right: 30px;
    transition: all 0.3s ease;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    font-size: 16px;
    color: #fff;
    padding: 20px 15px;
    margin-bottom: 30px;
    cursor: pointer;
}
.ocrboxtwoul li:nth-child(3n) {
    margin-right: 0;
}
.ocrboxtwoul li:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}
.ocrboxtwonum {
    font-size: 30px;
    line-height: 40px;
}
.ocrboxtwoimg img {
    width: 100%;
    margin-top: 20px;
}
.ocrboxtwonum span {
    display: inline-block;
    border-bottom: 2px solid #ffffff;
}
.ocrboxtwoul li:hover .ocrboxtwonum {
    color: #3b82f6;
}
.ocrboxtwoul li:hover span {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}
.ocrboxtwoul li h4 {
    font-size: 22px;
    padding: 20px 0;
}
