/* T-Dev Tools homepage CSS bundle. Source order matches the previous enqueue order. */

/* Source: assets/css/global.css */
/*
|--------------------------------------------------------------------------
| T-Dev Design System
|--------------------------------------------------------------------------
*/

/* =========================================================
   CSS VARIABLES
========================================================= */

:root {

    /* Brand */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-accent: #60a5fa;
    --primary-soft: #eff6ff;

    /* Backgrounds */
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-light: #f1f5f9;

    /* Text */
    --text: #172033;
    --text-muted: #5f6b7a;
    --heading: #172033;

    /* Borders */
    --border: #e2e8f0;
    --border-light: #eef2f7;

    /* Header */
    --header-bg: #ffffff;

    /* Footer */
    --footer-bg: #111827;
    --footer-text: #cbd5e1;
    --footer-muted: #94a3b8;

    /* Common */
    --white: #ffffff;
    --black: #000000;

    /* Layout */
    --container-width: 1280px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);

    /* Theme */
    color-scheme: light;
}


/* =========================================================
   DARK MODE VARIABLES
========================================================= */

body.dark-mode {

    /* Brand */
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-light: #60a5fa;
    --primary-accent: #93c5fd;
    --primary-soft: #172554;

    /* Backgrounds */
    --bg: #0b1220;
    --surface: #111827;
    --surface-light: #0f172a;

    /* Text */
    --text: #f8fafc;
    --text-muted: #a7b0c0;
    --heading: #f8fafc;

    /* Borders */
    --border: #263244;
    --border-light: #1e293b;

    /* Header */
    --header-bg: #0f172a;

    /* Footer */
    --footer-bg: #0b1220;
    --footer-text: #cbd5e1;
    --footer-muted: #a7b0c0;

    /* Theme */
    color-scheme: dark;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   HTML
========================================================= */

html {
    scroll-behavior: smooth;
}


/* =========================================================
   BODY
========================================================= */

body {

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--bg);

    color: var(--text);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* =========================================================
   HEADINGS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    color: var(--heading);

    line-height: 1.25;

    font-weight: 700;
}


/* =========================================================
   LINKS
========================================================= */

a {

    color: inherit;

    text-decoration: none;
}


/* =========================================================
   IMAGES
========================================================= */

img {

    max-width: 100%;

    height: auto;

    display: block;
}


/* =========================================================
   BUTTONS / FORM ELEMENTS
========================================================= */

button,
input,
textarea,
select {

    font: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: 100%;

    max-width: var(--container-width);

    margin: 0 auto;

    padding-left: 24px;

    padding-right: 24px;
}


/* =========================================================
   UTILITY
========================================================= */

.text-center {
    text-align: center;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {

    outline: 3px solid rgba(37, 99, 235, 0.35);

    outline-offset: 2px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }
}


/* =========================================================
   THEME TRANSITION
========================================================= */

body,
.site-header,
.mobile-navigation,
.header-search-panel,
.page-content-inner,
.site-footer,
.icon-btn,
.mobile-menu-toggle,
.header-search-form input {

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

/* Source: assets/css/components/button.css */
.btn{

display:inline-flex;
align-items:center;
justify-content:center;

padding:12px 22px;

border-radius:12px;

font-weight:600;

transition:.25s;

cursor:pointer;

border:none;

}

.btn-primary{

background:var(--primary);

color:#fff;

}

.btn-primary:hover{

background:var(--primary-hover);

}

/* Source: assets/css/components/card.css */
.card{

background:#fff;

border:1px solid var(--border);

border-radius:16px;

padding:24px;

box-shadow:var(--shadow-sm);

transition:.25s;

}

.card:hover{

box-shadow:var(--shadow-md);

transform:translateY(-2px);

}

/* Source: assets/css/components/grid.css */
.grid{

display:grid;

gap:24px;

}

.grid-2{

grid-template-columns:repeat(2,1fr);

}

.grid-3{

grid-template-columns:repeat(3,1fr);

}

.grid-4{

grid-template-columns:repeat(4,1fr);

}

/* Source: assets/css/components/form.css */


/* Source: assets/css/components/badge.css */


/* Source: assets/css/header.css */
/*
|--------------------------------------------------------------------------
| T-Dev Header
|--------------------------------------------------------------------------
*/

/* =========================================================
   Header
========================================================= */

.site-header {

    background: var(--header-bg);

    border-bottom: 1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 999;
}


/* =========================================================
   Header Inner
========================================================= */

.header-inner {

    width: 100%;

    min-height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   Logo
========================================================= */

.site-logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;
}

.site-logo a {

    display: flex;

    align-items: center;

    text-decoration: none;
}

.site-logo img {

    display: block;

    width: 205px;

    height: 48px;
}


/* =========================================================
   Desktop Navigation
========================================================= */

.main-navigation {

    margin-left: auto;

    margin-right: 40px;
}

.main-menu {

    display: flex;

    align-items: center;

    list-style: none;

    margin: 0;

    padding: 0;

    gap: 36px;
}

.main-menu li {

    margin: 0;

    padding: 0;
}

.main-menu a {

    text-decoration: none;

    color: var(--text);

    font-weight: 500;

    transition: color 0.2s ease;
}

.main-menu a:hover {

    color: var(--primary);
}


/* =========================================================
   Header Actions
========================================================= */

.header-actions {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-shrink: 0;
}


/* =========================================================
   Icon Buttons
========================================================= */

.icon-btn {

    width: 42px;

    height: 42px;

    padding: 0;

    border: 1px solid transparent;

    border-radius: var(--radius-md);

    background: var(--surface-light);

    color: var(--text);

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.icon-btn:hover {

    background: var(--border-light);

    border-color: var(--border);
}

.icon-btn img {

    display: block;

    width: 20px;

    height: 20px;
}


/* =========================================================
   Sign In
========================================================= */

.signin-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    padding: 11px 22px;

    background: var(--primary);

    color: var(--white);

    border-radius: var(--radius-md);

    font-weight: 600;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.signin-btn:hover {

    background: var(--primary-hover);
}


/* =========================================================
   Accessibility
========================================================= */

.icon-btn:focus-visible,
.signin-btn:focus-visible,
.main-menu a:focus-visible {

    outline: 3px solid rgba(37, 99, 235, 0.35);

    outline-offset: 3px;
}


/* =========================================================
   Mobile Menu Button
========================================================= */

.mobile-menu-toggle {

    display: none;

    width: 42px;

    height: 42px;

    padding: 0;

    border: 1px solid transparent;

    border-radius: var(--radius-md);

    background: var(--surface-light);

    color: var(--text);

    cursor: pointer;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.mobile-menu-toggle:hover {

    background: var(--border-light);

    border-color: var(--border);
}

.mobile-menu-toggle span {

    display: block;

    width: 20px;

    height: 2px;

    background: var(--text);

    border-radius: 2px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* =========================================================
   Mobile Menu Open Icon
========================================================= */

.mobile-menu-toggle.is-open span:nth-child(1) {

    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {

    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {

    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   Mobile Navigation
========================================================= */

.mobile-navigation {

    display: none;
}

.mobile-menu {

    list-style: none;

    margin: 0;

    padding: 10px 0;
}

.mobile-menu li {

    margin: 0;

    padding: 0;
}

.mobile-menu a {

    display: block;

    padding: 14px 0;

    text-decoration: none;

    color: var(--text);

    font-weight: 500;

    border-bottom: 1px solid var(--border-light);

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.mobile-menu a:hover {

    color: var(--primary);
}


/* =========================================================
   Header Search Panel
========================================================= */

.header-search-panel {

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    display: flex;

    justify-content: center;

    padding: 20px 24px;

    background: var(--surface);

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    box-shadow: var(--shadow-md);

    z-index: 998;
}


/* =========================================================
   Search Form
========================================================= */

.header-search-form {

    width: 100%;

    max-width: 700px;

    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   Search Input
========================================================= */

.header-search-form input {

    flex: 1;

    min-width: 0;

    height: 46px;

    padding: 0 16px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--surface);

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.header-search-form input::placeholder {

    color: var(--text-muted);
}

.header-search-form input:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}


/* =========================================================
   Search Button
========================================================= */

.header-search-submit {

    height: 46px;

    padding: 0 22px;

    border: none;

    border-radius: var(--radius-md);

    background: var(--primary);

    color: var(--white);

    font-weight: 600;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.header-search-submit:hover {

    background: var(--primary-hover);
}


/* =========================================================
   Accessibility Helper
========================================================= */

.screen-reader-text {

    position: absolute;

    width: 1px;

    height: 1px;

    padding: 0;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   Hidden
========================================================= */

[hidden] {

    display: none !important;
}
/* T-Dev shield-only brand mark. The source artwork is square and contains no wordmark. */
.site-header .header-inner .site-logo {
    display: flex;
    align-items: center;
    flex: 0 0 64px;
    width: 64px;
    min-width: 64px;
    height: 64px;
}
.site-header .header-inner .site-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    line-height: 0;
}
.site-header .header-inner .site-logo img {
    display: block;
    box-sizing: border-box;
    width: 64px !important;
    min-width: 64px;
    max-width: 64px !important;
    height: 64px !important;
    min-height: 64px;
    max-height: 64px !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    flex: 0 0 64px;
}


/* Source: assets/css/footer.css */
/* =========================================================
   T-Dev Footer
========================================================= */


/* =========================================================
   SITE FOOTER
========================================================= */

.site-footer {

    background: var(--footer-bg);

    color: var(--footer-text);

    padding: 70px 20px 25px;
}

.footer-container {

    max-width: 1100px;

    margin: 0 auto;
}

.footer-main {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {

    max-width: 320px;
}

.footer-logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--white);

    text-decoration: none;

    font-size: 20px;

    font-weight: 700;
}

.footer-logo-mark {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    border-radius: var(--radius-md);

    background: var(--primary);

    color: var(--white);

    font-size: 16px;

    font-weight: 700;
}

.footer-brand p {

    margin: 18px 0 0;

    color: var(--footer-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h3 {

    margin: 0 0 18px;

    color: var(--white);

    font-size: 15px;

    line-height: 1.3;
}

.footer-column ul {

    list-style: none;

    margin: 0;

    padding: 0;
}

.footer-column li {

    margin-bottom: 11px;
}

.footer-column a {

    color: var(--footer-muted);

    text-decoration: none;

    font-size: 14px;

    transition: color 0.2s ease;
}

.footer-column a:hover {

    color: var(--white);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.footer-bottom p {

    margin: 0;

    color: var(--footer-muted);

    font-size: 13px;
}


/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .site-footer {

        padding: 60px 20px 25px;
    }

    .footer-main {

        grid-template-columns: repeat(2, 1fr);

        gap: 35px;
    }

    .footer-brand {

        grid-column: 1 / -1;

        max-width: 100%;
    }

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 480px) {

    .site-footer {

        padding: 50px 16px 20px;
    }

    .footer-main {

        grid-template-columns: 1fr 1fr;

        gap: 30px 20px;
    }

    .footer-brand {

        grid-column: 1 / -1;
    }

    .footer-column h3 {

        font-size: 14px;
    }

    .footer-column a {

        font-size: 13px;
    }
}

/* T-Dev shield-only footer brand mark. */
.footer-logo {
    display: inline-flex;
    align-items: center;
}
.footer-logo img {
    display: block;
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}


/* Final small-screen footer refinement. */
@media (max-width: 480px) {
    .site-footer {
        padding-top: 38px;
        padding-bottom: 18px;
    }

    .footer-logo img {
        width: 64px !important;
        height: 64px !important;
        max-width: 64px !important;
        max-height: 64px !important;
    }

    .footer-brand p {
        margin-top: 12px;
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-main {
        gap: 24px 16px;
        padding-bottom: 28px;
    }

    .footer-column h3 {
        margin-bottom: 13px;
    }

    .footer-column li {
        margin-bottom: 9px;
    }

    .footer-bottom {
        gap: 10px;
        padding-top: 18px;
    }
}


/* Source: assets/css/home.css */
/*
|--------------------------------------------------------------------------
| T-Dev Homepage
|--------------------------------------------------------------------------
*/


/* =========================================================
   HOMEPAGE HERO
========================================================= */

.hero {

    padding: 90px 20px 100px;

    background: var(--bg);

    text-align: center;
}

.hero-content {

    max-width: 900px;

    margin: 0 auto;
}

.hero h1 {

    margin: 0 auto 20px;

    font-size: 52px;

    line-height: 1.15;

    font-weight: 700;

    color: var(--heading);
}

.hero p {

    max-width: 700px;

    margin: 0 auto 35px;

    font-size: 18px;

    line-height: 1.7;

    color: var(--text-muted);
}


/* =========================================================
   HERO SEARCH
========================================================= */

.hero-search {

    display: flex;

    max-width: 650px;

    margin: 0 auto 25px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 6px;

    box-shadow: var(--shadow-sm);
}

.hero-search input {

    flex: 1;

    min-width: 0;

    border: none;

    outline: none;

    padding: 14px 16px;

    font-size: 16px;

    color: var(--text);

    background: transparent;
}

.hero-search input::placeholder {

    color: var(--text-muted);
}

.hero-search button {

    border: none;

    border-radius: var(--radius-md);

    padding: 0 24px;

    background: var(--primary);

    color: var(--white);

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.hero-search button:hover {

    background: var(--primary-hover);
}


/* =========================================================
   POPULAR TOOLS - HERO
========================================================= */

.popular-tools {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 14px;
}

.popular-tools span {

    color: var(--text-muted);

    font-weight: 600;
}

.popular-tools a {

    padding: 7px 12px;

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);

    background: var(--surface);

    color: var(--text);

    text-decoration: none;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}

.popular-tools a:hover {

    border-color: var(--primary);

    color: var(--primary);

    background: var(--primary-soft);
}


/* =========================================================
   HERO MOBILE
========================================================= */

@media (max-width: 768px) {

    .hero {

        padding: 65px 20px 75px;
    }

    .hero h1 {

        font-size: 38px;
    }

    .hero p {

        font-size: 16px;

        margin-bottom: 28px;
    }

    .hero-search {

        max-width: 100%;
    }
}


@media (max-width: 480px) {

    .hero {

        padding: 50px 16px 60px;
    }

    .hero h1 {

        font-size: 32px;
    }

    .hero-search {

        flex-direction: column;

        gap: 6px;

        padding: 6px;
    }

    .hero-search input {

        width: 100%;

        box-sizing: border-box;
    }

    .hero-search button {

        min-height: 46px;

        width: 100%;
    }

    .popular-tools {

        gap: 8px;
    }
}


/* =========================================================
   CATEGORIES SECTION
========================================================= */

.categories-section {

    padding: 90px 20px;

    background: var(--surface);
}

.categories-container {

    max-width: 1100px;

    margin: 0 auto;
}

.section-heading {

    text-align: center;

    margin-bottom: 45px;
}

.section-heading h2 {

    margin: 0 0 12px;

    font-size: 36px;

    line-height: 1.2;

    color: var(--heading);
}

.section-heading p {

    margin: 0;

    font-size: 17px;

    color: var(--text-muted);
}

.categories-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.category-card {

    display: block;

    padding: 30px 25px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.category-card:hover {

    transform: translateY(-3px);

    border-color: var(--primary);

    box-shadow: var(--shadow-sm);
}

.category-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 52px;

    height: 52px;

    margin-bottom: 20px;

    border-radius: var(--radius-md);

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;
}

.category-card h3 {

    margin: 0 0 10px;

    font-size: 20px;

    color: var(--heading);
}

.category-card p {

    margin: 0;

    font-size: 14px;

    line-height: 1.6;

    color: var(--text-muted);
}


/* =========================================================
   CATEGORIES RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .categories-section {

        padding: 70px 20px;
    }

    .section-heading h2 {

        font-size: 30px;
    }

    .categories-grid {

        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 480px) {

    .categories-section {

        padding: 60px 16px;
    }

    .section-heading {

        margin-bottom: 30px;
    }

    .section-heading h2 {

        font-size: 28px;
    }

    .section-heading p {

        font-size: 15px;
    }

    .categories-grid {

        grid-template-columns: 1fr;
    }

    .category-card {

        padding: 25px 20px;
    }
}


/* =========================================================
   POPULAR TOOLS SECTION
========================================================= */

.popular-tools-section {

    padding: 90px 20px;

    background: var(--bg);
}

.popular-tools-container {

    max-width: 1100px;

    margin: 0 auto;
}

.tools-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.tool-card {

    display: flex;

    gap: 18px;

    padding: 25px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.tool-card:hover {

    transform: translateY(-3px);

    border-color: var(--primary);

    box-shadow: var(--shadow-sm);
}

.tool-card-icon {

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    border-radius: var(--radius-md);

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;
}

.tool-card-content {

    min-width: 0;
}

.tool-card h3 {

    margin: 0 0 8px;

    font-size: 18px;

    color: var(--heading);
}

.tool-card p {

    margin: 0 0 14px;

    font-size: 14px;

    line-height: 1.6;

    color: var(--text-muted);
}

.tool-link {

    font-size: 14px;

    font-weight: 600;

    color: var(--primary);
}


/* =========================================================
   POPULAR TOOLS RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .popular-tools-section {

        padding: 70px 20px;
    }

    .tools-grid {

        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 480px) {

    .popular-tools-section {

        padding: 60px 16px;
    }

    .tools-grid {

        grid-template-columns: 1fr;
    }

    .tool-card {

        padding: 22px;
    }
}


/* =========================================================
   FEATURED TOOLS SECTION
========================================================= */

.featured-tools-section {

    padding: 90px 20px;

    background: var(--surface);
}

.featured-tools-container {

    max-width: 1100px;

    margin: 0 auto;
}

.featured-tools-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.featured-tool-card {

    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.featured-tool-card:hover {

    transform: translateY(-3px);

    border-color: var(--primary);

    box-shadow: var(--shadow-sm);
}

.featured-tool-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 22px;
}

.featured-badge {

    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    border-radius: var(--radius-sm);

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 12px;

    font-weight: 600;
}

.featured-tool-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 50px;

    height: 50px;

    border-radius: var(--radius-md);

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;
}

.featured-tool-card h3 {

    margin: 0 0 10px;

    color: var(--heading);

    font-size: 20px;
}

.featured-tool-card p {

    margin: 0 0 18px;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.6;
}

.featured-tool-link {

    color: var(--primary);

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   FEATURED TOOLS RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .featured-tools-section {

        padding: 70px 20px;
    }

    .featured-tools-grid {

        grid-template-columns: 1fr;
    }
}


@media (max-width: 480px) {

    .featured-tools-section {

        padding: 60px 16px;
    }

    .featured-tool-card {

        padding: 22px;
    }
}


/* =========================================================
   WHY USE T-DEV TOOLS
========================================================= */

.why-tools-section {

    padding: 90px 20px;

    background: var(--bg);
}

.why-tools-container {

    max-width: 1100px;

    margin: 0 auto;
}

.why-tools-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.why-tool-card {

    padding: 28px 22px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.why-tool-card:hover {

    transform: translateY(-3px);

    border-color: var(--primary);

    box-shadow: var(--shadow-sm);
}

.why-tool-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 54px;

    height: 54px;

    margin: 0 auto 20px;

    border-radius: var(--radius-md);

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;
}

.why-tool-card h3 {

    margin: 0 0 10px;

    font-size: 18px;

    color: var(--heading);
}

.why-tool-card p {

    margin: 0;

    font-size: 14px;

    line-height: 1.6;

    color: var(--text-muted);
}


/* =========================================================
   WHY TOOLS RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .why-tools-grid {

        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 480px) {

    .why-tools-section {

        padding: 60px 16px;
    }

    .why-tools-grid {

        grid-template-columns: 1fr;
    }

    .why-tool-card {

        padding: 25px 20px;
    }
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.how-it-works-section {

    padding: 90px 20px;

    background: var(--surface);
}

.how-it-works-container {

    max-width: 1100px;

    margin: 0 auto;
}

.how-it-works-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.how-step {

    position: relative;

    padding: 30px;

    text-align: center;
}

.how-step-number {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 56px;

    height: 56px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    font-size: 20px;

    font-weight: 700;
}

.how-step h3 {

    margin: 0 0 10px;

    font-size: 19px;

    color: var(--heading);
}

.how-step p {

    max-width: 280px;

    margin: 0 auto;

    font-size: 14px;

    line-height: 1.6;

    color: var(--text-muted);
}


/* =========================================================
   HOW IT WORKS RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .how-it-works-section {

        padding: 70px 20px;
    }

    .how-it-works-grid {

        grid-template-columns: 1fr;

        gap: 10px;
    }

    .how-step {

        padding: 25px 20px;
    }
}


@media (max-width: 480px) {

    .how-it-works-section {

        padding: 60px 16px;
    }
}


/* =========================================================
   FAQ SECTION
========================================================= */

.faq-section {

    padding: 90px 20px;

    background: var(--bg);
}

.faq-container {

    max-width: 900px;

    margin: 0 auto;
}

.faq-list {

    display: flex;

    flex-direction: column;

    gap: 14px;
}

.faq-item {

    padding: 24px 26px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);
}

.faq-item h3 {

    margin: 0 0 10px;

    color: var(--heading);

    font-size: 17px;
}

.faq-item p {

    margin: 0;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FAQ RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .faq-section {

        padding: 70px 20px;
    }

    .faq-item {

        padding: 22px;
    }
}


@media (max-width: 480px) {

    .faq-section {

        padding: 60px 16px;
    }

    .faq-item {

        padding: 20px;
    }

    .faq-item h3 {

        font-size: 16px;
    }
}
/* =========================================================
   HOMEPAGE UI REFINEMENT — DECEMBER 2026
   Scoped to the homepage stylesheet; preserves existing content
   and destinations while improving spacing and hierarchy.
========================================================= */

.hero {
    padding: 64px 20px 72px;
}

.hero-content {
    max-width: 860px;
}

.hero h1 {
    max-width: 820px;
    margin-bottom: 16px;
    font-size: clamp(36px, 4.2vw, 48px);
    letter-spacing: -0.035em;
}

.hero p {
    max-width: 650px;
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.65;
}

.hero-search {
    margin-bottom: 20px;
}

.categories-section,
.popular-tools-section,
.featured-tools-section,
.why-tools-section,
.how-it-works-section,
.faq-section {
    padding-top: 68px;
    padding-bottom: 68px;
}

.categories-container,
.popular-tools-container,
.featured-tools-container,
.why-tools-container,
.how-it-works-container {
    max-width: 1120px;
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading h2 {
    margin-bottom: 9px;
    font-size: clamp(27px, 3vw, 34px);
    letter-spacing: -0.025em;
}

.section-heading p {
    font-size: 16px;
    line-height: 1.6;
}

.categories-grid,
.tools-grid {
    gap: 18px;
}

.category-card {
    min-height: 190px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.025);
}

.category-card:hover,
.tool-card:hover,
.featured-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.075);
}

.category-icon,
.tool-card-icon,
.featured-tool-icon {
    border-radius: 13px;
    letter-spacing: 0.025em;
}

.category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
}

.category-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
    letter-spacing: -0.015em;
}

.category-card p,
.tool-card p,
.featured-tool-card p,
.why-tool-card p,
.faq-item p {
    line-height: 1.65;
}

.popular-tools-section {
    background: var(--bg);
}

.tool-card {
    min-height: 164px;
    gap: 15px;
    padding: 22px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.025);
}

.tool-card-icon {
    width: 46px;
    height: 46px;
}

.tool-card h3 {
    margin-bottom: 7px;
    font-size: 17px;
    letter-spacing: -0.01em;
}

.tool-card p {
    margin-bottom: 12px;
}

.tool-link,
.featured-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.featured-tools-section {
    position: relative;
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.featured-tools-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.featured-tool-card {
    display: flex;
    min-height: 242px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-color: color-mix(in srgb, var(--primary) 18%, var(--border));
    border-top: 3px solid var(--primary);
    border-radius: 15px;
    background: var(--bg);
}

.featured-tool-top {
    width: 100%;
    margin-bottom: 18px;
}

.featured-badge {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.02em;
}

.featured-tool-icon {
    width: 44px;
    height: 44px;
}

.featured-tool-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    letter-spacing: -0.015em;
}

.featured-tool-card p {
    flex: 1;
    margin-bottom: 16px;
}

.why-tools-grid {
    gap: 18px;
}

.why-tool-card {
    padding: 24px 20px;
}

.how-it-works-grid {
    gap: 22px;
}

.how-step {
    padding: 24px;
}

.faq-list {
    gap: 12px;
}

.faq-item {
    padding: 21px 24px;
}

/* Keyboard accessibility for homepage cards and popular links. */
.category-card:focus-visible,
.tool-card:focus-visible,
.featured-tool-card:focus-visible,
.popular-tools a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .category-card,
    .tool-card,
    .featured-tool-card,
    .why-tool-card {
        transition: none;
    }

    .category-card:hover,
    .tool-card:hover,
    .featured-tool-card:hover,
    .why-tool-card:hover {
        transform: none;
    }
}


/* Source: assets/css/responsive.css */
/* =========================================================
   T-Dev Responsive Styles
========================================================= */


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       Header
    ----------------------------------------------------- */

    .header-inner {

        min-height: 68px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        position: relative;
    }


    


    /* Hide desktop navigation */

    .main-navigation {

        display: none;
    }


    /* Hide desktop actions */

    .header-actions {

        display: none;
    }


    /* Show mobile menu button */

    .mobile-menu-toggle {

        display: flex;
    }


    /* -----------------------------------------------------
       Mobile Navigation
    ----------------------------------------------------- */

    .mobile-navigation {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        display: none;

        background: var(--surface);

        border-top: 1px solid var(--border);

        border-bottom: 1px solid var(--border);

        padding: 10px 24px;

        z-index: 1000;
    }


    /* Open mobile navigation */

    .mobile-navigation.is-open {

        display: block;
    }


    /* -----------------------------------------------------
       Global Container
    ----------------------------------------------------- */

    .container {

        padding-left: 20px;

        padding-right: 20px;
    }


    /* -----------------------------------------------------
       Homepage
    ----------------------------------------------------- */

    .hero {

        padding-left: 20px;

        padding-right: 20px;
    }


    /* -----------------------------------------------------
       Global Grids
    ----------------------------------------------------- */

    .categories-grid,
    .tools-grid {

        grid-template-columns: 1fr;
    }


    /* -----------------------------------------------------
       General Page
    ----------------------------------------------------- */

    .page-container {

        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    /* Container */

    .container {

        padding-left: 16px;

        padding-right: 16px;
    }


    


    /* Mobile navigation */

    .mobile-navigation {

        padding-left: 16px;

        padding-right: 16px;
    }


    /* Page */

    .site-page {

        padding-left: 12px;

        padding-right: 12px;
    }


    .page-content {

        padding-left: 20px;

        padding-right: 20px;
    }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 769px) {

    /* Hide mobile menu */

    .mobile-menu-toggle {

        display: none !important;
    }


    /* Hide mobile navigation */

    .mobile-navigation {

        display: none !important;
    }

}


/* =========================================================
   MOBILE SEARCH
========================================================= */

@media (max-width: 768px) {

    .header-search-panel {

        padding: 16px 20px;
    }

    .header-search-form {

        max-width: none;
    }

}


@media (max-width: 480px) {

    .header-search-panel {

        padding: 14px 16px;
    }

    .header-search-form {

        gap: 8px;
    }

    .header-search-submit {

        padding: 0 16px;
    }

}
/* Final responsive shield sizing. Loaded after header and tool styles. */
@media (max-width: 768px) {
    .site-header .header-inner .site-logo {
        flex: 0 0 56px !important;
        width: 56px !important;
        min-width: 56px !important;
        height: 56px !important;
    }
    .site-header .header-inner .site-logo a,
    .site-header .header-inner .site-logo img {
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }
    .site-header .header-inner .site-logo img {
        flex: 0 0 56px !important;
    }
}

/* Homepage layout refinements — keep category discovery compact on mobile. */
@media (max-width: 768px) {
    .hero {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .categories-section,
    .popular-tools-section,
    .featured-tools-section,
    .why-tools-section,
    .how-it-works-section,
    .faq-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .featured-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .category-card {
        min-height: 178px;
        padding: 20px;
    }

    .tool-card {
        min-height: 160px;
        padding: 18px;
    }

    .featured-tool-card {
        min-height: 230px;
        padding: 19px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 44px 16px 48px;
    }

    .hero h1 {
        font-size: clamp(30px, 8vw, 36px);
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .categories-section,
    .popular-tools-section,
    .featured-tools-section,
    .why-tools-section,
    .how-it-works-section,
    .faq-section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .categories-grid,
    .tools-grid,
    .featured-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .category-card {
        min-height: 176px;
        padding: 16px 14px;
    }

    .category-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 13px;
        font-size: 11px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    .category-card p {
        font-size: 12px;
    }

    .tool-card {
        min-height: 0;
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    .tool-card-icon {
        width: 40px;
        height: 40px;
    }

    .tool-card h3 {
        font-size: 15px;
    }

    .tool-card p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .tool-link,
    .featured-tool-link {
        font-size: 12px;
    }

    .featured-tool-card {
        min-height: 220px;
        padding: 15px;
    }

    .featured-tool-top {
        margin-bottom: 14px;
    }

    .featured-tool-icon {
        width: 38px;
        height: 38px;
    }

    .featured-badge {
        padding: 4px 7px;
        font-size: 10px;
    }

    .featured-tool-card h3 {
        font-size: 15px;
    }

    .featured-tool-card p {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .why-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .why-tool-card {
        padding: 18px 14px;
    }

    .why-tool-card h3 {
        font-size: 15px;
    }

    .why-tool-card p {
        font-size: 12px;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .how-step {
        padding: 18px 12px;
    }
}


/* =========================================================
   FINAL MOBILE POLISH — HOMEPAGE ONLY
   Keeps desktop and tablet layouts unchanged.
========================================================= */
@media (max-width: 600px) {
    .home .how-it-works-section,
    body.home .how-it-works-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .home .how-it-works-grid,
    body.home .how-it-works-grid {
        gap: 2px;
    }

    .home .how-step,
    body.home .how-step {
        padding: 12px 8px;
    }

    .home .how-step-number,
    body.home .how-step-number {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
        font-size: 18px;
    }

    .home .how-step h3,
    body.home .how-step h3 {
        margin-bottom: 7px;
        font-size: 17px;
    }

    .home .how-step p,
    body.home .how-step p {
        font-size: 13px;
        line-height: 1.5;
    }

    .home .featured-tool-card,
    body.home .featured-tool-card {
        display: flex;
        flex-direction: column;
        min-height: 205px;
        padding: 14px;
    }

    .home .featured-tool-top,
    body.home .featured-tool-top {
        margin-bottom: 11px;
    }

    .home .featured-tool-card p,
    body.home .featured-tool-card p {
        flex: 1 1 auto;
        margin-bottom: 10px;
    }

    .home .featured-tool-link,
    body.home .featured-tool-link {
        display: inline-block;
        margin-top: auto;
    }
}

