:root {
    --tech-dark: #0f172a;
    --tech-blue: #2563eb;
    --tech-sky: #38bdf8;
    --tech-green: #10b981;
    --tech-soft: #f8fafc;
    --tech-border: #e2e8f0;
    --tech-text: #334155;
    --tech-muted: #64748b;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--tech-text);
    background: #ffffff;
}

a {
    text-decoration: none;
}

.tech-navbar {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.site-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.language-switch {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 4px;
    display: flex;
    gap: 4px;
}

.language-switch a {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}

.language-switch a.active {
    background: #fff;
    color: var(--tech-blue);
}

.top-ad-wrapper {
    background: #f1f5f9;
    padding: 12px 0;
}

.ad-box {
    min-height: 90px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-section {
    position: relative;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 35%), linear-gradient(135deg, #0f172a, #172554 60%, #1e40af);
    color: #fff;
    padding: 95px 0;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e0f2fe;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-section h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.1rem;
    color: #dbeafe;
    max-width: 760px;
}

.hero-search {
    margin-top: 28px;
    background: #fff;
    border-radius: 22px;
    padding: 8px;
    display: flex;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 1rem;
}

.hero-search button {
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--tech-blue), #1d4ed8);
    color: #fff;
    font-weight: 800;
    padding: 0 24px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}

.hero-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: #fff;
    color: var(--tech-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-weight: 900;
    margin-bottom: 18px;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-card li {
    margin-bottom: 12px;
    color: #e0f2fe;
}

.hero-card li i {
    color: var(--tech-green);
    margin-right: 8px;
}

.section-padding {
    padding: 70px 0;
}

.bg-soft {
    background: var(--tech-soft);
}

.section-title {
    text-align: center;
    margin-bottom: 34px;
}

.section-title span {
    display: inline-block;
    color: var(--tech-blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-bottom: 8px;
}

.section-title h2 {
    font-weight: 900;
    color: var(--tech-dark);
}

.category-card {
    display: block;
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: 24px;
    padding: 24px 18px;
    text-align: center;
    color: var(--tech-dark);
    height: 100%;
    transition: .25s ease;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.13);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 20px;
    background: #eff6ff;
    color: var(--tech-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-card h5 {
    font-weight: 800;
    font-size: 1rem;
    margin: 0;
}

.article-card {
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: 26px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: .25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.article-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-category {
    display: inline-block;
    background: #eff6ff;
    color: var(--tech-blue);
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 12px;
}

.article-category.large {
    font-size: 13px;
    margin-bottom: 18px;
}

.article-card h3,
.small-article-card h4 {
    font-weight: 900;
    line-height: 1.25;
}

.article-card h3 {
    font-size: 1.25rem;
}

.article-card h3 a,
.small-article-card h4 a {
    color: var(--tech-dark);
}

.article-card h3 a:hover,
.small-article-card h4 a:hover {
    color: var(--tech-blue);
}

.article-card p,
.small-article-card p {
    color: var(--tech-muted);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--tech-muted);
    font-size: 13px;
    font-weight: 700;
}

.small-article-card {
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.popular-box {
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.popular-box h4 {
    font-weight: 900;
    color: var(--tech-dark);
    margin-bottom: 18px;
}

.popular-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--tech-border);
    color: var(--tech-dark);
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-item>span {
    min-width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--tech-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.popular-item h6 {
    font-weight: 800;
    margin-bottom: 3px;
}

.popular-item small {
    color: var(--tech-muted);
}

.page-header,
.article-header {
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 35%), linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    text-align: center;
    padding: 70px 0;
}

.page-header h1,
.article-header h1 {
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.page-header p,
.article-header p {
    max-width: 760px;
    margin: 12px auto 0;
    color: #dbeafe;
}

.page-search {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.article-cover {
    width: 100%;
    border-radius: 26px;
    margin-bottom: 28px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.article-content {
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: 26px;
    padding: 32px;
    font-size: 1.07rem;
    line-height: 1.85;
    color: #1e293b;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-weight: 900;
    color: var(--tech-dark);
    margin-top: 28px;
}

.content-box {
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: 24px;
    padding: 24px;
    margin-top: 26px;
}

.content-box h4 {
    font-weight: 900;
    color: var(--tech-dark);
    margin-bottom: 18px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--tech-border);
    border-radius: 18px;
    color: var(--tech-dark);
    margin-bottom: 12px;
}

.download-item:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.download-item i {
    font-size: 26px;
    color: var(--tech-blue);
}

.download-item small {
    display: block;
    color: var(--tech-muted);
}

.video-box,
.audio-box {
    margin-bottom: 20px;
}

.video-box h5,
.audio-box h5 {
    font-weight: 800;
}

.empty-box {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 22px;
    padding: 30px;
    text-align: center;
    color: var(--tech-muted);
}

.tech-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 55px 0 25px;
}

.tech-footer h4,
.tech-footer h5 {
    color: #fff;
    font-weight: 900;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 0;
    }
    .hero-search {
        flex-direction: column;
        border-radius: 20px;
    }
    .hero-search button {
        padding: 14px;
    }
    .section-padding {
        padding: 50px 0;
    }
    .article-content {
        padding: 22px;
    }
}

.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    min-width: 0;
}

.brand-name {
    display: inline-flex;
    align-items: center;
    line-height: 1.15;
    padding-top: 1px;
}

.tech-footer {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 35%), linear-gradient(135deg, #020617, #0f172a 60%, #172554);
    color: #cbd5e1;
    padding: 65px 0 28px;
}

.footer-card {
    height: 100%;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.footer-brand {
    display: flex;
    gap: 14px;
}

.footer-brand-balanced {
    align-items: center;
}

.footer-brand-text {
    min-width: 0;
}

.footer-brand-title {
    color: #ffffff;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 4px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
}

.footer-brand-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.footer-card h4,
.footer-card h5 {
    color: #ffffff;
    font-weight: 900;
}

.footer-brand small,
.footer-muted {
    color: #94a3b8;
}

.footer-text {
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 18px;
}

.footer-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 18px;
    color: #ffffff;
    font-weight: 900;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
}

.footer-mini-title {
    color: #ffffff;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a {
    color: #dbeafe;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    transition: 0.22s ease;
}

.footer-links a i {
    color: #38bdf8;
    font-size: 12px;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-chip-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-chip-links a {
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.22s ease;
}

.footer-chip-links a:hover {
    background: #2563eb;
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.22s ease;
}

.footer-socials a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-contact-list {
    display: grid;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-item>span {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.13);
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-item small {
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
}

.footer-contact-item p {
    margin: 0;
    color: #e2e8f0;
    font-weight: 700;
    word-break: break-word;
}

.footer-contact-btn {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: #2563eb;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 800;
}

.footer-contact-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.footer-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
    margin: 30px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #94a3b8;
}

.footer-bottom a {
    color: #38bdf8;
    font-weight: 800;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.static-page-box {
    padding: 34px;
}

.static-page-box h2,
.static-page-box h3 {
    color: var(--tech-dark);
    font-weight: 900;
    margin-top: 20px;
}

.static-page-box h2:first-child,
.static-page-box h3:first-child {
    margin-top: 0;
}

.static-page-box p,
.legal-content li {
    color: #475569;
    line-height: 1.85;
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-top: 28px;
}

.static-info-card {
    background: #ffffff;
    border: 1px solid var(--tech-border);
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.static-info-card h3 {
    font-weight: 900;
    color: var(--tech-dark);
    margin-bottom: 18px;
}

.static-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.static-info-card li {
    margin-bottom: 12px;
    color: #475569;
    font-weight: 650;
}

.static-info-card li i {
    color: var(--tech-green);
    margin-right: 8px;
}

.static-info-icon {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    background: #eff6ff;
    color: var(--tech-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.contact-line {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--tech-border);
}

.contact-line:last-child {
    border-bottom: none;
}

.contact-line>span {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--tech-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-line small {
    color: #64748b;
    font-weight: 700;
}

.contact-line p {
    margin: 0;
    color: var(--tech-dark);
    font-weight: 800;
}

@media (max-width: 991px) {
    .footer-card {
        padding: 24px;
    }
}

@media (max-width: 575px) {
    .brand-name {
        max-width: 210px;
        white-space: normal;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        text-align: center;
        justify-content: center;
    }
    .static-page-box {
        padding: 24px;
    }
}


/* ===============================
   BRAND / NAVBAR FIX
================================ */

.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    min-width: 0;
}

.brand-name {
    display: inline-flex;
    align-items: center;
    line-height: 1.15;
    padding-top: 1px;
    white-space: nowrap;
}

.brand-icon,
.site-logo {
    flex: 0 0 auto;
}


/* ===============================
   HOME HERO UPGRADE
================================ */

.home-hero {
    padding: 105px 0 90px;
}

.hero-title {
    max-width: 820px;
}

.hero-description {
    max-width: 760px;
}

.upgraded-search {
    position: relative;
    align-items: center;
    gap: 8px;
    padding: 8px;
}

.upgraded-search .search-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--tech-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.upgraded-search input {
    padding-left: 6px;
}

.hero-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    color: #dbeafe;
    font-weight: 700;
}

.hero-quick-tags a {
    color: #ffffff;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 13px;
}

.hero-quick-tags a:hover {
    background: #2563eb;
    color: #ffffff;
}

.upgraded-hero-card {
    padding: 32px;
}

.hero-card-top {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.hero-card-top h3 {
    margin: 0 0 5px;
}

.hero-card-top p {
    margin: 0;
    color: #dbeafe;
    font-size: 14px;
}

.hero-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-feature-grid div {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    padding: 16px;
    color: #ffffff;
}

.hero-feature-grid i {
    display: block;
    color: #7dd3fc;
    font-size: 22px;
    margin-bottom: 10px;
}

.hero-feature-grid span {
    font-weight: 800;
    font-size: 14px;
}

.home-ad-section {
    padding: 26px 0 60px;
    background: #ffffff;
}


/* ===============================
   SECTION HEADER
================================ */

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 34px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-weight: 900;
    color: var(--tech-blue);
}

.section-link:hover {
    color: #1d4ed8;
}


/* ===============================
   CATEGORY CARDS UPGRADE
================================ */

.upgraded-category-card {
    position: relative;
    overflow: hidden;
    min-height: 175px;
}

.upgraded-category-card::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -26px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
}

.upgraded-category-card h5 {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upgraded-category-card span {
    color: var(--tech-blue);
    font-weight: 900;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


/* ===============================
   ARTICLE CARDS UPGRADE
================================ */

.upgraded-article-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.article-image-wrap {
    display: block;
    height: 190px;
    overflow: hidden;
    background: #eff6ff;
}

.article-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.28s ease;
}

.upgraded-article-card:hover .article-image-wrap img {
    transform: scale(1.05);
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 35%), linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--tech-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.article-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.difficulty-pill {
    background: #f1f5f9;
    color: #475569;
    font-weight: 900;
    font-size: 11px;
    border-radius: 999px;
    padding: 6px 10px;
    white-space: nowrap;
}

.article-card-title {
    min-height: 62px;
    margin-bottom: 10px;
}

.article-card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--tech-dark);
}

.article-card-summary {
    min-height: 78px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #64748b;
}

.article-card-footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.read-more-btn {
    padding: 8px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--tech-blue);
    font-weight: 900;
    font-size: 13px;
}

.read-more-btn:hover {
    background: var(--tech-blue);
    color: #ffffff;
}


/* ===============================
   LATEST CARDS UPGRADE
================================ */

.upgraded-small-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.upgraded-small-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.06);
}

.small-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--tech-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.small-category {
    width: fit-content;
}

.upgraded-small-card h4 {
    min-height: 58px;
    margin-top: 12px;
}

.upgraded-small-card h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--tech-dark);
}

.upgraded-small-card p {
    min-height: 72px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #64748b;
}

.circle-link {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--tech-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.circle-link:hover {
    background: var(--tech-blue);
    color: #ffffff;
}


/* ===============================
   POPULAR BOX UPGRADE
================================ */

.upgraded-popular-box {
    overflow: hidden;
}

.popular-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.popular-box-head h4 {
    margin: 0;
}

.popular-box-head i {
    color: #f97316;
    font-size: 22px;
}

.upgraded-popular-item {
    border-bottom: 1px solid var(--tech-border);
}

.upgraded-popular-item h6 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.upgraded-popular-item small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


/* ===============================
   FOOTER LINKS / LEGAL LINKS
================================ */

.tech-footer {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 35%), linear-gradient(135deg, #020617, #0f172a 60%, #172554);
    color: #cbd5e1;
    padding: 65px 0 28px;
}

.footer-card {
    height: 100%;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.footer-brand {
    display: flex;
    gap: 14px;
}

.footer-brand-balanced {
    align-items: center;
}

.footer-brand-text {
    min-width: 0;
}

.footer-brand-title {
    color: #ffffff;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 4px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
}

.footer-brand-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.footer-brand small,
.footer-muted {
    color: #94a3b8;
}

.footer-text {
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 18px;
}

.footer-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 18px;
    color: #ffffff;
    font-weight: 900;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
}

.footer-mini-title {
    color: #ffffff;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a {
    color: #dbeafe;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    transition: 0.22s ease;
}

.footer-links a i {
    color: #38bdf8;
    font-size: 12px;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-chip-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-chip-links a {
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.22s ease;
}

.footer-chip-links a:hover {
    background: #2563eb;
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.22s ease;
}

.footer-socials a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-contact-list {
    display: grid;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-item>span {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.13);
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-item small {
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
}

.footer-contact-item p {
    margin: 0;
    color: #e2e8f0;
    font-weight: 700;
    word-break: break-word;
}

.footer-contact-btn {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: #2563eb;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 800;
}

.footer-contact-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.footer-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
    margin: 30px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #94a3b8;
}

.footer-bottom a {
    color: #38bdf8;
    font-weight: 800;
}

.footer-bottom a:hover {
    color: #ffffff;
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
    .home-hero {
        padding: 80px 0 70px;
    }
    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .footer-card {
        padding: 24px;
    }
}

@media (max-width: 575px) {
    .brand-name {
        max-width: 210px;
        white-space: normal;
    }
    .hero-feature-grid {
        grid-template-columns: 1fr;
    }
    .upgraded-search {
        flex-direction: column;
        align-items: stretch;
    }
    .upgraded-search .search-icon {
        display: none;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        text-align: center;
        justify-content: center;
    }
}