:root {
    --ft-primary: #4f46e5;
    --ft-primary-dark: #4338ca;
    --ft-primary-light: #eef2ff;
    --ft-text: #1e293b;
    --ft-muted: #64748b;
    --ft-border: #e2e8f0;
    --ft-bg: #f8fafc;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ft-text);
    background-color: var(--ft-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.text-primary-custom {
    color: var(--ft-primary) !important;
}

.bg-primary-custom {
    background-color: var(--ft-primary) !important;
}

.btn-primary-custom {
    background-color: var(--ft-primary);
    border-color: var(--ft-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.6rem 1.25rem;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background-color: var(--ft-primary-dark);
    border-color: var(--ft-primary-dark);
    color: #fff;
}

.btn-outline-primary-custom {
    color: var(--ft-primary);
    border-color: var(--ft-primary);
    font-weight: 600;
    border-radius: 0.75rem;
}

.btn-outline-primary-custom:hover {
    background-color: var(--ft-primary);
    border-color: var(--ft-primary);
    color: #fff;
}

/* Site Header & Navbar */
.site-header {
    z-index: 1030;
}

.site-topbar {
    background: linear-gradient(90deg, #1e293b 0%, #312e81 100%);
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 0.45rem 0;
}

.site-topbar-text {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.site-topbar-text i {
    color: #a5b4fc;
}

.site-topbar-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-topbar-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
}

.site-topbar-links a:hover {
    color: #fff;
}

.site-topbar-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
}

.site-navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ft-border);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.site-brand .brand-logo,
.site-brand--footer .brand-logo {
    width: 38px;
    height: 38px;
    background: var(--ft-primary);
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.brand-logo {
    width: 38px;
    height: 38px;
    background: var(--ft-primary);
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ft-text);
    text-decoration: none;
}

.site-brand--footer .brand-text {
    color: #f8fafc;
}

.brand-text span {
    color: var(--ft-primary);
}

.site-nav-list {
    align-items: center;
}

.nav-link-custom {
    color: var(--ft-muted);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    padding: 0.45rem 0.8rem !important;
    transition: color 0.15s ease, background 0.15s ease;
}

.nav-link-custom:hover,
.nav-link-custom:focus,
.nav-link-custom.active {
    color: var(--ft-primary);
    background: #f1f5f9;
}

.nav-link-custom.active {
    font-weight: 600;
}

.site-nav-actions .btn {
    white-space: nowrap;
}

.site-nav-toggler:focus {
    box-shadow: none;
}

/* Mega Menu */
.mega-menu-item {
    position: static !important;
}

.mega-menu-panel {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
    border-radius: 0;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    padding: 1.75rem 0 1.1rem;
    border-top: 1px solid var(--ft-border);
    animation: megaFadeIn 0.18s ease;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
}

.mega-cat-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
    color: var(--ft-text);
}

.mega-cat-head:hover {
    color: var(--ft-primary);
}

.mega-cat-icon {
    width: 34px;
    height: 34px;
    border-radius: 0.55rem;
    background: var(--ft-primary-light);
    color: var(--ft-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-cat-head strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
}

.mega-cat-head small {
    display: block;
    color: var(--ft-muted);
    font-size: 0.75rem;
    margin-top: 0.1rem;
}

.mega-tool-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-tool-list li {
    margin-bottom: 0.35rem;
}

.mega-tool-list a {
    color: var(--ft-muted);
    text-decoration: none;
    font-size: 0.84rem;
    line-height: 1.35;
    display: block;
    padding: 0.15rem 0;
}

.mega-tool-list a:hover {
    color: var(--ft-primary);
}

.mega-menu-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.mega-menu-footer a {
    color: var(--ft-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.mega-menu-footer a:hover {
    color: var(--ft-primary-dark);
}

/* Mobile nav accordion */
.nav-accordion-toggle {
    border: 0;
    background: transparent;
    display: flex !important;
    align-items: center;
}

.nav-accordion-toggle i {
    transition: transform 0.2s ease;
}

.nav-accordion-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.nav-mobile-accordion {
    padding: 0.25rem 0 0.75rem 0.5rem;
}

.nav-mobile-group {
    margin-bottom: 0.85rem;
}

.nav-mobile-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ft-text);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    margin-bottom: 0.35rem;
}

.nav-mobile-tools {
    list-style: none;
    padding: 0 0 0 1.35rem;
    margin: 0;
}

.nav-mobile-tools a {
    color: var(--ft-muted);
    text-decoration: none;
    font-size: 0.84rem;
    display: block;
    padding: 0.2rem 0;
}

.nav-mobile-all {
    display: inline-block;
    margin-top: 0.35rem;
    color: var(--ft-primary);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

/* Hero */
.hero-section {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid var(--ft-border);
    padding: 3.5rem 0 4.5rem;
    overflow: visible;
    z-index: 2;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #c7d2fe 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.28;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}

.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.55;
}

.hero-bg-blob-1 {
    width: 340px;
    height: 340px;
    background: #e0e7ff;
    top: -80px;
    left: -60px;
}

.hero-bg-blob-2 {
    width: 300px;
    height: 300px;
    background: #ede9fe;
    bottom: -60px;
    right: 8%;
}

.hero-content {
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: #eef2ff;
    color: var(--ft-primary);
    border: 1px solid #e0e7ff;
    border-radius: 50rem;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}

.hero-title {
    font-size: clamp(2.1rem, 4.8vw, 3.15rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 0;
    color: #0f172a;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--ft-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 1.25rem 0 0;
    line-height: 1.75;
}

.hero-search-form {
    margin-top: 1.85rem;
    max-width: 520px;
    position: relative;
    z-index: 30;
}

.hero-search-box {
    position: relative;
    z-index: 30;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    padding: 0.4rem;
    z-index: 1050;
    max-height: min(320px, 50vh);
    overflow-y: auto;
}

.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
    min-height: 56px;
}

.search-suggest-item:hover,
.search-suggest-item.active {
    background: #f8fafc;
    color: inherit;
}

.search-suggest-item > .tool-icon,
.search-suggest-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 1rem !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
    align-self: center;
    border-radius: 0.65rem !important;
    line-height: 1;
}

.search-suggest-item > .tool-icon .brand-svg,
.search-suggest-icon .brand-svg {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
    flex-shrink: 0;
}

.search-suggest-item > .tool-icon .bi,
.search-suggest-icon .bi {
    display: block;
    line-height: 1;
}

.search-suggest-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    align-self: center;
}

.search-suggest-text strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest-text small {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest-cat {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ft-primary);
    background: #eef2ff;
    padding: 0.2rem 0.55rem;
    border-radius: 50rem;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.hero-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50rem;
    padding: 0.35rem 0.35rem 0.35rem 0.2rem;
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.1);
    position: relative;
}

.hero-search-wrap .search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.05rem;
    z-index: 2;
    pointer-events: none;
}

.hero-search-wrap .form-control {
    border: none;
    box-shadow: none;
    padding: 0.8rem 0.75rem 0.8rem 2.6rem;
    font-size: 0.92rem;
    background: transparent;
    flex: 1;
    min-width: 0;
    border-radius: 50rem;
}

.hero-search-wrap .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.hero-search-btn {
    flex-shrink: 0;
    border-radius: 50rem !important;
    padding: 0.7rem 1.5rem !important;
    white-space: nowrap;
    font-size: 0.9rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.35rem;
    margin-top: 1.35rem;
    color: #475569;
    font-size: 0.84rem;
    font-weight: 500;
}

.hero-trust i {
    color: #10b981;
    margin-right: 0.3rem;
}

/* Hero illustration */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 1rem 0;
}

.hero-mockup-window {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 1.35rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    overflow: hidden;
    transform: perspective(900px) rotateY(-6deg) rotateX(4deg);
    transition: transform 0.4s ease;
}

.hero-mockup:hover .hero-mockup-window {
    transform: perspective(900px) rotateY(-2deg) rotateX(2deg);
}

.hero-mockup-bar {
    display: flex;
    gap: 0.4rem;
    padding: 0.9rem 1.1rem;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.hero-mockup-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-mockup-bar span:first-child { background: #f87171; }
.hero-mockup-bar span:nth-child(2) { background: #fbbf24; }
.hero-mockup-bar span:nth-child(3) { background: #4ade80; }

.hero-mockup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    padding: 1.1rem;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.hero-mockup-tile {
    aspect-ratio: 1;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-mockup-tile .brand-svg {
    width: 1.2rem;
    height: 1.2rem;
}

.hero-mockup-tile:hover {
    transform: scale(1.08);
    z-index: 2;
}

.hero-float-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 50rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    white-space: nowrap;
    animation: hero-badge-float 4s ease-in-out infinite;
}

.hero-float-badge i {
    color: var(--ft-primary);
    font-size: 0.9rem;
}

.badge-pos-1 { top: 4%; right: -2%; animation-delay: 0s; }
.badge-pos-2 { top: 42%; left: -10%; animation-delay: 0.6s; }
.badge-pos-3 { bottom: 22%; right: -8%; animation-delay: 1.2s; }
.badge-pos-4 { bottom: 4%; left: 0; animation-delay: 1.8s; }

@keyframes hero-badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 2.5rem 0 3rem;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-search-form {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 1rem;
    }

    .hero-mockup {
        max-width: 360px;
    }

    .hero-mockup-window {
        transform: none;
    }

    .hero-float-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.7rem;
    }

    .badge-pos-1 { right: 0; }
    .badge-pos-2 { left: -4%; }
    .badge-pos-3 { right: -2%; }
}

@media (max-width: 575.98px) {
    .hero-search-wrap {
        flex-direction: column;
        align-items: stretch;
        border-radius: 1rem;
        padding: 0.75rem;
    }

    .hero-search-wrap .search-icon {
        top: 1.35rem;
    }

    .hero-search-wrap .form-control {
        padding-left: 2.5rem;
        border-radius: 0.75rem;
    }

    .hero-search-btn {
        width: 100%;
        border-radius: 0.75rem !important;
    }

    .hero-float-badge {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-float-badge {
        animation: none;
    }

    .hero-mockup-window {
        transform: none;
    }
}

/* Tool Cards */
.tool-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 1rem;
    padding: 1.25rem;
    height: 100%;
    transition: all 0.2s ease;
    position: relative;
}

.tool-card:hover {
    color: inherit;
    border-color: #c7d2fe;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
}

.tool-card .tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.tool-icon .brand-svg {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
}

.tool-icon.tool-icon--instagram {
    box-shadow: 0 2px 8px rgba(225, 48, 108, 0.35);
}

.tool-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.tool-card p {
    font-size: 0.875rem;
    color: var(--ft-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.tool-card .badge-popular {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fffbeb;
    color: #b45309;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50rem;
}

.tool-card .open-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--ft-primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.tool-card:hover .open-link {
    opacity: 1;
}

.tool-card-featured {
    display: flex;
    flex-direction: column;
}

.tool-card-featured .tool-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    border-radius: 0.85rem;
}

.tool-card-featured h3 {
    font-size: 1.05rem;
}

.tool-card-featured p {
    flex: 1;
}

.btn-use-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 0.55rem 1rem;
    background: var(--tool-accent-bg, var(--ft-primary-light));
    color: var(--tool-accent, var(--ft-primary));
    border-radius: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tool-card-featured:hover .btn-use-now {
    background: var(--tool-accent, var(--ft-primary));
    color: #fff;
}

.badge-trending,
.badge-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50rem;
}

.badge-trending {
    background: #fef2f2;
    color: #dc2626;
}

.badge-new {
    background: #eef2ff;
    color: var(--ft-primary);
}

.tool-card-compact {
    padding: 1rem;
}

.tool-card-compact .tool-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.tool-card-compact h3 {
    font-size: 0.95rem;
}

.tool-card-compact p {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Homepage sections */
.home-section {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.home-section-directory {
    background: #fff;
    border-top: 1px solid var(--ft-border);
}

.bg-social-highlight {
    background: linear-gradient(135deg, #fdf2f8 0%, #faf5ff 50%, #eff6ff 100%);
    border-top: 1px solid #fce7f3;
    border-bottom: 1px solid #ede9fe;
}

.section-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-desc {
    color: var(--ft-muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.section-link {
    color: var(--ft-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.section-link:hover {
    color: var(--ft-primary-dark);
    text-decoration: underline;
}

/* Category scroll cards */
.categories-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 50rem;
}

.category-pill-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 130px;
    padding: 1.25rem 1rem;
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.category-pill-card:hover {
    color: inherit;
    border-color: var(--cat-color, var(--ft-primary));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.category-pill-icon {
    width: 52px;
    height: 52px;
    background: var(--cat-bg, var(--ft-primary-light));
    color: var(--cat-color, var(--ft-primary));
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.category-pill-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.category-pill-count {
    font-size: 0.75rem;
    color: var(--ft-muted);
}

/* Directory inline search */
.directory-search-wrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.directory-search-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 2;
}

.directory-search-wrap .form-control {
    padding-left: 2.75rem;
    border-radius: 0.85rem;
    border: 1px solid var(--ft-border);
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.directory-search-wrap .form-control:focus {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.12);
}

/* Why choose */
.why-choose-section {
    background: linear-gradient(180deg, #eff6ff 0%, #f0f9ff 100%);
    padding: 4rem 0;
    border-top: 1px solid #dbeafe;
}

.why-card {
    background: #fff;
    border: 1px solid #e0e7ff;
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.why-card:hover {
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
}

.why-card-icon {
    width: 52px;
    height: 52px;
    background: var(--ft-primary-light);
    color: var(--ft-primary);
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.875rem;
    color: var(--ft-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Category Pills */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.category-pill {
    background: #fff;
    border: 1px solid var(--ft-border);
    color: var(--ft-muted);
    border-radius: 50rem;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.category-pill:hover {
    border-color: #c7d2fe;
    color: var(--ft-primary);
}

.category-pill.active {
    background: var(--ft-primary-light);
    border-color: var(--ft-primary);
    color: var(--ft-primary);
}

/* Feature Cards */
.feature-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    height: 100%;
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    background: var(--ft-primary-light);
    color: var(--ft-primary);
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--ft-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* CTA */
/* Toolkit marquee */
.toolkit-section {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    padding: 3rem 0 3.5rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.toolkit-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 2rem;
}

.toolkit-marquee {
    overflow: hidden;
    margin-bottom: 1rem;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.toolkit-marquee:last-of-type {
    margin-bottom: 0;
}

.toolkit-marquee-track {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: max-content;
    padding: 0.25rem 0;
}

.toolkit-marquee-left .toolkit-marquee-track {
    animation: toolkit-scroll-left 45s linear infinite;
}

.toolkit-marquee-right .toolkit-marquee-track {
    animation: toolkit-scroll-right 50s linear infinite;
}

.toolkit-marquee:hover .toolkit-marquee-track {
    animation-play-state: paused;
}

.toolkit-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.15rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.toolkit-pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.toolkit-pill-icon .brand-svg {
    width: 0.95rem;
    height: 0.95rem;
}

.toolkit-pill i {
    font-size: 1rem;
    opacity: 0.95;
}

.toolkit-pill:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
    transform: translateY(-1px);
}

@keyframes toolkit-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes toolkit-scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .toolkit-marquee-left .toolkit-marquee-track,
    .toolkit-marquee-right .toolkit-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 960px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .toolkit-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.cta-section {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 4rem 0;
}

.cta-section h2 {
    color: #fff;
    font-weight: 700;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin: 0.75rem auto 0;
}

.btn-cta {
    background: #fff;
    color: var(--ft-primary);
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-cta:hover {
    background: #eef2ff;
    color: var(--ft-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    margin-top: auto;
}

.site-footer-main {
    padding: 3.5rem 0 2.5rem;
}

.footer-heading {
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #e2e8f0;
}

.footer-links--tools a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-tool-icon {
    width: 24px;
    height: 24px;
    border-radius: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.72rem;
    overflow: hidden;
}

.footer-tool-icon .brand-svg {
    width: 13px;
    height: 13px;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 340px;
    margin-bottom: 1.25rem;
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
}

.footer-trust-badges i {
    color: #818cf8;
}

.footer-cta-box {
    margin-top: 1.35rem;
    padding: 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta-box strong {
    display: block;
    color: #f8fafc;
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
}

.footer-cta-box p {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    line-height: 1.5;
}

.btn-footer-cta {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
    font-weight: 600;
    border-radius: 0.55rem;
}

.btn-footer-cta:hover {
    background: #4338ca;
    border-color: #4338ca;
    color: #fff;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.15rem 0;
    font-size: 0.84rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #e2e8f0;
}

.section-title {
    font-weight: 700;
    font-size: 1.75rem;
}

.section-subtitle {
    color: var(--ft-muted);
    margin-top: 0.5rem;
}

/* Tool Pages */
.tool-header {
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--ft-border);
    padding: 2rem 0 2.5rem;
}

.tool-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ft-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    transition: color 0.15s;
}

.tool-back-link:hover {
    color: var(--ft-primary);
}

.tool-header-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tool-header-icon {
    width: 56px;
    height: 56px;
    background: var(--ft-primary-light);
    color: var(--ft-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tool-header-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.tool-header-desc {
    color: var(--ft-muted);
    margin-bottom: 0;
    max-width: 560px;
    line-height: 1.6;
}

.tool-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--ft-muted);
}

.tool-header-badges i {
    color: #10b981;
    margin-right: 0.25rem;
}

.tool-workspace {
    padding: 2.5rem 0 4rem;
}

.tool-panel {
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.drop-zone {
    border: 2px dashed #c7d2fe;
    border-radius: 1rem;
    background: #fafbff;
    padding: 3rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drop-zone:hover,
.drop-zone:focus {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
    outline: none;
}

.drop-zone.drag-over {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
    transform: scale(1.01);
}

.drop-zone-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--ft-primary);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1);
}

.drop-zone-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.drop-zone-subtitle {
    color: var(--ft-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.file-list-section {
    animation: fadeIn 0.25s ease;
}

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

.file-list-heading {
    font-size: 1rem;
    font-weight: 600;
}

.file-list-hint {
    font-size: 0.8rem;
    color: var(--ft-muted);
    margin-bottom: 0.75rem;
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    cursor: grab;
    transition: all 0.15s;
}

.file-item:hover {
    border-color: #c7d2fe;
    background: #fff;
}

.file-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.file-drag-handle {
    color: #94a3b8;
    font-size: 1.1rem;
}

.file-order {
    width: 24px;
    height: 24px;
    background: var(--ft-primary-light);
    color: var(--ft-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.file-icon {
    color: #ef4444;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.75rem;
    color: var(--ft-muted);
}

.file-remove-btn {
    background: none;
    border: none;
    color: #94a3b8;
    padding: 0.25rem;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

.file-remove-btn:hover {
    color: #ef4444;
    background: #fef2f2;
}

.tool-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.progress-section {
    padding: 2rem 1rem;
    text-align: center;
}

.progress-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--ft-text);
}

.result-section {
    padding: 1rem 0;
    animation: fadeIn 0.3s ease;
}

.result-success {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.result-icon {
    font-size: 2rem;
    color: #16a34a;
    flex-shrink: 0;
}

.result-success h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.result-success p {
    font-size: 0.875rem;
    color: var(--ft-muted);
    margin-bottom: 0;
}

.tool-sidebar {
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    position: sticky;
    top: 5rem;
}

.tool-sidebar h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tool-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.tool-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: var(--ft-muted);
    line-height: 1.5;
}

.step-num {
    width: 26px;
    height: 26px;
    background: var(--ft-primary-light);
    color: var(--ft-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tool-sidebar-note {
    display: flex;
    gap: 0.65rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 0.85rem;
    font-size: 0.85rem;
    color: var(--ft-muted);
}

.tool-sidebar-note i {
    color: var(--ft-primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tool-sidebar-note p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* SEO content */
.seo-content-section {
    padding: 3rem 0;
    background: #f8fafc;
}

.seo-content-block,
.seo-faq-block {
    max-width: 720px;
}

.seo-faq-block,
.seo-related-block {
    margin-top: 2rem;
}

.seo-steps-list {
    color: var(--ft-muted);
    line-height: 1.8;
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.seo-steps-list li {
    margin-bottom: 0.5rem;
}

.seo-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.seo-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--ft-muted);
    line-height: 1.6;
}

.seo-benefits-list i {
    color: #10b981;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.seo-related-block .seo-content-heading {
    max-width: none;
}

.seo-content-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ft-text);
    margin-bottom: 1rem;
}

.seo-content-block p {
    color: var(--ft-muted);
    line-height: 1.7;
    margin-bottom: 0.85rem;
}

.seo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.seo-faq-item {
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
}

.seo-faq-item summary {
    font-weight: 600;
    color: var(--ft-text);
    cursor: pointer;
    list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.seo-faq-item summary::before {
    content: '+';
    display: inline-block;
    width: 1.25rem;
    color: var(--ft-primary);
    font-weight: 700;
}

.seo-faq-item[open] summary::before {
    content: '−';
}

.seo-faq-item p {
    margin: 0.65rem 0 0;
    color: var(--ft-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Split PDF */
.options-section {
    animation: fadeIn 0.25s ease;
}

.file-preview-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

.options-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.options-subheading {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.split-mode-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.split-mode-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
    background: #fff;
}

.split-mode-option:hover {
    border-color: #c7d2fe;
    background: #fafbff;
}

.split-mode-option:has(input:checked) {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
}

.split-mode-option input {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--ft-primary);
}

.split-mode-label {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.4;
}

.split-mode-label strong {
    font-size: 0.9rem;
    color: var(--ft-text);
}

.split-mode-label small {
    font-size: 0.8rem;
    color: var(--ft-muted);
}

.page-select-section,
.range-section {
    margin-bottom: 1.25rem;
}

.page-select-actions .btn-link {
    color: var(--ft-primary);
    text-decoration: none;
    font-weight: 500;
}

.page-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-height: 220px;
    overflow-y: auto;
    padding: 0.25rem;
}

.page-chip {
    display: inline-flex;
    margin: 0;
    cursor: pointer;
}

.page-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.page-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--ft-border);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ft-muted);
    background: #fff;
    transition: all 0.15s;
}

.page-chip:hover span {
    border-color: #c7d2fe;
}

.page-chip input:checked + span {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
    color: var(--ft-primary);
}

.range-input {
    border-radius: 0.75rem;
    border-color: var(--ft-border);
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
}

.range-input:focus {
    border-color: var(--ft-primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.range-hint {
    font-size: 0.8rem;
    color: var(--ft-muted);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Word to PDF */
.file-icon-word {
    color: #2563eb;
}

.convert-note {
    display: flex;
    gap: 0.65rem;
    background: #f8fafc;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--ft-muted);
}

.convert-note i {
    color: var(--ft-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.convert-note p {
    margin-bottom: 0;
    line-height: 1.5;
}

.pdf-render-container {
    position: fixed;
    left: -9999px;
    top: 0;
    width: 210mm;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
}

.word-pdf-content {
    background: #fff;
    color: #111827;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12pt;
    line-height: 1.6;
    padding: 0;
    word-wrap: break-word;
}

.word-pdf-content p {
    margin: 0 0 0.75rem;
}

.word-pdf-content h1,
.word-pdf-content h2,
.word-pdf-content h3,
.word-pdf-content h4 {
    margin: 1rem 0 0.5rem;
    line-height: 1.3;
}

.word-pdf-content ul,
.word-pdf-content ol {
    margin: 0 0 0.75rem;
    padding-left: 1.5rem;
}

.word-pdf-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.75rem;
}

.word-pdf-content td,
.word-pdf-content th {
    border: 1px solid #d1d5db;
    padding: 0.35rem 0.5rem;
    vertical-align: top;
}

.word-pdf-content img {
    max-width: 100%;
    height: auto;
}

/* Image OCR */
.file-icon-image {
    color: #7c3aed;
}

.image-preview-wrap {
    margin-bottom: 1.25rem;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    background: #f8fafc;
    padding: 0.75rem;
    text-align: center;
}

.image-preview {
    max-width: 100%;
    max-height: 280px;
    border-radius: 0.5rem;
    object-fit: contain;
}

.ocr-options-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .ocr-options-row {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.ocr-options {
    margin-bottom: 0;
}

.ocr-enhance-option {
    display: flex;
    align-items: stretch;
}

.ocr-enhance-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    cursor: pointer;
    background: #fff;
    margin-bottom: 0;
    transition: all 0.15s;
}

.ocr-enhance-label:hover {
    border-color: #c7d2fe;
    background: #fafbff;
}

.ocr-enhance-label:has(input:checked) {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
}

.ocr-enhance-label input {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--ft-primary);
}

.ocr-enhance-label span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.4;
}

.ocr-enhance-label strong {
    font-size: 0.9rem;
    color: var(--ft-text);
}

.ocr-enhance-label small {
    font-size: 0.8rem;
    color: var(--ft-muted);
}

.ocr-select {
    border-radius: 0.75rem;
    border-color: var(--ft-border);
    font-size: 0.9rem;
    padding: 0.6rem 0.85rem;
}

.ocr-select:focus {
    border-color: var(--ft-primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.ocr-output {
    width: 100%;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ft-text);
    background: #f8fafc;
    resize: vertical;
    margin-bottom: 1.25rem;
}

.ocr-output:focus {
    outline: none;
    border-color: var(--ft-primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

/* Compress PDF */
.size-comparison {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.size-comparison-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 100px;
}

.size-comparison-highlight .size-value {
    color: var(--ft-primary);
}

.size-label {
    font-size: 0.75rem;
    color: var(--ft-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.size-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ft-text);
}

.size-comparison-arrow {
    color: var(--ft-muted);
    font-size: 1.1rem;
}

.size-comparison-saved {
    width: 100%;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #16a34a;
    padding-top: 0.25rem;
}

.size-comparison-worse {
    color: #dc2626;
}

/* Rotate PDF */
.rotate-angle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.rotate-angle-option {
    flex: 1;
    min-width: 120px;
    margin: 0;
    cursor: pointer;
}

.rotate-angle-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rotate-angle-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ft-muted);
    background: #fff;
    transition: all 0.15s;
}

.rotate-angle-option:hover span {
    border-color: #c7d2fe;
}

.rotate-angle-option input:checked + span {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
    color: var(--ft-primary);
}

/* Resize Image */
.resize-percent-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.resize-percent-input {
    width: 90px;
}

.resize-pixels-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.resize-aspect-label {
    margin-bottom: 0;
}

/* JPG to PNG / Excel icons */
.file-icon-jpg {
    color: #d97706;
}

.file-icon-excel {
    color: #16a34a;
}

/* Excel to PDF */
.excel-pdf-content {
    background: #fff;
    color: #111827;
    font-family: Inter, Arial, sans-serif;
    font-size: 10pt;
    line-height: 1.4;
    padding: 0;
}

.excel-sheet-title {
    font-size: 14pt;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #111827;
}

.excel-sheet-break {
    page-break-before: always;
    break-before: page;
    height: 0;
}

.excel-pdf-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 9pt;
}

.excel-pdf-content th,
.excel-pdf-content td {
    border: 1px solid #d1d5db;
    padding: 0.3rem 0.45rem;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}

.excel-pdf-content th {
    background: #f3f4f6;
    font-weight: 600;
}

/* Word Counter */
.word-counter-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 576px) {
    .word-counter-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background: #f8fafc;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
}

.stat-card-primary {
    background: var(--ft-primary-light);
    border-color: #c7d2fe;
}

.stat-card-primary .stat-value {
    color: var(--ft-primary);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ft-text);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--ft-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.word-counter-input {
    width: 100%;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ft-text);
    background: #fff;
    resize: vertical;
    min-height: 220px;
}

.word-counter-input:focus {
    outline: none;
    border-color: var(--ft-primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.word-counter-actions .btn-link {
    color: var(--ft-primary);
    text-decoration: none;
    font-weight: 500;
}

/* Background Remover */
.bg-preview-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .bg-preview-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bg-checker-preview {
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
        linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
        linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}

/* Static pages */
.page-hero {
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 70%);
    border-bottom: 1px solid var(--ft-border);
    padding: 2.5rem 0 2rem;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--ft-muted);
    margin-bottom: 1.25rem;
}

.page-breadcrumb a {
    color: var(--ft-muted);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: var(--ft-primary);
}

.page-breadcrumb i {
    font-size: 0.65rem;
}

.page-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.page-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.85rem;
    background: var(--ft-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.page-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ft-text);
}

.page-hero-subtitle {
    color: var(--ft-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 640px;
}

.page-updated {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--ft-muted);
}

.page-content-section {
    padding: 3rem 0 4rem;
}

.page-content-card {
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 1rem;
    padding: 1.75rem;
}

.page-section-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ft-text);
    margin-bottom: 1rem;
}

.page-content-card p {
    color: var(--ft-muted);
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

.page-content-card p:last-child {
    margin-bottom: 0;
}

.page-list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    color: var(--ft-muted);
    line-height: 1.75;
}

.page-list li {
    margin-bottom: 0.35rem;
}

.page-highlight-card {
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 1rem;
    padding: 1.25rem;
}

.page-highlight-icon {
    width: 42px;
    height: 42px;
    border-radius: 0.65rem;
    background: var(--ft-primary-light);
    color: var(--ft-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.page-highlight-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--ft-text);
}

.page-highlight-card p {
    color: var(--ft-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.page-contact-card {
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.page-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ft-primary-light);
    color: var(--ft-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.page-contact-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.page-contact-text {
    color: var(--ft-muted);
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
}

.page-contact-value {
    font-weight: 600;
    color: var(--ft-primary);
    text-decoration: none;
}

a.page-contact-value:hover {
    text-decoration: underline;
}

.page-contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ft-text);
}

.page-contact-form .form-control,
.page-contact-form .form-select {
    border-radius: 0.65rem;
    border-color: var(--ft-border);
    padding: 0.65rem 0.85rem;
}

.page-contact-form .form-control:focus,
.page-contact-form .form-select:focus {
    border-color: var(--ft-primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.page-topic-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.page-topic-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--ft-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}

.page-topic-list i {
    color: var(--ft-primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.page-cta-banner {
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    border: 1px solid #c7d2fe;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .page-cta-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.page-cta-banner h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--ft-text);
}

.page-cta-banner p {
    color: var(--ft-muted);
    font-size: 0.9rem;
}

/* Text tools — humanizer & detector */
.tool-options-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: end;
}

@media (max-width: 575.98px) {
    .tool-options-row {
        grid-template-columns: 1fr;
    }
}

.text-tool-columns {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .text-tool-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.text-tool-output {
    background: #f8fafc;
}

.detector-results {
    border-top: 1px solid var(--ft-border);
    padding-top: 1.5rem;
}

.detector-score-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 576px) {
    .detector-score-card {
        flex-direction: row;
        align-items: center;
    }
}

.detector-score-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.detector-score-ring[data-level="low"] {
    border-color: #22c55e;
}

.detector-score-ring[data-level="low-medium"] {
    border-color: #84cc16;
}

.detector-score-ring[data-level="medium"] {
    border-color: #f59e0b;
}

.detector-score-ring[data-level="high"] {
    border-color: #ef4444;
}

.detector-score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ft-text);
    line-height: 1.1;
}

.detector-score-label {
    font-size: 0.7rem;
    color: var(--ft-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detector-verdict h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.detector-verdict p {
    color: var(--ft-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.detector-signals-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detector-signal-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 0.65rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
    color: var(--ft-muted);
}

.detector-signal-item i {
    color: #f59e0b;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.detector-signal-positive i {
    color: #22c55e;
}

/* Password generator */
.password-display-wrap {
    display: flex;
    gap: 0.65rem;
}

.password-display {
    flex: 1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    background: #f8fafc;
    color: var(--ft-text);
}

.password-display:focus {
    outline: none;
    border-color: var(--ft-primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.password-copy-btn {
    flex-shrink: 0;
    padding: 0.65rem 1rem;
}

.password-length-value {
    font-weight: 700;
    color: var(--ft-primary);
}

.password-count-select {
    width: auto;
    min-width: 140px;
}

.password-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.password-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--ft-border);
    border-radius: 0.65rem;
    padding: 0.65rem 0.85rem;
}

.password-list-item code {
    font-size: 0.9rem;
    word-break: break-all;
    color: var(--ft-text);
}

.password-strength-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ft-primary);
}

.password-strength-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 50rem;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 50rem;
    background: #ef4444;
    transition: width 0.3s ease, background 0.3s ease;
}

.password-strength-fill[data-level="fair"] {
    background: #f59e0b;
}

.password-strength-fill[data-level="good"] {
    background: #84cc16;
}

.password-strength-fill[data-level="strong"],
.password-strength-fill[data-level="very-strong"] {
    background: #22c55e;
}

/* Instagram post generator */
.ig-panel .form-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.ig-drop-zone {
    padding: 1.5rem;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ig-thumb-preview {
    max-width: 100%;
    max-height: 160px;
    border-radius: 0.65rem;
    object-fit: contain;
}

.ig-format-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.ig-format-tab {
    background: #f8fafc;
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ft-muted);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ig-format-tab small {
    display: block;
    font-weight: 500;
    font-size: 0.7rem;
    margin-top: 0.15rem;
    opacity: 0.8;
}

.ig-format-tab:hover,
.ig-format-tab.active {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
    color: var(--ft-primary);
}

.ig-template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.ig-template-btn {
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 0.65rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ft-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ig-template-btn:hover,
.ig-template-btn.active {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
    color: var(--ft-primary);
}

.ig-color-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.ig-color-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ft-muted);
}

.ig-color-field input[type="color"] {
    width: 100%;
    height: 42px;
    border: 1px solid var(--ft-border);
    border-radius: 0.65rem;
    padding: 0.2rem;
    cursor: pointer;
    background: #fff;
}

.ig-preview-panel {
    position: sticky;
    top: 5.5rem;
}

.ig-size-badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ft-primary);
    background: var(--ft-primary-light);
    border: 1px solid #c7d2fe;
    border-radius: 50rem;
    padding: 0.25rem 0.75rem;
}

.ig-canvas-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    background: repeating-conic-gradient(#e2e8f0 0% 25%, #f8fafc 0% 50%) 50% / 20px 20px;
    border: 1px solid var(--ft-border);
    border-radius: 0.85rem;
    padding: 1rem;
    min-height: 280px;
}

.ig-preview-canvas {
    display: block;
    max-width: 100%;
    border-radius: 0.35rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* WhatsApp catalog generator */
.wa-header-icon {
    background: #25D366 !important;
}

.wa-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.wa-features-list .form-check-label {
    font-size: 0.9rem;
    color: var(--ft-text);
}

.wa-download-btn {
    background-color: #25D366;
    border-color: #25D366;
}

.wa-download-btn:hover,
.wa-download-btn:focus {
    background-color: #128C7E;
    border-color: #128C7E;
    color: #fff;
}

/* Business document tools */
.biz-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.biz-item-row {
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--ft-border);
    border-radius: 0.65rem;
}

.biz-item-row .form-label {
    margin-bottom: 0.2rem;
    color: var(--ft-muted);
}

/* Visiting card templates */
.vc-template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.vc-template-btn {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    background: #fff;
    border: 2px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 0.55rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.vc-template-btn:hover,
.vc-template-btn.active {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
}

.vc-template-swatch {
    display: block;
    height: 52px;
    border-radius: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: relative;
}

.vc-template-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ft-text);
}

.vc-template-btn.active .vc-template-label {
    color: var(--ft-primary);
}

.vc-swatch-classic {
    background: linear-gradient(180deg, #4f46e5 0 38%, #ffffff 38% 100%);
}

.vc-swatch-classic::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 42%;
    top: 52%;
    height: 4px;
    border-radius: 2px;
    background: #cbd5e1;
    box-shadow: 0 10px 0 #e2e8f0, 0 20px 0 #e2e8f0;
}

.vc-swatch-executive {
    background: #0f172a;
}

.vc-swatch-executive::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #f59e0b;
}

.vc-swatch-executive::after {
    content: '';
    position: absolute;
    left: 14%;
    right: 20%;
    top: 38%;
    height: 4px;
    border-radius: 2px;
    background: rgba(248, 250, 252, 0.35);
    box-shadow: 0 10px 0 rgba(248, 250, 252, 0.2), 0 20px 0 rgba(248, 250, 252, 0.2);
}

.vc-swatch-gradient {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.vc-swatch-gradient::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.94);
}

.vc-swatch-modern {
    background: linear-gradient(90deg, #4f46e5 0 34%, #ffffff 34% 100%);
}

.vc-swatch-modern::after {
    content: '';
    position: absolute;
    left: 42%;
    right: 10%;
    top: 34%;
    height: 4px;
    border-radius: 2px;
    background: #cbd5e1;
    box-shadow: 0 10px 0 #e2e8f0, 0 20px 0 #e2e8f0;
}

.ig-drop-zone.drag-over {
    border-color: var(--ft-primary);
    background: var(--ft-primary-light);
}

/* Visiting card inline typography */
.vc-field-block .form-control {
    margin-bottom: 0.45rem;
}

.vc-typo-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.75rem;
    padding: 0.55rem 0.65rem;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 0.55rem;
}

.vc-typo-inline-col {
    min-width: 0;
}

.vc-typo-inline-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ft-muted);
    margin-bottom: 0.15rem;
}

.vc-typo-value {
    color: var(--ft-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vc-typo-range {
    margin-bottom: 0;
    height: 0.9rem;
}

.vc-typo-hint {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: #94a3b8;
}

/* Header & footer responsive */
@media (max-width: 1199.98px) {
    .mega-menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .site-nav-actions {
        width: 100%;
        padding-top: 0.25rem;
    }

    .site-nav-actions .btn {
        flex: 1;
        justify-content: center;
    }
}
