/* 首页样式 - High End Vibrant */

.unified-platform-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #ecfeff 100%); /* Soft blue-cyan mesh */
    border-radius: 1.5rem;
    padding: 2rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15); /* Blue-tinted shadow */
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px); /* 首屏高度减去导航栏 */
    justify-content: space-between;
}

/* Decorative background blobs */
.unified-platform-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.unified-platform-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.unified-platform-box > * {
    position: relative;
    z-index: 1;
}

.unified-platform-box h1 {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2.8rem;
    letter-spacing: -0.02em;
}

.platforms-container {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.platform-info {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.platform-info:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.platform-info .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 15px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.platform-info:hover .icon {
    transform: scale(1.1);
}

.platform-info h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #1e293b;
}

.icon.online { 
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.icon.tools { 
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.platform-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.platform-link:hover {
    text-decoration: none;
    color: inherit;
}

.platform-link .platform-info {
    transition: all 0.3s ease;
}

.platform-link:hover .platform-info {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.platform-info p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    min-height: 60px;
}

.btn-docs {
    margin-top: 1rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

.btn-docs:hover {
    background: #ffffff;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    border-color: #bfdbfe;
}

/* 工具卡片样式 */
.category-section {
    margin-top: 3rem;
}

.tool-card-grid {
    position: relative;
    text-align: center;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.tool-card-grid .card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tool-card-grid:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15); /* Colored shadow on hover */
    border-color: #bfdbfe;
}

.tool-icon-grid {
    margin: 0 auto;
    width: 68px;
    height: 68px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 18px;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.8);
}

.tool-card-grid:hover .tool-icon-grid {
    transform: scale(1.05) rotate(3deg);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.tool-icon-grid img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.badges-grid {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    z-index: 2;
}

.vip-badge-grid, 
.batch-badge-grid, 
.local-badge-grid,
.software-badge-grid {
    color: #fff;
    padding: 0.25em 0.65em;
    font-size: 0.7rem;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1.2;
    white-space: nowrap;
}

.vip-badge-grid {
    background: linear-gradient(135deg, #fbbf24, #d97706);
}

.batch-badge-grid {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.local-badge-grid {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.software-badge-grid {
    background: linear-gradient(135deg, #475569, #0f766e);
}

.tool-card-button {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 10px;
    color: #475569;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    pointer-events: none;
    width: 100%;
}

.tool-card-grid:hover .tool-card-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); /* Blue gradient on hover */
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.card-title {
    font-weight: 700;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #1e293b;
}

.card-text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.tool-card-grid a.stretched-link {
    z-index: 1;
}

/* 迁移自 index.php 的样式 - High-End Refined */

/* 主标题渐变文字样式 - 极简版 */
.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #16a34a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-weight: 800;
}

.subtitle-text {
    display: block;
    font-size: 1.15rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.7;
    margin-top: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-bold {
    font-weight: 700;
    font-size: 1.25em;
    color: #0f172a;
    background: rgba(59, 130, 246, 0.12);
    padding: 0.25em 0.75em;
    border-radius: 0.5em;
    border: 1px solid rgba(59, 130, 246, 0.25);
    position: relative;
    display: inline-block;
}

.typing-cursor {
    animation: blink 1s infinite;
    font-weight: 700;
    font-size: 1.2em;
    color: #2563eb;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 现代化平台亮点样式 */
.platform-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.25rem 0 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Re-introduce colorful backgrounds for icons */
.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    z-index: 2;
    border-radius: 1rem;
}

.highlight-item:hover {
    transform: translateY(-4px);
}

.highlight-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Specific colors for highlights */
.highlight-item:nth-child(1) .highlight-icon {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
}
.highlight-item:nth-child(1) .highlight-icon i { color: #0891b2; }

.highlight-item:nth-child(3) .highlight-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}
.highlight-item:nth-child(3) .highlight-icon i { color: #059669; }

.highlight-item:nth-child(5) .highlight-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}
.highlight-item:nth-child(5) .highlight-icon i { color: #2563eb; }

.highlight-item:nth-child(7) .highlight-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}
.highlight-item:nth-child(7) .highlight-icon i { color: #d97706; }

.highlight-item:nth-child(9) .highlight-icon {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}
.highlight-item:nth-child(9) .highlight-icon i { color: #dc2626; }

.highlight-item:nth-child(11) .highlight-icon {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}
.highlight-item:nth-child(11) .highlight-icon i { color: #16a34a; }

.highlight-item:nth-child(13) .highlight-icon {
    background: linear-gradient(135deg, #cffafe 0%, #bae6fd 100%);
}
.highlight-item:nth-child(13) .highlight-icon i { color: #0369a1; }


.highlight-item .highlight-icon i {
    font-size: 1.25rem;
    text-shadow: none;
    transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.highlight-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
}

.highlight-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
}

.highlight-desc {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.highlight-separator {
    width: 1px;
    height: 32px;
    background: #e2e8f0;
    margin: 0 1rem;
}

/* FAQ Styles */
.faq-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 4rem 2rem;
    margin: 3rem 0;
    border-radius: 2rem;
    width: 100%;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.faq-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -0.02em;
}

.faq-subtitle {
    font-size: 1rem;
    color: #64748b;
}

.faq-item {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    border-color: #e2e8f0;
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    border: none;
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question:hover .faq-toggle {
    border-color: #cbd5e1;
    background: #fff;
    transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] {
    background: #ffffff;
}

.faq-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}

.faq-title-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.5;
    padding-right: 1rem;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-toggle i {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: rotate(180deg) !important;
}

.faq-question[aria-expanded="true"] .faq-toggle i {
    color: #3b82f6;
}

.faq-answer {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.faq-content {
    padding: 1.5rem 2rem 2rem 5.4rem; /* Left padding = icon width (42) + margin (20) + extra spacing */
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
}

.faq-content itemprop {
    display: block;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .faq-content {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-icon {
        width: 36px;
        height: 36px;
        margin-right: 1rem;
    }
    
    .faq-title-text {
        font-size: 0.95rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
}

body.home-page .home-language-suggestion {
    width: 100%;
    border-bottom: 1px solid #dbe4f0;
    background: #f8fbff;
    color: #203451;
}

body.home-page .home-language-suggestion[hidden] {
    display: none;
}

body.home-page .home-language-suggestion-inner {
    display: flex;
    align-items: center;
    min-height: 52px;
    gap: 14px;
}

body.home-page .home-language-suggestion-label,
body.home-page .home-language-suggestion-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.home-page .home-language-suggestion-label {
    color: #52657e;
    font-size: 14px;
    font-weight: 600;
}

body.home-page .home-language-suggestion-link {
    color: #155eef;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

body.home-page .home-language-suggestion-link:hover,
body.home-page .home-language-suggestion-link:focus-visible {
    color: #0b46bd;
    text-decoration: underline;
}

body.home-page .home-language-suggestion-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #52657e;
}

body.home-page .home-language-suggestion-close:hover,
body.home-page .home-language-suggestion-close:focus-visible {
    color: #15243a;
    background: #e8eef7;
}

@media (max-width: 576px) {
    body.home-page .home-language-suggestion-inner {
        min-height: 56px;
        gap: 10px;
    }

    body.home-page .home-language-suggestion-label span {
        display: none;
    }
}

/* Category Header */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(205, 222, 250, 0.72);
    padding-bottom: 1rem;
}

.category-title {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 900;
    color: #10264b;
    display: flex;
    align-items: center;
}

.category-title i {
    color: #1e78ff;
    filter: drop-shadow(0 8px 16px rgba(30, 120, 255, 0.16));
}

.view-all-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.view-all-btn-small:hover {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.view-all-btn-small .btn-icon {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .platforms-container {
        flex-direction: column;
    }
    
    .unified-platform-box {
        padding: 2rem 1.5rem;
    }
    
    .unified-platform-box h1 {
        font-size: 1.8rem;
    }
    
    .category-section h2 {
        font-size: 1.2rem;
    }

    .highlight-separator {
        display: none;
    }
    
    /* 移动端亮点区域优化 - 5列紧凑布局 */
    .platform-highlights {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        padding: 1.5rem 1rem;
        margin: 1.5rem 0 2rem 0;
    }
    
    .highlight-item {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.8rem;
        background: #f8fafc;
        border-radius: 12px;
        width: calc(33.33% - 0.6rem); /* 3列布局 */
        min-width: 100px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    
    .highlight-item:hover {
        transform: none;
    }
    
    .highlight-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    
    .highlight-icon i {
        font-size: 1.2rem;
    }
    
    .highlight-content {
        align-items: center;
        gap: 0.2rem;
    }
    
    .highlight-title {
        font-size: 0.75rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .highlight-desc {
        display: block;
        font-size: 0.6rem;
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .unified-platform-box {
        padding: 1.5rem 1rem;
    }
    
    .unified-platform-box h1 {
        font-size: 1.4rem;
    }
    
    .subtitle-text {
        font-size: 0.9rem;
    }
    
    .highlight-bold {
        font-size: 1em;
        padding: 0.15em 0.4em;
    }
    
    .platform-highlights {
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }
    
    .highlight-item {
        width: calc(33.33% - 0.4rem);
        padding: 0.6rem 0.3rem;
        min-width: auto;
    }
    
    .highlight-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .highlight-icon i {
        font-size: 1rem;
    }
    
    .highlight-title {
        font-size: 0.7rem;
    }
}

/* =========================================
   Premium Platform Cards Redesign
   ========================================= */

.platforms-container {
    display: flex;
    gap: 1.25rem;
    width: 100%;
    margin-top: 0.5rem;
}

.platform-card-premium {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.25rem;
    padding: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
}

.platform-card-premium:hover {
    transform: translateY(-8px);
    background: #ffffff;
    box-shadow: 
        0 20px 40px -5px rgba(0, 0, 0, 0.1),
        0 10px 20px -5px rgba(0, 0, 0, 0.04);
    border-color: #fff;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 0.75rem;
}

.card-header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Icon Styles */
.card-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.online-card .card-icon-wrapper {
    color: #059669;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.software-card .card-icon-wrapper {
    color: #2563eb;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.feedback-card .card-icon-wrapper {
    color: #db2777;
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
}

.platform-card-premium:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Text Styles */
.card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.card-badges {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.badge-item {
    font-size: 0.65rem;
    padding: 0.2em 0.6em;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.online-card .badge-item {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
}

.software-card .badge-item {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.feedback-card .badge-item {
    background: #f0fdfa;
    color: #db2777;
    border: 1px solid #ecfeff;
}

.badge-item.highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.card-desc {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    text-align: left;
}

.card-desc strong {
    color: #334155;
    font-weight: 700;
    display: block;
    margin-top: 0.2rem;
}

/* Action Button */
.card-action {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.software-card .action-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.online-card .action-btn {
    background: #f1f5f9;
    color: #64748b;
    cursor: default;
}

.platform-card-premium:hover .action-btn {
    transform: translateY(-2px);
}

.software-card:hover .action-btn {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

/* Decorations */
.card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 1.5rem;
    pointer-events: none;
}

.card-decoration::before,
.card-decoration::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.online-card .card-decoration::before {
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: #10b981;
}

.online-card .card-decoration::after {
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: #34d399;
    opacity: 0.1;
}

.software-card .card-decoration::before {
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: #3b82f6;
}

.software-card .card-decoration::after {
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: #06b6d4;
    opacity: 0.1;
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Feedback Card Theme - Orange/Amber Style */
.feedback-card .card-icon-wrapper {
    color: #d97706;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.feedback-card .badge-item {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

.feedback-card .action-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

.feedback-card:hover .action-btn {
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.35);
}

.feedback-card .card-decoration::before {
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: #f59e0b;
}

.feedback-card .card-decoration::after {
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: #fbbf24;
    opacity: 0.1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .platforms-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .platform-card-premium {
        padding: 2rem 1.5rem;
    }
}

/* 首页首屏 - 按设计稿校准 */
body.home-page {
    background:
        radial-gradient(circle at 72% 16%, rgba(55, 132, 255, 0.11), transparent 30%),
        linear-gradient(180deg, #fbfdff 0%, #eff7ff 52%, #f7fbff 100%);
}

body.home-page .modern-navbar {
    width: min(calc(100% - 60px), var(--app-shell-max-width));
    height: 88px;
    margin: 10px auto 0;
    top: 10px;
    background:
        radial-gradient(circle at 47% -35%, rgba(61, 126, 255, 0.14) 0%, transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(249, 252, 255, 0.94) 100%);
    border: 1px solid rgba(184, 209, 249, 0.96);
    border-radius: 16px;
    box-shadow:
        0 15px 36px rgba(47, 94, 168, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.home-page .navbar-container {
    max-width: none;
    padding: 0 30px;
}

body.home-page .navbar-content {
    gap: 28px;
    position: relative;
}

body.home-page .brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 18px rgba(28, 95, 194, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

body.home-page .logo-container {
    gap: 12px;
}

body.home-page .brand-name {
    font-size: 1.56rem;
    line-height: 1.02;
    color: #0b2a62;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

body.home-page .brand-subtitle {
    margin-top: 6px;
    font-size: 0.76rem;
    color: #263f74;
    font-weight: 800;
    letter-spacing: 0;
}

body.home-page .navbar-search-section {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: 0 1 auto;
    width: min(560px, calc(100% - 620px));
    max-width: 560px;
    margin: 0;
}

body.home-page .search-input-wrapper {
    min-height: 58px;
    height: auto;
    padding: 0 8px 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(181, 206, 247, 0.96);
    box-shadow:
        0 14px 28px rgba(48, 90, 166, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.home-page .search-icon {
    font-size: 1.22rem;
    margin-right: 1rem;
    color: #1f5fcc;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

body.home-page .search-input {
    font-size: 1rem;
    color: #243b63;
}

body.home-page .search-input::placeholder {
    color: #7b8ead;
}

body.home-page .search-btn {
    width: 48px;
    height: 48px;
    margin-left: 0.75rem;
    background: linear-gradient(135deg, #1f7dff 0%, #1d4ed8 100%);
    box-shadow: 0 12px 22px -8px rgba(29, 78, 216, 0.48);
}

body.home-page .search-btn i {
    font-size: 1.2rem;
}

body.home-page .user-nav {
    gap: 16px;
}

body.home-page .auth-buttons {
    gap: 16px;
}

body.home-page .auth-btn,
body.home-page .docs-btn {
    min-height: 50px;
    border-radius: 14px;
    font-size: 0.96rem;
    font-weight: 800;
}

body.home-page .login-btn {
    min-width: 0;
    color: #1e293b;
    padding: 0 22px;
    background: #ffffff;
    border: 1.5px solid #b6cdf3;
    box-shadow: 0 4px 12px rgba(31, 125, 255, 0.08);
}

body.home-page .register-btn {
    padding: 0 22px;
    background: linear-gradient(135deg, #2c7bff 0%, #1d4ed8 100%);
    box-shadow:
        0 10px 22px -6px rgba(29, 78, 216, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

body.home-page .docs-btn {
    padding: 0 20px;
    color: #2a3e5f;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(213, 226, 248, 0.95);
    box-shadow: none;
}

body.home-page .main-wrapper {
    min-height: calc(100vh - 98px);
}

body.home-page .modern-sidebar {
    width: 238px;
    flex: 0 0 238px;
    top: 112px;
    height: calc(100vh - 120px);
    margin: 14px 26px 8px 0;
    padding: 12px 14px 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(205, 222, 250, 0.95);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(44, 92, 160, 0.1);
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: none;
}

body.home-page .sidebar-content {
    padding: 0;
}

body.home-page .nav-section {
    margin-bottom: 8px;
}

body.home-page .section-header {
    padding: 8px 2px 10px;
}

body.home-page .section-title,
body.home-page h2.section-title {
    font-size: 14px;
    color: #7788a8;
    letter-spacing: 0;
    text-transform: none;
}

body.home-page .nav-item {
    margin-bottom: 4px;
    animation: none;
}

body.home-page .nav-link {
    opacity: 1;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    color: #203b67;
    font-size: 14px;
    font-weight: 700;
}

body.home-page .nav-link.active {
    color: #fff;
    min-height: 42px;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #1c73ff 0%, #50a8ff 100%);
    box-shadow: 0 10px 20px rgba(28, 115, 255, 0.22);
}

body.home-page .nav-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

body.home-page .nav-icon i {
    font-size: 14px;
    color: #2377ff;
}

body.home-page .main-content {
    padding: 17px 38px 24px 20px;
}

body.home-page .hero-section .container {
    max-width: 100%;
    padding: 0;
}

body.home-page .unified-platform-box {
    display: block;
    min-height: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.home-page .unified-platform-box::before,
body.home-page .unified-platform-box::after {
    display: none;
}

body.home-page .hero-main-panel {
    position: relative;
    min-height: 430px;
    padding: 58px 34px 18px;
    overflow: hidden;
    border-radius: 27px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 243, 255, 0.94) 52%, rgba(201, 224, 255, 0.88) 100%),
        radial-gradient(circle at 85% 20%, rgba(91, 154, 255, 0.42), transparent 35%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 24px 48px rgba(43, 90, 165, 0.11);
}

body.home-page .hero-main-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 4% 58%, rgba(92, 143, 255, 0.16) 0 1px, transparent 2px),
        linear-gradient(160deg, transparent 0 62%, rgba(105, 155, 230, 0.18) 62.2%, transparent 76%);
    background-size: 18px 18px, 100% 100%;
    opacity: 0.52;
    pointer-events: none;
}

body.home-page .hero-copy {
    position: relative;
    z-index: 2;
    width: 65%;
    text-align: center;
    left: -24px;
}

body.home-page .unified-platform-box h1 {
    margin: 0;
    color: #132033;
    font-size: 50px;
    line-height: 1.17;
    font-weight: 900;
    letter-spacing: 0;
}

body.home-page .gradient-text {
    background: linear-gradient(90deg, #1737dd 0%, #1689c7 70%, #10a0bd 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body.home-page .subtitle-text {
    margin-top: 14px;
    max-width: none;
    color: #42577b;
    font-size: 20px;
    line-height: 1.85;
}

body.home-page .highlight-bold {
    padding: 5px 31px 7px;
    color: #fff;
    background: linear-gradient(90deg, #1d35dc 0%, #63b5ff 100%);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(38, 102, 219, 0.22);
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: 0;
}

body.home-page .hero-security-visual {
    position: absolute;
    z-index: 1;
    top: -8px;
    right: 72px;
    width: 460px;
    height: 310px;
}

body.home-page .visual-card {
    position: absolute;
    width: 160px;
    height: 124px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(207, 226, 255, 0.34));
    box-shadow: 0 22px 45px rgba(62, 109, 205, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

body.home-page .visual-card span {
    display: block;
    height: 12px;
    margin-bottom: 13px;
    border-radius: 999px;
    background: rgba(118, 156, 226, 0.28);
}

body.home-page .visual-card span:first-child {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.46);
}

body.home-page .visual-card-left {
    top: 50px;
    left: 24px;
    transform: rotate(-8deg);
}

body.home-page .visual-card-right {
    top: 76px;
    right: 18px;
    transform: rotate(7deg);
}

body.home-page .visual-orbit {
    position: absolute;
    left: 82px;
    right: 18px;
    bottom: 20px;
    height: 142px;
    border: 1px solid rgba(95, 143, 226, 0.22);
    border-bottom: 0;
    border-radius: 50% 50% 0 0;
}

body.home-page .visual-platform {
    position: absolute;
    left: 130px;
    bottom: 4px;
    width: 270px;
    height: 116px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.98) 0 30%, rgba(183, 206, 255, 0.72) 31% 55%, rgba(77, 112, 233, 0.22) 56% 70%, transparent 71%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(161, 195, 255, 0.5));
    box-shadow: 0 26px 45px rgba(42, 82, 192, 0.22);
}

body.home-page .visual-platform::after {
    content: "";
    position: absolute;
    left: 54px;
    right: 54px;
    top: 24px;
    height: 36px;
    border-radius: 50%;
    background: rgba(71, 111, 224, 0.14);
}

body.home-page .visual-shield {
    position: absolute;
    left: 186px;
    top: 30px;
    width: 132px;
    height: 166px;
    clip-path: polygon(50% 0, 92% 16%, 84% 69%, 50% 100%, 16% 69%, 8% 16%);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(198, 221, 255, 0.98) 44%, rgba(102, 140, 242, 0.94) 100%);
    box-shadow: 0 28px 45px rgba(42, 86, 202, 0.34), inset 12px 10px 18px rgba(255, 255, 255, 0.82);
}

body.home-page .visual-shield::before {
    content: "";
    position: absolute;
    inset: 12px 14px 18px;
    clip-path: inherit;
    background: linear-gradient(145deg, rgba(236, 245, 255, 0.95), rgba(104, 146, 247, 0.42));
}

body.home-page .shield-check {
    position: absolute;
    z-index: 2;
    left: 38px;
    top: 72px;
    width: 64px;
    height: 34px;
    border-left: 10px solid #229cff;
    border-bottom: 10px solid #1e48e6;
    border-radius: 5px;
    transform: rotate(-45deg);
    box-shadow: -2px 3px 10px rgba(42, 118, 230, 0.4);
}

body.home-page .visual-spark {
    position: absolute;
    color: #fff;
    text-shadow: 0 0 12px rgba(40, 108, 230, 0.35);
}

body.home-page .spark-one {
    right: 4px;
    top: 86px;
    font-size: 16px;
}

body.home-page .spark-two {
    left: 6px;
    bottom: 68px;
    font-size: 13px;
}

body.home-page .platform-highlights {
    position: absolute;
    z-index: 3;
    left: 34px;
    right: 34px;
    bottom: 18px;
    height: 144px;
    margin: 0;
    padding: 20px 26px;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 24px;
    box-shadow: 0 22px 45px rgba(48, 86, 150, 0.12);
}

body.home-page .highlight-item {
    flex: 1;
    gap: 9px;
    padding: 0 10px;
    border-radius: 16px;
}

body.home-page .highlight-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
}

body.home-page .highlight-item .highlight-icon i {
    font-size: 25px;
}

body.home-page .highlight-title {
    font-size: 15px;
    line-height: 1.2;
    color: #13213a;
}

body.home-page .highlight-desc {
    font-size: 12px;
    color: #52668e;
    letter-spacing: 0;
}

body.home-page .highlight-separator {
    height: 62px;
    margin: 0 8px;
    background: #dce4f1;
}

body.home-page .platforms-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 8px;
    padding: 0 7px;
}

body.home-page .platform-card-premium {
    height: 240px;
    min-height: 240px;
    padding: 22px 22px 24px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 36px rgba(48, 86, 150, 0.11);
}

body.home-page .online-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(221, 250, 232, 0.9) 100%);
}

body.home-page .software-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 239, 255, 0.94) 100%);
}

body.home-page .feedback-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 242, 214, 0.93) 100%);
}

body.home-page .card-header-row {
    gap: 16px;
    margin-bottom: 16px;
}

body.home-page .card-header-text {
    min-width: 0;
}

body.home-page .card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    font-size: 28px;
}

body.home-page .card-title {
    margin: 0 0 9px;
    font-size: 20px;
    color: #13213a;
    letter-spacing: 0;
    white-space: nowrap;
}

body.home-page .card-badges {
    gap: 6px;
    flex-wrap: nowrap;
}

body.home-page .badge-item {
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.1;
    white-space: nowrap;
}

body.home-page .card-desc {
    min-height: 58px;
    margin-bottom: 10px;
    color: #52668e;
    font-size: 14px;
    line-height: 1.65;
}

body.home-page .card-desc strong {
    margin-top: 0;
    color: #13213a;
}

body.home-page .action-btn {
    min-width: 144px;
    min-height: 48px;
    justify-content: center;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 800;
}

body.home-page .btn-docs {
    width: 190px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 0 18px;
    border-radius: 14px;
    color: #263b5d;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(214, 226, 247, 0.95);
    box-shadow: 0 14px 24px rgba(48, 86, 150, 0.08);
    font-size: 18px;
    font-weight: 800;
}

body.home-page .unified-platform-box .text-center.mt-3 {
    margin-top: 17px !important;
}

body.home-page .unified-platform-box small {
    font-size: 13px !important;
    color: #536684 !important;
}

@media (max-width: 1380px) {
    body.home-page .navbar-search-section {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-width: 520px;
        width: min(520px, calc(100% - 580px));
        margin: 0;
        flex: 0 1 auto;
    }

    body.home-page .unified-platform-box h1 {
        font-size: 40px;
    }

    body.home-page .hero-security-visual {
        right: 18px;
        transform: scale(0.88);
        transform-origin: top right;
    }

    body.home-page .hero-copy {
        width: 68%;
    }
}

@media (max-width: 768px) {
    body.home-page .modern-navbar {
        width: 100%;
        height: 60px;
        margin: 0;
        top: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    body.home-page .navbar-container {
        padding: 0;
    }

    body.home-page .main-content {
        padding: 1rem;
    }

    body.home-page .hero-main-panel {
        min-height: 0;
        padding: 2rem 1rem 1rem;
        border-radius: 20px;
    }

    body.home-page .hero-copy {
        width: 100%;
    }

    body.home-page .unified-platform-box h1 {
        font-size: 1.8rem;
    }

    body.home-page .subtitle-text {
        font-size: 0.95rem;
    }

    body.home-page .highlight-bold {
        font-size: 1rem;
        padding: 0.25rem 0.8rem;
    }

    body.home-page .hero-security-visual {
        display: none;
    }

    body.home-page .platform-highlights {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        height: auto;
        margin-top: 1.4rem;
    }

    body.home-page .platforms-container {
        grid-template-columns: 1fr;
    }

    body.home-page .platform-card-premium {
        min-height: 0;
        height: auto;
    }

    body.home-page .btn-docs {
        width: auto;
        min-width: 142px;
    }
}

/* Home main area refinement - header and sidebar intentionally untouched */
body.home-page .main-content {
    padding: 20px 38px 24px 20px;
}

body.home-page .hero-section .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.home-page .unified-platform-box {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.home-page .hero-main-panel {
    position: relative;
    min-height: 282px;
    height: 282px;
    padding: 52px 64px 42px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(205, 224, 252, 0.92);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 249, 255, 0.95) 44%, rgba(220, 237, 255, 0.9) 100%),
        radial-gradient(circle at 82% 30%, rgba(83, 145, 255, 0.22), transparent 38%);
    box-shadow: 0 16px 38px rgba(47, 94, 168, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.home-page .hero-main-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 7px 7px, rgba(80, 147, 255, 0.12) 0 1px, transparent 1.6px),
        linear-gradient(152deg, transparent 0 64%, rgba(116, 166, 236, 0.18) 64.2%, rgba(255, 255, 255, 0.2) 100%);
    background-size: 18px 18px, 100% 100%;
    opacity: 0.7;
    pointer-events: none;
}

body.home-page .hero-copy {
    position: relative;
    z-index: 3;
    width: 58%;
    left: 12px;
    text-align: left;
}

body.home-page .unified-platform-box h1 {
    margin: 0;
    color: #14233f;
    font-size: 46px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
    text-align: left;
}

body.home-page .gradient-text {
    background: linear-gradient(90deg, #1437d8 0%, #147bdc 82%);
    -webkit-background-clip: text;
    background-clip: text;
}

body.home-page .subtitle-text {
    display: block;
    margin-top: 18px;
    color: #526684;
    font-size: 22px;
    line-height: 1.85;
    font-weight: 500;
}

body.home-page .highlight-bold {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    padding: 7px 23px 8px;
    color: #ffffff;
    background: linear-gradient(90deg, #1e46e9 0%, #57a9ff 100%);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(38, 102, 219, 0.2);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
}

body.home-page .highlight-bold::before {
    content: "\f537";
    font-family: "bootstrap-icons";
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

body.home-page .hero-security-visual {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 72px;
    width: 520px;
    height: 260px;
    transform: none;
}

body.home-page .visual-card {
    position: absolute;
    width: 150px;
    height: 104px;
    padding: 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(211, 229, 255, 0.28));
    box-shadow: 0 18px 36px rgba(62, 109, 205, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(8px);
}

body.home-page .visual-card span {
    display: block;
    height: 10px;
    margin-bottom: 11px;
    border-radius: 999px;
    background: rgba(118, 156, 226, 0.25);
}

body.home-page .visual-card span:first-child {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.56);
}

body.home-page .visual-card-left {
    top: 50px;
    left: 52px;
    transform: rotate(-9deg);
}

body.home-page .visual-card-right {
    top: 62px;
    right: 22px;
    transform: rotate(8deg);
}

body.home-page .visual-orbit {
    position: absolute;
    left: 98px;
    right: 20px;
    bottom: 26px;
    height: 118px;
    border: 1px solid rgba(95, 143, 226, 0.22);
    border-bottom: 0;
    border-radius: 50% 50% 0 0;
}

body.home-page .visual-platform {
    position: absolute;
    left: 150px;
    bottom: -4px;
    width: 318px;
    height: 122px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.98) 0 27%, rgba(198, 216, 255, 0.76) 28% 54%, rgba(80, 123, 238, 0.22) 55% 70%, transparent 71%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(163, 197, 255, 0.48));
    box-shadow: 0 24px 44px rgba(42, 82, 192, 0.18);
}

body.home-page .visual-platform::after {
    content: "";
    position: absolute;
    left: 66px;
    right: 66px;
    top: 28px;
    height: 32px;
    border-radius: 50%;
    background: rgba(71, 111, 224, 0.13);
}

body.home-page .visual-shield {
    position: absolute;
    left: 240px;
    top: 18px;
    width: 132px;
    height: 158px;
    clip-path: polygon(50% 0, 92% 16%, 84% 68%, 50% 100%, 16% 68%, 8% 16%);
    background: linear-gradient(145deg, #ddebff 0%, #2d7cff 42%, #1c47e4 100%);
    box-shadow: 0 24px 40px rgba(42, 86, 202, 0.28), inset 12px 10px 18px rgba(255, 255, 255, 0.46);
}

body.home-page .visual-shield::before {
    content: "";
    position: absolute;
    inset: 12px 14px 18px;
    clip-path: inherit;
    background: linear-gradient(145deg, rgba(244, 249, 255, 0.68), rgba(71, 136, 255, 0.32));
}

body.home-page .shield-check {
    position: absolute;
    z-index: 2;
    left: 38px;
    top: 69px;
    width: 64px;
    height: 34px;
    border-left: 10px solid #f6fbff;
    border-bottom: 10px solid #e7f2ff;
    border-radius: 5px;
    transform: rotate(-45deg);
    box-shadow: -2px 3px 10px rgba(20, 79, 195, 0.32);
}

body.home-page .visual-spark {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 12px rgba(40, 108, 230, 0.32);
}

body.home-page .spark-one {
    right: 0;
    top: 76px;
    font-size: 15px;
}

body.home-page .spark-two {
    left: 10px;
    bottom: 70px;
    font-size: 13px;
}

body.home-page .platform-highlights {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: 112px;
    margin: 22px 0 0;
    padding: 18px 28px;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(211, 226, 248, 0.9);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(48, 86, 150, 0.08);
    overflow: hidden;
}

body.home-page .highlight-item {
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 0 8px;
    border-radius: 12px;
}

body.home-page .highlight-item:hover {
    transform: none;
}

body.home-page .highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    flex: 0 0 50px;
}

body.home-page .highlight-item .highlight-icon i {
    font-size: 24px;
}

body.home-page .highlight-content {
    align-items: flex-start;
    text-align: left;
    gap: 3px;
    min-width: 0;
}

body.home-page .highlight-title {
    color: #14233f;
    font-size: 15px;
    line-height: 1.18;
    font-weight: 900;
    white-space: nowrap;
}

body.home-page .highlight-desc {
    color: #536789;
    font-size: 11px;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

body.home-page .highlight-separator {
    flex: 0 0 1px;
    width: 1px;
    height: 50px;
    margin: 0 8px;
    background: #d9e2f0;
}

body.home-page .platforms-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
    padding: 0;
}

body.home-page .platform-card-premium {
    height: 248px;
    min-height: 248px;
    padding: 22px 24px 22px;
    border-radius: 16px;
    border: 1px solid rgba(210, 226, 248, 0.88);
    box-shadow: 0 16px 34px rgba(48, 86, 150, 0.08);
    backdrop-filter: none;
}

body.home-page .platform-card-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(48, 86, 150, 0.12);
}

body.home-page .online-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 250, 235, 0.9) 100%);
}

body.home-page .software-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(226, 240, 255, 0.92) 100%);
}

body.home-page .feedback-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 243, 220, 0.92) 100%);
}

body.home-page .card-header-row {
    gap: 18px;
    margin-bottom: 15px;
}

body.home-page .card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 27px;
    box-shadow: none;
}

body.home-page .card-title {
    margin: 0 0 8px;
    color: #14233f;
    font-size: 20px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

body.home-page .card-badges {
    gap: 7px;
    flex-wrap: wrap;
}

body.home-page .badge-item {
    padding: 4px 9px;
    font-size: 11px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

body.home-page .card-desc {
    min-height: 62px;
    margin: 0 0 12px;
    color: #536789;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
}

body.home-page .card-desc strong {
    margin-top: 0;
    color: #14233f;
    font-weight: 900;
}

body.home-page .card-action {
    margin-top: auto;
}

body.home-page .action-btn {
    min-width: 142px;
    min-height: 48px;
    justify-content: center;
    padding: 0 21px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 900;
}

body.home-page .software-card .action-btn {
    background: linear-gradient(135deg, #2f80ff 0%, #1666ec 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}

body.home-page .feedback-card .action-btn {
    background: linear-gradient(135deg, #ff970f 0%, #e97900 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(233, 121, 0, 0.22);
}

body.home-page .online-card .action-btn {
    background: #f3f7fb;
    color: #6b7c96;
    box-shadow: 0 8px 18px rgba(48, 86, 150, 0.06);
}

body.home-page .card-decoration::before,
body.home-page .card-decoration::after {
    filter: blur(58px);
    opacity: 0.12;
}

body.home-page .d-flex.gap-3.justify-content-center {
    gap: 20px !important;
    margin-top: 22px;
}

body.home-page .btn-docs {
    width: 260px;
    height: 48px;
    margin-top: 0;
    padding: 0 18px;
    border-radius: 10px;
    color: #1d355c;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(214, 226, 247, 0.96);
    box-shadow: 0 12px 24px rgba(48, 86, 150, 0.07);
    font-size: 16px;
    font-weight: 900;
}

body.home-page .unified-platform-box .text-center.mt-3 {
    margin-top: 16px !important;
}

body.home-page .unified-platform-box small {
    color: #536789 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

@media (max-width: 1380px) {
    body.home-page .hero-main-panel {
        height: 268px;
        min-height: 268px;
        padding: 48px 48px 38px;
    }

    body.home-page .unified-platform-box h1 {
        font-size: 29px;
    }

    body.home-page .subtitle-text {
        font-size: 16px;
    }

    body.home-page .highlight-bold {
        font-size: 16px;
        padding: 7px 20px;
    }

    body.home-page .hero-security-visual {
        right: 28px;
        transform: scale(0.88);
        transform-origin: top right;
    }

    body.home-page .platform-card-premium {
        padding: 20px;
    }

    body.home-page .card-title {
        font-size: 18px;
    }
}

@media (max-width: 1080px) {
    body.home-page .hero-security-visual {
        opacity: 0.5;
        right: -120px;
    }

    body.home-page .hero-copy {
        width: 74%;
    }

    body.home-page .platform-highlights {
        height: auto;
        flex-wrap: wrap;
        gap: 14px;
    }

    body.home-page .highlight-separator {
        display: none;
    }

    body.home-page .platforms-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.home-page .main-content {
        padding: 1rem;
    }

    body.home-page .hero-main-panel {
        height: auto;
        min-height: 0;
        padding: 28px 22px;
        border-radius: 16px;
    }

    body.home-page .hero-copy {
        width: 100%;
        left: 0;
    }

    body.home-page .unified-platform-box h1 {
        font-size: 25px;
    }

    body.home-page .subtitle-text {
        font-size: 14px;
    }

    body.home-page .highlight-bold {
        font-size: 14px;
        padding: 7px 14px;
    }

    body.home-page .hero-security-visual {
        display: none;
    }

    body.home-page .platform-highlights {
        height: auto;
        margin-top: 14px;
        padding: 16px;
        display: grid;
        grid-template-columns: 1fr;
    }

    body.home-page .highlight-item {
        justify-content: flex-start;
    }

    body.home-page .highlight-separator {
        display: none;
    }

    body.home-page .platform-card-premium {
        height: auto;
        min-height: 0;
    }

    body.home-page .card-title {
        white-space: normal;
    }

    body.home-page .d-flex.gap-3.justify-content-center {
        flex-wrap: wrap;
    }

    body.home-page .btn-docs {
        width: auto;
        min-width: 142px;
    }
}
/* Final home layout guard: keep the hero, stats, and cards in separate rows. */
body.home-page .unified-platform-box {
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.home-page .hero-main-panel {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    height: 282px !important;
    min-height: 282px !important;
    margin: 0 !important;
    padding: 52px 64px 42px !important;
    overflow: hidden !important;
}

body.home-page .hero-main-panel + .platform-highlights,
body.home-page .unified-platform-box + .platform-highlights,
body.home-page .hero-section > .container > .platform-highlights,
body.home-page .unified-platform-box > .platform-highlights {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
    clear: both !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 112px !important;
    min-height: 112px !important;
    margin: 22px 0 18px !important;
    padding: 18px 28px !important;
    transform: none !important;
}

body.home-page .platforms-container {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
}

body.home-page .typing-cursor {
    display: none;
}

body.home-page .hero-section .text-center.mt-3 small {
    font-size: 0.75rem;
    line-height: 1.4;
}

@media (max-width: 1380px) {
    body.home-page .hero-main-panel {
        height: 268px !important;
        min-height: 268px !important;
        padding: 48px 48px 38px !important;
    }
}

@media (max-width: 1080px) {
    body.home-page .hero-main-panel + .platform-highlights,
    body.home-page .unified-platform-box + .platform-highlights,
    body.home-page .hero-section > .container > .platform-highlights,
    body.home-page .unified-platform-box > .platform-highlights {
        height: auto !important;
        min-height: 0 !important;
        flex-wrap: wrap !important;
        gap: 14px !important;
    }
}

@media (max-width: 768px) {
    body.home-page .hero-main-panel {
        height: auto !important;
        min-height: 0 !important;
        padding: 28px 22px !important;
    }

    body.home-page .hero-main-panel + .platform-highlights,
    body.home-page .unified-platform-box + .platform-highlights,
    body.home-page .hero-section > .container > .platform-highlights,
    body.home-page .unified-platform-box > .platform-highlights {
        display: grid !important;
        grid-template-columns: 1fr !important;
        margin-bottom: 16px !important;
        padding: 16px !important;
    }
}
