:root {
    --bg: #07111f;
    --bg-soft: #0d1a2d;
    --card: #10233b;
    --card-2: #122844;
    --line: rgba(255,255,255,0.08);
    --text: #e6eefb;
    --muted: #9db0ca;
    --accent: #67e8f9;
    --accent-2: #fb7185;
    --accent-3: #fbbf24;
    --shadow: 0 20px 60px rgba(0,0,0,0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(103,232,249,0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(251,113,133,0.14), transparent 30%),
        linear-gradient(180deg, #08111e 0%, #09141f 45%, #07111d 100%);
    color: var(--text);
    font-family: Inter, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

.site-header {
    position: relative;
    overflow: hidden;
    padding: 24px 0 72px;
    background: linear-gradient(180deg, rgba(10,18,32,0.92), rgba(8,16,28,0.92));
    border-bottom: 1px solid var(--line);
}

.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.site-header::before {
    width: 320px;
    height: 320px;
    background: rgba(103,232,249,0.09);
    top: -120px;
    right: -80px;
}

.site-header::after {
    width: 220px;
    height: 220px;
    background: rgba(251,113,133,0.08);
    bottom: -90px;
    left: -50px;
}

.navbar {
    padding: 0;
}

.brand-mark,
.brand-link,
.footer-brand {
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-mark {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 24px rgba(103,232,249,0.55);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(230,238,251,0.82);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.hero-shell {
    position: relative;
    z-index: 1;
    margin-top: 54px;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.tool-workspace,
.tool-sidebar .info-card,
.section-head,
.category-card,
.tool-card,
.mini-tool-card,
.tool-group,
.accordion-item,
.subpage-header,
.site-footer {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(16,35,59,0.95), rgba(12,27,46,0.96));
    box-shadow: var(--shadow);
}

.hero-copy {
    border-radius: 28px;
    padding: 42px;
}

.hero-badge,
.section-tag,
.tool-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(103,232,249,0.12);
    color: #baf5ff;
    border: 1px solid rgba(103,232,249,0.18);
    padding: 0.4rem 0.8rem;
    font-size: 0.84rem;
}

.hero-copy h1 {
    margin: 20px 0 14px;
    font-size: clamp(2.4rem, 4vw, 4.6rem);
    line-height: 1.02;
    font-weight: 900;
    max-width: 12ch;
}

.hero-copy p,
.section-head p,
.tool-card p,
.mini-tool-card span,
.subpage-header p,
.workspace-placeholder p,
.info-card li,
.site-footer p,
.site-footer .footer-copy {
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.8rem 1.2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.stat-card {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.stat-card strong {
    display: block;
    font-size: 1.3rem;
    color: #fff;
}

.stat-card span {
    font-size: 0.86rem;
    color: var(--muted);
}

.hero-panel {
    border-radius: 28px;
    padding: 22px;
    display: grid;
    gap: 16px;
}

.panel-card {
    min-height: 180px;
    border-radius: 22px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(103,232,249,0.12), transparent 55%),
        rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.panel-card.alt {
    background:
        linear-gradient(135deg, rgba(251,113,133,0.13), transparent 55%),
        rgba(255,255,255,0.04);
}

.panel-card span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.panel-card h3 {
    margin: 12px 0 10px;
    color: #fff;
    font-size: 1.5rem;
}

.section-block {
    padding: 72px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 28px;
    padding: 28px;
    border-radius: 24px;
}

.section-head h2 {
    margin: 16px 0 10px;
    font-size: clamp(1.7rem, 2.5vw, 2.8rem);
    font-weight: 850;
}

.category-card {
    display: block;
    height: 100%;
    border-radius: 24px;
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.tool-card:hover,
.mini-tool-card:hover {
    transform: translateY(-6px);
    border-color: rgba(103,232,249,0.35);
    box-shadow: 0 22px 48px rgba(0,0,0,0.45);
}

.category-icon,
.tool-card-head i {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(103,232,249,0.24), rgba(251,113,133,0.24));
    border: 1px solid rgba(255,255,255,0.08);
}

.category-card h3,
.tool-card h3,
.mini-tool-card strong,
.tool-group h3,
.tool-section h2,
.subpage-header h1 {
    color: #fff;
    font-weight: 800;
}

.category-meta {
    margin-top: 18px;
    color: #bfefff;
    font-size: 0.95rem;
}

.tools-highlight {
    background: linear-gradient(180deg, rgba(8,18,32,0.18), rgba(8,18,32,0.02));
}

.tool-card {
    display: block;
    height: 100%;
    border-radius: 24px;
    padding: 24px;
    transition: all 0.2s ease;
}

.tool-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.tool-card-head span {
    color: var(--accent);
    font-size: 0.85rem;
}

.tool-card ul,
.info-card ul,
.info-card ol {
    margin: 18px 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.tool-card li + li,
.info-card li + li {
    margin-top: 8px;
}

.tool-group {
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 24px;
}

.tool-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mini-tool-card {
    display: block;
    border-radius: 18px;
    padding: 18px;
    min-height: 124px;
    transition: all 0.2s ease;
}

.mini-tool-card strong {
    display: block;
    margin-bottom: 8px;
}

.faq-block .accordion-item,
.tool-section .accordion-item {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
}

.accordion-button {
    background: rgba(255,255,255,0.03);
    color: var(--text);
    font-weight: 700;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background: rgba(103,232,249,0.1);
    box-shadow: none;
}

.accordion-body {
    background: rgba(255,255,255,0.02);
    color: var(--muted);
}

.subpage-header {
    padding: 26px 0 28px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8,16,28,0.96), rgba(10,20,34,0.92));
}

.subpage-header h1 {
    margin: 12px 0 10px;
    font-size: clamp(2rem, 3vw, 3.4rem);
}

.tool-header {
    padding-bottom: 36px;
}

.crumbs {
    color: var(--muted);
    margin: 0;
}

.tool-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tool-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    gap: 22px;
    align-items: stretch;
}

.tool-workspace,
.tool-sidebar .info-card {
    border-radius: 24px;
}

.tool-workspace {
    min-height: 480px;
    padding: 24px;
}

.workspace-placeholder {
    min-height: 470px;
    border-radius: 20px;
    border: 1px dashed rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.workspace-placeholder i {
    font-size: 3rem;
    margin-bottom: 18px;
    color: var(--accent);
}

.tool-sidebar {
    display: grid;
    gap: 18px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    align-self: stretch;
}

.info-card {
    border-radius: 24px;
    padding: 22px;
    height: 100%;
}

.site-footer {
    margin-top: 28px;
    padding: 28px 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
}

.footer-copy {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 991.98px) {
    .hero-shell,
    .tool-hero {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 28px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .tool-workspace {
        min-height: auto;
    }

    .workspace-placeholder {
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .site-header {
        padding-top: 18px;
        padding-bottom: 48px;
    }

    .hero-copy,
    .hero-panel,
    .section-head,
    .category-card,
    .tool-card,
    .tool-group,
    .tool-workspace,
    .info-card {
        border-radius: 20px;
    }

    .section-block {
        padding: 52px 0;
    }
}
