/* -----------------------------------------------------------------------------
 * TableGo Master Design System — ConvertTo.tech High-Performance Model
 * Pure CSS3, zero build-step, ultra-fast, responsive, dark/light theme
 * -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-code: 'JetBrains Mono', "SFMono-Regular", Consolas, Menlo, monospace;

    /* Light Theme (Clean ConvertTo Style) */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-2: #f1f5f9;
    --bg-subtle: #f8fafc;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;

    --fg: #0f172a;
    --fg-muted: #64748b;
    --fg-subtle: #94a3b8;

    --brand: #4f46e5;
    --brand-hover: #4338ca;
    --brand-soft: #eef2ff;
    --brand-border: #c7d2fe;
    --brand-fg: #ffffff;

    --accent-cyan: #06b6d4;
    --accent-amber: #f59e0b;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --accent-violet: #8b5cf6;

    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #f59e0b;
    --error: #ef4444;

    --shadow-soft: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px -3px rgba(79, 70, 229, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --container-max: 1260px;
}

/* Dark Theme (ConvertTo Dark Aesthetic) */
body.theme-dark {
    --bg-page: #0b0f17;
    --bg-surface: #131b2a;
    --bg-surface-2: #1a2436;
    --bg-subtle: #0f172a;
    --border: #1e293b;
    --border-hover: #334155;

    --fg: #f8fafc;
    --fg-muted: #94a3b8;
    --fg-subtle: #64748b;

    --brand: #6366f1;
    --brand-hover: #818cf8;
    --brand-soft: rgba(99, 102, 241, 0.15);
    --brand-border: rgba(99, 102, 241, 0.3);

    --shadow-soft: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 12px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.6);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--fg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.2s ease, color 0.2s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

/* Top Scroll / Action Progress Bar */
.progress-bar-top {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent-cyan));
    width: 0%;
    z-index: 99999;
    transition: width 0.25s ease;
}

/* Containers */
.section-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.main-content-wrapper {
    flex: 1;
    padding-bottom: 4rem;
}

/* -----------------------------------------------------------------------------
 * Sticky Blur Header (ConvertTo Model)
 * -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.theme-dark .site-header {
    background: rgba(19, 27, 42, 0.85);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 64px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--fg);
}

.logo-badge {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--brand), #818cf8);
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s ease;
}

.brand-logo:hover .logo-badge {
    transform: scale(1.06) rotate(-4deg);
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.1;
}

.site-subtitle {
    font-size: 0.72rem;
    color: var(--brand);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Category Navigation Pills in Header */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    color: var(--fg-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand);
    background: var(--brand-soft);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    color: var(--fg-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
    font-family: inherit;
}

.nav-dropdown-btn:hover, .nav-dropdown:hover .nav-dropdown-btn {
    color: var(--brand);
    background: var(--brand-soft);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 420px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.85rem;
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    margin-top: 6px;
    animation: fadeInDown 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-md);
    color: var(--fg);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.15s ease;
}

.dropdown-item:hover {
    background: var(--bg-surface-2);
    color: var(--brand);
}

.cat-count {
    margin-left: auto;
    font-size: 0.7rem;
    background: var(--bg-surface-2);
    padding: 2px 7px;
    border-radius: var(--radius-full);
    color: var(--fg-muted);
    font-weight: 600;
}

/* Quick Search Trigger (⌘K Bar) */
.search-trigger-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-md);
    color: var(--fg-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 240px;
    font-family: inherit;
}

.search-trigger-btn:hover {
    border-color: var(--brand-border);
    color: var(--brand);
    box-shadow: var(--shadow-soft);
}

.search-shortcut-kbd {
    margin-left: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.7rem;
    padding: 1px 5px;
    font-family: var(--font-code);
    color: var(--fg-subtle);
}

/* Dark Mode & Mobile Menu Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle-btn, .mobile-toggle-btn {
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    color: var(--fg);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.theme-toggle-btn:hover, .mobile-toggle-btn:hover {
    border-color: var(--brand-border);
    color: var(--brand);
}

.theme-icon-dark { display: none; }
body.theme-dark .theme-icon-light { display: none; }
body.theme-dark .theme-icon-dark { display: inline-block; }

.mobile-toggle-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.mobile-toggle-btn span {
    width: 18px;
    height: 2px;
    background: var(--fg);
    border-radius: 1px;
}

/* -----------------------------------------------------------------------------
 * Global Instant Search Lightbox Modal (⌘K)
 * -------------------------------------------------------------------------- */
.search-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    animation: fadeIn 0.15s ease;
}

.search-modal-backdrop.open {
    display: flex;
}

.search-modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 640px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.search-modal-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
}

.search-modal-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1.1rem;
    color: var(--fg);
    outline: none;
    font-family: inherit;
}

.search-modal-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
    color: var(--fg);
}

.search-result-item:hover, .search-result-item.selected {
    background: var(--brand-soft);
    color: var(--brand);
}

.search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--bg-surface-2);
}

/* -----------------------------------------------------------------------------
 * Off-Canvas Mobile Drawer
 * -------------------------------------------------------------------------- */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.mobile-drawer.open {
    left: 0;
    visibility: visible;
}

.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    z-index: 99998;
    display: none;
    backdrop-filter: blur(4px);
}

.mobile-drawer-backdrop.open {
    display: block;
}

.drawer-header {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.close-drawer-btn {
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    font-size: 1.1rem;
    color: var(--fg-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    color: var(--fg);
    font-weight: 600;
    font-size: 0.95rem;
}

.drawer-link:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

.drawer-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--fg-muted);
    margin: 1.25rem 0 0.5rem;
    padding-left: 0.5rem;
}

.drawer-categories {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.drawer-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--fg-muted);
    font-size: 0.9rem;
}

.drawer-cat-item:hover {
    background: var(--bg-surface-2);
    color: var(--brand);
}

/* -----------------------------------------------------------------------------
 * 3D Premium Colorful Hero Section
 * -------------------------------------------------------------------------- */
.hero-section {
    padding: 2.25rem 1.25rem 1.75rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.14) 0%, rgba(244, 63, 94, 0.06) 45%, var(--bg-page) 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.hero-title {
    font-size: 2.45rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.18;
    color: var(--fg);
    max-width: 820px;
    margin: 0 auto 0.5rem;
}

.headline-accent {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.25));
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--fg-muted);
    max-width: 640px;
    margin: 0 auto 1.15rem;
    line-height: 1.5;
}

/* 3D Glassmorphic Hero Search Box */
.hero-search-3d {
    max-width: 600px;
    margin: 0 auto 1.15rem;
    background: var(--bg-surface);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 0.45rem 0.65rem 0.45rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-search-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.2), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #4f46e5;
}

.hero-search-placeholder {
    flex: 1;
    text-align: left;
    color: var(--fg-muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.hero-search-btn {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1.15rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

/* 3D Colorful Category Quick-Tags */
.hero-quick-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 1.25rem;
    max-width: 780px;
}

.quick-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fg);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-tag-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.quick-tag-pill.pdf { border-color: rgba(229, 50, 45, 0.35); }
.quick-tag-pill.pdf:hover { background: rgba(229, 50, 45, 0.1); color: #e5322d; }

.quick-tag-pill.image { border-color: rgba(14, 165, 233, 0.35); }
.quick-tag-pill.image:hover { background: rgba(14, 165, 233, 0.1); color: #0284c7; }

.quick-tag-pill.calc { border-color: rgba(16, 185, 129, 0.35); }
.quick-tag-pill.calc:hover { background: rgba(16, 185, 129, 0.1); color: #059669; }

.quick-tag-pill.conv { border-color: rgba(6, 182, 212, 0.35); }
.quick-tag-pill.conv:hover { background: rgba(6, 182, 212, 0.1); color: #0891b2; }

.quick-tag-pill.text { border-color: rgba(139, 92, 246, 0.35); }
.quick-tag-pill.text:hover { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }

.quick-tag-pill.dev { border-color: rgba(236, 72, 153, 0.35); }
.quick-tag-pill.dev:hover { background: rgba(236, 72, 153, 0.1); color: #db2777; }

/* 3D Compact Value Props Strip */
.value-props-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 auto;
}

.value-prop-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fg-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* -----------------------------------------------------------------------------
 * 3D Category Cards & Modern Tile Enhancements
 * -------------------------------------------------------------------------- */
.tool-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tool-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 14px 30px rgba(99, 102, 241, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* -----------------------------------------------------------------------------
 * Colorful Icon Tiles (ConvertTo Model)
 * -------------------------------------------------------------------------- */
.icon-tile {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    color: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease;
}

.icon-tile.indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.icon-tile.blue   { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.icon-tile.emerald{ background: linear-gradient(135deg, #059669, #10b981); }
.icon-tile.rose   { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.icon-tile.amber  { background: linear-gradient(135deg, #d97706, #f59e0b); }
.icon-tile.violet { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.icon-tile.cyan   { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.icon-tile.teal   { background: linear-gradient(135deg, #0d9488, #14b8a6); }

/* -----------------------------------------------------------------------------
 * Tool Cards & Category Grid
 * -------------------------------------------------------------------------- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.tool-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tool-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-border);
    box-shadow: var(--shadow-card);
}

.tool-card-info {
    flex: 1;
    min-width: 0;
}

.tool-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-card:hover .tool-card-title {
    color: var(--brand);
}

.tool-card-desc {
    font-size: 0.85rem;
    color: var(--fg-muted);
    margin-top: 0.35rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-card-badge {
    margin-top: 0.6rem;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand);
}

/* -----------------------------------------------------------------------------
 * TOOL PAGE SPECIFIC LAYOUT ("Once Tools Open Style")
 * -------------------------------------------------------------------------- */
.tool-page-wrapper {
    padding: 2rem 0 4rem;
}

/* Breadcrumbs */
.breadcrumbs-nav {
    margin-bottom: 1.5rem;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.85rem;
    color: var(--fg-muted);
}

.breadcrumb-separator {
    color: var(--fg-subtle);
}

/* Tool Header Block */
.tool-header-block {
    margin-bottom: 1.5rem;
}

.tool-title-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.tool-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--fg);
    line-height: 1.15;
}

.tool-page-desc {
    font-size: 1.1rem;
    color: var(--fg-muted);
    margin-top: 0.35rem;
    line-height: 1.5;
}

/* AEO Answer Box (ConvertTo Model Feature) */
.aeo-answer-box {
    background: var(--bg-surface);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-soft);
}

.aeo-shield-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--success-bg);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}

.aeo-text {
    font-size: 0.95rem;
    color: var(--fg-muted);
    line-height: 1.6;
}

/* -----------------------------------------------------------------------------
 * Master Interactive Tool Workspace Card
 * -------------------------------------------------------------------------- */
.tool-workspace-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin: 1.5rem 0 2rem;
}

.workspace-header {
    background: var(--bg-surface-2);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.workspace-status {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}

.workspace-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-action-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--fg);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.15s ease;
    font-family: inherit;
}

.tool-action-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.workspace-body {
    padding: 1.75rem;
}

/* Textareas & Inputs */
.input-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--fg);
    margin-bottom: 0.6rem;
}

.tool-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--fg);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
    background: var(--bg-surface);
}

.tool-textarea.code-font {
    font-family: var(--font-code);
    font-size: 0.9rem;
}

.tool-controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

/* Action Buttons */
.btn-primary, .btn-secondary, .btn-success {
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--brand);
    color: var(--brand-fg);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-surface-2);
    color: var(--fg);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: var(--border);
}

.btn-success {
    background: var(--success);
    color: #ffffff;
}

/* Stats Counter Grid */
.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
    margin: 1.5rem 0 1rem;
}

.stat-card {
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand);
    font-family: var(--font-code);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--fg-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Calculator Grid */
.calc-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--fg);
    font-size: 1rem;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
    background: var(--bg-surface);
}

.calc-results-card {
    margin-top: 1.75rem;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.calc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.metric-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}

.metric-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand);
    font-family: var(--font-code);
}

.metric-lbl {
    font-size: 0.8rem;
    color: var(--fg-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Unit Converter Grid */
.converter-box-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
    align-items: center;
}

.swap-units-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid var(--brand-border);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.swap-units-btn:hover {
    transform: rotate(180deg) scale(1.1);
    background: var(--brand);
    color: #ffffff;
}

/* Dropzone */
.dropzone-area {
    border: 2px dashed var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 3.5rem 1.5rem;
    text-align: center;
    background: var(--bg-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropzone-area:hover, .dropzone-area.drag-over {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.dropzone-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.dropzone-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--fg);
}

.dropzone-subtitle {
    font-size: 0.9rem;
    color: var(--fg-muted);
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
}

.file-input-hidden {
    display: none;
}

/* -----------------------------------------------------------------------------
 * Key Facts / Specifications Grid (ConvertTo Model)
 * -------------------------------------------------------------------------- */
.key-facts-section {
    margin: 2.5rem 0;
}

.key-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.key-fact-tile {
    background: var(--bg-surface);
    padding: 1.25rem;
    transition: background 0.15s ease;
}

.key-fact-tile:hover {
    background: var(--brand-soft);
}

.fact-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fg-muted);
}

.fact-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fg);
    margin-top: 0.35rem;
}

/* -----------------------------------------------------------------------------
 * How To Use Guide (Numbered Cards)
 * -------------------------------------------------------------------------- */
.how-to-section {
    margin: 2.5rem 0;
}

.section-heading {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--fg);
    margin-bottom: 1.25rem;
}

.how-to-steps-list {
    display: grid;
    gap: 1rem;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.step-badge {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
}

.step-body p {
    font-size: 0.9rem;
    color: var(--fg-muted);
    margin-top: 0.25rem;
    line-height: 1.5;
}

/* -----------------------------------------------------------------------------
 * FAQ Accordion (ConvertTo Model)
 * -------------------------------------------------------------------------- */
.faq-section {
    margin: 2.5rem 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item[open] {
    border-color: var(--brand-border);
    box-shadow: var(--shadow-soft);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--fg);
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--fg-muted);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle-icon {
    transform: rotate(45deg);
    background: var(--brand);
    color: #ffffff;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--fg-muted);
    line-height: 1.6;
}

/* -----------------------------------------------------------------------------
 * Social Share Bar (ConvertTo Style)
 * -------------------------------------------------------------------------- */
.share-tool-section {
    margin: 2.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.share-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.85rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--fg);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: all 0.15s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    border-color: var(--brand-border);
    box-shadow: var(--shadow-card);
}

/* -----------------------------------------------------------------------------
 * Google AdSense Placements (Zero CLS, Maximum CTR, Accidental Click Prevention)
 * -------------------------------------------------------------------------- */
.ad-placement-wrapper {
    margin: 2.25rem auto;
    width: 100%;
    max-width: 970px;
    display: flex;
    justify-content: center;
    align-items: center;
    contain: layout;
    clear: both;
}

.ad-safe-placement-zone {
    width: 100%;
    margin: 2.25rem 0;
    clear: both;
    text-align: center;
}

.ad-container-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    text-align: center;
}

.ad-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--fg-subtle, #94a3b8);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
    user-select: none;
}

.ad-content-box {
    width: 100%;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ad-placeholder {
    width: 100%;
    min-height: 90px;
    background: var(--bg-surface-2, #f8fafc);
    border: 1px dashed var(--border, #cbd5e1);
    border-radius: var(--radius-md, 8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
}

/* -----------------------------------------------------------------------------
 * FreeJobAlert Benchmark Rich Article Styles
 * -------------------------------------------------------------------------- */
.job-article-rich {
    margin-top: 1rem;
    color: #334155;
    line-height: 1.7;
    font-size: 0.95rem;
}

.job-article-rich .lead-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #1e293b;
    margin-bottom: 1.25rem;
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
}

.section-title-3d {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    color: #0f172a;
    font-size: 1.18rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.table-responsive-3d {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rich-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.rich-specs-table th {
    background: #f8fafc;
    padding: 11px 16px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    font-weight: 700;
    color: #1e293b;
    width: 32%;
    vertical-align: middle;
}

.rich-specs-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
}

.rich-specs-table tr:last-child th,
.rich-specs-table tr:last-child td {
    border-bottom: none;
}

.rich-specs-table thead th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #cbd5e1;
}

.rich-badge-green {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid #a7f3d0;
}

.rich-badge-blue {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid #bfdbfe;
}

.rich-steps-list {
    margin: 1rem 0 1.5rem 1.25rem;
    padding-left: 0.5rem;
}

.rich-steps-list li {
    margin-bottom: 0.75rem;
    line-height: 1.65;
    color: #334155;
}

.rich-steps-list li strong {
    color: #0f172a;
}

.rich-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.rich-checklist li {
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    font-size: 0.92rem;
    line-height: 1.55;
}

.rich-links-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.rich-links-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.rich-links-table tr:last-child td {
    border-bottom: none;
}

.btn-rich-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.btn-rich-link.btn-blue {
    background: #4f46e5;
    color: #ffffff;
}
.btn-rich-link.btn-blue:hover {
    background: #4338ca;
}

.btn-rich-link.btn-green {
    background: #059669;
    color: #ffffff;
}
.btn-rich-link.btn-green:hover {
    background: #047857;
}

.btn-rich-link.btn-dark {
    background: #0f172a;
    color: #ffffff;
}
.btn-rich-link.btn-dark:hover {
    background: #1e293b;
}

.rich-faqs-accordion {
    margin: 1.25rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rich-faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    transition: background 0.2s ease;
}

.rich-faq-item:hover {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rich-faq-question {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.rich-faq-answer {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.rich-faq-answer p {
    margin: 0;
}

.theme-dark .job-article-rich {
    color: #cbd5e1;
}
.theme-dark .job-article-rich .lead-text {
    background: #1e293b;
    color: #f1f5f9;
}
.theme-dark .section-title-3d {
    color: #f8fafc;
}
.theme-dark .table-responsive-3d {
    background: #131b2a;
    border-color: #1e293b;
}
.theme-dark .rich-specs-table th {
    background: #1e293b;
    color: #f1f5f9;
    border-color: #334155;
}
.theme-dark .rich-specs-table td {
    border-color: #334155;
    color: #cbd5e1;
}
.theme-dark .rich-specs-table thead th {
    background: #0f172a;
    border-color: #334155;
}
.theme-dark .rich-checklist li {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}
.theme-dark .rich-links-table td {
    border-color: #334155;
}
.theme-dark .rich-faq-item {
    background: #131b2a;
    border-color: #1e293b;
}
.theme-dark .rich-faq-question {
    color: #f8fafc;
}
.theme-dark .rich-faq-answer {
    color: #94a3b8;
}

/* -----------------------------------------------------------------------------
 * Footer (ConvertTo Model)
 * -------------------------------------------------------------------------- */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 4.5rem 0 2.5rem;
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 3.5rem;
    margin-bottom: 3rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--fg-muted);
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--fg);
    margin-bottom: 1.15rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-list a {
    color: var(--fg-muted);
    font-size: 0.88rem;
}

.footer-list a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--fg-muted);
}

/* -----------------------------------------------------------------------------
 * Animations & Keyframes
 * -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------------------------------------
 * iLovePDF Model Theme & Workspace Styles (Standard Compact Spacing)
 * -------------------------------------------------------------------------- */
.ilovepdf-hero {
    text-align: center;
    padding: 1.75rem 1.25rem 1rem;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-page) 100%);
    border-bottom: 1px solid var(--border);
}

.ilovepdf-hero-title {
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--fg);
    max-width: 820px;
    margin: 0 auto 0.4rem;
    line-height: 1.2;
}

.ilovepdf-hero-desc {
    font-size: 0.95rem;
    color: var(--fg-muted);
    max-width: 680px;
    margin: 0 auto 0.75rem;
    line-height: 1.45;
}

/* Category Filter Pills */
.ilovepdf-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.ilovepdf-filter-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--fg);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ilovepdf-filter-pill:hover {
    border-color: #e5322d;
    color: #e5322d;
}

.ilovepdf-filter-pill.active {
    background: #e5322d;
    border-color: #e5322d;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(229, 50, 45, 0.25);
}

/* iLovePDF Tool Cards */
.ilovepdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1rem 0 2rem;
}

.ilovepdf-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ilovepdf-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    border-color: rgba(229, 50, 45, 0.35);
}

.ilovepdf-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.ilovepdf-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 0.3rem;
    letter-spacing: -0.015em;
}

.ilovepdf-card-desc {
    font-size: 0.82rem;
    color: var(--fg-muted);
    line-height: 1.4;
}

/* -----------------------------------------------------------------------------
 * iLovePDF Single Tool Workspace Layout
 * -------------------------------------------------------------------------- */
.ilovepdf-tool-hero {
    text-align: center;
    padding: 1.5rem 1rem 1rem;
}

.ilovepdf-tool-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--fg);
    margin-bottom: 0.35rem;
}

.ilovepdf-tool-desc {
    font-size: 0.95rem;
    color: var(--fg-muted);
    max-width: 650px;
    margin: 0 auto 1.25rem;
    line-height: 1.45;
}

.ilovepdf-cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto;
}

.ilovepdf-btn-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn-ilovepdf-select {
    background: #e5322d;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(229, 50, 45, 0.3);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: inherit;
}

.btn-ilovepdf-select:hover {
    background: #d32823;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(229, 50, 45, 0.4);
}

.ilovepdf-cloud-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: #e5322d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(229, 50, 45, 0.25);
    transition: transform 0.2s ease;
}

.ilovepdf-cloud-btn:hover {
    transform: scale(1.08);
}

.ilovepdf-drop-text {
    font-size: 0.88rem;
    color: var(--fg-muted);
    font-weight: 600;
    margin-top: 0.35rem;
}

/* File Selected / Staging Area */
.ilovepdf-file-stage {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 600px;
    margin: 1rem auto 0;
    box-shadow: var(--shadow-card);
}

.ilovepdf-file-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    text-align: left;
    margin-bottom: 1.25rem;
}

.ilovepdf-action-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* -----------------------------------------------------------------------------
 * Mobile Responsive Breakpoints & Zero-Overflow Viewport Rules
 * -------------------------------------------------------------------------- */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

@media (max-width: 992px) {
    .header-nav { display: none; }
    .mobile-toggle-btn { display: flex; }
    .search-trigger-btn { width: 170px; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 2.1rem; }
    .ilovepdf-hero-title { font-size: 2rem; }
    .ilovepdf-tool-title { font-size: 2rem; }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 0.85rem;
        height: 58px;
        width: 100%;
    }

    .site-subtitle {
        display: none;
    }

    .search-trigger-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        border-radius: var(--radius-full);
    }

    .search-trigger-btn span, .search-shortcut-kbd {
        display: none;
    }

    .hero-section {
        padding: 1.75rem 0.85rem 1.25rem;
        width: 100%;
        overflow: hidden;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .hero-search-3d {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.35rem 0.5rem 0.35rem 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-search-placeholder {
        font-size: 0.78rem;
    }

    .hero-search-btn {
        padding: 0.35rem 0.75rem;
        font-size: 0.78rem;
    }

    .hero-quick-tags {
        gap: 0.35rem;
        width: 100%;
        margin-bottom: 1rem;
    }

    .quick-tag-pill {
        padding: 0.3rem 0.65rem;
        font-size: 0.75rem;
    }

    .value-props-grid {
        flex-direction: column;
        gap: 0.35rem;
        width: 100%;
    }

    .value-prop-card {
        width: 100%;
        justify-content: center;
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
    }

    .section-container {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .tools-grid, .ilovepdf-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        width: 100% !important;
    }

    .tool-card, .ilovepdf-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .ilovepdf-hero-title {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .ilovepdf-hero-desc {
        font-size: 0.85rem;
    }

    .ilovepdf-tool-title {
        font-size: 1.65rem;
    }

    .ilovepdf-tool-desc {
        font-size: 0.88rem;
    }

    .btn-ilovepdf-select {
        font-size: 1.1rem;
        padding: 0.85rem 1.85rem;
        width: 100%;
        justify-content: center;
    }

    .ilovepdf-btn-group {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .converter-box-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .search-modal-backdrop {
        padding: 1rem;
    }

    .search-modal-card {
        width: 100%;
        max-width: 100%;
    }
}

/* =============================================================================
 * Ultra-Premium 3D Colorful Free Job Alerts Engine Styles
 * Compact, High-Density, Glassmorphism, 3D Depth, Mobile & Desktop Responsive
 * ============================================================================= */

/* Top Live Alerts Ticker Strip */
.job-top-ticker-strip {
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    color: #ffffff;
    padding: 0.45rem 0;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-badge {
    background: #ef4444;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    animation: pulseGlow 1.8s infinite;
    white-space: nowrap;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(0.97); }
}

.ticker-text-marquee {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.ticker-text-marquee::-webkit-scrollbar { display: none; }

.ticker-item {
    color: #e0e7ff;
    text-decoration: none;
    transition: color 0.15s ease;
}
.ticker-item:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ticker-wa-btn {
    background: #22c55e;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
    transition: transform 0.2s ease;
}
.ticker-wa-btn:hover {
    transform: scale(1.05);
}

/* Header WhatsApp Button */
.header-wa-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
    text-decoration: none;
    transition: all 0.2s ease;
}
.header-wa-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.5);
}

/* Header Tools Highlight Badge */
.nav-tools-highlight {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(236, 72, 153, 0.12) 100%);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 20px;
    padding: 0.35rem 0.85rem !important;
    font-weight: 700 !important;
    color: var(--brand) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-count-badge {
    background: #4f46e5;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Compact 3D Job Hero Section */
.job-hero-compact {
    padding: 1.5rem 0 1rem;
    background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.12) 0%, rgba(244, 63, 94, 0.04) 40%, var(--bg-page) 100%);
    border-bottom: 1px solid var(--border);
}

.job-hero-inner {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.hero-sub-tag {
    display: inline-block;
    background: rgba(79, 70, 229, 0.08);
    color: var(--brand);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    margin-bottom: 0.5rem;
}

.job-hero-heading {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--fg);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.job-hero-desc {
    font-size: 0.95rem;
    color: var(--fg-muted);
    max-width: 650px;
    margin: 0 auto 1.25rem;
}

/* 3D Job Search Input */
.job-search-3d {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-surface);
    border: 2px solid #6366f1;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.18), inset 0 2px 4px rgba(255, 255, 255, 0.6);
    max-width: 680px;
    margin: 0 auto 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-search-3d:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 0.75rem;
}
.job-search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--fg);
    padding: 0.45rem 0.25rem;
}
.job-search-submit {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.4rem;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
}
.job-search-submit:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.5);
}

/* 3D Colorful 8-Category Fast Grid */
.job-cat-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.job-cat-3d-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.job-cat-3d-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.cat-icon-bubble {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}
.cat-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--fg);
    line-height: 1.2;
    display: block;
}
.cat-tag {
    font-size: 0.65rem;
    color: var(--fg-muted);
    margin-top: 2px;
    display: block;
}

.job-cat-3d-card.central { border-bottom: 3px solid #4f46e5; }
.job-cat-3d-card.state { border-bottom: 3px solid #059669; }
.job-cat-3d-card.bank { border-bottom: 3px solid #d97706; }
.job-cat-3d-card.railway { border-bottom: 3px solid #dc2626; }
.job-cat-3d-card.it { border-bottom: 3px solid #2563eb; }
.job-cat-3d-card.defence { border-bottom: 3px solid #7c3aed; }
.job-cat-3d-card.admit { border-bottom: 3px solid #0891b2; }
.job-cat-3d-card.result { border-bottom: 3px solid #f59e0b; }

/* State Filter Strip */
.state-filter-strip {
    background: var(--bg-surface-2);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
}
.state-strip-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.state-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fg-muted);
    white-space: nowrap;
}
.state-pills-scroll {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.state-pills-scroll::-webkit-scrollbar { display: none; }

.state-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fg);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.state-pill:hover {
    background: var(--brand);
    color: #ffffff;
    border-color: var(--brand);
}

/* 3-Column Sarkari / FreeJobAlert Tables Layout */
.job-tables-section {
    padding: 1.5rem 0 2rem;
}
.job-tables-grid-3 {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.job-box-3d {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.job-box-header {
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}
.job-box-header.red-header { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }
.job-box-header.blue-header { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
.job-box-header.orange-header { background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%); }
.job-box-header.green-header { background: linear-gradient(135deg, #059669 0%, #047857 100%); }

.header-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.header-left h3 {
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}
.view-all-link {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    opacity: 0.9;
}
.view-all-link:hover { opacity: 1; text-decoration: underline; }

.job-items-list {
    display: flex;
    flex-direction: column;
}

.job-item-row {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transition: background 0.15s ease;
}
.job-item-row:last-child { border-bottom: none; }
.job-item-row:hover {
    background: var(--bg-surface-2);
}

.job-item-main {
    flex: 1;
}
.job-item-org {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 2px;
}
.job-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fg);
    line-height: 1.3;
    margin: 0 0 4px;
}
.job-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.meta-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}
.meta-badge.vac { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.meta-badge.date { background: rgba(220, 38, 38, 0.1); color: #dc2626; font-weight: 700; }
.meta-badge.state { background: rgba(100, 116, 139, 0.1); color: var(--fg-muted); }
.meta-badge.exam { background: rgba(14, 165, 233, 0.1); color: #0284c7; }
.meta-badge.sal { background: rgba(22, 163, 74, 0.1); color: #16a34a; font-weight: 700; }

.job-arrow {
    color: var(--fg-muted);
    font-weight: 800;
    font-size: 1rem;
    transition: transform 0.15s ease;
}
.job-item-row:hover .job-arrow {
    transform: translateX(3px);
    color: var(--brand);
}

/* 3D WhatsApp Subscribe Card */
.wa-alert-card-3d {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
    border-radius: var(--radius-md);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
}
.wa-card-badge {
    display: inline-block;
    background: #22c55e;
    color: #052e16;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}
.wa-card-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    color: #ffffff;
}
.wa-card-desc {
    font-size: 0.78rem;
    color: #86efac;
    margin: 0 0 0.85rem;
    line-height: 1.4;
}
.wa-sub-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.wa-input {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
}
.wa-input::placeholder { color: #86efac; opacity: 0.7; }
.wa-btn-submit {
    background: #22c55e;
    color: #052e16;
    border: none;
    padding: 0.55rem;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.15s ease;
}
.wa-btn-submit:hover { transform: scale(1.02); }

/* Tools Cross-Promotion Banner */
.tools-cross-banner-section {
    padding: 1rem 0 2.5rem;
}
.tools-cross-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(49, 46, 129, 0.25);
}
.banner-badge {
    background: #ec4899;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.banner-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    color: #ffffff;
}
.banner-subtitle {
    font-size: 0.88rem;
    color: #c7d2fe;
    margin: 0 0 1.25rem;
}
.banner-tools-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.banner-tool-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.banner-tool-pill:hover, .banner-tool-pill.active {
    background: #4f46e5;
    border-color: #6366f1;
    transform: translateY(-2px);
}

/* Single Job Detail Layout */
.job-detail-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 1.75rem;
    margin-top: 1rem;
}
.job-card-article-3d {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
}
.job-article-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}
.job-org-pill {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}
.job-article-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--fg);
    line-height: 1.3;
    margin: 0 0 0.85rem;
}
.job-article-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.job-tag-item {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}
.job-tag-item.blue { background: #dbeafe; color: #1e40af; }
.job-tag-item.green { background: #dcfce7; color: #166534; }
.job-tag-item.red { background: #fee2e2; color: #991b1b; }
.job-tag-item.purple { background: #f3e8ff; color: #6b21a8; }

.job-share-strip {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.btn-wa-share {
    background: #22c55e;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-copy-link {
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    color: var(--fg);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
}

.job-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
    font-size: 0.88rem;
}
.job-specs-table th {
    width: 32%;
    background: var(--bg-surface-2);
    text-align: left;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border);
    color: var(--fg);
    font-weight: 700;
}
.job-specs-table td {
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border);
    color: var(--fg);
}
.table-badge-highlight {
    background: rgba(37, 99, 235, 0.15);
    color: #2563eb;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.job-official-actions-3d {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(34, 197, 94, 0.06) 100%);
    border: 2px dashed #4f46e5;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}
.actions-header-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--fg);
}
.action-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 500px;
    margin: 0 auto;
}
.btn-official-apply {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35);
    transition: transform 0.15s ease;
}
.btn-official-apply:hover { transform: scale(1.02); }
.btn-official-pdf {
    background: #dc2626;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
}
.btn-official-web {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--fg);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    text-decoration: none;
}

.job-tools-helper-card {
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1.5rem;
}
.helper-header {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1rem;
}
.helper-header h4 { font-size: 0.95rem; font-weight: 800; margin: 0 0 2px; }
.helper-header p { font-size: 0.8rem; color: var(--fg-muted); margin: 0; }
.helper-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.65rem;
}
.helper-tool-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--fg);
    transition: all 0.15s ease;
}
.helper-tool-item:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}
.helper-tool-item strong { display: block; font-size: 0.82rem; font-weight: 700; }
.helper-tool-item small { color: var(--fg-muted); font-size: 0.72rem; }

/* Responsive Grid Adjustments for Mobile */
@media (max-width: 900px) {
    .job-tables-grid-3 {
        grid-template-columns: 1fr;
    }
    .job-detail-layout {
        grid-template-columns: 1fr;
    }
    .job-cat-3d-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .job-hero-heading {
        font-size: 1.6rem;
    }
}
@media (max-width: 480px) {
    .job-cat-3d-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .job-search-3d {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 0.5rem;
    }
    .job-search-submit {
        width: 100%;
    }
}

