:root {
    --tools-bg: radial-gradient(circle at 18% 18%, rgba(110, 240, 255, 0.08), transparent 28%), radial-gradient(circle at 72% 30%, rgba(140, 91, 255, 0.08), transparent 30%), linear-gradient(145deg, #040712 0%, #070d1f 35%, #0b132e 100%);
    --glass: linear-gradient(135deg, rgba(8, 16, 36, 0.86), rgba(10, 30, 56, 0.62));
    --border: rgba(110, 240, 255, 0.18);
    --accent: #6ef0ff;
    --text: #e7ecf6;
    --muted: #9fb6d6;
}

body {
    background: var(--tools-bg);
}

.tools-shell {
    padding: 0 clamp(18px, 5vw, 80px) 80px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.tools-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    padding-top: 2rem;
    position: relative;
}

.tools-hero__content {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: clamp(1.8rem, 3vw, 2.8rem);
    box-shadow: 0 30px 80px rgba(0, 10, 30, 0.6);
    backdrop-filter: blur(14px);
}

.tools-hero__notes {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.4rem 1.5rem;
    align-self: stretch;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.tools-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(110, 240, 255, 0.16);
    color: rgba(145, 242, 255, 0.92);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tools-hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.3rem);
    margin: 1.2rem 0 0.8rem;
    line-height: 1.2;
    color: var(--text);
}

.lede {
    font-size: 1.05rem;
    color: rgba(231, 236, 246, 0.78);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 16px;
    margin: 1.4rem 0 1.2rem;
}

.hero-grid div {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(159, 182, 214, 0.85);
    font-size: 0.78rem;
    margin: 0 0 4px;
}

.stat-value {
    margin: 0;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
}

.stat-note {
    margin: 4px 0 0;
    color: rgba(231, 236, 246, 0.7);
    font-size: 0.95rem;
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tools-hero__notes .eyebrow {
    margin-bottom: 0.5rem;
}

.tools-hero__notes ul {
    margin: 0;
    padding-left: 1rem;
    color: rgba(231, 236, 246, 0.78);
    display: grid;
    gap: 8px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    color: var(--accent);
}

.tools-rail {
    background: linear-gradient(135deg, rgba(8, 16, 36, 0.9), rgba(7, 18, 40, 0.7));
    border: 1px solid rgba(110, 240, 255, 0.16);
    border-radius: 22px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 26px 70px rgba(0, 10, 30, 0.55);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.rail-copy h2 {
    margin: 0.4rem 0 0.5rem;
    color: var(--text);
    font-size: 1.8rem;
}

.rail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-self: center;
    justify-content: flex-end;
}

.rail-chips span {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(110, 240, 255, 0.12);
    border: 1px solid rgba(110, 240, 255, 0.22);
    color: rgba(231, 236, 246, 0.85);
    font-weight: 600;
}

.toolkits {
    display: grid;
    gap: 2rem;
}

.toolkit-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 28px 70px rgba(0, 10, 28, 0.55);
    backdrop-filter: blur(14px);
}

.toolkit-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

.channel-meta p {
    margin: 0.4rem 0 0;
    color: rgba(226, 242, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

.toolkit-channel {
    display: inline-flex;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(135, 246, 255, 0.9);
    background: rgba(110, 240, 255, 0.12);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(110, 240, 255, 0.2);
}

.channel-note {
    color: rgba(231, 236, 246, 0.72);
    font-size: 0.95rem;
    align-self: center;
}

.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.tool-card {
    background: rgba(3, 12, 26, 0.75);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(110, 240, 255, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(110, 240, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.tool-card__heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.tool-card__heading h2 {
    margin: 0.2rem 0 0;
    font-size: 1.2rem;
    color: #f3faff;
}

.tool-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(135, 246, 255, 0.9);
    background: rgba(110, 240, 255, 0.12);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
}

.tool-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(135, 246, 255, 0.85);
    text-decoration: none;
    border: 1px solid rgba(135, 246, 255, 0.35);
    border-radius: 10px;
    padding: 0.4rem 0.75rem;
    transition: all 0.2s ease;
}

.tool-link:hover {
    color: #ffffff;
    border-color: rgba(110, 240, 255, 0.8);
    box-shadow: 0 10px 30px rgba(110, 240, 255, 0.28);
}

.tool-card__description {
    margin: 0;
    color: rgba(219, 237, 255, 0.82);
    line-height: 1.6;
}

.tool-card__stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-chip {
    background: rgba(110, 240, 255, 0.14);
    border: 1px solid rgba(110, 240, 255, 0.24);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    color: rgba(205, 244, 255, 0.88);
}

.tool-quickstart {
    padding: 0.8rem 0 3rem;
    display: grid;
    gap: 1.8rem;
}

.tool-quickstart__header h2 {
    color: #eff7ff;
    margin-top: 0.6rem;
    max-width: 640px;
}

.tool-quickstart__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.quickstart-card {
    background: rgba(5, 18, 38, 0.8);
    border-radius: 18px;
    border: 1px solid rgba(79, 243, 255, 0.2);
    padding: 1.6rem;
    box-shadow: 0 20px 48px rgba(4, 12, 30, 0.55);
}

.quickstart-head h3 {
    margin: 0.35rem 0 0.9rem;
    color: #f8fbff;
    font-size: 1.2rem;
}

.quickstart-card ol {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.65rem;
    color: rgba(216, 234, 255, 0.85);
}

@media (max-width: 992px) {
    .tools-hero {
        grid-template-columns: 1fr;
    }

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

    .tools-shell {
        padding: 0 18px 60px;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
    }

    .toolkit-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

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