:root {
    --tn-bg: #f8fafc;
    --tn-card: #ffffff;
    --tn-text: #0f172a;
    --tn-muted: #475569;
    --tn-primary: #2563eb;
    --tn-secondary: #7c3aed;
    --tn-border: #e2e8f0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--tn-text);
    background: radial-gradient(circle at top right, #dbeafe, #f8fafc 40%);
    font-family: Inter, system-ui, sans-serif;
}

a {
    color: var(--tn-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.tn-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.tn-main {
    padding: 36px 0 56px;
}

.tn-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.92);
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tn-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.tn-brand {
    color: #fff;
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 1.1rem;
}

.tn-menu {
    display: flex;
    list-style: none;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.tn-menu a {
    color: #e2e8f0;
    font-weight: 600;
}

.tn-footer {
    border-top: 1px solid var(--tn-border);
    color: var(--tn-muted);
    padding: 24px 0;
    background: #fff;
}

.tn-card,
.tn-news-card,
.tn-single,
.tn-block {
    background: var(--tn-card);
    border: 1px solid var(--tn-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.tn-card,
.tn-single {
    padding: 24px;
    margin-bottom: 20px;
}

.tn-meta {
    color: var(--tn-muted);
    font-size: 14px;
}

.tn-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tn-news-card {
    padding: 18px;
}

.tn-news-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.tn-hero-tech {
    margin: 0 auto 30px;
    max-width: 1160px;
    padding: 34px;
    border-radius: 22px;
    background: linear-gradient(120deg, #0f172a, #1e3a8a 45%, #7c3aed);
    color: #fff;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
}

.tn-hero-tech h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.05;
}

.tn-hero-tech p {
    margin: 0;
    color: #cbd5e1;
    font-size: 1.05rem;
}

.tn-hero-tech img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.tn-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #06b6d4;
    color: #042f2e;
    font-weight: 700;
}

@media (max-width: 860px) {
    .tn-hero-tech {
        grid-template-columns: 1fr;
    }
}