:root {
    --bg: #1a1530;
    --bg-deep: #12101f;
    --card: #231e3a;
    --border: #362f52;
    --white: #ffffff;
    --gray: #a09cba;
    --lt-gray: #d0cde0;
    --lime: #c8e32d;
    --purple: #7b2fbe;
    --orange: #e85d26;
    --tao-grad: linear-gradient(135deg, #c8e32d, #7b2fbe);
    --tao-grad-h: linear-gradient(90deg, #c8e32d, #7b2fbe);
    --font-h: 'Outfit', sans-serif;
    --font-t: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-deep);
    color: var(--lt-gray);
    font-family: var(--font-t);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-h);
    color: var(--white);
}

a {
    text-decoration: none;
    color: var(--lime);
    transition: color .3s;
}

a:hover {
    color: var(--purple);
}

.text-anchor {
    border-bottom: 1px dotted var(--lime);
}

.text-anchor:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* === FULL-WIDTH HEADER BAR === */
.tao-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 16, 31, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid;
    border-image: var(--tao-grad-h) 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 72px;
}

.tao-logo {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 800;
}

.tao-logo span:first-child {
    color: var(--lime);
}

.tao-logo span:last-child {
    color: var(--purple);
}

.tao-nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

.tao-nav a {
    color: var(--gray);
    font-size: .88rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all .3s;
}

.tao-nav a:hover,
.tao-nav a.active {
    color: var(--white);
    border-bottom-color: var(--lime);
}

.tao-cta {
    background: var(--tao-grad);
    color: var(--bg-deep) !important;
    padding: 10px 24px !important;
    border-radius: 8px;
    font-weight: 700 !important;
    font-size: .88rem;
}

.tao-cta:hover {
    opacity: .85;
}

.tao-auth {
    display: flex;
    gap: 8px;
}

.tao-auth a {
    font-size: .82rem;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.tao-auth .tao-login {
    border: 1px solid var(--border);
    color: var(--white);
}

.tao-auth .tao-login:hover {
    border-color: var(--lime);
    color: var(--lime);
}

.tao-auth .tao-join {
    background: var(--purple);
    color: var(--white);
}

/* === MAIN WRAPPER === */
.tao-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 30px 50px;
}

/* === HERO === */
.tao-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 420px;
    margin-bottom: 45px;
    border: 1px solid var(--border);
}

.tao-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tao-hero-ov {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 55px 40px 35px;
    background: linear-gradient(to top, rgba(18, 16, 31, 1) 0%, transparent 100%);
}

.tao-hero-ov h1 {
    font-size: 2.8rem;
    margin-bottom: 8px;
}

.tao-hero-ov p {
    font-size: 1.1rem;
    color: var(--lime);
    font-weight: 600;
}

/* === ZEN MASONRY GRID === */
.tao-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

.tao-masonry .span-2 {
    grid-column: span 2;
}

.tao-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px;
    transition: transform .3s, box-shadow .3s;
}

.tao-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(123, 47, 190, 0.15);
}

.tao-block h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lime);
    display: inline-block;
}

.tao-block .chart-box {
    position: relative;
    width: 100%;
    height: 270px;
}

/* === TABLE === */
.tao-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid var(--border);
}

.tao-table caption {
    padding: 12px;
    font-family: var(--font-h);
    font-weight: 600;
    text-align: left;
    color: var(--white);
    background: var(--card);
}

.tao-table th {
    background: var(--bg);
    color: var(--lime);
    padding: 13px 16px;
    text-align: left;
    font-family: var(--font-h);
    font-size: .85rem;
    border-bottom: 2px solid var(--purple);
}

.tao-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
}

.tao-table tr:hover td {
    background: rgba(200, 227, 45, 0.05);
}

/* === SEO BLOCK === */
.tao-seo {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 38px;
    margin-top: 40px;
}

.tao-seo h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--lime);
}

.tao-seo p {
    margin-bottom: 16px;
    line-height: 1.85;
    font-size: 1rem;
}

/* === EXPANDED FOOTER (MULTI-COLUMN) === */
.tao-footer {
    background: var(--bg);
    border-top: 3px solid;
    border-image: var(--tao-grad-h) 1;
    padding: 50px 40px 25px;
    margin-top: 60px;
}

.tao-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 35px;
    margin-bottom: 30px;
}

.tao-footer-brand .tao-logo {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.tao-footer-brand p {
    font-size: .85rem;
    color: var(--gray);
    line-height: 1.6;
}

.tao-footer-col h4 {
    font-size: .9rem;
    color: var(--lime);
    margin-bottom: 14px;
    font-family: var(--font-h);
}

.tao-footer-col a {
    display: block;
    color: var(--gray);
    font-size: .85rem;
    padding: 4px 0;
}

.tao-footer-col a:hover {
    color: var(--white);
}

.tao-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.tao-footer-bottom p {
    font-size: .75rem;
    color: #555;
}

/* === MOBILE === */
.tao-burger {
    display: none;
}

.tao-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 290px;
    background: var(--bg-deep);
    border-left: 3px solid;
    border-image: var(--tao-grad) 1;
    padding: 30px 20px;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

.tao-mobile-drawer.active {
    transform: translateX(0);
}

.tao-mobile-drawer a {
    display: block;
    padding: 13px 18px;
    color: var(--lt-gray);
    border-radius: 8px;
    font-family: var(--font-h);
    font-size: .95rem;
}

.tao-mobile-drawer a:hover {
    background: var(--card);
    color: var(--lime);
}

.tao-close {
    align-self: flex-end;
    cursor: pointer;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.tao-drawer-auth {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.tao-drawer-auth a {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: .88rem;
}

.tao-drawer-auth .dl {
    border: 1px solid var(--lime);
    color: var(--lime);
}

.tao-drawer-auth .dj {
    background: var(--purple);
    color: var(--white);
    font-weight: 700;
}

@media(max-width:960px) {

    .tao-nav,
    .tao-auth {
        display: none;
    }

    .tao-burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--tao-grad);
        border: none;
        border-radius: 10px;
        cursor: pointer;
    }

    .tao-burger svg {
        width: 24px;
        height: 24px;
        fill: var(--bg-deep);
    }

    .tao-main {
        padding: 30px 15px 50px;
    }

    .tao-hero {
        height: 250px;
        border-radius: 12px;
    }

    .tao-hero-ov h1 {
        font-size: 1.7rem;
    }

    .tao-masonry {
        grid-template-columns: 1fr;
    }

    .tao-masonry .span-2 {
        grid-column: span 1;
    }

    .tao-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}