.tools-section {
    margin-top: 64px;
    padding: 60px 20px;
    background: #f5f7fa;
    min-height: calc(100vh - 64px);
}

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

.page-hero {
    text-align: center;
    margin-bottom: 60px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 900;
    color: #1E3A8A;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
}

.page-hero p {
    font-size: 20px;
    color: #6B7280;
    margin: 0;
}

.category-title {
    font-size: 26px;
    font-weight: 800;
    color: #1E3A8A;
    margin: 50px 0 24px 0;
    padding-left: 16px;
    border-left: 6px solid #3B82F6;
}

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

.tool-card {
    background: #fff;
    border-radius: 0 0 24px 24px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
}

.tool-card.blue::before   { background: #2563EB; }
.tool-card.red::before    { background: #DC2626; }
.tool-card.purple::before { background: #7C3AED; }
.tool-card.green::before  { background: #059669; }
.tool-card.orange::before { background: #EA580C; }
.tool-card.teal::before   { background: #0F766E; }

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.tool-card-head {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 20px;
}

.tool-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    flex-shrink: 0;
}

.tool-card.blue   .tool-icon { background: #2563EB; }
.tool-card.red    .tool-icon { background: #DC2626; }
.tool-card.purple .tool-icon { background: #7C3AED; }
.tool-card.green  .tool-icon { background: #059669; }
.tool-card.orange .tool-icon { background: #EA580C; }
.tool-card.teal   .tool-icon { background: #0F766E; }

.tool-title {
    font-size: 24px;
    font-weight: 800;
    color: #1E3A8A;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

.tool-slogan {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
}

.tool-card.blue   .tool-slogan { background: #DBEAFE; color: #1E3A8A; }
.tool-card.red    .tool-slogan { background: #FEE2E2; color: #DC2626; }
.tool-card.purple .tool-slogan { background: #EDE9FE; color: #7C3AED; }
.tool-card.green  .tool-slogan { background: #D1FAE5; color: #059669; }
.tool-card.orange .tool-slogan { background: #FFEDD5; color: #EA580C; }
.tool-card.teal   .tool-slogan { background: #CCFBF1; color: #0F766E; }

.tool-description {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.scenarios-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.scenario-tag {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    color: #6B7280;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
}

.tool-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.tool-card.blue   .tool-cta-btn { background: #2563EB; box-shadow: 0 6px 20px rgba(59,130,246,.4); }
.tool-card.red    .tool-cta-btn { background: #DC2626; box-shadow: 0 6px 20px rgba(239,68,68,.4); }
.tool-card.purple .tool-cta-btn { background: #7C3AED; box-shadow: 0 6px 20px rgba(168,85,247,.4); }
.tool-card.green  .tool-cta-btn { background: #059669; box-shadow: 0 6px 20px rgba(16,185,129,.4); }
.tool-card.orange .tool-cta-btn { background: #EA580C; box-shadow: 0 6px 20px rgba(249,115,22,.4); }
.tool-card.teal   .tool-cta-btn { background: #0F766E; box-shadow: 0 6px 20px rgba(20,184,166,.4); }

.tool-cta-btn:hover { transform: translateY(-2px); }
.tool-cta-btn i { transition: transform 0.3s ease; }
.tool-cta-btn:hover i { transform: translateX(4px); }

@media (max-width: 968px) {
    .page-hero h1 { font-size: 34px; }
    .page-hero p  { font-size: 16px; }
    .category-title { font-size: 22px; margin-top: 36px; }
    .tools-grid { grid-template-columns: 1fr; gap: 24px; }
    .tool-card { padding: 28px; }
}
@media (max-width: 640px) {
    .tools-section { padding: 32px 14px; }
    .page-hero h1 { font-size: 26px; }
    .tool-card-head { flex-direction: column; text-align: center; }
    .tool-title { font-size: 20px; }
    .tool-description { font-size: 14px; }
}
