* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

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

.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 1400px;
}

.header .logo {
    margin-right: 0;
}

.header .nav {
    margin-left: 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #1a73e8;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 6px;
    margin-right: 8px;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 4px;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: color 0.2s;
}

.nav a:hover {
    color: #1a73e8;
}

.nav .active > a {
    color: #1a73e8;
    font-weight: 500;
}

.nav > ul > li {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform .2s ease;
}

.nav-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    display: block !important;
    min-width: 150px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #edf0f6;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(20, 35, 70, .12);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: all .2s ease;
    z-index: 200;
}

.nav-submenu::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -6px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid #edf0f6;
    border-top: 1px solid #edf0f6;
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-submenu li {
    display: block;
}

.nav-submenu a {
    display: block;
    padding: 9px 12px;
    color: #475467;
    font-size: 13px;
    white-space: nowrap;
    border-radius: 8px;
}

.nav-submenu a:hover,
.nav-submenu li.active > a {
    color: #1a73e8;
    background: #f3f7ff;
    font-weight: 600;
}

.nav-submenu li.active > a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: #1a73e8;
    vertical-align: middle;
}

.search-box {
    position: relative;
    width: 200px;
}

.search-box input {
    width: 100%;
    padding: 8px 32px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: #1a73e8;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat center;
}

.hero {
    background: #fff;
    padding: 60px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1a73e8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero-badge::before {
    content: '⚡';
    margin-right: 6px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
}

.highlight {
    color: #1a73e8;
}

.hero-desc {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-search {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.hero-search input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.search-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.search-btn:hover {
    opacity: 0.9;
}

.tools {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tabs button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tabs button:hover {
    border-color: #1a73e8;
    color: #1a73e8;
}

.filter-tabs button.active {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.2s;
}

.tool-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.seo-icon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.seo-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E") no-repeat center;
}

.domain-icon {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.domain-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E") no-repeat center;
}

.speed-icon {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.speed-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff9800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E") no-repeat center;
}

.keyword-icon {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
}

.keyword-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e91e63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 21l-6-6m2-5a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z'/%3E%3C/svg%3E") no-repeat center;
}

.deadlink-icon {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.deadlink-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f44336' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E") no-repeat center;
}

.baidu-icon {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.baidu-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E") no-repeat center;
}

.security-icon {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.security-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff9800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m12 15 4-3-4-3v6Z'/%3E%3C/svg%3E") no-repeat center;
}

.tool-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.tool-link {
    color: #1a73e8;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.tool-link:hover {
    text-decoration: underline;
}

.hot-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
}

.features {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speed-feature-icon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.speed-feature-icon::before {
    content: '';
    width: 32px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E") no-repeat center;
}

.accuracy-feature-icon {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.accuracy-feature-icon::before {
    content: '';
    width: 32px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") no-repeat center;
}

.comprehensive-feature-icon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.comprehensive-feature-icon::before {
    content: '';
    width: 32px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E") no-repeat center;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.footer {
    background: #222;
    padding: 32px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.footer-logo .logo-icon {
    width: 24px;
    height: 24px;
}

.footer-copyright {
    color: #888;
    font-size: 13px;
}

.ai-badge {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ai-badge::before {
    content: '🤖';
    margin-right: 6px;
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 32px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 46px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, .35);
    transition: all .25s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, .45);
}

@media (max-width: 576px) {
    .back-to-top {
        right: 16px;
        bottom: 20px;
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 20px;
    }
}

.content {
    padding: 40px 0;
    background-color: #f5f7fa;
}

.content .container {
    max-width: 1400px;
}

.tooltip {
    position: absolute;
    z-index: 9999;
    display: block;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    filter: alpha(opacity=0);
}

.tooltip.in {
    opacity: .95;
    filter: alpha(opacity=95);
}

.tooltip.top {
    margin-top: -6px;
}

.tooltip.right {
    margin-left: 6px;
}

.tooltip.bottom {
    margin-top: 6px;
}

.tooltip.left {
    margin-left: -6px;
}

.tooltip-inner {
    max-width: 260px;
    padding: 8px 12px;
    color: #fff;
    text-align: center;
    background: #333;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.tooltip.top .tooltip-arrow {
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: #333;
}

.tooltip.right .tooltip-arrow {
    top: 50%;
    left: -5px;
    margin-top: -5px;
    border-width: 5px 5px 5px 0;
    border-right-color: #333;
}

.tooltip.bottom .tooltip-arrow {
    top: -5px;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #333;
}

.tooltip.left .tooltip-arrow {
    top: 50%;
    right: -5px;
    margin-top: -5px;
    border-width: 5px 0 5px 5px;
    border-left-color: #333;
}

.tool-tabs-card {
    margin: 24px 0 28px;
    padding: 22px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(20, 35, 70, .08);
}

.tool-tabs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.tool-tabs-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.tool-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-tabs-nav button,
.tool-tabs-nav a {
    display: inline-block;
    border: 1px solid #e6e8ef;
    background: #f7f8fb;
    color: #555;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
}

.tool-tabs-nav button.active,
.tool-tabs-nav button:hover,
.tool-tabs-nav a.active,
.tool-tabs-nav a:hover {
    background: #667eea;
    border-color: #667eea;
    color: #fff;
    box-shadow: 0 6px 16px rgba(102, 126, 234, .25);
}

.tool-tab-pane {
    display: none;
}

.tool-tab-pane.active {
    display: block;
}

.tool-tabs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.tool-tab-item {
    display: block;
    padding: 16px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fafbff;
    text-decoration: none;
    transition: all .2s ease;
}

.tool-tab-item:hover {
    transform: translateY(-3px);
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, .15);
}

.tool-tab-item strong {
    display: block;
    margin-bottom: 6px;
    color: #222;
    font-size: 15px;
}

.tool-tab-item span {
    display: block;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-all;
}

@media (max-width: 992px) {
    .tool-tabs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-tabs-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .tool-tabs-grid {
        grid-template-columns: 1fr;
    }

    .tool-tabs-card {
        padding: 16px;
    }

    .tool-tabs-nav button {
        padding: 7px 12px;
    }
}

.more-tools {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.more-tools .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.more-tools .section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.more-tools .section-header p {
    font-size: 14px;
    color: #666;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.page-header .tool-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.page-header:hover .tool-icon {
    transform: scale(1.05);
}

.page-header .tool-icon::before {
    width: 32px;
    height: 32px;
    border-color: rgba(255, 255, 255, 0.9);
}

.page-header .tool-icon::after {
    background: rgba(255, 255, 255, 0.9);
}

.header-info {
    position: relative;
    z-index: 1;
}

.header-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.header-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.search-form {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.form-group:not(:last-child) {
    margin-bottom: 16px;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.input-wrapper input::placeholder {
    color: #999;
}

.query-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.query-btn:hover {
    opacity: 0.9;
}

.result-area {
    background: #fff;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.empty-state {
    text-align: center;
}

.empty-state .empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

.loading-state {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1a73e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.result-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.result-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.result-value {
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

.result-value.up {
    color: #4caf50;
}

.result-value.down {
    color: #f44336;
}

.info-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.info-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
}

.info-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #666;
    min-width: 80px;
}

.info-value {
    font-size: 14px;
    color: #333;
}

.related-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-tag {
    background: #e3f2fd;
    color: #1a73e8;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

/* ===== Bootstrap Form Styles ===== */
.form-horizontal {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.form-horizontal .form-group {
    margin-bottom: 16px;
    display: block;
}

.form-horizontal .form-group::after {
    content: '';
    display: table;
    clear: both;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
}

.input-group .form-control {
    display: table-cell;
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}

.input-group-btn {
    display: table-cell;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    position: relative;
    font-size: 0;
}

.input-group-btn > .btn {
    position: relative;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

textarea.form-control {
    resize: vertical;
}

/* ===== Button Styles ===== */
.btn {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ddd;
}

.btn-default:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* ===== Alert Styles ===== */
.alert {
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.mb5 {
    margin-bottom: 5px;
}

/* ===== Panel Styles ===== */
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.panel-default {
    border-color: #ddd;
}

.panel-success {
    border-color: #c3e6cb;
}

.panel-success > .panel-heading {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.panel-body {
    padding: 18px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-12,
.col-sm-12,
.col-sm-10,
.col-sm-6,
.col-sm-2 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-12,
.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.form-horizontal .form-group {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.form-horizontal .col-sm-10 {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 760px;
}

.form-horizontal .col-sm-10 .form-control {
    width: 100%;
}

.col-sm-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-sm-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col10main {
    width: 100%;
}

.accordion,
.accordion-group {
    width: 100%;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

.table th,
.table td {
    padding: 11px 14px;
    line-height: 1.6;
    vertical-align: middle;
    border-top: 1px solid #e8edf3;
}

.table-bordered {
    border: 1px solid #e8edf3;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #e8edf3;
}

.table th {
    font-weight: 700;
    color: #243b53;
    background: #f3f7fb;
    white-space: nowrap;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #fbfdff;
}

.table-hover tbody tr:hover {
    background-color: #eef5ff;
}

.table td:first-child,
.table td:nth-child(2) {
    font-family: Consolas, Monaco, monospace;
    color: #1f5fbf;
    white-space: nowrap;
}

.alert code {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    color: #0f5132;
    background: rgba(255, 255, 255, .65);
    border-radius: 4px;
    font-family: Consolas, Monaco, monospace;
}

.label {
    display: inline-block;
    padding: .25em .6em;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.label-success {
    background-color: #28a745;
}

.label-danger {
    background-color: #dc3545;
}

.label-info {
    background-color: #17a2b8;
}

.label-primary {
    background-color: #667eea;
}

@media (max-width: 768px) {
    .row {
        margin-right: 0;
        margin-left: 0;
    }

    .col-md-12,
    .col-sm-12,
    .col-sm-10,
    .col-sm-6,
    .col-sm-2 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .table {
        font-size: 13px;
    }

    .table th,
    .table td {
        padding: 9px 10px;
    }

    .alert code {
        display: block;
        margin: 8px 0 0;
    }
}

/* ===== Android Reference Table Pages ===== */
.col10main .accordion {
    background: #fff;
    border: 1px solid #edf0f6;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(20, 35, 70, .06);
}

.col10main .accordion-group > .alert-success {
    position: relative;
    padding: 16px 18px 16px 46px;
    color: #14532d;
    background: linear-gradient(135deg, #ecfdf3 0%, #dff7e8 100%);
    border: 1px solid #bce8c9;
    border-radius: 12px;
    line-height: 1.7;
}

.col10main .accordion-group > .alert-success::before {
    content: 'i';
    position: absolute;
    left: 16px;
    top: 17px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.col10main .panel {
    width: 100%;
    padding: 20px;
    border-color: #edf0f6;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 35, 70, .05);
}

.col10main .panel form,
.col10main .panel .form-horizontal {
    width: 100%;
}

.col10main .panel > h4,
.col10main .accordion-group > h4 {
    margin: 26px 0 12px;
    padding: 12px 16px;
    color: #243b53;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 100%);
    border-left: 4px solid #667eea;
    border-radius: 10px;
}

.col10main .panel > h4:first-child,
.col10main .accordion-group > h4:first-child {
    margin-top: 0;
}

.col10main .panel > div,
.col10main .form-group .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.col10main .table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(16, 24, 40, .04);
}

.col10main .table th,
.col10main .table td {
    word-break: break-word;
}

.col10main .table th,
.col10main .titcolor {
    color: #1f2a44;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    font-weight: 700;
}

.col10main .table td:first-child {
    color: #2563eb;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 13px;
}

.col10main .table td:nth-child(2) {
    color: #344054;
    font-family: inherit;
    font-weight: 600;
}

.col10main .table td:nth-child(3) {
    color: #475467;
}

@media (max-width: 768px) {
    .col10main .accordion {
        padding: 14px;
        border-radius: 12px;
    }

    .col10main .panel {
        padding: 14px;
    }

    .col10main .panel > h4,
    .col10main .accordion-group > h4 {
        font-size: 16px;
        padding: 10px 12px;
    }

    .col10main .table {
        min-width: 720px;
    }

    .col10main .table th,
    .col10main .table td {
        padding: 9px 10px;
    }
}

/* ===== Old Template Description Box ===== */
.bs-docs-demoexample {
    margin-top: 22px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
    border: 1px solid #e7ecf5;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 35, 70, .05);
}

.bs-docs-demoexample h4 {
    position: relative;
    margin: 0 0 12px;
    padding-left: 14px;
    color: #243b53;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.bs-docs-demoexample h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.bs-docs-demoexample p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.8;
}

.bs-docs-demoexample.in,
.bs-docs-demoexample.collapse,
.accordion-group .in.collapse.bs-docs-demoexample {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
}

.accordion-group .in.collapse.bs-docs-demoexample {
    margin: 22px 0 0;
    padding: 22px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
    border: 1px solid #e7ecf5;
    border-left: 4px solid #667eea;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 35, 70, .05);
}

.accordion-group .in.collapse.bs-docs-demoexample h4 {
    position: relative;
    margin: 0 0 12px;
    padding-left: 14px;
    color: #243b53;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.accordion-group .in.collapse.bs-docs-demoexample h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.accordion-group .in.collapse.bs-docs-demoexample p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .bs-docs-demoexample {
        padding: 18px;
        border-radius: 12px;
    }

    .bs-docs-demoexample h4 {
        font-size: 18px;
    }

    .bs-docs-demoexample p {
        font-size: 14px;
    }
}

/* ===== Pagination ===== */
.xrpagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 32px auto 0;
    padding: 10px 0;
}

.xrpagination a,
.xrpagination span,
.xrpagination strong,
.xrpagination em,
.xrpagination li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    color: #475467;
    font-size: 14px;
    font-style: normal;
    text-decoration: none;
    list-style: none;
    background: #fff;
    border: 1px solid #e6e8ef;
    border-radius: 10px;
    transition: all .2s ease;
}

.xrpagination a:hover {
    color: #fff;
    background: #667eea;
    border-color: #667eea;
    box-shadow: 0 6px 16px rgba(102, 126, 234, .25);
}

.xrpagination .active,
.xrpagination .current,
.xrpagination strong,
.xrpagination span.current,
.xrpagination li.active,
.xrpagination li.active a {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.xrpagination .disabled,
.xrpagination span.disabled {
    color: #b0b7c3;
    cursor: not-allowed;
    background: #f5f7fa;
    border-color: #eef0f4;
}

.xrpagination ul,
.xrpagination ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.xrpagination li a,
.xrpagination li span {
    min-width: auto;
    height: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 576px) {
    .xrpagination {
        gap: 6px;
        margin-top: 24px;
    }

    .xrpagination a,
    .xrpagination span,
    .xrpagination strong,
    .xrpagination em,
    .xrpagination li {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
        border-radius: 8px;
    }
}

/* ===== Show Page Width ===== */
.show-container,
.show-container.container,
body:has(.tool-tabs-card) > .container,
.more-tools > .container {
    max-width: 1400px;
}

.more-tools {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Strong Description Box Fix ===== */
.col10main .accordion .accordion-group .bs-docs-demoexample,
.col10main .accordion .accordion-group .in.collapse.bs-docs-demoexample {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
    margin: 22px 0 0 !important;
    padding: 22px 24px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%) !important;
    border: 1px solid #e7ecf5 !important;
    border-left: 4px solid #667eea !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(20, 35, 70, .05) !important;
}

.col10main .accordion .accordion-group .bs-docs-demoexample h4,
.col10main .accordion .accordion-group .in.collapse.bs-docs-demoexample h4 {
    position: relative !important;
    margin: 0 0 12px !important;
    padding-left: 14px !important;
    color: #243b53 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.col10main .accordion .accordion-group .bs-docs-demoexample h4::before,
.col10main .accordion .accordion-group .in.collapse.bs-docs-demoexample h4::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 5px !important;
    width: 4px !important;
    height: 20px !important;
    border-radius: 4px !important;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%) !important;
}

.col10main .accordion .accordion-group .bs-docs-demoexample p,
.col10main .accordion .accordion-group .in.collapse.bs-docs-demoexample p {
    margin: 0 !important;
    color: #667085 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* ===== Tool Panel ===== */
.tool-panel {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.tool-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

/* ===== Copy Toast Notification ===== */
.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
}

.copy-toast::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.copy-toast.success {
    background: rgba(76, 175, 80, 0.9);
}

.copy-toast.error {
    background: rgba(244, 67, 54, 0.9);
}

/* ===== Tooltip for Copy Button ===== */
.copy-btn {
    position: relative;
    cursor: pointer;
}

.copy-btn:hover::after {
    content: '点击复制';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
}

.copy-btn::after {
    content: '点击复制';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .input-wrapper {
        width: 100%;
    }
    
    .query-btn {
        width: 100%;
    }
    
    .result-area {
        padding: 32px 20px;
    }
    
    .result-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ===== Unit Converter Pages ===== */
.calc-converter-page {
    max-width: 1200px;
}

.calc-converter-page .accordion {
    position: relative;
    margin: 26px 0 34px;
    padding: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 22px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .09);
    overflow: hidden;
}

.calc-converter-page .accordion::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -70px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(102, 126, 234, .18), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.calc-converter-page .accordion::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    width: 118px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #22c55e 100%);
    border-radius: 0 0 999px 999px;
}

.calc-converter-page .accordion-group {
    position: relative;
    z-index: 1;
}

.calc-converter-page .panel {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.calc-converter-page .form-inline {
    width: 100% !important;
    padding: 0;
}

.calc-converter-page .form-group {
    width: 100%;
    margin: 0;
}

.calc-converter-page .AreaCountCent,
.calc-converter-page .DataStoreCountCent,
.calc-converter-page .ForceCountCent,
.calc-converter-page .AngleCountCent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    text-align: left !important;
    list-style: none;
}

.calc-converter-page .AreaCountCent li,
.calc-converter-page .DataStoreCountCent li,
.calc-converter-page .ForceCountCent li,
.calc-converter-page .AngleCountCent li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 14px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.calc-converter-page .AreaCountCent li:hover,
.calc-converter-page .DataStoreCountCent li:hover,
.calc-converter-page .ForceCountCent li:hover,
.calc-converter-page .AngleCountCent li:hover {
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, .32);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .085);
}

.calc-converter-page label,
.calc-converter-page .w30-0 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 120px;
    width: 120px;
    margin: 0;
    padding-left: 12px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
    border-left: 3px solid #667eea;
}

.calc-converter-page .mathunit {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.calc-converter-page .form-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    color: #243b53;
    font-size: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.calc-converter-page .form-control:focus {
    background: #fff;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .12);
}

.calc-converter-page .BtnHS {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 20px;
    color: #fff;
    font-weight: 800;
    line-height: 44px;
    letter-spacing: .5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(102, 126, 234, .24);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.calc-converter-page .BtnHS:hover,
.calc-converter-page .BtnHS:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, .28);
}

.calc-area-page .BtnHS {
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    box-shadow: 0 10px 22px rgba(20, 184, 166, .22);
}

.calc-data-page .form-control:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .12);
}

.calc-force-page .BtnHS {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 10px 22px rgba(249, 115, 22, .22);
}

.calc-angle-page .BtnHS {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 10px 22px rgba(139, 92, 246, .22);
}

.calc-converter-page #reset,
.calc-converter-page .UccAllBtn {
    min-width: 150px;
    height: 44px;
    padding: 0 24px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(245, 158, 11, .24);
}

.calc-converter-page hr {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid #edf0f6;
}

.calc-converter-page > .alert-success {
    position: relative;
    margin: 0 0 34px;
    padding: 24px 26px 24px 76px;
    color: #14532d;
    background: linear-gradient(135deg, #ecfdf3 0%, #f7fff9 100%);
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(34, 197, 94, .09);
}

.calc-converter-page > .alert-success::before {
    content: '换';
    position: absolute;
    left: 24px;
    top: 24px;
    width: 36px;
    height: 36px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 36px;
    text-align: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(34, 197, 94, .25);
}

.calc-converter-page > .alert-success h4 {
    margin: 0 0 12px;
    color: #166534;
    font-size: 20px;
    font-weight: 800;
}

.calc-converter-page > .alert-success p {
    margin: 0 0 8px;
    color: #3f694c;
    font-size: 14px;
    line-height: 1.75;
}

.calc-converter-page > .alert-success p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .calc-converter-page .AreaCountCent,
    .calc-converter-page .DataStoreCountCent,
    .calc-converter-page .ForceCountCent,
    .calc-converter-page .AngleCountCent {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .calc-converter-page .accordion {
        margin: 18px 0 26px;
        padding: 16px;
        border-radius: 14px;
    }

    .calc-converter-page .AreaCountCent li,
    .calc-converter-page .DataStoreCountCent li,
    .calc-converter-page .ForceCountCent li,
    .calc-converter-page .AngleCountCent li {
        display: grid;
        grid-template-columns: 88px 1fr 68px;
        gap: 8px;
        min-height: auto;
        padding: 10px;
    }

    .calc-converter-page label,
    .calc-converter-page .w30-0 {
        flex: none;
        width: auto;
        font-size: 14px;
    }

    .calc-converter-page .form-control {
        width: 100%;
        height: 40px;
    }

    .calc-converter-page .BtnHS {
        height: 40px;
        padding: 0 12px;
        line-height: 40px;
    }

    .calc-converter-page .DataStoreCountCent li {
        grid-template-columns: 88px 1fr;
    }

    .calc-converter-page > .alert-success {
        padding: 18px 18px 18px 62px;
        border-radius: 14px;
    }

    .calc-converter-page > .alert-success::before {
        left: 18px;
        top: 20px;
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
}

@media (max-width: 480px) {
    .calc-converter-page .AreaCountCent li,
    .calc-converter-page .ForceCountCent li,
    .calc-converter-page .AngleCountCent li {
        grid-template-columns: 1fr;
    }

    .calc-converter-page .BtnHS {
        width: 100%;
    }

    .calc-converter-page .DataStoreCountCent li {
        grid-template-columns: 1fr;
    }
}

/* ===== Article Collector Page ===== */
.caiji-page {
    max-width: 1200px;
}

.caiji-page .accordion {
    position: relative;
    margin: 26px 0 34px;
    padding: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid #edf0f6;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(20, 35, 70, .08);
    overflow: hidden;
}

.caiji-page .accordion::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -70px;
    width: 190px;
    height: 190px;
    background: radial-gradient(circle, rgba(102, 126, 234, .16), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.caiji-page .accordion-group:first-child {
    position: relative;
    z-index: 1;
}

.caiji-page .panel {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.caiji-page .form-horizontal {
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.caiji-page .input-group.mb5 {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0 0 18px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(20, 35, 70, .06);
}

.caiji-page .input-group .form-control {
    flex: 1 1 auto;
    float: none;
    height: 48px;
    padding: 0 16px;
    color: #243b53;
    font-size: 15px;
    background: #f8fafc;
    border: 1px solid transparent;
    border-radius: 12px 0 0 12px;
    box-shadow: none;
}

.caiji-page .input-group .form-control:focus {
    background: #fff;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .12);
}

.caiji-page .input-group-btn {
    display: flex;
    width: auto;
    font-size: 14px;
}

.caiji-page .input-group-btn > .btn {
    min-width: 110px;
    height: 48px;
    margin-left: 5px;
    padding: 0 22px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(34, 197, 94, .24);
}

.caiji-page .input-group-btn > .btn-default {
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.caiji-page .input-group-btn > .btn:hover,
.caiji-page .input-group-btn > .btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(34, 197, 94, .3);
    opacity: 1;
}

.caiji-page .input-group-btn > .btn-default:hover,
.caiji-page .input-group-btn > .btn-default:focus {
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
}

.caiji-page .form-group {
    display: block;
    width: 100%;
    margin: 0;
}

.caiji-page .form-group .col-sm-12 {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.caiji-page textarea.form-control {
    width: 100%;
    min-height: 420px;
    padding: 18px 20px;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.8;
    resize: vertical;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(16, 24, 40, .02), 0 10px 26px rgba(20, 35, 70, .05);
}

.caiji-page textarea.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .12), 0 12px 28px rgba(20, 35, 70, .06);
}

.caiji-page textarea.form-control::placeholder,
.caiji-page .input-group .form-control::placeholder {
    color: #98a2b3;
}

.caiji-page .alert-success {
    position: relative;
    z-index: 1;
    margin: 22px 0 0;
    padding: 22px 24px 22px 72px;
    color: #14532d;
    background: linear-gradient(135deg, #ecfdf3 0%, #f7fff9 100%);
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(34, 197, 94, .08);
}

.caiji-page .alert-success::before {
    content: '采';
    position: absolute;
    left: 24px;
    top: 24px;
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 34px;
    text-align: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(34, 197, 94, .25);
}

.caiji-page .alert-success h4 {
    margin: 0 0 8px;
    color: #166534;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.caiji-page .alert-success p {
    margin: 0;
    color: #3f694c;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .caiji-page .accordion {
        margin: 18px 0 26px;
        padding: 16px;
        border-radius: 14px;
    }

    .caiji-page .input-group.mb5 {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .caiji-page .input-group .form-control {
        width: 100%;
        border-radius: 12px;
    }

    .caiji-page .input-group-btn {
        display: flex;
        width: 100%;
        gap: 5px;
    }

    .caiji-page .input-group-btn > .btn {
        flex: 1;
        width: auto;
        min-width: 0;
        margin-left: 0;
    }

    .caiji-page textarea.form-control {
        min-height: 340px;
        padding: 14px;
    }

    .caiji-page .alert-success {
        padding: 18px 18px 18px 62px;
        border-radius: 14px;
    }

    .caiji-page .alert-success::before {
        left: 18px;
        top: 20px;
    }
}

/* ===== Bootstrap Glyphicons Page ===== */
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),
         url('../fonts/glyphicons-halflings-regular.woff') format('woff'),
         url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),
         url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glyphicon-asterisk:before { content: "\002a"; }
.glyphicon-plus:before { content: "\002b"; }
.glyphicon-euro:before,
.glyphicon-eur:before { content: "\20ac"; }
.glyphicon-minus:before { content: "\2212"; }
.glyphicon-cloud:before { content: "\2601"; }
.glyphicon-envelope:before { content: "\2709"; }
.glyphicon-pencil:before { content: "\270f"; }
.glyphicon-glass:before { content: "\e001"; }
.glyphicon-music:before { content: "\e002"; }
.glyphicon-search:before { content: "\e003"; }
.glyphicon-heart:before { content: "\e005"; }
.glyphicon-star:before { content: "\e006"; }
.glyphicon-star-empty:before { content: "\e007"; }
.glyphicon-user:before { content: "\e008"; }
.glyphicon-film:before { content: "\e009"; }
.glyphicon-th-large:before { content: "\e010"; }
.glyphicon-th:before { content: "\e011"; }
.glyphicon-th-list:before { content: "\e012"; }
.glyphicon-ok:before { content: "\e013"; }
.glyphicon-remove:before { content: "\e014"; }
.glyphicon-zoom-in:before { content: "\e015"; }
.glyphicon-zoom-out:before { content: "\e016"; }
.glyphicon-off:before { content: "\e017"; }
.glyphicon-signal:before { content: "\e018"; }
.glyphicon-cog:before { content: "\e019"; }
.glyphicon-trash:before { content: "\e020"; }
.glyphicon-home:before { content: "\e021"; }
.glyphicon-file:before { content: "\e022"; }
.glyphicon-time:before { content: "\e023"; }
.glyphicon-road:before { content: "\e024"; }
.glyphicon-download-alt:before { content: "\e025"; }
.glyphicon-download:before { content: "\e026"; }
.glyphicon-upload:before { content: "\e027"; }
.glyphicon-inbox:before { content: "\e028"; }
.glyphicon-play-circle:before { content: "\e029"; }
.glyphicon-repeat:before { content: "\e030"; }
.glyphicon-refresh:before { content: "\e031"; }
.glyphicon-list-alt:before { content: "\e032"; }
.glyphicon-lock:before { content: "\e033"; }
.glyphicon-flag:before { content: "\e034"; }
.glyphicon-headphones:before { content: "\e035"; }
.glyphicon-volume-off:before { content: "\e036"; }
.glyphicon-volume-down:before { content: "\e037"; }
.glyphicon-volume-up:before { content: "\e038"; }
.glyphicon-qrcode:before { content: "\e039"; }
.glyphicon-barcode:before { content: "\e040"; }
.glyphicon-tag:before { content: "\e041"; }
.glyphicon-tags:before { content: "\e042"; }
.glyphicon-book:before { content: "\e043"; }
.glyphicon-bookmark:before { content: "\e044"; }
.glyphicon-print:before { content: "\e045"; }
.glyphicon-camera:before { content: "\e046"; }
.glyphicon-font:before { content: "\e047"; }
.glyphicon-bold:before { content: "\e048"; }
.glyphicon-italic:before { content: "\e049"; }
.glyphicon-text-height:before { content: "\e050"; }
.glyphicon-text-width:before { content: "\e051"; }
.glyphicon-align-left:before { content: "\e052"; }
.glyphicon-align-center:before { content: "\e053"; }
.glyphicon-align-right:before { content: "\e054"; }
.glyphicon-align-justify:before { content: "\e055"; }
.glyphicon-list:before { content: "\e056"; }
.glyphicon-indent-left:before { content: "\e057"; }
.glyphicon-indent-right:before { content: "\e058"; }
.glyphicon-facetime-video:before { content: "\e059"; }
.glyphicon-picture:before { content: "\e060"; }
.glyphicon-map-marker:before { content: "\e062"; }
.glyphicon-adjust:before { content: "\e063"; }
.glyphicon-tint:before { content: "\e064"; }
.glyphicon-edit:before { content: "\e065"; }
.glyphicon-share:before { content: "\e066"; }
.glyphicon-check:before { content: "\e067"; }
.glyphicon-move:before { content: "\e068"; }
.glyphicon-step-backward:before { content: "\e069"; }
.glyphicon-fast-backward:before { content: "\e070"; }
.glyphicon-backward:before { content: "\e071"; }
.glyphicon-play:before { content: "\e072"; }
.glyphicon-pause:before { content: "\e073"; }
.glyphicon-stop:before { content: "\e074"; }
.glyphicon-forward:before { content: "\e075"; }
.glyphicon-fast-forward:before { content: "\e076"; }
.glyphicon-step-forward:before { content: "\e077"; }
.glyphicon-eject:before { content: "\e078"; }
.glyphicon-chevron-left:before { content: "\e079"; }
.glyphicon-chevron-right:before { content: "\e080"; }
.glyphicon-plus-sign:before { content: "\e081"; }
.glyphicon-minus-sign:before { content: "\e082"; }
.glyphicon-remove-sign:before { content: "\e083"; }
.glyphicon-ok-sign:before { content: "\e084"; }
.glyphicon-question-sign:before { content: "\e085"; }
.glyphicon-info-sign:before { content: "\e086"; }
.glyphicon-screenshot:before { content: "\e087"; }
.glyphicon-remove-circle:before { content: "\e088"; }
.glyphicon-ok-circle:before { content: "\e089"; }
.glyphicon-ban-circle:before { content: "\e090"; }
.glyphicon-arrow-left:before { content: "\e091"; }
.glyphicon-arrow-right:before { content: "\e092"; }
.glyphicon-arrow-up:before { content: "\e093"; }
.glyphicon-arrow-down:before { content: "\e094"; }
.glyphicon-share-alt:before { content: "\e095"; }
.glyphicon-resize-full:before { content: "\e096"; }
.glyphicon-resize-small:before { content: "\e097"; }
.glyphicon-exclamation-sign:before { content: "\e101"; }
.glyphicon-gift:before { content: "\e102"; }
.glyphicon-leaf:before { content: "\e103"; }
.glyphicon-fire:before { content: "\e104"; }
.glyphicon-eye-open:before { content: "\e105"; }
.glyphicon-eye-close:before { content: "\e106"; }
.glyphicon-warning-sign:before { content: "\e107"; }
.glyphicon-plane:before { content: "\e108"; }
.glyphicon-calendar:before { content: "\e109"; }
.glyphicon-random:before { content: "\e110"; }
.glyphicon-comment:before { content: "\e111"; }
.glyphicon-magnet:before { content: "\e112"; }
.glyphicon-chevron-up:before { content: "\e113"; }
.glyphicon-chevron-down:before { content: "\e114"; }
.glyphicon-retweet:before { content: "\e115"; }
.glyphicon-shopping-cart:before { content: "\e116"; }
.glyphicon-folder-close:before { content: "\e117"; }
.glyphicon-folder-open:before { content: "\e118"; }
.glyphicon-resize-vertical:before { content: "\e119"; }
.glyphicon-resize-horizontal:before { content: "\e120"; }
.glyphicon-hdd:before { content: "\e121"; }
.glyphicon-bullhorn:before { content: "\e122"; }
.glyphicon-bell:before { content: "\e123"; }
.glyphicon-certificate:before { content: "\e124"; }
.glyphicon-thumbs-up:before { content: "\e125"; }
.glyphicon-thumbs-down:before { content: "\e126"; }
.glyphicon-hand-right:before { content: "\e127"; }
.glyphicon-hand-left:before { content: "\e128"; }
.glyphicon-hand-up:before { content: "\e129"; }
.glyphicon-hand-down:before { content: "\e130"; }
.glyphicon-circle-arrow-right:before { content: "\e131"; }
.glyphicon-circle-arrow-left:before { content: "\e132"; }
.glyphicon-circle-arrow-up:before { content: "\e133"; }
.glyphicon-circle-arrow-down:before { content: "\e134"; }
.glyphicon-globe:before { content: "\e135"; }
.glyphicon-wrench:before { content: "\e136"; }
.glyphicon-tasks:before { content: "\e137"; }
.glyphicon-filter:before { content: "\e138"; }
.glyphicon-briefcase:before { content: "\e139"; }
.glyphicon-fullscreen:before { content: "\e140"; }
.glyphicon-dashboard:before { content: "\e141"; }
.glyphicon-paperclip:before { content: "\e142"; }
.glyphicon-heart-empty:before { content: "\e143"; }
.glyphicon-link:before { content: "\e144"; }
.glyphicon-phone:before { content: "\e145"; }
.glyphicon-pushpin:before { content: "\e146"; }
.glyphicon-usd:before { content: "\e148"; }
.glyphicon-gbp:before { content: "\e149"; }
.glyphicon-sort:before { content: "\e150"; }
.glyphicon-sort-by-alphabet:before { content: "\e151"; }
.glyphicon-sort-by-alphabet-alt:before { content: "\e152"; }
.glyphicon-sort-by-order:before { content: "\e153"; }
.glyphicon-sort-by-order-alt:before { content: "\e154"; }
.glyphicon-sort-by-attributes:before { content: "\e155"; }
.glyphicon-sort-by-attributes-alt:before { content: "\e156"; }
.glyphicon-unchecked:before { content: "\e157"; }
.glyphicon-expand:before { content: "\e158"; }
.glyphicon-collapse-down:before { content: "\e159"; }
.glyphicon-collapse-up:before { content: "\e160"; }
.glyphicon-log-in:before { content: "\e161"; }
.glyphicon-flash:before { content: "\e162"; }
.glyphicon-log-out:before { content: "\e163"; }
.glyphicon-new-window:before { content: "\e164"; }
.glyphicon-record:before { content: "\e165"; }
.glyphicon-save:before { content: "\e166"; }
.glyphicon-open:before { content: "\e167"; }
.glyphicon-saved:before { content: "\e168"; }
.glyphicon-import:before { content: "\e169"; }
.glyphicon-export:before { content: "\e170"; }
.glyphicon-send:before { content: "\e171"; }
.glyphicon-floppy-disk:before { content: "\e172"; }
.glyphicon-floppy-saved:before { content: "\e173"; }
.glyphicon-floppy-remove:before { content: "\e174"; }
.glyphicon-floppy-save:before { content: "\e175"; }
.glyphicon-floppy-open:before { content: "\e176"; }
.glyphicon-credit-card:before { content: "\e177"; }
.glyphicon-transfer:before { content: "\e178"; }
.glyphicon-cutlery:before { content: "\e179"; }
.glyphicon-header:before { content: "\e180"; }
.glyphicon-compressed:before { content: "\e181"; }
.glyphicon-earphone:before { content: "\e182"; }
.glyphicon-phone-alt:before { content: "\e183"; }
.glyphicon-tower:before { content: "\e184"; }
.glyphicon-stats:before { content: "\e185"; }
.glyphicon-sd-video:before { content: "\e186"; }
.glyphicon-hd-video:before { content: "\e187"; }
.glyphicon-subtitles:before { content: "\e188"; }
.glyphicon-sound-stereo:before { content: "\e189"; }
.glyphicon-sound-dolby:before { content: "\e190"; }
.glyphicon-sound-5-1:before { content: "\e191"; }
.glyphicon-sound-6-1:before { content: "\e192"; }
.glyphicon-sound-7-1:before { content: "\e193"; }
.glyphicon-copyright-mark:before { content: "\e194"; }
.glyphicon-registration-mark:before { content: "\e195"; }
.glyphicon-cloud-download:before { content: "\e197"; }
.glyphicon-cloud-upload:before { content: "\e198"; }
.glyphicon-tree-conifer:before { content: "\e199"; }
.glyphicon-tree-deciduous:before { content: "\e200"; }
.glyphicon-cd:before { content: "\e201"; }
.glyphicon-save-file:before { content: "\e202"; }
.glyphicon-open-file:before { content: "\e203"; }
.glyphicon-level-up:before { content: "\e204"; }
.glyphicon-copy:before { content: "\e205"; }
.glyphicon-paste:before { content: "\e206"; }
.glyphicon-alert:before { content: "\e209"; }
.glyphicon-equalizer:before { content: "\e210"; }
.glyphicon-king:before { content: "\e211"; }
.glyphicon-queen:before { content: "\e212"; }
.glyphicon-pawn:before { content: "\e213"; }
.glyphicon-bishop:before { content: "\e214"; }
.glyphicon-knight:before { content: "\e215"; }
.glyphicon-baby-formula:before { content: "\e216"; }
.glyphicon-tent:before { content: "\26fa"; }
.glyphicon-blackboard:before { content: "\e218"; }
.glyphicon-bed:before { content: "\e219"; }
.glyphicon-apple:before { content: "\f8ff"; }
.glyphicon-erase:before { content: "\e221"; }
.glyphicon-hourglass:before { content: "\231b"; }
.glyphicon-lamp:before { content: "\e223"; }
.glyphicon-duplicate:before { content: "\e224"; }
.glyphicon-piggy-bank:before { content: "\e225"; }
.glyphicon-scissors:before { content: "\e226"; }
.glyphicon-bitcoin:before,
.glyphicon-btc:before,
.glyphicon-xbt:before { content: "\e227"; }
.glyphicon-yen:before,
.glyphicon-jpy:before { content: "\00a5"; }
.glyphicon-ruble:before,
.glyphicon-rub:before { content: "\20bd"; }
.glyphicon-scale:before { content: "\e230"; }
.glyphicon-ice-lolly:before { content: "\e231"; }
.glyphicon-ice-lolly-tasted:before { content: "\e232"; }
.glyphicon-education:before { content: "\e233"; }
.glyphicon-option-horizontal:before { content: "\e234"; }
.glyphicon-option-vertical:before { content: "\e235"; }
.glyphicon-menu-hamburger:before { content: "\e236"; }
.glyphicon-modal-window:before { content: "\e237"; }
.glyphicon-oil:before { content: "\e238"; }
.glyphicon-grain:before { content: "\e239"; }
.glyphicon-sunglasses:before { content: "\e240"; }
.glyphicon-text-size:before { content: "\e241"; }
.glyphicon-text-color:before { content: "\e242"; }
.glyphicon-text-background:before { content: "\e243"; }
.glyphicon-object-align-top:before { content: "\e244"; }
.glyphicon-object-align-bottom:before { content: "\e245"; }
.glyphicon-object-align-horizontal:before { content: "\e246"; }
.glyphicon-object-align-left:before { content: "\e247"; }
.glyphicon-object-align-vertical:before { content: "\e248"; }
.glyphicon-object-align-right:before { content: "\e249"; }
.glyphicon-triangle-right:before { content: "\e250"; }
.glyphicon-triangle-left:before { content: "\e251"; }
.glyphicon-triangle-bottom:before { content: "\e252"; }
.glyphicon-triangle-top:before { content: "\e253"; }
.glyphicon-console:before { content: "\e254"; }
.glyphicon-superscript:before { content: "\e255"; }
.glyphicon-subscript:before { content: "\e256"; }
.glyphicon-menu-left:before { content: "\e257"; }
.glyphicon-menu-right:before { content: "\e258"; }
.glyphicon-menu-down:before { content: "\e259"; }
.glyphicon-menu-up:before { content: "\e260"; }

.col10main .hbflag.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #e6eaf2;
}

.col10main .hbflag.nav-tabs > li {
    position: relative;
    list-style: none;
}

.col10main .hbflag.nav-tabs > li > a {
    display: block;
    padding: 10px 14px;
    color: #475467;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #e6eaf2;
    border-bottom-color: transparent;
    border-radius: 10px 10px 0 0;
    transition: all .2s ease;
}

.col10main .hbflag.nav-tabs > li.active > a,
.col10main .hbflag.nav-tabs > li > a:hover {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.col10main .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 210px;
    padding: 8px;
    margin: 2px 0 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(20, 35, 70, .14);
}

.col10main .dropdown:hover > .dropdown-menu,
.col10main .dropdown.open > .dropdown-menu {
    display: block;
}

.col10main .dropdown-menu > li > a {
    display: block;
    padding: 9px 12px;
    color: #475467;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 8px;
}

.col10main .dropdown-menu > li > a:hover {
    color: #667eea;
    background: #f3f5ff;
}

.col10main .caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.col10main .panel-success > .panel-heading {
    padding: 0;
    color: #243b53;
    background: linear-gradient(135deg, #f7f9ff 0%, #eef2ff 100%);
    border-bottom: 1px solid #e7ecf5;
    border-radius: 14px 14px 0 0;
}

.col10main .panel-heading blockquote {
    margin: 0;
    padding: 20px 24px;
    border-left: 4px solid #667eea;
}

.col10main .panel-heading blockquote p {
    margin: 0 0 8px;
    color: #1f2a44;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.col10main .panel-heading blockquote footer {
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}

.col10main .panel-heading code {
    padding: 3px 7px;
    color: #d63384;
    background: #fff;
    border: 1px solid #f0d7e5;
    border-radius: 5px;
    font-family: Consolas, Monaco, 'Courier New', monospace;
}

.bs-glyphicons {
    margin: 0 -10px;
    overflow: hidden;
}

.bs-glyphicons-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.bs-glyphicons-list li {
    min-height: 120px;
    padding: 18px 10px 14px;
    color: #475467;
    text-align: center;
    word-break: break-word;
    background: #fff;
    border: 1px solid #e7ecf5;
    border-radius: 14px;
    transition: all .2s ease;
}

.bs-glyphicons-list li:hover {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 10px 24px rgba(102, 126, 234, .25);
    transform: translateY(-3px);
}

.bs-glyphicons-list .glyphicon {
    display: block;
    margin: 0 auto 12px;
    color: #667eea;
    font-size: 26px;
    line-height: 1;
}

.bs-glyphicons-list li:hover .glyphicon {
    color: #fff;
}

.bs-glyphicons-list .glyphicon-class {
    display: block;
    color: inherit;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .bs-glyphicons-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .bs-glyphicons-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .col10main .hbflag.nav-tabs {
        border-bottom: none;
    }

    .col10main .hbflag.nav-tabs > li,
    .col10main .hbflag.nav-tabs > li > a {
        width: 100%;
        border-radius: 10px;
    }

    .col10main .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .bs-glyphicons-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .bs-glyphicons-list li {
        min-height: 108px;
        padding: 16px 8px 12px;
    }
}

@media (max-width: 420px) {
    .bs-glyphicons-list {
        grid-template-columns: 1fr;
    }
}

/* ===== Home Upgrade Styles ===== */
.home-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 88px;
    background:
        radial-gradient(circle at 15% 20%, rgba(102, 126, 234, .18), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(118, 75, 162, .16), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.home-hero::before,
.home-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(102, 126, 234, .08);
}

.home-hero::before {
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: -120px;
}

.home-hero::after {
    width: 180px;
    height: 180px;
    right: -60px;
    top: 80px;
}

.home-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.home-hero h1 {
    font-size: 48px;
    line-height: 1.18;
    background: linear-gradient(135deg, #202b45 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-hero .hero-desc {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
}

.home-hero .hero-search {
    max-width: 680px;
    padding: 8px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(102, 126, 234, .16);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(52, 74, 130, .12);
    backdrop-filter: blur(8px);
}

.home-hero .hero-search input {
    border: none;
    background: transparent;
    padding: 15px 18px;
}

.home-hero .hero-search input:focus {
    box-shadow: none;
}

.home-hero .search-btn {
    border-radius: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 24px rgba(102, 126, 234, .28);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 26px;
}

.hero-stats div {
    min-width: 118px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(102, 126, 234, .12);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(52, 74, 130, .08);
}

.hero-stats strong {
    display: block;
    font-size: 24px;
    color: #667eea;
    line-height: 1;
}

.hero-stats span {
    display: block;
    margin-top: 7px;
    color: #667085;
    font-size: 13px;
}

.home-tools {
    padding: 56px 0 70px;
    background: #f5f7fb;
}

.home-tools .container {
    max-width: 1400px;
}

.home-section-header {
    align-items: flex-end;
    gap: 22px;
    padding: 22px;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(20, 35, 70, .06);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #667eea;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.home-section-header h2 {
    font-size: 30px;
    margin-bottom: 6px;
}

.home-section-header p {
    color: #667085;
    font-size: 14px;
}

.home-section-header .filter-tabs {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-section-header .filter-tabs button {
    border-color: #e6e9f2;
    background: #f8f9fc;
    color: #475467;
    padding: 9px 16px;
}

.home-section-header .filter-tabs button.active,
.home-section-header .filter-tabs button:hover {
    background: #667eea;
    border-color: #667eea;
    color: #fff;
}

.tools-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
    color: #667085;
    font-size: 14px;
}

.tools-count {
    font-weight: 600;
    color: #344054;
}

.tools-count span {
    color: #667eea;
}

.home-tools-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.home-tool-card {
    display: flex;
    flex-direction: column;
    min-height: 96px;
    padding: 12px 14px;
    color: inherit;
    text-decoration: none;
    border: 1px solid #edf0f6;
    border-radius: 16px;
    overflow: hidden;
}

.home-tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102,126,234,.08), rgba(118,75,162,.06));
    opacity: 0;
    transition: opacity .2s ease;
}

.home-tool-card:hover::before {
    opacity: 1;
}

.tool-card-top,
.tool-card-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-bottom: 6px;
}

.home-tool-card .tool-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 0;
}

.home-tool-card .hot-badge {
    position: static;
    flex: 0 0 auto;
    margin-left: auto;
    background: #eef2ff;
    color: #667eea;
    border-radius: 999px;
}

.home-tool-card h3,
.home-tool-card p,
.home-tool-card .tool-link {
    position: relative;
    z-index: 1;
}

.home-tool-card h3 {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-tool-card p {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
}

.tool-empty {
    display: none;
    margin-top: 20px;
    padding: 44px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed #cfd6e4;
    border-radius: 18px;
    color: #667085;
}

.tool-empty h3 {
    margin-bottom: 8px;
    color: #344054;
}

.home-features {
    background: #fff;
}

@media (max-width: 1280px) {
    .home-tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .home-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-section-header .filter-tabs {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 48px 0 56px;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .home-hero .hero-search {
        flex-direction: column;
        border-radius: 16px;
    }

    .home-hero .search-btn {
        width: 100%;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stats div {
        min-width: 0;
        flex: 1;
        padding: 12px 8px;
    }

    .home-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-tool-card {
        min-height: 92px;
        padding: 12px;
    }
}

@media (max-width: 520px) {
    .home-section-header {
        padding: 18px;
    }

    .home-section-header h2 {
        font-size: 24px;
    }

    .home-section-header .filter-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .home-section-header .filter-tabs button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .home-tools-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
    }
}

