/* About — product tree */

.about-page {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Intro ── */
.about-intro {
    padding: 26px 30px;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(101, 116, 205, .1), transparent 55%),
        var(--bg1);
}

.about-kicker {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    margin: 0 0 8px;
}

.about-intro h1 {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -.3px;
    color: var(--text);
}

.about-intro-lead {
    font-size: .88rem;
    line-height: 1.6;
    color: var(--text2);
    margin: 0 0 16px;
    max-width: 48em;
}

.about-intro-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: .78rem;
    color: var(--muted);
}

.about-intro-stats b {
    font-family: var(--mono);
    color: var(--text);
    font-weight: 800;
}

.about-intro-free b {
    color: var(--green);
}

/* ── Tree ── */
.about-tree {
    padding: 28px 24px 32px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(101, 116, 205, .08), transparent 70%),
        var(--bg1);
}

.about-tree-root {
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-tree-root-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border-radius: 16px;
    background: var(--bg2);
    border: 2px solid var(--ac15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(101, 116, 205, .06);
}

.about-tree-root-icon img {
    mix-blend-mode: lighten;
}

.about-tree-root-label {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text);
}

.about-tree-root-sub {
    font-size: .68rem;
    color: var(--muted);
    margin-top: 4px;
    line-height: 1.4;
}

.about-tree-trunk {
    width: 2px;
    height: 28px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--accent), var(--border));
    position: relative;
    z-index: 1;
}

.about-tree-branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
    position: relative;
    margin-top: 0;
    padding-top: 18px;
}

/* horizontal connector line above branches */
.about-tree-branches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ac15) 15%, var(--ac15) 85%, transparent);
    z-index: 0;
}

.about-branch {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.about-branch-stem {
    width: 2px;
    height: 18px;
    background: var(--border);
    flex-shrink: 0;
    margin-bottom: -1px;
}

.about-branch-card {
    width: 100%;
    padding: 16px 16px 14px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color .18s ease, box-shadow .18s ease;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.about-branch:hover .about-branch-card {
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.about-branch-head {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 8px;
}

.about-branch-head h2 {
    font-size: .88rem;
    font-weight: 800;
    margin: 0;
    color: var(--text);
    line-height: 1.2;
}

.about-branch-head:hover h2 {
    color: var(--accent);
}

.about-branch-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ac10);
    border: 1px solid var(--ac15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-branch-card p {
    font-size: .76rem;
    line-height: 1.55;
    color: var(--text2);
    margin: 0 0 10px;
    flex: 1;
}

.about-leaves {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

.about-leaves a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .66rem;
    font-weight: 700;
    padding: 5px 9px;
    background: var(--bg1);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text2);
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.about-leaves a img {
    border-radius: 3px;
    flex-shrink: 0;
}

.about-leaves a:hover {
    border-color: var(--ac15);
    color: var(--accent);
}

.about-branch-go {
    display: inline-block;
    margin-top: auto;
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.about-branch-go:hover {
    text-decoration: underline;
}

/* Branch icon colors — sidebar palette */
.about-branch--servers .about-branch-ic svg { color: #4bb1d4; }
.about-branch--players .about-branch-ic svg { color: #4bb1d4; }
.about-branch--networks .about-branch-ic svg { color: #6574cd; }
.about-branch--cd .about-branch-ic svg { color: #6574cd; }
.about-branch--amxx .about-branch-ic svg { color: #c9a962; }
.about-branch--sm .about-branch-ic svg { color: #58b58e; }
.about-branch--csharp .about-branch-ic svg { color: #a87df2; }
.about-branch--panel .about-branch-ic svg { color: #6574cd; }
.about-branch--add .about-branch-ic svg { color: #c9a962; }
.about-branch--client .about-branch-ic svg { color: #58b58e; }

.about-branch--cd { grid-column: span 1; }

/* ── Footer ── */
.about-foot {
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(92, 184, 138, .06), transparent 50%), var(--bg1);
}

.about-foot p {
    font-size: .84rem;
    line-height: 1.5;
    color: var(--text2);
    margin: 0;
    max-width: 28em;
}

.about-foot-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ── Responsive ── */
@media (max-width: 1000px) {
    .about-tree-branches {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .about-tree {
        padding: 22px 16px 24px;
    }
    .about-tree-branches {
        grid-template-columns: 1fr;
        padding-top: 12px;
    }
    .about-tree-branches::before {
        display: none;
    }
    .about-branch-stem {
        display: none;
    }
    .about-intro {
        padding: 20px 18px;
    }
    .about-foot {
        flex-direction: column;
        align-items: flex-start;
    }
}
